/* DM Sans — self-hosted (SIL Open Font License) */
@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/dm-sans-regular.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/dm-sans-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --teal: #4b8a94;
  --teal-light: #5d9ca6;
  --teal-dark: #3d7179;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #403e3a;
  background: var(--white);
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 0.75rem 1.5rem;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { top: 0; }
.container { max-width: 70rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 64em) { .container { padding: 0 2rem; } }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 600; }

/* Regulatory disclaimer bar */
.reg-banner {
  background: var(--teal);
  color: var(--white);
  font-size: 0.8125rem;
  text-align: center;
  padding: 0.5rem 1.5rem;
  letter-spacing: 0.01em;
}
.reg-banner strong { color: var(--white); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.75rem 0;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo img { height: 60px; width: auto; display: block; }
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 1.5rem;
  gap: 0.25rem;
  box-shadow: var(--shadow-md);
}
.nav-links.open li { width: 100%; }
.nav-links.open a { display: block; width: 100%; }
@media (min-width: 48em) {
  .nav-links { display: flex; }
  .nav-toggle { display: none !important; }
}
.nav-links a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 6px;
}
.nav-links a:hover { color: var(--teal); background: var(--gray-50); text-decoration: none; }
.nav-links a.nav-contact-link { background: var(--teal); color: var(--white) !important; padding: 0.5rem 1rem; font-size: 0.875rem; }
.nav-links a.nav-contact-link:hover { background: var(--teal-dark); color: var(--white) !important; }

/* Mobile menu toggle */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gray-700);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gray-700);
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Sections */
section { padding: 3.5rem 0; }
@media (min-width: 48em) { section { padding: 4.5rem 0; } }
#why { padding-top: 0; }
.section-alt { background: var(--gray-50); }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
h1, h3 { color: var(--gray-900); font-weight: 600; }
h1 { font-size: clamp(1.875rem, 4vw, 2.5rem); line-height: 1.2; margin: 0 0 0.75rem; letter-spacing: -0.02em; }
h2 { font-size: 1.5rem; margin: 0 0 1rem; letter-spacing: -0.01em; color: #357a7d; font-weight: 600; }
h3 { font-size: 1.125rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; max-width: 58ch; color: #403e3a; }
p:last-child { margin-bottom: 0; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--teal); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-dark); text-decoration: none; box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-outline:hover { background: var(--gray-50); text-decoration: none; }
.btn-disabled {
  background: transparent;
  color: var(--gray-400);
  border: 2px solid var(--gray-300);
  cursor: default;
  pointer-events: none;
}

/* Hero */
.hero { padding: 2.5rem 0 3.5rem; border-bottom: 1px solid var(--gray-200); }
@media (min-width: 48em) {
  .hero { padding: 3.5rem 0 4.5rem; }
  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 0;
  }
  .hero-text { grid-column: 1; min-width: 0; }
  .hero-image { grid-column: 2; min-width: 0; }
}
.hero h1 { color: var(--teal); }
.hero .tagline { color: var(--gray-500); font-size: 0.9375rem; margin-bottom: 0.5rem; }
.hero-text > p { margin-bottom: 1.5rem; font-size: 1.0625rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-image { margin-top: 2rem; }
.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  max-height: 340px;
  object-position: center;
  box-shadow: var(--shadow-md);
}
@media (min-width: 48em) { .hero-image { margin-top: 0; } .hero-image img { max-height: 400px; } }

/* Section: What is the tool */
.section-what .container { display: block; }
.section-what-row { display: block; }
@media (min-width: 48em) {
  .section-what-row {
    display: grid;
    grid-template-columns: 1fr minmax(0, 420px);
    gap: 2.5rem;
    align-items: start;
  }
  .section-what-content { min-width: 0; }
  .section-what-image { min-width: 0; }
}
.section-what-image { margin-top: 1.5rem; }
@media (min-width: 48em) { .section-what-image { margin-top: 0; } }

