/* =================================================
   LEAF - v3   All critique items addressed
   ================================================= */
:root {
  --base:     #F1F0EC;
  --base-2:   #E8E7E3;
  --base-3:   #DEDAD5;
  --text:     #1B1E1B;
  --text-2:   #525852;
  --text-3:   #8C948B;
  --chloro:   #266B43;
  --chloro-h: #1E5636;
  --teal:     #196666;
  --teal-l:   #228888;
  --stroke:   rgba(27,30,27,0.09);
  --stroke-s: rgba(27,30,27,0.055);
  --stroke-c: rgba(38,107,67,0.22);
  --f-dis:    'Fraunces', Georgia, serif;
  --f-body:   'Plus Jakarta Sans', sans-serif;
  --f-mono:   'JetBrains Mono', monospace;
  --r-leaf:   4px 18px 16px 6px;
  --r-pill:   100px;
  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; }
body {
  background: var(--base);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--chloro);
  outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: 10px;
  z-index: 1000;
  background: var(--chloro);
  color: #fff;
  text-decoration: none;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 12px;
  border-radius: 6px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* Typography */
.t-kicker {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-3);
}
.t-dis {
  font-family: var(--f-dis);
  font-weight: 300; letter-spacing: -0.025em;
  line-height: 1.08; color: var(--text);
}
.t-dis em { font-style: italic; color: var(--chloro); }
h1.t-dis { font-size: clamp(42px, 5.8vw, 74px); }
h2.t-dis { font-size: clamp(28px, 3.8vw, 50px); }

/* Vein SVG */
.vp {
  stroke: rgba(38,107,67,0.2); stroke-width: 0.75;
  fill: none; stroke-linecap: round;
  stroke-dasharray: 600; stroke-dashoffset: 600;
  transition: stroke-dashoffset 900ms var(--ease);
}
.vb {
  stroke: rgba(38,107,67,0.09); stroke-width: 0.45;
  fill: none; stroke-linecap: round;
  stroke-dasharray: 300; stroke-dashoffset: 300;
  transition: stroke-dashoffset 700ms 180ms var(--ease);
}
.vt { stroke: rgba(25,102,102,0.13); }
.drawn { stroke-dashoffset: 0 !important; }

/* Membrane wash - light */
.mem { position: relative; overflow: hidden; }
.mem-f1, .mem-f2 {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.mem-f1 {
  background:
    radial-gradient(ellipse 68% 58% at 26% 50%, rgba(38,107,67,0.05) 0%, transparent 65%),
    radial-gradient(ellipse 55% 68% at 74% 44%, rgba(25,102,102,0.04) 0%, transparent 65%);
  filter: blur(60px);
}
.mem-f2 {
  background:
    radial-gradient(ellipse 38% 38% at 80% 82%, rgba(38,107,67,0.032) 0%, transparent 55%),
    radial-gradient(ellipse 32% 32% at 18% 18%, rgba(25,102,102,0.028) 0%, transparent 55%);
  filter: blur(85px);
  animation: mem-drift 24s ease-in-out infinite alternate;
}
@keyframes mem-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(4px,-3px) scale(1.016); }
}

/* Stomata texture */
.stomata {
  background-image: radial-gradient(
    ellipse 1.5px 2.5px at 50% 50%,
    rgba(27,30,27,0.048) 50%, transparent 51%
  );
  background-size: 22px 22px;
}

