/* Genuvida — calm wellness retail for knee supports
   THESIS: Trustworthy consumer comfort brand — warm, airy, modern; not a medical device.
   OWN-WORLD: Warm paper ground, deep teal-green signal, soft mint tints, rounded surfaces.
   STORY: Specs → contact → thanks. No cure promises.
   FIRST VIEWPORT: Light split hero, generous headline, product framed in a soft panel.
   FORM: Full redesign — light committed theme, rounded cards, diffuse shadows, teal accent. */

:root {
  --bg: #F5F3EE;
  --surface: #FFFFFF;
  --band: #ECF3F0;
  --band-warm: #F1ECE2;

  --ink: #172A28;
  --ink-soft: #2C3E3B;
  --muted: #5E6E6B;
  --muted-2: #7C8987;

  --line: #E4E0D7;
  --line-soft: #EEEBE3;

  --accent: #10796A;
  --accent-strong: #0B5A4E;
  --accent-tint: #E3F0EC;
  --accent-ink: #0A4A40;

  --footer-bg: #16221F;
  --footer-panel: #1E2C29;
  --footer-ink: #D9E0DD;
  --footer-muted: #93A29E;

  --warn: #C0553B;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 40, 36, 0.05), 0 2px 8px rgba(16, 40, 36, 0.05);
  --shadow-md: 0 8px 28px rgba(16, 40, 36, 0.08), 0 2px 6px rgba(16, 40, 36, 0.05);
  --shadow-lg: 0 22px 55px rgba(16, 40, 36, 0.14);

  --font-display: "Epilogue", system-ui, sans-serif;
  --font-body: "Karla", system-ui, sans-serif;
  --max: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-offset: 7rem;
  --touch: 2.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
  transition: color 0.18s var(--ease);
}

a:hover {
  color: var(--accent-strong);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--surface);
  padding: 0.6rem 1rem;
  color: var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

/* Health strip — calm but prominent compliance band */
.health-strip {
  background: var(--accent-tint);
  color: var(--ink-soft);
  border-bottom: 1px solid #CFE3DC;
  padding: 1.05rem 1.25rem;
}

.health-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 0.4rem;
}

.health-strip-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.health-strip-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
}

.health-strip-list {
  margin: 0.15rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

.health-strip-list li {
  margin-bottom: 0.12rem;
}

.health-strip a {
  color: var(--accent-ink);
  font-weight: 700;
}

.health-strip-compact {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

.health-strip-compact strong {
  color: var(--ink);
  font-weight: 700;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(245, 243, 238, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  min-height: var(--touch);
  display: inline-flex;
  align-items: center;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: var(--touch);
  padding: 0.5rem 0.85rem;
  border-radius: var(--pill);
  display: inline-flex;
  align-items: center;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent-ink);
  background: var(--accent-tint);
}

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  min-height: var(--touch);
  min-width: var(--touch);
  padding: 0.4rem 1rem;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding-bottom: 0.5rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
  }

  .header-inner {
    flex-wrap: wrap;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  min-height: var(--touch);
  padding: 0.8rem 1.6rem;
  border-radius: var(--pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.15s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(16, 121, 106, 0.24);
}

.btn-primary:hover {
  background: var(--accent-strong);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(16, 121, 106, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-ink);
  border-color: #C6D9D3;
}

.btn-ghost:hover {
  background: var(--accent-tint);
  color: var(--accent-ink);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* HERO */
.hero {
  max-width: none;
  margin: 0;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 55%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(16, 121, 106, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > div {
  position: relative;
  z-index: 1;
}

.hero > div:first-child {
  max-width: 34rem;
  padding: 0;
  justify-self: start;
}

.hero-kicker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  background: var(--accent-tint);
  border-radius: var(--pill);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 1.25rem;
  max-width: 12ch;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 38ch;
  font-size: 1.12rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #EAF2EF 0%, #F3EFE6 100%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  padding: clamp(1rem, 3vw, 2rem);
  animation: hero-rise 0.9s var(--ease) 0.05s both;
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 0.82;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 30px rgba(16, 40, 36, 0.16));
}

.hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  padding: 0.5rem 0.9rem;
  border-radius: var(--pill);
  box-shadow: var(--shadow-sm);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual {
    animation: none;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero > div:first-child {
    max-width: none;
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem;
  position: relative;
}

.section-alt {
  background: var(--band);
}

/* Catalogue band */
#products {
  background: var(--band-warm);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  margin: 0 0 2.75rem;
  max-width: 48rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  line-height: 1.05;
  color: var(--ink);
  position: relative;
  padding-bottom: 0.9rem;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 4px;
  border-radius: var(--pill);
  background: var(--accent);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

/* Product cards */
.product-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.product-row:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .product-row:hover {
    transform: none;
  }
}

@media (max-width: 800px) {
  .product-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.product-thumb {
  aspect-ratio: 1;
  background: var(--band);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.75rem;
  transition: transform 0.45s var(--ease);
}

.product-row:hover .product-thumb img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .product-row:hover .product-thumb img {
    transform: none;
  }
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.product-body p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  max-width: 52ch;
}

.specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.specs li {
  padding-left: 1.35rem;
  position: relative;
}

.specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: var(--pill);
  background: var(--accent-tint);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.price-block {
  text-align: right;
  min-width: 10.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--line-soft);
}

@media (max-width: 800px) {
  .price-block {
    text-align: left;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--line-soft);
    padding-top: 1rem;
  }
}

.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.15rem;
  color: var(--ink);
}

