:root {
  --color-stone-grey: #5C636A;
  --color-sage-green: #7A9D7A;
  --color-goldenrod: #DAA520;
  --color-linen: #FAF9F6;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-dark-grey: #2C3E50;
  --color-light-grey: #ECF0F1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-stone-grey);
  background-color: var(--color-linen);
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin-bottom: 1.5rem;
  color: var(--color-stone-grey);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.2;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  border-bottom: 2px solid var(--color-sage-green);
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--color-stone-grey);
}

body {
  scroll-behavior: smooth;
}

header {
  position: sticky;
  top: 0;
  background-color: var(--color-linen);
  border-bottom: 1px solid var(--color-sage-green);
  padding: 1.5rem 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(92, 99, 106, 0.08);
}

.header-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-stone-grey);
  text-decoration: none;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.logo:hover {
  color: var(--color-sage-green);
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--color-stone-grey);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.5rem;
}

nav a:hover {
  color: var(--color-sage-green);
  border-bottom: 2px solid var(--color-sage-green);
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 120px 0;
  width: 100%;
}

section:nth-child(even) {
  background-color: var(--color-white);
}

.hero {
  background-color: var(--color-linen);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
  font-size: 2.8rem;
}

.hero-text p {
  margin-bottom: 2rem;
  font-size: 18px;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 6px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--color-sage-green);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid var(--color-sage-green);
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.btn:hover {
  background-color: transparent;
  color: var(--color-sage-green);
  box-shadow: 0 0 20px rgba(122, 157, 122, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-sage-green);
  border: 2px solid var(--color-sage-green);
}

.btn-secondary:hover {
  background-color: var(--color-sage-green);
  color: var(--color-white);
}

.btn-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 4rem;
}

.content-block:nth-child(even) {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.content-block:nth-child(even) > div {
  direction: ltr;
}

.content-block-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  max-height: 400px;
  object-fit: cover;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 3rem;
}

.card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 6px;
  border: 1px solid var(--color-light-grey);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(92, 99, 106, 0.12);
  background-color: var(--color-linen);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 16px;
  margin-bottom: 1rem;
}

.card-list {
  list-style: none;
  margin: 1.5rem 0;
}

.card-list li {
  padding: 0.5rem 0;
  font-size: 16px;
  border-bottom: 1px solid var(--color-light-grey);
  padding-left: 1.5rem;
  position: relative;
}

.card-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-sage-green);
  font-weight: 600;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background-color: var(--color-white);
}

.comparison-table th {
  background-color: var(--color-stone-grey);
  color: var(--color-white);
  padding: 1.5rem;
  text-align: left;
  font-weight: 600;
}

.comparison-table td {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-light-grey);
}

.comparison-table tr:nth-child(even) td {
  background-color: var(--color-linen);
}

.disclaimer {
  background-color: var(--color-light-grey);
  padding: 2rem;
  border-left: 4px solid var(--color-goldenrod);
  border-radius: 4px;
  margin: 2rem 0;
  font-size: 16px;
  line-height: 1.8;
}

.disclaimer-heading {
  font-weight: 600;
  color: var(--color-stone-grey);
  margin-bottom: 1rem;
}

footer {
  background-color: var(--color-stone-grey);
  color: var(--color-white);
  padding: 60px 0 30px;
  margin-top: 120px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-section p, .footer-section a {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-linen);
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--color-sage-green);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-legal {
  border-top: 1px solid rgba(250, 249, 246, 0.2);
  padding-top: 2rem;
  text-align: center;
  font-size: 13px;
  color: var(--color-linen);
}

.educational-notice {
  background-color: var(--color-goldenrod);
  color: var(--color-white);
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 2rem;
}

form {
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: 6px;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--color-light-grey);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-stone-grey);
  font-size: 16px;
}

input[type="email"],
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-light-grey);
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  color: var(--color-stone-grey);
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-sage-green);
  box-shadow: 0 0 0 3px rgba(122, 157, 122, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-stone-grey);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-message {
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cookie-accept {
  background-color: var(--color-sage-green);
  color: var(--color-white);
}

.cookie-accept:hover {
  background-color: #6a8d6a;
}

.cookie-reject {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.cookie-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-learn {
  background-color: transparent;
  color: var(--color-white);
  text-decoration: underline;
}

.cookie-learn:hover {
  text-decoration: none;
  color: var(--color-sage-green);
}

.thank-you-container {
  text-align: center;
  padding: 6rem 2rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-container h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.thank-you-container p {
  font-size: 18px;
  margin-bottom: 2rem;
  color: var(--color-stone-grey);
}

.resources-list {
  list-style: none;
  margin: 2rem 0;
}

.resources-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-light-grey);
}

.resources-list a {
  color: var(--color-sage-green);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.resources-list a:hover {
  color: var(--color-goldenrod);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  nav a {
    font-size: 14px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  .hero-content,
  .content-block,
  .content-block:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .content-block:nth-child(even) {
    direction: ltr;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .btn-group {
    flex-direction: column;
  }

  .comparison-table {
    font-size: 14px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 1rem;
  }
}
