/* ===== SENZA - landing styles ===== */
:root{
  --bg:        #0a1019;
  --bg-2:      #070b12;
  --bg-3:      #080c14;
  --ink:       #eaf1f8;
  --ink-soft:  #aab6c6;
  --ink-mute:  #6f7d90;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);
  --card:      rgba(255,255,255,.025);
  --card-hi:   rgba(255,255,255,.05);
  --teal:      #5fe0c8;
  --blue:      #4aa3ff;
  --radius:    20px;
  --maxw:      1180px;
  --ease:      cubic-bezier(.22,.61,.36,1);

  /* theme-sensitive surfaces & accents (overridden in light theme) */
  --brand-ink:   #ffffff;                 /* wordmark, strong headings on dark */
  --btn-ink:     #04121a;                 /* text on the teal->blue button */
  --chip-bg:     rgba(255,255,255,.02);   /* pills / ghost button fill */
  --ic-bg:       rgba(255,255,255,.03);   /* small icon chips */
  --surface-1:   #0b1320;                 /* flow connector chips */
  --surface-2:   #0d1521;                 /* flow nodes */
  --input-bg:    rgba(0,0,0,.25);
  --hero-shadow: rgba(4,12,20,.85);
  --header-bg:   linear-gradient(to bottom,rgba(10,16,25,.7),rgba(10,16,25,0));
  --menu-bg:     rgba(9,13,21,.85);
  --how-grad:    linear-gradient(180deg,var(--bg) 0%,#0b1320 28%,#080c14 100%);
  --card-shadow: none;
  --card-shadow-hi: none;
}

/* ===== Light theme ===== */
:root[data-theme="light"]{
  --bg:        #eef1f5;
  --bg-2:      #e7ebf1;
  --bg-3:      #e9edf3;
  --ink:       #0e1620;
  --ink-soft:  #4a586b;
  --ink-mute:  #5f6d7e;
  --line:      rgba(14,22,32,.10);
  --line-2:    rgba(14,22,32,.17);
  --card:      #ffffff;
  --card-hi:   #ffffff;
  /* deepened accent so kickers / links / gradients keep contrast on white (WCAG AA) */
  --teal:      #0a7a6f;
  --blue:      #2563eb;
  --brand-ink:   #0e1620;
  --btn-ink:     #ffffff;
  --chip-bg:     rgba(14,22,32,.03);
  --ic-bg:       rgba(14,22,32,.035);
  --surface-1:   #ffffff;
  --surface-2:   #ffffff;
  --input-bg:    #ffffff;
  --hero-shadow: rgba(255,255,255,.72);
  --header-bg:   linear-gradient(to bottom,rgba(238,241,245,.82),rgba(238,241,245,0));
  --menu-bg:     rgba(247,249,251,.92);
  --how-grad:    linear-gradient(180deg,var(--bg) 0%,#e6ebf2 30%,#eef2f7 100%);
  --card-shadow: 0 1px 3px rgba(20,30,45,.06),0 1px 2px rgba(20,30,45,.04);
  --card-shadow-hi: 0 14px 34px -16px rgba(20,30,45,.28);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:64px}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  font-weight:400;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}

.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}

/* ---- Buttons ---- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-size:.95rem;font-weight:500;letter-spacing:.01em;
  padding:.8rem 1.4rem;border-radius:999px;border:1px solid transparent;
  cursor:pointer;transition:transform .25s var(--ease),background .25s var(--ease),border-color .25s var(--ease),opacity .25s;
  white-space:nowrap;
}
.btn-primary{
  background:linear-gradient(100deg,var(--teal),var(--blue));
  color:var(--btn-ink);font-weight:600;
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 30px -10px rgba(74,163,255,.55)}
.btn-ghost{border-color:var(--line-2);color:var(--ink);background:var(--chip-bg)}
.btn-ghost:hover{border-color:var(--teal);color:var(--brand-ink)}
.btn-link{color:var(--ink-soft);padding-left:.4rem;padding-right:.4rem}
.btn-link:hover{color:var(--ink)}

/* ---- Header ---- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  padding:.62rem clamp(1.1rem,4vw,2.4rem);
  -webkit-backdrop-filter:blur(10px) saturate(1.1);backdrop-filter:blur(10px) saturate(1.1);
  /* Always-dark header bar for contrast — pin light-on-dark colors in both themes */
  --ink:        #eaf1f8;
  --ink-soft:   #aab6c6;
  --ink-mute:   #6f7d90;
  --brand-ink:  #ffffff;
  --teal:       #5fe0c8;
  --blue:       #4aa3ff;
  --chip-bg:    rgba(255,255,255,.04);
  --line-2:     rgba(255,255,255,.16);
  background:rgba(6,9,15,.96);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.brand{display:inline-flex;align-items:center;gap:.6rem}
.brand-mark{height:40px;width:auto;display:block}
.brand-name{
  font-family:'Jost','Inter',sans-serif;font-weight:300;
  font-size:1.9rem;line-height:1;letter-spacing:.36em;
  color:var(--brand-ink);margin-right:-.36em; /* drop trailing tracking space */
}
.header-cta{padding:.6rem 1.1rem;font-size:.88rem;position:relative;isolation:isolate;border-color:transparent}

/* Desktop center nav */
.header-nav{display:flex;gap:clamp(2rem,4vw,3.6rem)}
.header-nav a{color:var(--ink-soft);font-size:1rem;font-weight:500;transition:color .25s var(--ease)}
.header-nav a:hover{color:var(--brand-ink)}

/* Mobile hamburger + menu */
.nav-toggle{display:none;flex-direction:column;justify-content:center;align-items:center;gap:5px;
  width:42px;height:42px;background:transparent;border:0;cursor:pointer;padding:0;z-index:60}
.nav-toggle span{width:22px;height:2px;background:var(--ink);border-radius:2px;
  transition:transform .3s var(--ease),opacity .25s}
body.menu-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
body.menu-open .nav-toggle span:nth-child(2){opacity:0}
body.menu-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-menu{
  position:fixed;inset:0;z-index:40;display:none;flex-direction:column;gap:.15rem;
  padding:5.6rem clamp(1.5rem,6vw,2.6rem) 2rem;
  background:var(--menu-bg);-webkit-backdrop-filter:blur(22px) saturate(1.1);backdrop-filter:blur(22px) saturate(1.1);
  transform:translateY(-100%);opacity:0;pointer-events:none;
  transition:transform .4s var(--ease),opacity .4s var(--ease);
}
.mobile-menu > a:not(.mm-cta){color:var(--ink-soft);font-size:1.15rem;font-weight:500;
  padding:1rem .2rem;border-bottom:1px solid var(--line)}