.price-note {
  font-size: 0.8125rem;
  color: var(--muted-2);
  margin: 0 0 0.95rem;
}

.catalog-note {
  margin-top: 1.75rem;
  font-size: 0.875rem;
  color: var(--muted);
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
}

/* Feature list */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

.feature-list > div {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.section-alt .feature-list > div {
  background: var(--surface);
}

.feature-list h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  padding-top: 0.85rem;
  position: relative;
}

.feature-list h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1.75rem;
  height: 4px;
  border-radius: var(--pill);
  background: var(--accent);
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.975rem;
  max-width: 36ch;
}

/* FAQ */
.faq {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.faq details {
  border-top: 1px solid var(--line-soft);
  padding: 0.35rem 0;
}

.faq details:first-child {
  border-top: none;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  min-height: var(--touch);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1.35rem;
  line-height: 1;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-tint);
  border-radius: var(--pill);
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  max-width: 62ch;
}

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .reviews {
    grid-template-columns: 1fr;
  }
}

.review {
  padding: 1.6rem;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--accent);
}

.review p {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.review cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted-2);
}

/* Disclaimer block */
.disclaimer-block {
  background: var(--band);
  padding: 3rem 1.25rem;
}

.disclaimer-block .section-inner {
  border: 1px solid var(--line-soft);
  border-left: 5px solid var(--accent);
  background: var(--surface);
  padding: 2rem 1.9rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-width: var(--max);
  margin: 0 auto;
}

.disclaimer-block .section-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.disclaimer-kicker {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.disclaimer-block ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  max-width: 72ch;
  font-size: 1.02rem;
  line-height: 1.6;
}

.disclaimer-block li {
  margin-bottom: 0.85rem;
}

.disclaimer-block li:last-child {
  margin-bottom: 0;
}

.disclaimer-block li strong {
  color: var(--ink);
}

.disclaimer-block .type-note {
  margin: 1.35rem 0 0;
  padding: 1rem 1.1rem;
  background: var(--accent-tint);
  border-radius: var(--radius-sm);
  color: var(--accent-ink);
  font-weight: 600;
  max-width: 72ch;
}

.disclaimer-more {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-muted);
  padding: 3.5rem 1.25rem 2rem;
}

.site-footer a {
  color: var(--footer-ink);
}