/* =================================================
   NAV - FIX: -webkit-backdrop-filter for Firefox
   ================================================= */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 60px; display: flex; align-items: center;
  padding: 0 48px; justify-content: space-between;
  border-bottom: 1px solid var(--stroke-s);
  background: rgba(241,240,236,0.9);
  -webkit-backdrop-filter: blur(20px) saturate(160%); /* FIX: Firefox */
  backdrop-filter: blur(20px) saturate(160%);
  overflow: hidden;
}
.nav-logo {
  display: flex; align-items: baseline; gap: 9px; text-decoration: none;
}
.nav-word {
  font-family: var(--f-dis); font-size: 19px; font-weight: 300;
  letter-spacing: 0.28em; color: var(--text);
}
.nav-sub {
  font-family: var(--f-mono); font-size: 8px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-3);
}
/* FIX: Nav links anchor to real sections */
.nav-links { list-style: none; display: flex; gap: 26px; }
.nav-links a {
  font-size: 11.5px; letter-spacing: 0.07em; text-transform: lowercase;
  text-decoration: none; color: var(--text-2); transition: color 240ms;
  padding: 2px 0; border-bottom: 1px solid transparent;
  transition: color 240ms, border-color 240ms;
}
.nav-links a:hover { color: var(--chloro); border-bottom-color: rgba(38,107,67,0.3); }
.nav-links a.active { color: var(--chloro); border-bottom-color: var(--stroke-c); }
.nav-cta {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  color: var(--chloro); border: 1px solid var(--stroke-c);
  padding: 7px 18px 8px 20px; border-radius: var(--r-leaf);
  transition: all 300ms var(--ease);
}
.nav-cta:hover { background: var(--chloro); color: #fff; box-shadow: 0 4px 20px rgba(38,107,67,0.18); }
.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: rgba(255,255,255,0.45);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle-line {
  width: 16px;
  height: 1.5px;
  background: var(--text-2);
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 99;
  border-bottom: 1px solid var(--stroke-s);
  background: rgba(241,240,236,0.96);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  padding: 14px 20px 20px;
}
.mobile-nav[hidden] { display: none !important; }
.mobile-links {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.mobile-links a {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  text-decoration: none;
  color: var(--text-2);
  padding: 8px 2px;
  border-bottom: 1px solid var(--stroke-s);
}
.mobile-links a.active,
.mobile-links a:hover { color: var(--chloro); }
.mobile-cta {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--chloro);
  border: 1px solid var(--stroke-c);
  padding: 8px 16px 9px 18px;
  border-radius: var(--r-leaf);
}
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(38,107,67,0.08);
  pointer-events: none;
}
.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--chloro), var(--teal-l));
}

.section-anchor {
  position: relative;
  z-index: 1;
}
.section-anchor .t-kicker { margin-bottom: 10px; }
.section-title {
  margin-bottom: 12px;
  max-width: 740px;
}
.section-sub {
  max-width: 620px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-2);
  font-weight: 300;
}
.section-anchor.center {
  text-align: center;
}
.section-anchor.center .section-title,
.section-anchor.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}
.section-title-sm {
  font-size: clamp(22px, 2.8vw, 32px);
  margin-bottom: 8px;
}
.section-anchor-compact { margin-bottom: 18px; }

/* =================================================
   HERO
   ================================================= */
#hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 120px 80px 96px;
  position: relative; z-index: 1;
}
#hero > * { position: relative; z-index: 1; }
.hero-hed { max-width: 800px; margin-bottom: 22px; }
.hero-sub {
  font-size: 18px; line-height: 1.65; color: var(--text-2);
  font-weight: 300; margin-bottom: 44px; max-width: 460px;
}
/* FIX: Secondary path added alongside CTA */
.hero-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

.btn-pri {
  display: inline-block; font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  color: #fff; background: var(--chloro); border: 1px solid var(--chloro);
  padding: 14px 36px 16px 40px; border-radius: var(--r-leaf);
  transition: all 360ms var(--ease);
}
.btn-pri:hover {
  background: var(--chloro-h); border-color: var(--chloro-h);
  box-shadow: 0 8px 32px rgba(38,107,67,0.22); transform: translateY(-1px);
}
.btn-sec {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  color: var(--text-3); transition: color 240ms;
}
.btn-sec:hover { color: var(--chloro); }
.btn-sec::after { content: '↗'; font-size: 11px; transition: transform 240ms; }
.btn-sec:hover::after { transform: translate(2px,-2px); }
.btn-soon {
  color: var(--text-3);
  opacity: 0.85;
  cursor: default;
}
.btn-soon::after { content: ''; display: none; }

