/* Sophi marketing site — "Clinic" direction.
   Ground/surface stay soft; navy #000056 is reserved for CTAs, the closing band and the footer. */

:root{
  --navy:#000056;
  --ground:#EEF1F8;
  --surface:#FFFFFF;
  --surface-2:#F5F7FD;
  --ink:#18203A;
  --ink-2:#5A6480;
  --ink-3:#8A92AB;
  --line:rgba(24,32,58,.12);
  --line-soft:rgba(24,32,58,.07);
  --accent:#3763D9;
  --accent-soft:#E4EAFB;

  --risk-low:#2E9E63;
  --risk-med:#D2952C;
  --risk-high:#DE7024;
  --risk-crit:#CE4A4A;

  --r:8px;
  --max:1160px;
  --shadow:0 22px 48px -30px rgba(20,28,64,.45);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;background:var(--ground);color:var(--ink);
  font-family:'Poppins',system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;line-height:1.55;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3{margin:0;font-weight:600;letter-spacing:-0.028em;text-wrap:balance;}
p{margin:0;}

.wrap{max-width:var(--max);margin:0 auto;padding:0 clamp(1.25rem,4vw,2.5rem);}
.wrap.narrow{max-width:820px;}
.mono{font-family:'IBM Plex Mono',ui-monospace,monospace;}

.skip-link{position:absolute;left:-999px;background:var(--navy);color:#fff;padding:.7rem 1.2rem;z-index:100;}
.skip-link:focus{left:0;top:0;}

/* chapter marker — index, rule, sentence-case label */
.chapter{
  display:flex;align-items:center;gap:.65rem;
  font-size:.84rem;font-weight:500;color:var(--ink-2);margin:0 0 1.1rem;
}
.chapter .ix{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:.72rem;color:var(--accent);}
.chapter .rule{width:28px;height:1px;background:var(--ink-3);opacity:.5;flex-shrink:0;}

/* small data label used inside cards and the footer */
.flabel{
  font-family:'IBM Plex Mono',ui-monospace,monospace;
  font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3);margin:0 0 .5rem;
}

/* The nav is sticky, so anchor jumps have to clear it or the chapter marker lands
   underneath it. */
[id]{scroll-margin-top:5.5rem;}

.section{padding:clamp(3rem,6vw,5rem) 0;}
.section-head h2{font-size:clamp(1.6rem,3.2vw,2.25rem);max-width:20ch;margin-bottom:.7rem;}
.section-head .lede{color:var(--ink-2);font-weight:300;max-width:48ch;font-size:1rem;line-height:1.7;}

/* ---------------- nav ---------------- */
.site-nav{
  position:sticky;top:0;z-index:50;background:rgba(238,241,248,.86);
  backdrop-filter:blur(12px);border-bottom:1px solid var(--line-soft);
}
.nav-inner{max-width:var(--max);margin:0 auto;padding:0 clamp(1.25rem,4vw,2.5rem);height:66px;display:flex;align-items:center;gap:1.75rem;}
.brand{display:flex;align-items:center;flex-shrink:0;}
.brand svg{width:106px;height:auto;color:var(--navy);}
.nav-links{display:flex;gap:1.6rem;font-size:.86rem;color:var(--ink-2);}
.nav-links a:hover{color:var(--ink);}
.nav-actions{display:flex;align-items:center;gap:1rem;margin-left:auto;}
.lang-switch{display:flex;gap:.2rem;font-family:'IBM Plex Mono',monospace;font-size:.7rem;}
.lang-switch a{padding:.28rem .5rem;border-radius:5px;color:var(--ink-3);letter-spacing:.05em;}
.lang-switch a:hover{color:var(--ink);}
.lang-switch a[aria-current="true"]{color:var(--accent);background:var(--accent-soft);}
.nav-toggle{display:none;appearance:none;background:none;border:none;color:var(--ink);padding:.35rem;cursor:pointer;}
.nav-toggle svg{width:22px;height:22px;}
.mobile-panel{display:none;flex-direction:column;gap:.85rem;padding:1rem clamp(1.25rem,4vw,2.5rem) 1.4rem;border-top:1px solid var(--line-soft);font-size:.92rem;}
.site-nav.is-open .mobile-panel{display:flex;}
@media (max-width:860px){
  .nav-links,.nav-actions .lang-switch{display:none;}
  .nav-toggle{display:inline-flex;}
  .mobile-panel .lang-switch{display:flex;}
}

/* ---------------- buttons ---------------- */
.btn{display:inline-flex;align-items:center;justify-content:center;font-size:.88rem;font-weight:500;padding:.78rem 1.45rem;border-radius:var(--r);white-space:nowrap;transition:transform .15s ease,background-color .15s ease;}
.btn:hover{transform:translateY(-1px);}
.btn-cta{background:var(--navy);color:#fff;}
.btn-quiet{background:var(--surface);color:var(--ink);border:1px solid var(--line);}
.btn-sm{padding:.5rem 1.05rem;font-size:.8rem;border-radius:999px;}
.btn-white{background:#fff;color:var(--navy);}
.btn-outline{border:1px solid rgba(255,255,255,.42);color:#fff;}
.cta-row{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.7rem;}
.cta-row.center{justify-content:center;}

/* ---------------- hero ---------------- */
.hero{padding:clamp(2.5rem,5vw,4rem) 0 clamp(3rem,6vw,4.5rem);}
.hero-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(1.75rem,4vw,3.25rem);align-items:center;}
.hero h1{font-size:clamp(1.95rem,4vw,2.9rem);line-height:1.08;margin-bottom:1rem;max-width:19ch;}
.hero .sub{font-size:1.03rem;line-height:1.7;color:var(--ink-2);font-weight:300;max-width:42ch;}
.kicker{display:flex;align-items:center;gap:.6rem;font-size:.85rem;color:var(--ink-2);margin-bottom:1.1rem;}
.kicker .rule{width:28px;height:1px;background:var(--ink-3);opacity:.5;}
.hero-foot{display:flex;align-items:center;gap:.55rem;margin-top:1.7rem;font-family:'IBM Plex Mono',monospace;font-size:.72rem;color:var(--ink-2);}
.dot-mark{width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0;}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(46,158,99,.5)}70%{box-shadow:0 0 0 7px rgba(46,158,99,0)}100%{box-shadow:0 0 0 0 rgba(46,158,99,0)}}
/* minmax(0,1fr), not 1fr: the track's min size defaults to min-content, and the product
   shot is laid out at a fixed 1100px — a bare 1fr refuses to shrink below it and pushes
   the whole page sideways on a phone. */
@media (max-width:900px){ .hero-grid{grid-template-columns:minmax(0,1fr);} }

/* ---------------- product screenshot ---------------- */
.shot-frame{
  border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  box-shadow:var(--shadow);background:var(--surface);
}
.shot-bar{display:flex;align-items:center;gap:.6rem;padding:.55rem .8rem;background:var(--surface-2);border-bottom:1px solid var(--line-soft);}
.shot-dots{display:flex;gap:.3rem;}
.shot-dots i{width:8px;height:8px;border-radius:50%;background:var(--line);display:block;}
.shot-url{
  margin:0 auto;font-size:.65rem;color:var(--ink-3);background:var(--surface);
  border:1px solid var(--line-soft);border-radius:999px;padding:.2rem .9rem;
}
.shot-window{position:relative;overflow:hidden;background:#0a0d12;}

/* the app recreation — laid out at a fixed 1100×700 and scaled to fit */
.app{
  width:1100px;height:700px;transform-origin:top left;
  background:#0a0d12;color:#e8eaf2;font-family:'Poppins',sans-serif;line-height:1.4;
}
.app-top{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid rgba(255,255,255,.07);}
.app-mark{font-size:20px;font-weight:700;background:linear-gradient(135deg,#00e5a0,#4d9aff);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
.app-top-r{display:flex;align-items:center;gap:12px;font-size:12px;color:#8892a4;}
.app-pill{background:rgba(0,229,160,.1);color:#00e5a0;border:1px solid rgba(0,229,160,.25);border-radius:20px;padding:3px 10px;font-size:10px;font-family:'IBM Plex Mono',monospace;}
.app-av{width:28px;height:28px;border-radius:8px;background:#181e2e;display:flex;align-items:center;justify-content:center;font-size:11px;color:#8892a4;}
.app-body{display:flex;height:648px;}
.app-side{width:208px;border-right:1px solid rgba(255,255,255,.07);padding:16px 12px;background:#0e1118;flex-shrink:0;}
.app-sl{font-family:'IBM Plex Mono',monospace;font-size:9px;letter-spacing:1.5px;text-transform:uppercase;color:#4a5568;margin:15px 0 6px 8px;}
.app-sl:first-child{margin-top:0;}
.app-nav{font-size:12.5px;color:#8892a4;padding:7px 10px;border-radius:7px;display:block;}
.app-nav.on{background:rgba(0,229,160,.08);color:#00e5a0;}
.app-main{flex:1;padding:20px 22px;min-width:0;}
.app-h h4{font-size:19px;font-weight:700;margin:0 0 3px;letter-spacing:-0.01em;}
.app-h p{font-size:12px;color:#8892a4;margin:0 0 16px;}
.app-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px;}
.app-kpi{background:#111520;border:1px solid rgba(255,255,255,.07);border-radius:10px;padding:12px 14px;}
.app-kpi .n{font-size:26px;font-weight:800;line-height:1;margin:0 0 5px;}
.app-kpi .l{font-size:11px;color:#8892a4;margin:0;}
.app-kpi .s{font-size:10px;color:#4a5568;font-family:'IBM Plex Mono',monospace;margin:2px 0 0;}
.app-cols{display:grid;grid-template-columns:1.4fr 1fr;gap:10px;align-items:start;margin-bottom:10px;}
.app-card{background:#111520;border:1px solid rgba(255,255,255,.07);border-radius:10px;padding:14px 16px;}
.app-ct{display:flex;align-items:center;justify-content:space-between;font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#4a5568;margin-bottom:10px;}
.app-row{display:grid;grid-template-columns:34px 1fr 92px 44px;align-items:center;gap:10px;padding:9px 0;border-top:1px solid rgba(255,255,255,.05);}
.app-row:first-child{border-top:none;}
.app-avat{width:34px;height:34px;border-radius:8px;background:#181e2e;display:flex;align-items:center;justify-content:center;font-family:'IBM Plex Mono',monospace;font-size:11px;color:#8892a4;}
.app-nm{font-size:12.5px;font-weight:600;}
.app-mt{font-size:10.5px;color:#8892a4;}
.app-dv{font-family:'IBM Plex Mono',monospace;font-size:9.5px;color:#4a5568;text-transform:uppercase;letter-spacing:.7px;}
.app-sc{font-size:19px;font-weight:800;text-align:right;font-variant-numeric:tabular-nums;}
.app-spark{width:100%;height:auto;display:block;margin-bottom:12px;}
.app-dist{display:flex;height:8px;border-radius:4px;overflow:hidden;margin-bottom:7px;}
.app-dist span{display:block;height:100%;}
.app-dist-k{display:flex;justify-content:space-between;font-family:'IBM Plex Mono',monospace;font-size:9.5px;color:#4a5568;}
.app-rehab{background:#111520;border:1px solid rgba(255,255,255,.07);border-radius:10px;padding:14px 16px;}
.app-rrow{display:grid;grid-template-columns:1fr 130px 110px 92px;align-items:center;gap:10px;padding:8px 0;border-top:1px solid rgba(255,255,255,.05);font-size:11.5px;}
.app-rrow:first-of-type{border-top:none;}
.app-rrow .ph{font-family:'IBM Plex Mono',monospace;font-size:10px;color:#4d9aff;}
.app-rrow .rt{font-family:'IBM Plex Mono',monospace;font-size:10px;color:#8892a4;text-align:right;}
.app-bar{height:5px;border-radius:3px;background:#181e2e;overflow:hidden;}
.app-bar i{display:block;height:100%;background:#4d9aff;}

/* ---------------- spec band ---------------- */
.spec-band{background:var(--surface);border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);}
.spec-grid{display:grid;grid-template-columns:repeat(3,1fr);}
.spec{padding:clamp(1.5rem,3vw,2rem) clamp(1rem,2.5vw,2rem);border-left:1px solid var(--line-soft);}
.spec:first-child{border-left:none;padding-left:0;}
.spec .n{font-size:clamp(1.7rem,3.4vw,2.35rem);font-weight:600;line-height:1;color:var(--accent);font-variant-numeric:tabular-nums;letter-spacing:-0.03em;}
.spec .k{font-family:'IBM Plex Mono',monospace;font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);margin-top:.55rem;}
.spec .c{font-size:.84rem;color:var(--ink-2);font-weight:300;margin-top:.3rem;line-height:1.55;}
@media (max-width:800px){
  .spec-grid{grid-template-columns:1fr;}
  .spec{border-left:none;border-top:1px solid var(--line-soft);padding-left:0;padding-right:0;}
  .spec:first-child{border-top:none;}
}
.micro-row{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;padding:0 0 clamp(1.5rem,3vw,2rem);}
.md{font-family:'IBM Plex Mono',monospace;font-size:.66rem;padding:.35rem .65rem;border-radius:5px;background:var(--surface-2);border:1px solid var(--line-soft);color:var(--ink-3);}
.md.on{background:var(--accent-soft);border-color:rgba(55,99,217,.4);color:var(--accent);font-weight:500;}
.micro-row .cap{font-size:.74rem;color:var(--ink-2);margin-left:.5rem;font-weight:300;}

/* ---------------- problem ---------------- */
.problem-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,4vw,3rem);align-items:start;}
.problem-grid h2{font-size:clamp(1.7rem,3.4vw,2.35rem);max-width:16ch;line-height:1.1;}
.problem-body{font-size:1rem;line-height:1.8;color:var(--ink-2);font-weight:300;}
.problem-ticks{display:flex;gap:.35rem;margin-top:1.6rem;align-items:flex-end;height:46px;}
.problem-ticks i{flex:1;background:var(--line);border-radius:1px;display:block;}
.problem-ticks i.hot{background:var(--risk-crit);}
.problem-cap{font-family:'IBM Plex Mono',monospace;font-size:.65rem;color:var(--ink-3);margin-top:.6rem;letter-spacing:.02em;line-height:1.6;}
@media (max-width:820px){ .problem-grid{grid-template-columns:1fr;} }

/* ---------------- how sophi helps ---------------- */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:2.2rem;}
.card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  padding:1.15rem 1.15rem 1.35rem;display:flex;flex-direction:column;gap:.9rem;
}
.card h3{font-size:1rem;}
.card p{font-size:.86rem;color:var(--ink-2);line-height:1.65;font-weight:300;}
.viz{
  background:var(--surface-2);border:1px solid var(--line-soft);border-radius:6px;
  padding:.75rem .8rem .6rem;min-height:140px;display:flex;flex-direction:column;
}
.viz .pbar{margin:auto 0;}
.viz .stack{margin-top:auto;}
.viz .stack-key{margin-bottom:auto;}
.viz-label{display:flex;align-items:baseline;justify-content:space-between;font-family:'IBM Plex Mono',monospace;font-size:.58rem;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-3);margin-bottom:.5rem;}
.viz-label b{font-size:.78rem;color:var(--ink);font-weight:600;letter-spacing:0;text-transform:none;font-variant-numeric:tabular-nums;}
.viz svg{display:block;width:100%;height:auto;overflow:visible;}
.axis{display:flex;justify-content:space-between;font-family:'IBM Plex Mono',monospace;font-size:.54rem;color:var(--ink-3);margin-top:.35rem;}
.pbar{display:flex;flex-direction:column;gap:.5rem;}
.pbar .r{display:flex;align-items:center;gap:.5rem;font-family:'IBM Plex Mono',monospace;font-size:.6rem;color:var(--ink-3);}
.pbar .r span:first-child{width:52px;flex-shrink:0;}
.pbar .t{flex:1;height:5px;border-radius:3px;background:var(--surface);border:1px solid var(--line-soft);overflow:hidden;}
.pbar .f{display:block;height:100%;background:var(--accent);border-radius:3px;width:0;transition:width 1.1s cubic-bezier(.4,0,.2,1);}
.pbar .r span:last-child{width:26px;text-align:right;font-variant-numeric:tabular-nums;}
.stack{display:flex;height:18px;border-radius:4px;overflow:hidden;border:1px solid var(--line-soft);}
.stack span{height:100%;width:0;transition:width 1.1s cubic-bezier(.4,0,.2,1);}
.stack-key{display:flex;gap:.65rem;flex-wrap:wrap;font-family:'IBM Plex Mono',monospace;font-size:.55rem;color:var(--ink-3);margin-top:.5rem;}
.stack-key i{width:8px;height:8px;border-radius:2px;display:inline-block;margin-right:.25rem;}
@media (max-width:900px){ .cards{grid-template-columns:1fr;} }

/* ---------------- trust ---------------- */
.trust{display:flex;align-items:center;gap:clamp(1.5rem,4vw,3rem);flex-wrap:wrap;padding-top:1.6rem;border-top:1px solid var(--line-soft);margin-top:2rem;}
.trust img{height:52px;width:auto;filter:grayscale(1);opacity:.62;transition:opacity .2s ease,filter .2s ease;}
.trust img:hover{opacity:1;filter:grayscale(0);}
.fine-print{font-size:.74rem;color:var(--ink-3);margin-top:1rem;font-weight:300;}

/* ---------------- team ---------------- */
/* Squares at --r, not circles: nothing else on this site is round, and a ringed circular
   portrait is the one competitor cue that would read as borrowed. */
.team-grid{margin-top:2.2rem;}
.person{gap:.75rem;}
.person-photo{
  position:relative;display:block;width:100%;aspect-ratio:1/1;
  border-radius:6px;overflow:hidden;background:var(--surface-2);
  border:1px solid var(--line-soft);
}
.person-mono{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:2rem;font-weight:500;
  letter-spacing:.06em;color:var(--ink-3);
}
/* Sits above the monogram; removes itself via onerror when the headshot is missing. */
.person-photo img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center top;
}
.person-id{display:flex;flex-direction:column;gap:.15rem;}
.person h3{font-size:1.02rem;}
.person-role{font-size:.84rem;color:var(--ink-2);font-weight:400;}
/* Two lines' worth, so a credential that wraps doesn't shunt one bio out of line with
   its neighbours — same trick as .viz min-height in the cards above. */
.person-cred{margin:0;color:var(--accent);min-height:1.95rem;}
.person-bio{font-size:.86rem;color:var(--ink-2);line-height:1.65;font-weight:300;}
.person-in{
  display:inline-flex;align-items:center;gap:.4rem;margin-top:auto;padding-top:.3rem;
  font-size:.78rem;color:var(--ink-2);width:fit-content;
}
.person-in svg{width:14px;height:14px;flex-shrink:0;}
.person-in:hover{color:var(--accent);}
.person-in:hover span{text-decoration:underline;}
@media (max-width:900px){ .person-photo{max-width:220px;} }

/* ---------------- newsletter ---------------- */
/* Sits after the demo CTA and must stay subordinate to it — no accent fill, quiet button. */
.news-band{background:var(--ground);padding:clamp(2.5rem,5vw,3.5rem) 0;}
.news-grid{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(1.5rem,4vw,3rem);align-items:start;
}
.news-band h2{font-size:clamp(1.25rem,2.4vw,1.6rem);max-width:18ch;margin-bottom:.55rem;}
.news-body{font-size:.9rem;line-height:1.7;color:var(--ink-2);font-weight:300;max-width:42ch;}
.news-form{display:flex;flex-direction:column;gap:.75rem;}
.news-row{display:flex;gap:.55rem;flex-wrap:wrap;}
.news-input{
  flex:1;min-width:0;font:inherit;font-size:.88rem;
  padding:.72rem .9rem;border-radius:var(--r);
  background:var(--surface);color:var(--ink);
  border:1px solid var(--line);
}
.news-input::placeholder{color:var(--ink-3);}
.news-input:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-color:transparent;}
.news-consent{
  display:flex;align-items:flex-start;gap:.5rem;
  font-size:.78rem;line-height:1.55;color:var(--ink-2);font-weight:300;max-width:46ch;
}
.news-consent input{margin-top:.16rem;flex-shrink:0;accent-color:var(--navy);}
.news-consent a{text-decoration:underline;text-underline-offset:2px;}
.news-consent a:hover{color:var(--accent);}
.news-note{font-size:.72rem;color:var(--ink-3);font-weight:300;}
.news-status{font-size:.82rem;font-weight:400;}
.news-status.ok{color:var(--risk-low);}
.news-status.bad{color:var(--risk-crit);}
.news-form.sent .news-row,.news-form.sent .news-consent,.news-form.sent .news-note{display:none;}
@media (max-width:820px){ .news-grid{grid-template-columns:1fr;} }

/* Honeypot. Off-screen rather than display:none — bots skip hidden inputs. */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.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;}

/* ---------------- how it works ---------------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:2.2rem;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--surface);}
.step{padding:1.5rem 1.4rem 1.7rem;border-left:1px solid var(--line-soft);}
.step:first-child{border-left:none;}
.step .n{font-family:'IBM Plex Mono',monospace;font-size:.68rem;color:var(--accent);letter-spacing:.1em;}
.step h3{font-size:1rem;margin:.7rem 0 .45rem;}
.step p{font-size:.86rem;color:var(--ink-2);line-height:1.65;font-weight:300;}
@media (max-width:820px){
  .steps{grid-template-columns:1fr;}
  .step{border-left:none;border-top:1px solid var(--line-soft);}
  .step:first-child{border-top:none;}
}

/* ---------------- faq ---------------- */
.faq-list{margin-top:1.8rem;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--surface);}
.faq-item{border-top:1px solid var(--line-soft);}
.faq-item:first-child{border-top:none;}
.faq-item summary{cursor:pointer;list-style:none;padding:1.05rem 1.25rem;font-size:.95rem;font-weight:500;display:flex;align-items:center;justify-content:space-between;gap:1rem;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+";font-family:'IBM Plex Mono',monospace;font-size:1.1rem;color:var(--accent);transition:transform .2s ease;}
.faq-item[open] summary::after{transform:rotate(45deg);}
.faq-item p{padding:0 1.25rem 1.15rem;font-size:.89rem;color:var(--ink-2);line-height:1.7;font-weight:300;max-width:62ch;}

/* ---------------- closing CTA + footer (navy) ---------------- */
.cta-band{background:var(--navy);color:#fff;padding:clamp(3rem,6vw,4.5rem) 0;text-align:center;}
.cta-band h2{font-size:clamp(1.75rem,3.5vw,2.45rem);margin-bottom:.8rem;}
.cta-band p{color:rgba(255,255,255,.78);font-weight:300;font-size:1rem;line-height:1.7;max-width:46ch;margin:0 auto;}
.site-footer{background:var(--navy);color:rgba(255,255,255,.72);padding:clamp(2.2rem,4vw,3rem) 0 2rem;border-top:1px solid rgba(255,255,255,.13);}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:2.5rem;padding-bottom:1.9rem;border-bottom:1px solid rgba(255,255,255,.13);}
.footer-brand svg{width:114px;height:auto;color:#fff;margin-bottom:.9rem;}
.footer-brand p{font-size:.85rem;line-height:1.7;font-weight:300;max-width:40ch;}
.footer-contact{display:flex;flex-direction:column;gap:.5rem;align-items:flex-start;}
.footer-contact .flabel{color:rgba(255,255,255,.5);}
.footer-contact a{font-size:.9rem;}
.footer-contact a:hover{color:#fff;text-decoration:underline;}
.footer-bottom{display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;justify-content:space-between;padding-top:1.3rem;font-size:.76rem;color:rgba(255,255,255,.55);}
@media (max-width:760px){ .footer-grid{grid-template-columns:1fr;} }

.footer-disclaimer{
  font-size:.72rem;line-height:1.6;color:rgba(255,255,255,.5);
  margin-top:1rem;max-width:44ch;
}

/* ---------------- document page (security & data protection) ---------------- */
.draft-notice{
  margin-top:2rem;padding:1rem 1.2rem;border-radius:var(--r);
  background:#FDF3E3;border:1px solid #E3B765;color:#6B4A12;
}
.draft-t{font-weight:600;font-size:.9rem;margin-bottom:.35rem;}
.draft-notice p:last-child{font-size:.84rem;line-height:1.65;font-weight:300;}

.doc-hero{padding:clamp(2rem,4vw,3rem) 0 1rem;}
.doc-hero h1{font-size:clamp(1.8rem,3.6vw,2.5rem);line-height:1.1;margin-bottom:1rem;}
.doc-intro{font-size:1rem;line-height:1.75;color:var(--ink-2);font-weight:300;max-width:60ch;}
.doc-legend{display:flex;gap:1.4rem;margin-top:1.6rem;font-size:.76rem;color:var(--ink-2);}
.doc-legend span{display:inline-flex;align-items:center;gap:.45rem;}

.tag{width:9px;height:9px;border-radius:2px;display:inline-block;flex-shrink:0;}
.tag-ok,.tag-verified{background:var(--risk-low);}
.tag-todo,.tag-confirm{background:#E3B765;}

.doc-section{padding:clamp(1.75rem,3vw,2.5rem) 0 0;}
.doc-section h2{
  display:flex;align-items:baseline;gap:.75rem;
  font-size:clamp(1.1rem,2.2vw,1.35rem);padding-bottom:.9rem;
  border-bottom:1px solid var(--line);margin-bottom:.4rem;
}
.doc-n{font-family:'IBM Plex Mono',monospace;font-size:.75rem;color:var(--accent);}
.doc-list{margin:0;}
.doc-item{padding:1.1rem 0;border-bottom:1px solid var(--line-soft);}
.doc-item dt{
  font-size:.95rem;font-weight:600;margin-bottom:.4rem;
  display:flex;align-items:center;gap:.5rem;
}
.doc-item dd{margin:0;font-size:.89rem;line-height:1.7;color:var(--ink-2);font-weight:300;max-width:66ch;}
.doc-confirm dd{color:#6B4A12;}
.doc-confirm{background:#FDF9F0;margin:0 -1rem;padding-left:1rem;padding-right:1rem;border-radius:4px;}

/* ---------------- privacy notice ---------------- */
.doc-meta{font-size:.72rem;color:var(--ink-3);margin-top:1.1rem;}
.doc-callout{
  margin-top:1.8rem;padding:1.15rem 1.3rem;border-radius:var(--r);
  background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--accent);
}
.doc-callout-t{font-weight:600;font-size:.95rem;margin-bottom:.45rem;}
.doc-callout p:last-child{font-size:.87rem;line-height:1.7;color:var(--ink-2);font-weight:300;}
.doc-note{font-size:.78rem;line-height:1.65;color:var(--ink-3);font-weight:300;max-width:66ch;}
.doc-pending{margin-top:1.1rem;}
.doc-prevails{margin:2.5rem 0 1rem;padding-top:1.2rem;border-top:1px solid var(--line-soft);}
.doc-section .doc-note{margin-top:1rem;}
.footer-address{font-style:normal;font-size:.9rem;color:rgba(255,255,255,.72);}

/* reveal — only hidden when JS is running, so the page still renders without it */
.js .reveal{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease;}
.js .reveal.in{opacity:1;transform:none;}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation:none!important;transition:none!important;}
  .js .reveal{opacity:1;transform:none;}
}