.site-footer a:hover {
  color: #FFFFFF;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 0 0 0.65rem;
}

.footer-contact {
  margin-top: 0.85rem;
}

.footer-grid h3 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7FB8AC;
  margin: 0 0 0.9rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.5rem;
}

.footer-meta {
  max-width: var(--max);
  margin: 2.75rem auto 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: var(--footer-muted);
}

.todo-flag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent);
  color: #FFFFFF;
  padding: 0.15rem 0.5rem;
  margin-right: 0.35rem;
  border-radius: var(--pill);
  vertical-align: middle;
}

/* Interior page hero */
.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 1.75rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
  line-height: 1.02;
  color: var(--ink);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

/* Prose */
.prose {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2.2rem 0 0.65rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

/* Contact */
.contact-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 1.85rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.contact-card h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-soft);
}

.contact-card p {
  margin: 0 0 0.65rem;
  color: var(--muted);
}

.contact-card strong {
  color: var(--ink);
  font-weight: 700;
}

/* Forms */
.form-field {
  margin-bottom: 1.15rem;
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.req {
  color: var(--accent);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  min-height: var(--touch);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.form-field.is-invalid input,
.form-field.is-invalid textarea,
.form-field.is-invalid select {
  border-color: var(--warn);
}

.field-error {
  display: none;
  font-size: 0.8125rem;
  color: var(--warn);
  margin-top: 0.35rem;
}

.form-field.is-invalid .field-error {
  display: block;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--accent-tint);
  font-size: 0.9375rem;
  color: var(--accent-ink);
}

.form-status.is-visible {
  display: block;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 1000;
  max-width: 440px;
  margin-left: auto;
  background: var(--surface);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 0.9rem;
}

.cookie-bar.is-visible {
  display: flex;
}

.cookie-bar p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.cookie-bar a:not(.btn) {
  color: var(--accent-ink);
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.cookie-bar .btn {
  min-height: 2.5rem;
  padding: 0.55rem 1.2rem;
  font-size: 0.875rem;
}

.cookie-bar .btn-ghost {
  color: var(--accent-ink);
  border-color: #C6D9D3;
  background: transparent;
}

.cookie-bar .btn-ghost:hover {
  background: var(--accent-tint);
}

.cookie-bar .cookie-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  margin-left: 0.15rem;
}

.cookie-bar .cookie-link:hover {
  color: var(--accent-strong);
}

@media (max-width: 520px) {
  .cookie-bar {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
  }

  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-bar .btn,
  .cookie-bar .cookie-link {
    text-align: center;
  }
}

.muted {
  color: var(--muted);
}

/* CTA band */
.cta-band {
  padding: clamp(3rem, 6vw, 4.5rem) 1.25rem;
  text-align: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #FFFFFF;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  margin: 0 0 0.6rem;
  letter-spacing: -0.025em;
  color: #FFFFFF;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 42ch;
}

.cta-band .btn-primary {
  background: #FFFFFF;
  color: var(--accent-ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.cta-band .btn-primary:hover {
  background: #F1FBF8;
  color: var(--accent-strong);
}

/* Legal footer */
.legal-footer {
  background: var(--footer-bg);
  color: var(--footer-muted);
  padding: 1.6rem 1.25rem;
  font-size: 0.8125rem;
}

.legal-footer .inner {
  max-width: var(--max);
  margin: 0 auto;
}

.legal-footer a {
  color: var(--footer-ink);
}

.legal-footer a:hover {
  color: #FFFFFF;
}

/* Thanks page */
.thanks-hero {
  text-align: center;
  padding-bottom: 1rem;
}

.thanks-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
}

.thanks-hero #thanks-lead,
.thanks-hero p {
  margin-left: auto;
  margin-right: auto;
}

.thanks-panel {
  max-width: 36rem;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}

.thanks-actions {
  margin-top: 1.25rem;
  justify-content: center;
}