#cta,
#cta-form {
  scroll-margin-top: 84px;
}

/* FIX: Scroll cue */
.scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 1; opacity: 0; animation: cue-in 1s ease 1.8s forwards;
}
@keyframes cue-in { to { opacity: 1; } }
.scroll-cue-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(38,107,67,0.4));
  animation: cue-line 2s ease-in-out 2s infinite;
}
@keyframes cue-line {
  0%,100% { transform: scaleY(1); opacity: 0.6; }
  50%      { transform: scaleY(1.3); opacity: 1; }
}
.scroll-cue-label {
  font-family: var(--f-mono); font-size: 8px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-3);
  writing-mode: vertical-lr; transform: rotate(180deg);
}

/* =================================================
   ABOUT BRIEF - #about-brief
   ================================================= */
#about-brief {
  padding: 14px 80px 8px;
  background: transparent;
}
.about-brief-inner {
  max-width: 920px;
  display: block;
}
.about-brief-line {
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.55;
  color: var(--text-2);
  font-weight: 300;
  max-width: 62ch;
}

/* Hero membrane visual */
.hero-membrane {
  position: absolute; bottom: -20px; right: -20px;
  width: 440px; height: 440px; pointer-events: none; z-index: 0;
  opacity: 0; transition: opacity 1.6s ease 0.6s;
}
.hero-membrane.vis { opacity: 1; }
.hm-ring {
  position: absolute;
  border-radius: 48% 54% 50% 46% / 44% 50% 56% 50%;
  border: 1px solid;
}
.hm-r1 {
  inset: 8%; border-color: rgba(38,107,67,0.16);
  background: radial-gradient(ellipse at 38% 38%, rgba(38,107,67,0.05) 0%, transparent 70%);
  animation: hm-b1 11s ease-in-out infinite;
}
.hm-r2 {
  inset: 22%; border-color: rgba(25,102,102,0.12);
  background: radial-gradient(ellipse at 62% 58%, rgba(25,102,102,0.055) 0%, transparent 70%);
  animation: hm-b2 14s ease-in-out infinite;
}
.hm-r3 {
  inset: 37%; border-color: rgba(38,107,67,0.2);
  background: radial-gradient(ellipse at 50% 50%, rgba(38,107,67,0.08) 0%, transparent 65%);
  animation: hm-b3 8s ease-in-out infinite;
}
.hm-core {
  position: absolute; inset: 46%; border-radius: 50%;
  background: var(--chloro); opacity: 0.18; filter: blur(14px);
  animation: hm-core 5.5s ease-in-out infinite;
}
.hm-gring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(38,107,67,0.055);
}
.hg1 { inset: 0; } .hg2 { inset: -9%; } .hg3 { inset: -19%; }

@keyframes hm-b1 { 0%,100%{transform:scale(1) rotate(0deg)} 50%{transform:scale(1.035) rotate(1.4deg)} }
@keyframes hm-b2 { 0%,100%{transform:scale(1) rotate(0deg)} 50%{transform:scale(1.05) rotate(-0.9deg)} }
@keyframes hm-b3 { 0%,100%{transform:scale(1) rotate(0deg)} 50%{transform:scale(1.04) rotate(.8deg)} }
@keyframes hm-core{ 0%,100%{opacity:.15;transform:scale(1)} 50%{opacity:.32;transform:scale(1.18)} }

/* =================================================
   SECTION VEIN DIVIDERS - FIX: no preserveAspectRatio
   ================================================= */
.vdiv {
  width: 100%; height: 52px; display: block;
  overflow: visible; padding: 0 80px;
  /* FIX: remove preserveAspectRatio="none" - set on SVG element */
}

/* =================================================
   TILES - #signals
   ================================================= */