/* Tablet carousel */
.tablet-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.tablet-carousel img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.tablet-carousel img.active {
  position: relative;
  opacity: 1;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.carousel-dot.active {
  background: var(--teal);
}

.section-what-at-a-glance {
  margin-top: 1.5rem;
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 48em) { .section-what-at-a-glance { margin-top: 1.25rem; } }
.section-what-at-a-glance h3 { margin-bottom: 0.5rem; margin-top: 0; padding-top: 30px; }
.section-what-at-a-glance .at-a-glance { margin-top: 0.75rem; margin-bottom: 0; }
.at-a-glance {
  margin-top: 2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 36em) {
  .at-a-glance { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.at-a-glance li {
  margin: 0;
  padding: 1.25rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}
.at-a-glance li::before {
  content: '\2713';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 0.5rem;
  margin-right: 0.75rem;
  background: var(--teal);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 6px;
  vertical-align: middle;
}

/* Notice */
.notice {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--teal);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}
.notice strong { display: block; margin-bottom: 0.25rem; color: var(--gray-900); }

/* Measures grid */
.measures-grid { margin-top: 2rem; }
@media (min-width: 36em) {
  .measures-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.measures-grid h3 { color: var(--teal-dark); margin-top: 1.25rem; font-size: 1rem; }
.measures-grid h3:first-child { margin-top: 0; }
.measures-grid ul { margin-bottom: 0; font-size: 0.9375rem; }
.section-image {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 560px;
}
.section-image img { width: 100%; height: auto; display: block; vertical-align: middle; }

/* Benefits image */
.benefits-image {
  margin-top: 2rem;
  text-align: center;
}
.benefits-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Steps */
.steps { margin-top: 2rem; display: grid; gap: 1rem; }
@media (min-width: 48em) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.step {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-size: 0.9375rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.step:hover { box-shadow: var(--shadow); border-color: var(--gray-300); }
.step-num {
  width: 36px;
  height: 36px;
  margin-bottom: 0.75rem;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step strong { display: block; margin-bottom: 0.25rem; color: var(--gray-900); }
.step-desc { font-size: 0.9375rem; color: var(--gray-500); }

/* Benefits */
.benefits-grid { margin-top: 2rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 36em) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.benefit-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.benefit-card:hover { box-shadow: var(--shadow); border-color: var(--gray-300); }
.benefit-card h3 { margin-top: 0; display: flex; align-items: center; gap: 0.75rem; font-size: 1rem; }
.benefit-icon {
  width: 40px;
  height: 40px;
  background: var(--teal);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.benefit-card p { margin: 0.5rem 0 0; font-size: 0.9375rem; max-width: none; line-height: 1.5; }

/* Eval banner */
.eval-banner {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  color: var(--white);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.eval-banner h2 { color: var(--white); margin-bottom: 0.5rem; }
.eval-banner p { color: rgba(255,255,255,0.95); margin-bottom: 0.75rem; max-width: none; font-size: 0.9375rem; }
.eval-banner ul { margin: 0.5rem 0 0; padding-left: 1.25rem; color: rgba(255,255,255,0.95); font-size: 0.9375rem; }

/* Accordion */
.accordion { margin-top: 1.5rem; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.accordion-item { border-bottom: 1px solid var(--gray-200); }
.accordion-item:last-child { border-bottom: 0; }
.accordion-trigger {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: left;
  color: var(--gray-900);
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.15s;
}
.accordion-trigger:hover { background: var(--gray-50); }
.accordion-trigger::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--gray-500);
  border-bottom: 2px solid var(--gray-500);
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.accordion-item[data-open] .accordion-trigger { background: var(--gray-50); }
.accordion-item[data-open] .accordion-trigger::after { transform: rotate(-135deg); }
.accordion-panel { padding: 0 1.25rem; }
.accordion-panel-inner { padding: 0 0 1rem; font-size: 0.9375rem; line-height: 1.6; color: #403e3a; }
.accordion-item:not([data-open]) .accordion-panel { display: none; }

/* Next steps */
.next-steps-grid { margin-top: 2rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 48em) { .next-steps-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.next-step-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.next-step-card:hover { box-shadow: var(--shadow); }
.next-step-card h3 { margin-top: 0; margin-bottom: 0.5rem; }
.next-step-card p { max-width: none; margin-bottom: 1rem; font-size: 0.9375rem; }
.next-step-card .ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* About & data protection */
.about-grid { margin-top: 2rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 48em) { .about-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.about-grid + .about-grid { margin-top: 1.5rem; }
.about-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.about-card h3 { margin-top: 0; }
.about-card p { max-width: none; font-size: 0.9375rem; }

/* Footer */
footer {
  padding: 2rem 0;
  border-top: 1px solid var(--gray-200);
  font-size: 0.875rem;
  color: var(--gray-500);
  background: var(--white);
}
footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
footer p { margin: 0; max-width: none; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--gray-500); font-size: 0.875rem; }
.footer-links a:hover { color: var(--teal); }

/* Cookie consent */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--teal);
  color: var(--white);
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
}
.cookie-banner.visible { display: block; }
.cookie-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-banner p { margin: 0; max-width: none; color: var(--white); }
.cookie-banner a { color: var(--white); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-btns button {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
.cookie-accept { background: var(--white); color: var(--teal-dark); }
.cookie-accept:hover { background: var(--gray-100); }
.cookie-decline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.6); }
.cookie-decline:hover { background: rgba(255,255,255,0.1); }

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