.mobile-menu > a:not(.mm-cta):hover{color:var(--brand-ink)}
.mm-cta{align-self:center;margin-top:1.9rem;padding:1rem 2.6rem;font-size:1.05rem;justify-content:center;border:none;color:var(--btn-ink)}
.footer-social.mm-social{justify-content:center;margin-top:2.8rem}
body.menu-open .mobile-menu{transform:translateY(0);opacity:1;pointer-events:auto}
@media (max-width:760px){
  .header-nav{display:none}
  .header-cta{display:none}
  .nav-toggle{display:flex}
  .mobile-menu{display:flex}
}
.header-cta span{position:relative;z-index:1}
.header-cta::before{
  content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;
  background:linear-gradient(90deg,var(--teal),var(--blue));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
          mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  pointer-events:none;
}

/* Right-side header cluster (theme toggle + CTA + hamburger) */
.header-actions{display:flex;align-items:center;gap:.7rem}


/* ---- Hero ---- */
.hero{
  position:relative;min-height:100svh;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:7rem 1.25rem 5rem;
  overflow:hidden;
}
.hero-canvas{
  position:absolute;inset:0;width:100%;height:100%;
  z-index:0;display:block;
}
.hero-fallback{
  position:absolute;inset:0;z-index:0;display:none;
  background:
    radial-gradient(circle at 50% 56%, rgba(95,224,200,.18), transparent 38%),
    radial-gradient(circle at 50% 56%, rgba(74,163,255,.16), transparent 46%),
    var(--bg);
}
.hero-fallback::after{
  content:"";position:absolute;left:50%;top:56%;transform:translate(-50%,-50%);
  width:min(46vw,380px);aspect-ratio:1;border-radius:50%;
  background:conic-gradient(from 0deg,var(--teal),var(--blue),var(--teal));
  -webkit-mask:radial-gradient(circle,transparent 58%,#000 60%,#000 72%,transparent 74%);
          mask:radial-gradient(circle,transparent 58%,#000 60%,#000 72%,transparent 74%);
  filter:blur(.5px);opacity:.8;
}
body.no-webgl .hero-canvas{display:none}
body.no-webgl .hero-fallback{display:block}

.hero-content{position:relative;z-index:2;max-width:760px}
.eyebrow{
  text-transform:uppercase;letter-spacing:.34em;font-size:.74rem;
  color:var(--teal);margin-bottom:1.2rem;font-weight:500;
}
.hero-title{
  font-family:'General Sans','Inter',sans-serif;
  font-size:clamp(2rem,7.6vw,4.6rem);line-height:1.04;
  font-weight:500;letter-spacing:-.02em;
  text-shadow:0 2px 40px var(--hero-shadow);
}
.hero-title span{display:block;white-space:nowrap}
.hero-sub{
  margin:1.6rem auto 0;max-width:560px;
  font-size:clamp(1rem,1.6vw,1.18rem);color:var(--ink-soft);
  text-shadow:0 2px 30px var(--hero-shadow);
}
@media (max-width:600px){
  .hero-sub{width:fit-content;max-width:88vw;margin-left:auto;margin-right:auto}
}
/* very narrow phones: keep nowrap headings from clipping */
@media (max-width:360px){
  .hero-title{font-size:7.6vw}
  .nv-title span{white-space:normal}
}
.hero-actions{margin-top:2.2rem;display:flex;gap:.6rem;justify-content:center;flex-wrap:wrap}

.scroll-hint{position:absolute;bottom:1.7rem;left:50%;transform:translateX(-50%);z-index:2;
  width:24px;height:38px;border:1.5px solid var(--line-2);border-radius:14px;display:flex;justify-content:center}
.scroll-hint span{width:3px;height:7px;border-radius:2px;background:var(--ink-soft);margin-top:7px;animation:scroll 1.8s var(--ease) infinite}
@keyframes scroll{0%{opacity:0;transform:translateY(0)}30%{opacity:1}70%{opacity:1}100%{opacity:0;transform:translateY(11px)}}

/* ---- Bento ---- */
.bento-wrap{padding:clamp(3rem,8vw,7rem) clamp(1.1rem,4vw,2.4rem);max-width:var(--maxw);margin:0 auto}
.bento{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;
}
.cell{
  position:relative;background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:clamp(1.4rem,2.5vw,2.1rem);
  display:flex;flex-direction:column;gap:.7rem;min-height:200px;
  transition:transform .35s var(--ease),border-color .35s var(--ease),background .35s var(--ease);
  overflow:hidden;
}
.cell:hover{transform:translateY(-4px);border-color:var(--line-2);background:var(--card-hi)}
.cell-wide{grid-column:span 2}
.cell-cta{grid-column:span 1}
.cell-kicker{text-transform:uppercase;letter-spacing:.18em;font-size:.7rem;color:var(--teal);font-weight:600}
.cell-title{font-size:clamp(1.25rem,2.2vw,1.7rem);font-weight:400;line-height:1.15;letter-spacing:-.01em}
.cell-text{color:var(--ink-soft);font-size:.98rem;max-width:46ch}

.cell-accent{
  background:
    radial-gradient(120% 120% at 100% 0%,rgba(95,224,200,.12),transparent 55%),
    radial-gradient(120% 120% at 0% 100%,rgba(74,163,255,.12),transparent 55%),
    var(--card);
  border-color:var(--line-2);
}

.tag-list{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.4rem}
.tag-list li{
  font-size:.82rem;color:var(--ink-soft);
  border:1px solid var(--line);border-radius:999px;padding:.34rem .8rem;
  background:var(--chip-bg);
}

/* CTA cell */
.cell-cta{
  background:
    radial-gradient(130% 130% at 0% 0%,rgba(74,163,255,.16),transparent 60%),
    var(--card-hi);
  border-color:var(--line-2);
}
.waitlist-form{display:flex;gap:.5rem;margin-top:.5rem;flex-wrap:wrap}
.waitlist-form input{
  flex:1;min-width:0;background:var(--input-bg);border:1px solid var(--line-2);
  color:var(--ink);border-radius:999px;padding:.78rem 1.1rem;font-size:.95rem;font-family:inherit;
}
.waitlist-form input::placeholder{color:var(--ink-mute)}
.waitlist-form input:focus{outline:2px solid var(--teal);outline-offset:2px;border-color:var(--teal);box-shadow:none}
.form-note{font-size:.85rem;color:var(--ink-soft);margin-top:.6rem;min-height:1.1em}
.form-note.error{color:#ff9a9a}
.form-note.success{color:var(--teal)}

/* ---- Section primitives ---- */
.kicker{display:inline-block;text-transform:uppercase;letter-spacing:.2em;font-size:.85rem;font-weight:600;margin-bottom:.9rem;
  background:linear-gradient(100deg,var(--teal),var(--blue));
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent}
.section-title{font-family:'General Sans','Inter',sans-serif;font-size:clamp(1.9rem,4vw,3rem);font-weight:600;line-height:1.12;letter-spacing:-.02em;margin-bottom:1.1rem}
.section-text{color:var(--ink-soft);font-size:clamp(1.05rem,1.2vw,1.18rem);line-height:1.55;max-width:46ch}
.nv-title span{display:block;white-space:nowrap}

/* Hero bottom fade -> seamless into The Long View */
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:32%;
  background:linear-gradient(to bottom,transparent,var(--bg));z-index:1;pointer-events:none}

/* A. The Long View - same bg as hero (#0a1019) for a seamless transition */
.longview{
  position:relative;max-width:var(--maxw);margin:0 auto;
  padding:clamp(2rem,5vw,4rem) clamp(1.1rem,4vw,2.4rem) clamp(3rem,7vw,6rem);
}
.lv-grid{
  display:grid;grid-template-columns:1fr 1.35fr 0.75fr;
  gap:clamp(1.5rem,3.5vw,3.2rem);align-items:center;
}
/* Text (left) */
.lv-title{font-family:'General Sans','Inter',sans-serif;font-weight:600;letter-spacing:-.02em;line-height:1.1;
  font-size:clamp(1.9rem,4vw,3rem);color:var(--ink);white-space:nowrap}
.lv-title span{display:block}
.lv-title .accent{
  font-size:1.2em;
  background:linear-gradient(100deg,var(--teal),var(--blue));
  -webkit-background-clip:text;background-clip:text;color:transparent;font-weight:600;
}
.lv-sub{margin-top:.5rem;text-transform:uppercase;letter-spacing:.1em;
  font-size:clamp(.68rem,1.05vw,.8rem);color:var(--ink-soft);font-weight:500;white-space:nowrap}
.lv-desc{margin-top:1.2rem;color:var(--ink-soft);font-size:clamp(1.05rem,1.2vw,1.18rem);line-height:1.55;max-width:38ch}
/* Mockup (middle) */
.lv-mockup{
  width:100%;max-width:460px;margin:0 auto;aspect-ratio:838 / 912;
  background:center / contain no-repeat;
  background-image:url('assets/product/product-intro-dark.png');
}
:root[data-theme="light"] .lv-mockup{
  background-image:url('assets/product/product-intro-light.jpg');
}
/* Features (right) */
.lv-features{list-style:none;display:flex;flex-direction:column;gap:2.3rem}
.feature-item{display:flex;align-items:flex-start;gap:.95rem}
.feature-ic{flex:none;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;
  border:1px solid var(--line-2);color:var(--blue);
  background:radial-gradient(circle at 50% 40%,rgba(74,163,255,.10),transparent 70%)}
.feature-ic svg{width:20px;height:20px;display:block}
.feature-item h3{font-size:.95rem;text-transform:uppercase;letter-spacing:.13em;
  color:var(--blue);font-weight:600;margin-bottom:.28rem}
.feature-item p{color:var(--ink-soft);font-size:.95rem;line-height:1.4}

@media (max-width:1024px){
  .lv-grid{grid-template-columns:1fr;gap:1.6rem;text-align:center;justify-items:center}
  .lv-title{font-size:clamp(2.1rem,8vw,3.4rem)}
  .lv-sub{font-size:clamp(.78rem,2.4vw,.95rem)}
  .lv-desc{margin-left:auto;margin-right:auto;font-size:clamp(1.08rem,1.6vw,1.2rem)}
  /* band image has baked-in whitespace; pull the feature list up so it's not too far */
  .lv-mockup{margin-top:.8rem;margin-bottom:-2.6rem}
  .lv-features{max-width:380px;text-align:left;width:100%}
}
@media (max-width:480px){
  .lv-sub{white-space:normal}
}

/* Lifestyle reel - full-bleed, image-only, cross-fading, edges fade into the page */
.reel{position:relative;width:100%;background:var(--bg);overflow:hidden}
.reel-stack{
  position:relative;width:100%;aspect-ratio:851 / 315;   /* native ratio, no crop */
}
.reel-img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;animation:reelfade 20s var(--ease) infinite;
}
.reel-stack>picture:nth-child(1) .reel-img{animation-delay:0s}
.reel-stack>picture:nth-child(2) .reel-img{animation-delay:5s}
.reel-stack>picture:nth-child(3) .reel-img{animation-delay:10s}
.reel-stack>picture:nth-child(4) .reel-img{animation-delay:15s}
@keyframes reelfade{
  0%{opacity:0}
  5%{opacity:1}
  25%{opacity:1}
  30%{opacity:0}
  100%{opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .reel-img{animation:none}
  .reel-stack>picture:nth-child(1) .reel-img{opacity:1}
}
/* mobile: use the purpose-made 1:1 photos (set via <picture>) */
@media (max-width:760px){
  .reel-stack{aspect-ratio:1 / 1}
  /* more breathing room between the section above and this reel */
  .longview{padding-bottom:clamp(7rem,22vw,10rem)}
}

/* B. How it works - its own background */
.howitworks{
  position:relative;
  background:var(--how-grad);
  padding:clamp(3.5rem,8vw,7rem) clamp(1.1rem,4vw,2.4rem) clamp(4rem,9vw,8rem);
}
.howitworks::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(55% 40% at 82% 14%,rgba(74,163,255,.08),transparent 60%),
    radial-gradient(55% 40% at 18% 64%,rgba(95,224,200,.06),transparent 60%);}
.howitworks > *{position:relative;z-index:1}
.how-head{max-width:var(--maxw);margin:0 auto clamp(1rem,4vw,2.5rem);text-align:center}
.how-head .section-title{margin:0 auto}
@media (max-width:600px){ .how-title span{display:block} }

/* Design showcase */
.design-showcase{
  position:relative;overflow:hidden;max-width:var(--maxw);margin:0 auto clamp(3rem,7vw,6rem);
  border-radius:28px;
  background:url('assets/product/product-colors-wide.jpg') right 68% / 130% no-repeat;
  display:flex;align-items:center;min-height:clamp(320px,40vw,480px);
  padding:clamp(2.4rem,5vw,4rem);
}
.ds-text{position:relative;z-index:2;max-width:46%}
.ds-text .section-title{margin:0;color:#16191c}
.ds-title span{display:block}
.ds-text .section-text{margin-top:1.2rem;max-width:32ch;color:#574d44}
/* desktop-only line break after "...moves with" */
.sub-br{display:none}
@media (min-width:761px){ .sub-br{display:inline} }
@media (max-width:860px){
  /* Stack on mobile: copy on top, photo flows underneath — text can no longer
     overlap the bands no matter how long it wraps (e.g. when auto-translated). */
  .design-showcase{
    background-image:none;
    background-color:#ecc7a7;        /* peach sampled from the photo so the text area blends seamlessly */
    aspect-ratio:auto;min-height:0;
    display:flex;flex-direction:column;align-items:flex-start;
    padding:0;overflow:hidden;
  }
  .ds-text{
    order:1;max-width:none;position:relative;z-index:2;
    /* roomier peach text zone — bottom padding lets the copy own more of the card */
    padding:clamp(2.2rem,7vw,3.2rem) clamp(1.6rem,5vw,2.4rem) clamp(2.6rem,9vw,4rem);
  }
  /* whole copy block bumped one more step on mobile */
  .ds-text .section-title{font-size:2.3rem}
  .ds-text .section-text{font-size:1.3rem;line-height:1.6}
  /* photo flows after the copy; its top edge fades into the matching peach card bg
     (mask gradient) so there's no hard dividing line — just a soft blend. */
  .design-showcase::before{
    content:"";order:2;display:block;width:100%;margin-top:0;
    aspect-ratio:941 / 1200;
    background:url('assets/product/product-colors-mobile.jpg') center bottom / cover no-repeat;
    -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 26%);
            mask-image:linear-gradient(to bottom,transparent 0,#000 26%);
  }
}

/* Feature rows (zig-zag) */
.feature-row{
  max-width:var(--maxw);margin:0 auto;
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,5rem);align-items:center;
  padding:clamp(2.5rem,6vw,5rem) 0;
}
.feature-text{min-width:0}
.feature-text .tag-list{margin-top:1.1rem}
/* reversed row: mockup on the left, text on the right (desktop only) */
@media (min-width:761px){ .feature-row.rev .phone-wrap{order:-1} }
/* feature descriptions may wrap (longer copy) */
.lv-features p{white-space:normal}

/* Mockup placeholder - transparent on the section bg; swap for a PNG later */
.mockup{
  position:relative;aspect-ratio:4/3;border-radius:24px;display:grid;place-items:center;
  background:radial-gradient(circle at 50% 45%,rgba(95,224,200,.10),rgba(74,163,255,.05) 45%,transparent 72%);
  border:1px dashed var(--line-2);
}
.mockup span{font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;color:var(--ink-mute)}

/* Biomarkers graphic (transparent on section bg) */
.biomarkers-title{font-size:.82rem;text-transform:uppercase;letter-spacing:.16em;
  color:var(--ink);font-weight:700;margin-bottom:1.4rem;text-align:center}
.biomarkers-grid{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:1.9rem 1.4rem}
.bm{display:flex;gap:.7rem;align-items:flex-start;min-width:0}
.bm-ic{flex:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;
  color:var(--c);border:1px solid var(--line-2);background:var(--ic-bg)}
.bm-ic svg{width:21px;height:21px;display:block}
.bm h5{font-size:.92rem;text-transform:uppercase;letter-spacing:.08em;color:var(--brand-ink);font-weight:600;margin-bottom:.22rem}
.bm p{font-size:.82rem;color:var(--ink-soft);line-height:1.35}
@media (max-width:600px){
  .biomarkers-grid{gap:1.6rem 1rem}
  .bm{gap:.6rem}
  .bm>div{min-width:0}
  .bm-ic{width:34px;height:34px}
  .bm-ic svg{width:19px;height:19px}
  .bm h5{font-size:.76rem;letter-spacing:.04em;overflow-wrap:break-word}
  .bm p{font-size:.78rem;overflow-wrap:break-word}
}
@media (max-width:420px){
  .biomarkers-grid{grid-template-columns:1fr}
}

/* AI insights: phone image + insight list */
.phone-wrap{display:flex;justify-content:center}
.phone-stack{position:relative;width:100%;max-width:460px;margin:0 auto}
.phone-crop{
  position:relative;width:100%;
  aspect-ratio:9/13;overflow:hidden;
  -webkit-mask-image:linear-gradient(to bottom,#000 70%,transparent 100%);
          mask-image:linear-gradient(to bottom,#000 70%,transparent 100%);
}
.phone-crop img{width:100%;height:auto;display:block;filter:blur(2.4px) brightness(.6)}
/* frosted-glass biomarker card built in HTML/CSS, floating over the blurred phone */
.glass-card{
  /* always reads as a device screen UI -> keep dark regardless of page theme */
  --ink:#eaf1f8;--ink-soft:#aab6c6;--ink-mute:#8696aa;
  position:absolute;top:55%;left:50%;transform:translate(-50%,-50%) scale(1.18);
  width:97%;padding:16px 14px;border-radius:20px;
  background:rgba(13,20,32,.55);
  -webkit-backdrop-filter:blur(16px) saturate(1.1);
          backdrop-filter:blur(16px) saturate(1.1);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 30px 70px rgba(0,0,0,.55);
}
.gc-title{font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:#fff;font-weight:600;margin-bottom:12px}
.gc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.gc-bm{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);border-radius:12px;
  padding:8px 8px 0;color:var(--c);overflow:hidden;display:flex;flex-direction:column;min-height:78px}
.gc-n{font-size:.62rem;color:var(--ink-mute)}
.gc-v{font-size:1.05rem;font-weight:600;color:var(--ink);line-height:1.05;margin:2px 0 4px}
.gc-v.gc-low{color:var(--c)}
.gc-v span{font-size:.55rem;color:var(--ink-mute);font-weight:400;margin-left:2px}
.gc-spark{width:100%;height:26px;display:block;color:var(--c);margin-top:auto}
.gc-end{filter:drop-shadow(0 0 3px currentColor)}
.gc-head{display:flex;align-items:center;justify-content:space-between;gap:5px}
.gc-head .gc-n{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
.gc-status{flex:none;font-size:.5rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;
  padding:2px 5px;border-radius:999px;white-space:nowrap;line-height:1}
.gc-status.s-good{color:#34d399;background:rgba(52,211,153,.14)}
.gc-status.s-watch{color:#f0a830;background:rgba(240,168,48,.16)}
@media (max-width:600px){
  .phone-stack{max-width:280px}
  .phone-crop{transform:scale(1.1)}                 /* phone mockup ~10% larger */
  .glass-card{top:63%;transform:translate(-50%,-50%) scale(1.15);padding:12px 13px}
  .gc-title{margin-bottom:8px}
  .gc-grid{gap:6px}
  .gc-bm{min-height:60px;padding:7px 7px 0}          /* shorter cards */
  .gc-spark{height:19px}
  .gc-v{font-size:.98rem;margin:1px 0 3px}
}
.ai-list{list-style:none;display:flex;flex-direction:column;gap:1.05rem;margin-top:1.5rem}
.ai-list li{display:flex;align-items:center;gap:.8rem;color:var(--ink);font-size:1.02rem}
.ai-ic{flex:none;width:26px;height:26px;display:grid;place-items:center;color:var(--teal)}
.ai-ic svg{width:22px;height:22px;display:block}
.ai-ic img{width:24px;height:24px;object-fit:contain;display:block}

/* Non-invasive: data-flow diagram + ticks */
.flow{width:100%;max-width:460px;margin:0 auto}
.flow-track{position:relative;display:flex;align-items:center;height:58px;margin:0 6px 46px}
.flow-node{position:relative;display:flex;justify-content:center;z-index:2}
.flow-ic{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;
  color:var(--ink-soft);border:1px solid var(--line-2);
  background:radial-gradient(circle at 50% 40%,rgba(95,224,200,.10),transparent 70%),var(--surface-2)}
.flow-ic svg{width:28px;height:28px}
.flow-ic.patch{color:var(--teal);border-color:rgba(95,224,200,.5)}
.flow-label{position:absolute;top:100%;left:50%;transform:translateX(-50%);margin-top:9px;
  white-space:nowrap;font-size:.8rem;color:var(--ink-soft)}
.flow-link{flex:1;height:1.5px;min-width:34px;position:relative;
  background:linear-gradient(90deg,rgba(95,224,200,.15),rgba(74,163,255,.4),rgba(95,224,200,.15))}
.flow-mid{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:3;
  display:grid;place-items:center;padding:3px;border-radius:6px;background:var(--surface-1);color:var(--blue)}
.flow-mid svg{width:18px;height:18px;display:block}
.flow-mid.arr{color:var(--ink-soft)}
.flow-rate{position:absolute;left:50%;top:50%;transform:translate(-50%,-29px);white-space:nowrap;
  font-size:.62rem;font-weight:600;letter-spacing:.02em;line-height:1;pointer-events:none}
.rate-live{color:#34d399}
.rate-sync{color:#fb923c}
.flow-pulse{position:absolute;top:50%;left:6%;z-index:1;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;
  background:var(--teal);box-shadow:0 0 12px 3px rgba(95,224,200,.7);
  animation:flowpulse 3.4s linear infinite}
@keyframes flowpulse{0%{left:6%;opacity:0}10%{opacity:1}88%{opacity:1}100%{left:94%;opacity:0}}
@keyframes nodeglow{
  0%{box-shadow:0 0 0 0 rgba(95,224,200,0)}
  8%{box-shadow:0 0 18px 2px rgba(95,224,200,.55)}
  26%{box-shadow:0 0 0 0 rgba(95,224,200,0)}
  100%{box-shadow:0 0 0 0 rgba(95,224,200,0)}
}
.flow-node:nth-child(1) .flow-ic{animation:nodeglow 3.4s ease-in-out infinite}
.flow-node:nth-child(3) .flow-ic{animation:nodeglow 3.4s ease-in-out 1.6s infinite}
.flow-node:nth-child(5) .flow-ic{animation:nodeglow 3.4s ease-in-out 3s infinite}
.flow-ic.patch .patch-mark{width:34px;height:34px;display:block}
.flow-ticks{list-style:none;display:grid;gap:.75rem;margin:2.4rem auto 0;width:fit-content}
@media (min-width:761px){ .flow-ticks{margin-top:4.2rem} }
.flow-ticks li{display:flex;align-items:center;gap:.6rem;color:var(--ink-soft);font-size:.95rem}
.flow-ticks .tick{width:18px;height:18px;color:var(--teal);flex:none}
.flow-br{display:none}
@media (max-width:760px){
  /* inset the track and force the long end label onto 2 tidy lines */
  .flow-track{margin-left:22px;margin-right:22px}
  .flow-node:nth-child(5) .flow-label{text-align:center;line-height:1.34}
  .flow-br{display:inline}
}
@media (max-width:480px){
  .flow-ic{width:50px;height:50px;border-radius:15px}
  .flow-ic svg{width:24px;height:24px}
  .flow-label{font-size:.72rem}
}
@media (prefers-reduced-motion:reduce){
  .flow-pulse{display:none}
  .flow-ic{animation:none!important}
}

/* (legacy CSS-phone styles below are unused) */
.phone{
  width:100%;max-width:264px;aspect-ratio:9/18;position:relative;
  border-radius:38px;background:#04070c;padding:9px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 34px 64px -22px rgba(0,0,0,.75),inset 0 0 0 2px rgba(255,255,255,.03);
}
.phone::before{content:"";position:absolute;top:15px;left:50%;transform:translateX(-50%);
  width:32%;height:16px;border-radius:10px;background:#04070c;z-index:3}
.phone-screen{
  height:100%;border-radius:30px;overflow:hidden;
  background:linear-gradient(180deg,#0b1119,#070b12);
  padding:30px 11px 9px;display:flex;flex-direction:column;gap:8px;color:var(--ink);
}
.ph-status{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:var(--ink);font-weight:600}
.ph-status-ic{display:inline-flex;gap:3px;align-items:center;color:var(--ink)}
.ph-status-ic svg{height:9px;width:auto;display:block}
.ph-batt{width:15px;height:8px;border:1px solid var(--ink);border-radius:2px;position:relative;display:inline-block}
.ph-batt::before{content:"";position:absolute;top:1px;left:1px;bottom:1px;right:3px;background:var(--ink);border-radius:1px}
.ph-batt::after{content:"";position:absolute;right:-2px;top:2.5px;width:1.5px;height:3px;background:var(--ink);border-radius:0 1px 1px 0}
.ph-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--ink-soft);margin-top:1px}
.ph-date{font-weight:600;color:var(--ink)}
.ph-ic{width:15px;height:15px;color:var(--ink-soft);display:block}
.ph-cards{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.ph-card{background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:13px;padding:8px 6px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px}
.ph-label{font-size:6.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-mute)}
.ph-gauge{position:relative;width:62px;height:62px}
.ph-gauge svg{width:62px;height:62px;display:block}
.ph-gauge-c{position:absolute;inset:0;display:flex;align-items:baseline;justify-content:center;gap:2px;line-height:1}
.ph-gauge-c b{font-size:21px;font-weight:700}
.ph-gauge-c span{font-size:7px;color:var(--ink-mute)}
.ph-score{font-size:26px;font-weight:600;line-height:1;margin:6px 0}
.ph-score span{font-size:10px;color:var(--ink-mute);font-weight:400}
.ph-tag{font-size:8.5px;font-weight:600}
.ph-tag.good{color:#34d399}
.ph-section{font-size:7.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-mute);margin-top:2px}
.ph-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.ph-bm{background:rgba(255,255,255,.035);border:1px solid var(--line);border-radius:9px;padding:5px 5px 0;color:var(--c);overflow:hidden;display:flex;flex-direction:column}
.ph-bm-n{font-size:6px;color:var(--ink-mute)}
.ph-bm-v{font-size:11px;font-weight:600;color:var(--ink);line-height:1.1;margin:1px 0 2px}
.ph-bm-v span{font-size:5.5px;color:var(--ink-mute);font-weight:400;margin-left:1px}
.spark{width:100%;height:22px;display:block;color:var(--c);margin-top:auto}
.ph-tabs{margin-top:auto;display:flex;justify-content:space-between;padding-top:7px;border-top:1px solid var(--line)}
.ph-tabs span{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:5.5px;color:var(--ink-mute)}
.ph-tabs svg{width:13px;height:13px}
.ph-tabs .on{color:#a78bfa;font-weight:600}

/* Early access - its own background band */
.early-access{
  position:relative;overflow:hidden;
  max-width:760px;margin:clamp(2rem,5vw,4rem) auto 0;text-align:center;
  padding:clamp(2.6rem,5vw,3.6rem) clamp(2rem,4vw,3rem);border-radius:24px;border:1px solid transparent;
  /* bold dark gradient so the primary conversion CTA stands out from the page */
  background:linear-gradient(120deg,#0d4f57 0%,#15407a 52%,#1a2a55 100%);
  box-shadow:0 34px 70px -26px rgba(16,36,66,.6);
}
.early-access::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(120% 130% at 92% 8%,rgba(95,224,200,.22),transparent 55%)}
.early-access > *{position:relative;z-index:1}
.early-access .section-title{color:#fff}
.early-access .section-text{margin:0 auto;color:rgba(255,255,255,.82)}
.early-access .waitlist-form{max-width:440px;margin:1.3rem auto 0}
/* email field reads as a bright input on the dark box, in both themes */
.early-access .waitlist-form input{background:rgba(255,255,255,.96);border-color:transparent;color:#0e1620}
.early-access .waitlist-form input::placeholder{color:#7a8699}

/* Reveal animations (reveal once, then persist) */
.anim{opacity:0;transition:opacity .9s var(--ease),transform .9s var(--ease);will-change:opacity,transform}
.anim.from-left{transform:translateX(-64px)}
.anim.from-right{transform:translateX(64px)}
.anim.from-up{transform:translateY(30px)}
.anim.in{opacity:1;transform:none}
body.no-js .anim{opacity:1;transform:none}

@media (max-width:760px){
  .feature-row{grid-template-columns:1fr;gap:1.6rem;padding:clamp(2.9rem,10vw,4.2rem) 0}
  .feature-text{order:0}
  .mockup,.phone-wrap,.biomarkers{order:1}
  .mockup{aspect-ratio:16/10}
  .phone-wrap{margin-top:2rem}
  .flow{margin-top:2.4rem}
  .anim.from-left,.anim.from-right{transform:translateY(30px)} /* no horizontal shift on mobile */
}
@media (prefers-reduced-motion:reduce){
  .anim{opacity:1!important;transform:none!important;transition:none}
}

/* ---- Core Values ---- */
.values{background:var(--bg);padding:clamp(3rem,7vw,5.5rem) clamp(1.1rem,4vw,2.4rem) clamp(2.5rem,5vw,4rem)}
.values .how-head{margin-bottom:clamp(2.5rem,4vw,3.5rem)}
/* ---- Core values: 2x2 bento, big icons overflowing the top edge ---- */
.values-grid{max-width:880px;margin:0 auto;display:grid;grid-template-columns:repeat(2,1fr);
  gap:clamp(1.4rem,3vw,2rem)}
.value-card{
  position:relative;overflow:hidden;
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  /* tighter top padding to cut the gap above the number/label; sides & bottom unchanged */
  padding:clamp(1rem,1.8vw,1.3rem) clamp(1.5rem,2.6vw,2.1rem) clamp(1.5rem,2.6vw,2.1rem);
  /* number (left) sits beside label+title (right); description spans full width below.
     separate grid columns mean the numeral can never overlap the title — at any size. */
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  grid-template-areas:"num head" "text text";
  column-gap:clamp(.9rem,2vw,1.4rem);
  align-items:baseline;  /* number's baseline lines up with the title's baseline */
  align-content:start;   /* pack content to the top; any extra card height sits at the bottom */
  box-shadow:var(--card-shadow);
  transition:transform .35s var(--ease),border-color .35s var(--ease),background .35s var(--ease),box-shadow .35s var(--ease);
}
.value-card:hover{transform:translateY(-4px);border-color:var(--line-2);background:var(--card-hi);box-shadow:var(--card-shadow-hi)}
/* numbered placeholder: big brand-gradient numeral, anchored bottom-left (grows up/right),
   dropped so its foot lands on the title's baseline. Digits have no descender ink, so the
   line-box descent that sits below the foot is empty and never collides with the text below. */
.value-ic--num{
  grid-area:num;align-self:baseline;justify-self:start;
  font-family:'General Sans','Inter',sans-serif;font-weight:600;
  font-size:clamp(66px,10vw,106px);line-height:.8;letter-spacing:-.03em;
  background:linear-gradient(120deg,var(--teal),var(--blue));
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
}
/* label is pulled out of flow & placed above the title, so the head's baseline = the title's baseline */
.value-head{grid-area:head;align-self:baseline;position:relative;min-width:0}
.value-label{position:absolute;left:0;bottom:calc(100% + .3rem);white-space:nowrap;
  font-size:.78rem;font-weight:600;letter-spacing:.13em;text-transform:uppercase;
  background:linear-gradient(100deg,var(--teal),var(--blue));
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent}
.value-title{font-family:'General Sans','Inter',sans-serif;font-size:clamp(1.2rem,1.6vw,1.5rem);
  font-weight:600;line-height:1.18;letter-spacing:-.01em;margin:0;color:var(--ink)}
.value-text{grid-area:text;margin-top:clamp(.9rem,2vw,1.2rem);color:var(--ink-soft);font-size:.95rem;line-height:1.55}
@media (max-width:680px){ .values-grid{grid-template-columns:1fr;max-width:440px} }

/* CTA band (early access) */
.cta-band{background:var(--bg-3);padding:clamp(1rem,3vw,2rem) clamp(1.1rem,4vw,2.4rem) clamp(4rem,8vw,7rem)}
.cta-band .early-access{margin:0 auto}

/* ---- Our Offices ---- */
.offices{background:var(--bg-2);padding:clamp(3rem,7vw,5.5rem) clamp(1.1rem,4vw,2.4rem) clamp(2.5rem,5vw,4rem)}
.offices-head{max-width:var(--maxw);margin:0 auto clamp(2.5rem,5vw,4rem);
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.offices-text .section-title{margin:.6rem 0 0}
.off-title span{display:block}
.offices-intro{margin-top:1.3rem;max-width:44ch;color:var(--ink-soft);
  font-size:clamp(1rem,1.3vw,1.1rem);line-height:1.55}
.offices-photo img{width:100%;height:auto;border-radius:24px;display:block;
  box-shadow:0 30px 60px -20px rgba(0,0,0,.6)}
@media (max-width:860px){
  .offices-head{grid-template-columns:1fr;gap:1.8rem}
  .offices-intro{max-width:none}
}
/* Careers CTA box */
.careers-box{position:relative;overflow:hidden;max-width:880px;margin:clamp(3rem,6vw,5rem) auto 0;
  border-radius:28px;padding:clamp(2.2rem,4vw,3.4rem);border:1px solid var(--line-2);
  /* soft, near-card background so the careers box recedes into the page */
  background:
    radial-gradient(130% 130% at 0% 0%,rgba(74,163,255,.14),transparent 60%),
    radial-gradient(130% 130% at 100% 100%,rgba(95,224,200,.10),transparent 60%),
    var(--card-hi);
  box-shadow:var(--card-shadow);
  display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.careers-title span{display:block}
.careers-box::before{content:none}
.careers-text{position:relative;max-width:46ch}
.careers-title{font-family:'General Sans','Inter',sans-serif;font-size:clamp(1.8rem,3.5vw,2.7rem);
  font-weight:600;line-height:1.1;letter-spacing:-.02em;color:var(--ink)}
.careers-desc{margin-top:1rem;color:var(--ink-soft);font-size:1rem;line-height:1.55}
.careers-cta{position:relative;flex:none;background:linear-gradient(100deg,var(--teal),var(--blue));color:var(--btn-ink);font-weight:600;font-size:.98rem;
  padding:.9rem 1.7rem;border-radius:999px;display:inline-flex;align-items:center;gap:.5rem;white-space:nowrap;
  transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
.careers-cta:hover{transform:translateY(-2px);box-shadow:0 12px 30px -10px rgba(0,0,0,.5)}
.careers-cta svg{width:18px;height:18px}
@media (max-width:760px){ .careers-box{flex-direction:column;align-items:flex-start} }
.offices-grid{max-width:var(--maxw);margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.office-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--card-shadow);
  padding:clamp(1.4rem,2vw,1.9rem);transition:transform .35s var(--ease),border-color .35s var(--ease),background .35s var(--ease),box-shadow .35s var(--ease)}
.office-card:hover{transform:translateY(-4px);border-color:var(--line-2);background:var(--card-hi);box-shadow:var(--card-shadow-hi)}
.office-tag{display:inline-flex;align-items:center;gap:7px;font-size:.72rem;font-weight:600;
  letter-spacing:.12em;text-transform:uppercase;
  background:linear-gradient(100deg,var(--teal),var(--blue));
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent}
.office-tag .dot{width:6px;height:6px;border-radius:50%;background:var(--teal);flex:none}
.office-city{font-family:'General Sans','Inter',sans-serif;font-size:1.4rem;font-weight:600;
  color:var(--ink);margin:.8rem 0 .25rem;letter-spacing:-.01em}
.office-role{color:var(--blue);font-size:.92rem;font-weight:500;margin:-.05rem 0 .75rem}
.office-addr{color:var(--ink-soft);font-size:.92rem;line-height:1.55}
@media (max-width:1080px){ .offices-grid{grid-template-columns:repeat(2,1fr);max-width:760px} }
@media (max-width:760px){ .offices-grid{grid-template-columns:1fr;max-width:420px} }

/* ---- Footer ---- */
.site-footer{border-top:1px solid var(--line);padding:clamp(2.8rem,6vw,4.5rem) clamp(1.1rem,4vw,2.4rem) clamp(1.6rem,3vw,2.2rem);background:var(--bg-2)}
.footer-inner{max-width:var(--maxw);margin:0 auto}
.footer-top{display:flex;justify-content:space-between;gap:clamp(2rem,5vw,4rem);flex-wrap:wrap}
.footer-brand{max-width:340px;display:flex;flex-direction:column;align-items:flex-start;gap:1rem}
.brand-footer{opacity:.95}
.brand-footer .brand-mark{height:40px}
.brand-footer .brand-name{font-size:1.7rem}
.footer-tag{color:var(--ink-soft);font-size:.95rem;line-height:1.5}
.footer-social{display:flex;gap:.8rem;justify-content:flex-start;margin-top:.2rem}
.footer-social a{
  width:40px;height:40px;display:grid;place-items:center;border-radius:50%;
  border:1px solid var(--line);color:var(--ink-soft);
  transition:color .25s var(--ease),background .25s var(--ease),border-color .25s var(--ease),transform .25s var(--ease);
}
.footer-social a:hover{
  color:var(--btn-ink);background:linear-gradient(100deg,var(--teal),var(--blue));
  border-color:transparent;transform:translateY(-2px);
}
.footer-social svg{width:18px;height:18px;display:block;fill:currentColor}
.footer-cols{display:flex;gap:clamp(2.5rem,6vw,5rem);flex-wrap:wrap}
.footer-col{display:flex;flex-direction:column;gap:.7rem}
.footer-col-title{font-size:.72rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-mute);margin-bottom:.3rem}
.footer-col a{color:var(--ink-soft);font-size:.92rem;transition:color .25s}
.footer-col a:hover{color:var(--ink)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.6rem;
  margin-top:clamp(2.5rem,5vw,3.5rem);padding-top:1.4rem;border-top:1px solid var(--line)}
.footer-copy{color:var(--ink-mute);font-size:.82rem}
.footer-slogan{color:var(--ink-soft);font-size:.85rem;font-weight:600}
@media (max-width:680px){
  .footer-top{flex-direction:column;gap:2.2rem}
}

/* ---- Reveal on scroll ---- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.reveal.in{opacity:1;transform:none}
body.no-js .reveal{opacity:1;transform:none}

/* ---- Responsive ---- */
@media (max-width:860px){
  .bento{grid-template-columns:repeat(2,1fr)}
  .cell-wide{grid-column:span 2}
  .cell-cta{grid-column:span 2}
}
@media (max-width:560px){
  .bento{grid-template-columns:1fr}
  .cell-wide,.cell-cta{grid-column:span 1}
  .brand-mark{height:40px}
  .brand-name{font-size:1.6rem;letter-spacing:.3em;margin-right:-.3em}
  .header-cta{padding:.5rem .9rem;font-size:.8rem}
  .site-header{padding:.85rem 1.1rem}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .scroll-hint span{animation:none}
  .reveal{transition:none}
}

/* ===== Sub pages (FAQ / Privacy / Terms) ===== */
.subpage-main{
  background:var(--bg);
  padding:clamp(7rem,12vw,9.5rem) clamp(1.1rem,4vw,2.4rem) clamp(4rem,8vw,7rem);
}
.subpage-wrap{max-width:820px;margin:0 auto}
.subpage-back{display:inline-flex;align-items:center;gap:.45rem;color:var(--teal);
  font-size:.92rem;font-weight:500;text-decoration:none;margin-bottom:1.6rem}
.subpage-back:hover{text-decoration:underline}
.subpage-head{margin-bottom:clamp(2.4rem,5vw,3.4rem)}
.subpage-head .kicker{margin-bottom:.9rem}
.subpage-head .section-title{margin-bottom:.7rem}
.subpage-lead{color:var(--ink-soft);font-size:clamp(1rem,1.3vw,1.12rem);line-height:1.6;max-width:62ch}
.subpage-updated{color:var(--ink-mute);font-size:.9rem;margin-top:1rem}

/* FAQ accordion */
.faq-group-title{font-family:'General Sans','Inter',sans-serif;font-weight:600;
  font-size:1.2rem;letter-spacing:-.01em;color:var(--ink);margin:2.6rem 0 1rem}
.faq-group:first-of-type .faq-group-title{margin-top:0}
.faq-list{display:flex;flex-direction:column;gap:.7rem}
.faq-item{border:1px solid var(--line);border-radius:16px;background:var(--card);box-shadow:var(--card-shadow);
  overflow:hidden;transition:border-color .25s var(--ease),background .25s var(--ease)}
.faq-item[open]{border-color:var(--line-2);background:var(--card-hi)}
.faq-item summary{cursor:pointer;list-style:none;display:flex;align-items:flex-start;
  justify-content:space-between;gap:1.1rem;padding:1.15rem 1.4rem;
  font-family:'General Sans','Inter',sans-serif;font-weight:500;font-size:1.05rem;
  line-height:1.4;color:var(--ink)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"";flex:none;width:10px;height:10px;margin-top:.35rem;
  border-right:2px solid var(--ink-soft);border-bottom:2px solid var(--ink-soft);
  transform:rotate(45deg);transition:transform .25s var(--ease)}
.faq-item[open] summary{color:var(--teal)}
.faq-item[open] summary::after{transform:rotate(-135deg);border-color:var(--teal)}
.faq-answer{padding:0 1.4rem 1.3rem;color:var(--ink-soft);line-height:1.65;font-size:.98rem}
.faq-answer p{margin:0 0 .8rem}
.faq-answer p:last-child{margin-bottom:0}
.faq-answer ul{list-style:disc;margin:.2rem 0 .8rem;padding-left:1.25rem;
  display:flex;flex-direction:column;gap:.32rem}
.faq-answer li{line-height:1.5}

/* Legal body (Privacy / Terms) */
.legal-body{color:var(--ink-soft);line-height:1.75;font-size:1rem}
.legal-body h2{font-family:'General Sans','Inter',sans-serif;font-weight:600;
  font-size:1.3rem;letter-spacing:-.01em;color:var(--ink);margin:2.6rem 0 .8rem}
.legal-body h2:first-child{margin-top:0}
.legal-body h3{font-family:'General Sans','Inter',sans-serif;font-weight:500;
  font-size:1.05rem;color:var(--ink);margin:1.6rem 0 .5rem}
.legal-body p{margin:0 0 1rem}
.legal-body ul{list-style:disc;margin:0 0 1.1rem;padding-left:1.3rem;
  display:flex;flex-direction:column;gap:.45rem}
.legal-body li{line-height:1.6}
.legal-body a{color:var(--teal)}
.legal-body strong{color:var(--ink);font-weight:600}

/* ===== Light theme: tweaks that aren't just variable swaps ===== */
:root[data-theme="light"] .hero-fallback{
  background:
    radial-gradient(circle at 50% 56%, rgba(11,130,118,.16), transparent 38%),
    radial-gradient(circle at 50% 56%, rgba(37,99,235,.14), transparent 46%),
    var(--bg);
}
/* biomarker icons: bolder + deeper color so the pastel hues read on white */
:root[data-theme="light"] .bm-ic svg{stroke-width:2;filter:saturate(1.3) brightness(.82)}
:root[data-theme="light"] .bm-ic{border-color:rgba(14,22,32,.22)}

/* slightly stronger frame on the design-showcase image so it reads on a light page */
:root[data-theme="light"] .design-showcase{box-shadow:var(--card-shadow-hi)}
:root[data-theme="light"] .offices-photo img{box-shadow:0 24px 50px -24px rgba(20,30,45,.4)}