#signals { background: var(--base-2); }
#signals .section-anchor {
  padding: 56px 80px 18px;
}
.tiles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.tile {
  background: var(--base-2); padding: 56px 44px 52px;
  position: relative; overflow: hidden;
  border-right: 1px solid var(--stroke-s);
  transition: background 300ms var(--ease);
}
.tile:last-child { border-right: none; }
.tile::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--chloro), transparent);
  transition: width 420ms var(--ease);
}
.tile:hover::after { width: 55%; }
.tile:hover { background: var(--base); }
.tile-icon { width: 46px; height: 46px; margin-bottom: 26px; }
.tile-word {
  font-family: var(--f-dis); font-size: 27px; font-weight: 300;
  letter-spacing: -0.02em; display: block; margin-bottom: 11px;
}
.tile-desc { font-size: 15px; line-height: 1.65; color: var(--text-2); font-weight: 300; }

/* =================================================
   LOOP DIAGRAM - #response  MAJOR REBUILD
   ================================================= */
#response {
  padding: 96px 80px; position: relative; z-index: 1;
}
#response .section-anchor {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 24px;
}
.loop-outer {
  display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 1;
}
.loop-svg-wrap { width: 100%; max-width: 720px; }
#loop-svg { width: 100%; overflow: visible; display: block; }
.loop-caption {
  margin-top: 26px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-3); text-align: center;
}

/* Node ring animations */
@keyframes node-breathe-a { 0%,100%{r:54;opacity:.7} 50%{r:57;opacity:1} }
@keyframes node-breathe-b { 0%,100%{r:38;opacity:.4} 50%{r:41;opacity:.65} }
@keyframes respond-pulse   { 0%,100%{opacity:0;r:68} 50%{opacity:.3;r:80} }

/* Signal pulse glow on Respond node - triggered by JS class */
.respond-glow {
  fill: rgba(38,107,67,0.0);
  transition: fill 400ms var(--ease);
}
.respond-glow.active { fill: rgba(38,107,67,0.1); }

/* =================================================
   USE CASES - #comfort
   ================================================= */
#comfort { background: var(--base-2); padding: 96px 80px; }
.uc-inner { max-width: 1200px; margin: 0 auto; }
#comfort .section-anchor { margin-bottom: 32px; }
.uc-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; margin-top: 52px;
}
.uc-card {
  background: var(--base); border: 1px solid var(--stroke-s);
  border-radius: var(--r-leaf); padding: 36px 30px 32px;
  position: relative; overflow: hidden;
  transition: all 300ms var(--ease); cursor: default;
}
.uc-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 15% 50%,rgba(38,107,67,0.04) 0%,transparent 60%);
  opacity: 0; transition: opacity 360ms;
}
.uc-card::after {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 0; height: 1px;
  background: linear-gradient(90deg, rgba(38,107,67,0.38), transparent);
  transition: width 360ms var(--ease); transform: translateY(-50%);
}
.uc-card:hover::before { opacity: 1; }
.uc-card:hover::after  { width: 65%; }
.uc-card:hover { border-color: var(--stroke-c); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(27,30,27,0.055); }
.uc-cat {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal-l);
  margin-bottom: 14px; display: block;
}
.uc-text { font-size: 15.5px; line-height: 1.65; color: var(--text-2); font-weight: 300; }

/* =================================================
   EVIDENCE STRIP
   ================================================= */
#platform {
  border-top: 1px solid var(--stroke-s);
  border-bottom: 1px solid var(--stroke-s);
  padding: 32px 80px;
}
#platform .section-anchor .t-kicker { color: var(--text-3); }
.chips { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.chip-label {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-3); margin-right: 8px;
}
.chip {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--chloro);
  border: 1px solid rgba(38,107,67,0.26); border-radius: var(--r-pill);
  padding: 6px 14px 7px; background: rgba(38,107,67,0.05);
  white-space: nowrap; transition: all 240ms var(--ease);
}
.chip:hover { background: rgba(38,107,67,0.1); border-color: rgba(38,107,67,0.4); }
.platform-note {
  margin-top: 16px;
  max-width: 72ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  font-weight: 300;
}

/* =================================================
   DIFFERENTIATOR - #privacy  FIX: static chips only
   ================================================= */
#privacy { padding: 72px 80px 60px; }
.diff-hed { margin-bottom: 32px; }
.diff-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.d-chip {
  font-family: var(--f-body); font-size: 14px; font-weight: 400;
  color: var(--text-2); border: 1px solid var(--stroke);
  border-radius: var(--r-pill); padding: 10px 20px;
  background: var(--base-2);
  transition: border-color 260ms var(--ease), color 260ms var(--ease), background 260ms var(--ease);
  cursor: default;
}
.d-chip:hover { border-color: var(--stroke-c); color: var(--chloro); background: rgba(38,107,67,0.05); }

/* =================================================
   CTA + FAQ - #cta
   FIX: grid-template-rows accordion (no max-height hack)
   ================================================= */
#cta { background: var(--base-2); padding: 96px 80px; }
.cta-inner { max-width: 680px; margin: 0 auto; }
.cta-block { margin-bottom: 68px; }
.cta-hed  { margin-bottom: 16px; }
.cta-sub  { font-size: 17px; color: var(--text-2); font-weight: 300; margin-bottom: 34px; line-height: 1.65; }
.trust-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: -8px 0 22px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(38,107,67,0.22);
  background: rgba(38,107,67,0.05);
  color: var(--chloro);
  border-radius: var(--r-pill);
  padding: 7px 12px 8px;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cta-form { max-width: 560px; }
.form-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  color: var(--text-3);
  font-family: var(--f-mono);
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step-dot.is-active {
  border-color: var(--stroke-c);
  color: var(--chloro);
  background: rgba(38,107,67,0.08);
}
.step-line {
  width: 26px;
  height: 1px;
  background: var(--stroke);
}
.form-step[hidden] { display: none; }
.cta-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field span {
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.56);
  color: var(--text);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--f-body);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-3); }
.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  border-color: var(--stroke-c);
  box-shadow: 0 0 0 2px rgba(38,107,67,0.12);
}
.form-field textarea {
  resize: vertical;
  min-height: 90px;
}
.form-field-full { grid-column: 1 / -1; }
.field-error {
  font-size: 12px;
  line-height: 1.3;
  color: #9b2e2e;
}
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: rgba(155,46,46,0.5);
  box-shadow: 0 0 0 2px rgba(155,46,46,0.08);
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.cta-form-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}
.cta-form-actions .btn-pri {
  border: 0;
  cursor: pointer;
}
.form-back {
  background: transparent;
  border: none;
  color: var(--text-3);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 0;
}
.form-back:hover { color: var(--chloro); }
.btn-pri.is-loading {
  opacity: 0.78;
  cursor: wait;
}
.form-inline-error {
  margin-top: 10px;
  font-size: 13px;
  color: #9b2e2e;
}
.form-status {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--chloro);
  border: 1px solid var(--stroke-c);
  background: rgba(38,107,67,0.07);
  border-radius: 8px;
  padding: 10px 12px;
}

.faq-label {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 22px;
}
.faq { border-top: 1px solid var(--stroke); }
.faq-item { border-bottom: 1px solid var(--stroke); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; gap: 14px; text-align: left;
}
.faq-q-text {
  font-family: var(--f-body); font-size: 15.5px; font-weight: 400;
  color: var(--text); line-height: 1.45;
}
.faq-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1px solid var(--stroke); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 15px; line-height: 1;
  transition: all 280ms var(--ease);
  font-family: var(--f-mono);
}
.faq-item.open .faq-icon {
  border-color: var(--stroke-c); color: var(--chloro);
  transform: rotate(45deg);
}

/* FIX: grid-template-rows transition - smooth regardless of content height */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 380ms var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
  overflow: hidden;
  font-size: 15px; line-height: 1.7; color: var(--text-2);
  font-weight: 300; padding-bottom: 0;
  transition: padding-bottom 380ms var(--ease);
}
.faq-item.open .faq-a-inner { padding-bottom: 20px; }

/* =================================================
   FOOTER
   ================================================= */
footer {
  border-top: 1px solid var(--stroke-s);
  padding: 34px 80px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: center;
}
.f-brand {
  font-family: var(--f-dis); font-size: 16px; font-weight: 300;
  letter-spacing: 0.28em; color: var(--text-3); margin-bottom: 5px;
}
.f-copy {
  font-family: var(--f-mono); font-size: 8.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-3);
}
.f-links { display: flex; gap: 22px; }
.f-links a {
  font-size: 11.5px; letter-spacing: 0.06em; text-transform: lowercase;
  text-decoration: none; color: var(--text-3); transition: color 240ms;
}
.f-links a:hover { color: var(--chloro); }

/* =================================================
   SCROLL REVEAL
   ================================================= */
.rev {
  opacity: 0; transform: translateY(18px);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
}
.rev.vis { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 80ms; }
.d2 { transition-delay: 180ms; }
.d3 { transition-delay: 280ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .rev {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  .scroll-cue { display: none; }
}

/* =================================================
   RESPONSIVE
   ================================================= */
@media (max-width: 860px) {
  body.nav-open { overflow: hidden; }
  body { font-size: 17px; }
  h1.t-dis { font-size: clamp(34px, 8.8vw, 52px); line-height: 1.1; }
  h2.t-dis { font-size: clamp(26px, 6.6vw, 40px); line-height: 1.12; }
  .site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  #hero { padding: 96px 24px 80px; }
  .hero-sub { font-size: 16px; line-height: 1.58; max-width: 34ch; }
  .hero-membrane { display: none; }
  .scroll-cue { display: none; }
  #about-brief { padding: 12px 24px 8px; }
  .about-brief-line { font-size: 14.5px; line-height: 1.58; max-width: 50ch; }
  .vdiv { padding: 0 24px; }
  #signals .section-anchor {
    padding: 44px 24px 14px;
  }
  .section-sub { font-size: 14.5px; line-height: 1.58; }
  #signals, .tiles-grid { display: block; }
  .tile-word { font-size: 24px; margin-bottom: 8px; }
  .tile-desc { font-size: 14.5px; line-height: 1.58; }
  .tile { border-right: none; border-bottom: 1px solid var(--stroke-s); }
  #response .section-anchor { margin-bottom: 16px; }
  .loop-caption { font-size: 9.5px; letter-spacing: 0.16em; }
  #response { padding: 72px 24px; }
  #comfort { padding: 72px 24px; }
  #comfort .section-anchor { margin-bottom: 20px; }
  .uc-text { font-size: 14.8px; line-height: 1.58; }
  .uc-grid { grid-template-columns: 1fr; }
  #platform { padding: 28px 24px; }
  .section-title-sm { font-size: clamp(21px, 6vw, 28px); }
  #privacy { padding: 60px 24px 48px; }
  #cta { padding: 72px 24px; }
  .cta-sub { font-size: 16px; line-height: 1.58; }
  .trust-strip { margin-top: -4px; margin-bottom: 18px; }
  .cta-form-grid { grid-template-columns: 1fr; }
  .faq-q-text { font-size: 15px; }
  .faq-a-inner { font-size: 14.5px; line-height: 1.62; }
  footer { grid-template-columns: 1fr; padding: 30px 24px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-sub { display: none; }
  h1.t-dis { font-size: clamp(30px, 10vw, 44px); }
  h2.t-dis { font-size: clamp(24px, 8vw, 34px); }
  .hero-sub { font-size: 15px; }
  .about-brief-line { font-size: 13.8px; }
  .section-title-sm { font-size: clamp(20px, 7.5vw, 26px); }
}
