/* =========================================================================
   NotiWeave — website design system
   Derived from the NotiWeave brand guidelines (brand/ in the app repo).
   Blue for the thread, teal for the signal. Slate neutrals. Light + dark.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root{
  --bg:#F2F4F8; --surface:#FFFFFF; --surface-2:#F7F9FC;
  --border:#E5E9F0; --border-strong:#CBD5E1;
  --text:#0F172A; --text-2:#475569; --muted:#94A3B8;
  --blue:#2563EB; --blue-ink:#2563EB; --blue-deep:#1D4ED8; --teal:#0D9488;
  --accent-surface:#EAF1FF; --danger:#DC2626; --danger-surface:#FEF2F2;
  --shadow: 0 1px 2px rgba(15,23,42,.05), 0 14px 34px -18px rgba(15,23,42,.22);
  --shadow-lg: 0 2px 6px rgba(15,23,42,.06), 0 30px 60px -28px rgba(15,23,42,.32);
  --mark-dot: var(--teal);
  --maxw: 1080px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark){
  :root{
    --bg:#0B0F17; --surface:#151A23; --surface-2:#1B222E;
    --border:#252D3A; --border-strong:#38445A;
    --text:#F1F5F9; --text-2:#A5B0C2; --muted:#6B7A90;
    --blue-ink:#7AA6FF; --teal:#2DD4BF; --mark-dot:#2DD4BF;
  --accent-surface:#17233B; --danger:#F87171; --danger-surface:#2A1618;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -18px rgba(0,0,0,.7);
    --shadow-lg: 0 2px 8px rgba(0,0,0,.5), 0 34px 70px -30px rgba(0,0,0,.8);
  }
}
:root[data-theme="light"]{
  --bg:#F2F4F8; --surface:#FFFFFF; --surface-2:#F7F9FC;
  --border:#E5E9F0; --border-strong:#CBD5E1;
  --text:#0F172A; --text-2:#475569; --muted:#94A3B8;
  --blue-ink:#2563EB; --teal:#0D9488; --mark-dot:#0D9488;
  --accent-surface:#EAF1FF; --danger:#DC2626; --danger-surface:#FEF2F2;
  --shadow: 0 1px 2px rgba(15,23,42,.05), 0 14px 34px -18px rgba(15,23,42,.22);
  --shadow-lg: 0 2px 6px rgba(15,23,42,.06), 0 30px 60px -28px rgba(15,23,42,.32);
}
:root[data-theme="dark"]{
  --bg:#0B0F17; --surface:#151A23; --surface-2:#1B222E;
  --border:#252D3A; --border-strong:#38445A;
  --text:#F1F5F9; --text-2:#A5B0C2; --muted:#6B7A90;
  --blue-ink:#7AA6FF; --teal:#2DD4BF; --mark-dot:#2DD4BF;
  --accent-surface:#17233B; --danger:#F87171; --danger-surface:#2A1618;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -18px rgba(0,0,0,.7);
  --shadow-lg: 0 2px 8px rgba(0,0,0,.5), 0 34px 70px -30px rgba(0,0,0,.8);
}

/* ---------- Base ---------- */
*{box-sizing:border-box}
/* scroll-padding-top keeps anchor jumps (#features, #faq, …) clear of the sticky
   header — the ~60px bar plus a little breathing room — so the section heading
   lands in view instead of hiding behind the bar. */
html{scroll-behavior:smooth; scroll-padding-top:80px}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:var(--sans); line-height:1.65; overflow-x:clip;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
::selection{background:color-mix(in srgb, var(--blue-ink) 26%, transparent)}
img,svg{max-width:100%}
a{color:var(--blue-ink); text-underline-offset:3px}

/* Visible keyboard focus for interactive elements (mouse clicks stay clean). */
:where(a, button, summary, .play-badge):focus-visible{
  outline:2px solid var(--blue-ink); outline-offset:3px;
}

.wrap{max-width:var(--maxw); margin:0 auto; padding:0 24px}
.center{text-align:center}
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--blue-ink); color:#fff;
  padding:8px 14px; border-radius:0 0 8px 0; z-index:60; font-weight:700;
}
.skip-link:focus{left:0}

/* ---------- Top bar ---------- */
header.bar{
  position:sticky; top:0; z-index:20;
  background:color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter:saturate(160%) blur(12px);
  border-bottom:1px solid var(--border);
}
.bar-in{display:flex; align-items:center; gap:12px; height:60px}
.bar .brand{display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:-.02em; text-decoration:none; color:var(--text)}
.bar .brand svg{width:26px; height:26px; display:block}
.bar .noti{color:var(--text)} .bar .weave{color:var(--blue-ink)}
.bar .spacer{flex:1}
.bar .desktop-nav{display:flex; gap:24px; font-size:.88rem; font-weight:550; color:var(--text-2)}
.bar .desktop-nav a{color:inherit; text-decoration:none}
.bar .desktop-nav a:hover{color:var(--blue-ink)}
.bar .desktop-nav a[aria-current="page"]{color:var(--blue-ink); font-weight:700}
.bar .mobile-nav a[aria-current="page"]{color:var(--blue-ink)}
.bar .bar-cta{padding:9px 17px; font-size:.86rem; border-radius:10px; margin-left:4px}
.toggle,.menu-btn{
  appearance:none; border:1px solid var(--border-strong); background:var(--surface);
  color:var(--text-2); width:38px; height:34px; border-radius:9px; cursor:pointer;
  font-size:15px; display:grid; place-items:center;
}
.toggle:hover,.menu-btn:hover{border-color:var(--blue-ink); color:var(--blue-ink)}
.toggle:focus-visible,.menu-btn:focus-visible{outline:2px solid var(--blue-ink); outline-offset:2px}
.menu-btn{display:none; font-size:17px}

/* mobile drop-down nav */
.bar .mobile-nav{display:none; flex-direction:column; gap:2px; padding:8px 24px 18px}
.bar .mobile-nav.open{display:flex}
.bar .mobile-nav a{padding:12px 4px; color:var(--text-2); text-decoration:none; font-weight:600; border-bottom:1px solid var(--border)}
.bar .mobile-nav a:last-child{border-bottom:0}
.bar .mobile-nav a.btn{margin-top:12px; justify-content:center; color:#fff; border-bottom:0}

@media (max-width:820px){
  .bar .desktop-nav{display:none}
  .bar .bar-cta{display:none}
  .menu-btn{display:grid}
}
@media (min-width:821px){
  .bar .mobile-nav{display:none !important}
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:9px; font-weight:700; font-size:.95rem;
  padding:12px 20px; border-radius:12px; text-decoration:none; cursor:pointer; border:1px solid transparent;
  transition:transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--blue); color:#fff}
.btn-primary:hover{background:var(--blue-deep)}
.btn-ghost{background:var(--surface); color:var(--text); border-color:var(--border-strong)}
.btn-ghost:hover{border-color:var(--blue-ink); color:var(--blue-ink)}

/* Google Play badge — a themed surface card (white in light, elevated slate in
   dark) so it sits in the palette instead of reading as a black slab. The
   official multi-colour Play glyph stays vivid on either ground. */
.play-badge{
  display:inline-flex; align-items:center; gap:12px; text-decoration:none;
  background:var(--surface); color:var(--text); border:1px solid var(--border-strong);
  padding:11px 20px; border-radius:13px; box-shadow:var(--shadow);
  transition:transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}
.play-badge:hover{transform:translateY(-2px); box-shadow:var(--shadow-lg); border-color:var(--blue-ink)}
.play-badge:active{transform:translateY(0)}
.play-badge .g{width:24px; height:26px; flex:none}
.play-badge .txt{display:flex; flex-direction:column; line-height:1.1; text-align:left}
.play-badge .txt small{font-size:.6rem; letter-spacing:.08em; text-transform:uppercase; color:var(--text-2)}
.play-badge .txt b{font-size:1.16rem; font-weight:700; letter-spacing:-.01em}
.cta-row{display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin-top:26px}
/* Pre-launch: the store badge keeps its normal look + hover lift but doesn't
   navigate (it's a <span>); the "Coming soon" chip sits beside it in the row. */
.play-badge{cursor:pointer}
.soon-chip{
  display:inline-flex; align-items:center; padding:6px 13px; border-radius:999px; white-space:nowrap;
  background:var(--accent-surface); color:var(--blue-ink);
  font-size:.7rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
}
/* Footer "Google Play" entry while pre-launch: plain text + a small soon tag. */
.foot-links .soon-item{display:inline-flex; align-items:center; gap:7px; color:var(--muted)}
.foot-links .soon-item .soon-tag{
  padding:1px 7px; border-radius:999px; background:var(--accent-surface); color:var(--blue-ink);
  font-size:.58rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
}

/* ---------- Sections ---------- */
section{padding:76px 0}
.eyebrow{
  font-family:var(--mono); font-size:.74rem; letter-spacing:.22em; text-transform:uppercase;
  color:var(--blue-ink); display:flex; align-items:center; gap:10px; margin:0 0 14px;
}
.eyebrow.center{justify-content:center}
.eyebrow::before{content:""; width:22px; height:2px; background:var(--blue-ink); border-radius:2px}
h1,h2,h3{text-wrap:balance; letter-spacing:-.025em; line-height:1.08; margin:0}
h1{font-size:clamp(2.6rem, 1.4rem + 5vw, 4.4rem); font-weight:800; letter-spacing:-.04em; line-height:1}
h2{font-size:clamp(1.7rem, 1rem + 2.6vw, 2.7rem); font-weight:800}
h3{font-size:1.18rem; font-weight:750; letter-spacing:-.015em}
.lead{font-size:clamp(1.05rem,.95rem + .5vw,1.22rem); color:var(--text-2); max-width:62ch}
.lead.center{margin-left:auto; margin-right:auto}
p{margin:.7em 0}

/* woven divider */
.weave-rule{display:flex; align-items:center; gap:16px; color:var(--muted); margin:0 auto; max-width:var(--maxw)}
.weave-rule .ln{flex:1; height:1px; background:linear-gradient(90deg, transparent, var(--border-strong), transparent)}
.weave-rule svg{width:34px; height:22px; opacity:.8; color:var(--blue-ink)}

/* ---------- Hero ---------- */
.hero{position:relative; padding:84px 0 64px; overflow:hidden}
.hero::before{
  content:""; position:absolute; inset:-40% 0 auto 0; height:680px; z-index:0;
  background:
    radial-gradient(600px 340px at 78% 18%, color-mix(in srgb,var(--teal) 18%, transparent), transparent 70%),
    radial-gradient(760px 420px at 20% 0%, color-mix(in srgb,var(--blue-ink) 20%, transparent), transparent 68%);
  filter:blur(4px); pointer-events:none;
}
.hero-in{position:relative; z-index:1; display:grid; grid-template-columns:1.1fr .9fr; gap:44px; align-items:center}
@media (max-width:860px){ .hero-in{grid-template-columns:1fr; gap:36px} }
.hero .wordmark{margin:.28em 0 .18em}
.hero .wordmark .weave{color:var(--blue-ink)}
.hero .tag{font-size:clamp(1.15rem,1rem+.7vw,1.5rem); color:var(--text); font-weight:600; letter-spacing:-.01em; margin:.2em 0 .5em}
.hero .sub{color:var(--text-2); max-width:52ch; font-size:1.06rem}
.kicker{display:inline-flex; align-items:center; gap:8px; flex-wrap:wrap; max-width:100%;
  font-family:var(--mono); font-size:.72rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--text-2); border:1px solid var(--border); background:var(--surface); padding:6px 12px; border-radius:999px}
.kicker b{color:var(--teal); font-weight:700}
@media (max-width:480px){ .kicker{letter-spacing:.12em; font-size:.66rem; gap:6px} }

/* hero art: phone showing the threads list */
.hero-art{display:grid; place-items:center; position:relative}
.hero-art::after{
  content:""; position:absolute; width:270px; height:270px; border-radius:36px;
  background:linear-gradient(145deg,#2563EB,#1D4ED8); filter:blur(46px); opacity:.28; z-index:0;
}

/* ---------- Value strip ---------- */
.valuestrip{
  display:flex; flex-wrap:wrap; gap:10px 26px; justify-content:center;
  padding:20px 24px; border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  background:var(--surface-2);
}
.valuestrip .v{display:inline-flex; align-items:center; gap:9px; font-size:.9rem; font-weight:600; color:var(--text-2)}
.valuestrip .v svg{width:18px; height:18px; color:var(--teal); flex:none}

/* ---------- Cards / grid ---------- */
.grid{display:grid; gap:20px}
.g2{grid-template-columns:repeat(2,1fr)}
.g3{grid-template-columns:repeat(3,1fr)}
.g4{grid-template-columns:repeat(4,1fr)}
@media (max-width:860px){ .g3,.g4{grid-template-columns:repeat(2,1fr)} }
@media (max-width:560px){ .g2,.g3,.g4{grid-template-columns:1fr} }
/* feature cards: flex-wrap centred so an odd count (5) lands as a balanced
   3 + 2 rather than leaving a lone card grid-aligned to one side */
.feat-grid{display:flex; flex-wrap:wrap; gap:20px; justify-content:center}
.feat-grid .feature{flex:1 1 300px; max-width:360px}
@media (max-width:560px){ .feat-grid .feature{flex-basis:100%; max-width:none} }
.card{background:var(--surface); border:1px solid var(--border); border-radius:16px; box-shadow:var(--shadow)}
.card.pad{padding:24px}

/* feature card */
.feature .ic{
  width:46px; height:46px; border-radius:13px; display:grid; place-items:center; margin-bottom:14px;
  background:color-mix(in srgb, var(--blue-ink) 12%, var(--surface)); color:var(--blue-ink);
}
.feature .ic svg{width:24px; height:24px}
.feature h3{margin-bottom:6px}
.feature p{margin:0; color:var(--text-2); font-size:.94rem}

/* ---------- Steps (how it works) ---------- */
.steps{counter-reset:step; display:grid; gap:20px; grid-template-columns:repeat(3,1fr)}
@media (max-width:760px){ .steps{grid-template-columns:1fr} }
.step{position:relative; background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 22px 22px; box-shadow:var(--shadow)}
.step::before{
  counter-increment:step; content:counter(step);
  position:absolute; top:-16px; left:22px; width:34px; height:34px; border-radius:10px;
  background:var(--blue); color:#fff; font-weight:800; display:grid; place-items:center; box-shadow:var(--shadow);
}
.step h3{margin:10px 0 6px}
.step p{margin:0; color:var(--text-2); font-size:.92rem}

/* ---------- Privacy band ---------- */
.band{
  background:linear-gradient(145deg,#2563EB,#1D4ED8); color:#fff; border-radius:24px;
  padding:48px 40px; box-shadow:var(--shadow-lg); position:relative; overflow:hidden;
}
.band::after{content:""; position:absolute; inset:0; background:radial-gradient(120% 90% at 15% 0%, rgba(255,255,255,.16), transparent 55%); pointer-events:none}
.band .eyebrow{color:#BFD3FF}
.band .eyebrow::before{background:#BFD3FF}
.band h2{color:#fff}
.band p{color:#DCE7FF; max-width:60ch}
.band .shield{position:relative; z-index:1}
.band-in{position:relative; z-index:1; display:grid; grid-template-columns:auto 1fr; gap:28px; align-items:center}
@media (max-width:640px){ .band-in{grid-template-columns:1fr} .band{padding:36px 26px} }
.band .shield svg{width:88px; height:88px; color:rgba(255,255,255,.92)}
.privacy-points{list-style:none; padding:0; margin:16px 0 0; display:grid; gap:10px}
.privacy-points li{display:flex; gap:11px; align-items:flex-start; color:#EAF1FF; font-size:.98rem}
.privacy-points svg{flex:none; width:20px; height:20px; color:#2DD4BF; margin-top:3px}

/* ---------- Phone mock — mirrors the real NotiWeave app UI ---------- */
.phones{display:flex; gap:26px; flex-wrap:wrap; justify-content:center}
.phone{width:250px; height:512px; border-radius:36px; background:var(--surface); border:1px solid var(--border);
  box-shadow:var(--shadow-lg); padding:11px; position:relative; overflow:hidden; z-index:1}
.phone .screen{height:100%; border-radius:26px; overflow:hidden; background:var(--bg); display:flex; flex-direction:column}
.phone .notch{position:absolute; top:15px; left:50%; transform:translateX(-50%); width:64px; height:5px; border-radius:3px; background:var(--border-strong); z-index:3}
.st{display:flex; justify-content:space-between; padding:13px 16px 4px; font-size:.6rem; color:var(--muted); font-family:var(--mono); flex:none}

/* app bar (nav header) */
.abar{display:flex; align-items:center; gap:9px; padding:5px 14px 10px; flex:none}
.abar .back{color:var(--text-2); display:grid; place-items:center; flex:none}
.abar .back svg{width:19px; height:19px}
.abar .avs{width:28px; height:28px; border-radius:50%; flex:none; display:grid; place-items:center; color:#fff; font-weight:700; font-size:.74rem}
.abar .title{font-size:1.06rem; font-weight:800; letter-spacing:-.02em; color:var(--text); min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.abar .acts{margin-left:auto; display:flex; gap:8px; flex:none}
.abar .act{width:30px; height:30px; border-radius:50%; display:grid; place-items:center}
.abar .act svg{width:15px; height:15px}
.abar .act.bell{background:var(--accent-surface); color:var(--blue-ink)}
.abar .act.trash{background:var(--danger-surface); color:var(--danger)}
/* signature (large-title) header on root screens: title + woven mark signing
   off on the right, on a lifted surface strip — mirrors ScreenHeader's large row */
.abar.sig{background:var(--surface); padding:9px 16px 11px; box-shadow:var(--shadow); position:relative; z-index:2}
.abar.sig .title{font-size:1.4rem; font-weight:800; letter-spacing:-.03em}
.abar .sigmark{margin-left:auto; flex:none; display:grid; place-items:center; color:var(--blue-ink)}
.abar .sigmark svg{width:26px; height:26px}

/* bottom tab bar (Threads · Apps · Rules · Settings) */
.tabs{display:flex; border-top:1px solid var(--border); background:var(--surface); padding:6px 0 8px; flex:none}
.tabs .tab{flex:1; display:flex; flex-direction:column; align-items:center; gap:3px; color:var(--muted); font-size:.57rem; font-weight:600}
.tabs .tab svg{width:20px; height:20px}
.tabs .tab.on{color:var(--blue-ink)}

/* threads list — one card per sender */
.tlist{flex:1; overflow:hidden; padding:10px; display:flex; flex-direction:column; gap:7px}
.tcard{display:flex; align-items:center; gap:11px; background:var(--surface); border:1px solid var(--border);
  border-radius:15px; padding:9px 11px; box-shadow:var(--shadow)}
.tcard .av{width:38px; height:38px; border-radius:50%; flex:none; display:grid; place-items:center; color:#fff; font-weight:700; font-size:.9rem}
.tcard .tx{flex:1; min-width:0}
.tcard .nm{display:flex; align-items:center; justify-content:space-between; gap:8px}
.tcard .nm b{font-weight:600; font-size:.86rem; color:var(--text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.tcard .nm time{color:var(--muted); font-weight:500; font-size:.63rem; flex:none}
.tcard .pv{display:flex; align-items:center; gap:6px; margin-top:2px}
.tcard .pv span:not(.cnt){flex:1; min-width:0; color:var(--text-2); font-size:.75rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tcard .pv svg{width:13px; height:13px; color:var(--text-2); flex:none}
.tcard .pv .cnt{flex:none; min-width:20px; height:20px; padding:0 7px; border-radius:999px; background:var(--blue);
  color:#fff; font-size:.64rem; font-weight:700; line-height:1; display:grid; place-items:center}

/* conversation (thread detail) */
.ctool{display:flex; gap:7px; padding:8px 11px; background:var(--surface); border-bottom:1px solid var(--border); flex:none}
.ctool .search{flex:1; min-width:0; display:flex; align-items:center; gap:7px; height:34px; padding:0 12px; border-radius:999px;
  background:var(--bg); border:1px solid var(--border); color:var(--muted); font-size:.73rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.ctool .search svg{width:14px; height:14px; flex:none}
.ctool .filt{display:flex; align-items:center; gap:6px; height:34px; padding:0 12px; border-radius:999px;
  background:var(--bg); border:1px solid var(--border); color:var(--text-2); font-size:.69rem; font-weight:600; flex:none}
.ctool .filt svg{width:13px; height:13px; flex:none}
.chat{flex:1; overflow:hidden; padding:12px 11px; display:flex; flex-direction:column; gap:7px}
.daydiv{align-self:center; background:var(--accent-surface); color:var(--text-2); font-size:.61rem; font-weight:600;
  padding:3px 11px; border-radius:999px; margin:1px 0}
.bubble{max-width:84%; align-self:flex-start; background:var(--surface); border:1px solid var(--border);
  border-radius:15px; border-top-left-radius:4px; padding:7px 11px; box-shadow:var(--shadow)}
.bubble p{margin:0; font-size:.78rem; color:var(--text); line-height:1.35}
.bubble .bt{display:block; text-align:right; font-size:.57rem; color:var(--muted); margin-top:3px}
.bubble a{color:var(--blue-ink); text-decoration:underline}
/* media message: reel/photo thumbnail with a centred play badge (tappable in the
   app to open the reel) — the low-res alert thumb as a launch point */
.bubble.media{max-width:none}
.bubble.media p{margin-top:6px}
.thumb{position:relative; display:block; width:110px; height:128px; border-radius:11px; overflow:hidden;
  background:linear-gradient(150deg,#6D28D9 0%,#DB2777 55%,#F59E0B 100%)}
.thumb .play{position:absolute; inset:0; margin:auto; width:36px; height:36px; border-radius:50%;
  background:rgba(0,0,0,.45); display:grid; place-items:center}
.thumb .play svg{width:15px; height:15px; color:#fff; margin-left:2px}

/* sound picker (thread sound) */
.sbody{flex:1; overflow:hidden; padding:14px 13px; display:flex; flex-direction:column}
.shead{font-size:.75rem; color:var(--text-2); line-height:1.45; margin:0 0 12px}
.shead b{color:var(--text); font-weight:700}
.scard{background:var(--surface); border:1px solid var(--border); border-radius:12px; box-shadow:var(--shadow); overflow:hidden}
.srow{display:flex; align-items:center; gap:11px; padding:10px 13px}
.srow+.srow{border-top:1px solid var(--border)}
.radio{width:20px; height:20px; border-radius:50%; border:2px solid var(--border-strong); flex:none; display:grid; place-items:center}
.radio.on{border-color:var(--blue)}
.radio.on::after{content:""; width:10px; height:10px; border-radius:50%; background:var(--blue)}
.srow .snm{flex:1; font-size:.82rem; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.playpill{display:inline-flex; align-items:center; gap:5px; color:var(--blue-ink); font-size:.7rem; font-weight:600; flex:none}
.playpill svg{width:13px; height:13px}
.importbtn{margin-top:12px; display:flex; align-items:center; justify-content:center; gap:8px; border:1px solid var(--blue);
  color:var(--blue-ink); border-radius:12px; padding:11px; font-size:.78rem; font-weight:600}
.importbtn svg{width:15px; height:15px}

/* onboarding intro */
.ob{flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:0 24px; gap:11px}
.ob .chip{width:96px; height:96px; border-radius:999px; background:var(--accent-surface); display:grid; place-items:center}
.ob .chip svg{width:52px; height:52px; color:var(--blue-ink)}
.ob h4{margin:.4em 0 0; font-size:1.2rem; letter-spacing:-.02em}
.ob p{font-size:.82rem; color:var(--text-2); margin:.1em 0; line-height:1.5}
.ob .btn-sm{margin-top:12px; align-self:stretch; background:var(--blue); color:#fff; font-weight:700; font-size:.84rem; padding:11px 26px; border-radius:12px}
.ob .dots{display:flex; gap:5px; margin-top:2px}
.ob .dots i{width:7px; height:7px; border-radius:9px; background:var(--border-strong)}
.ob .dots i.on{width:20px; background:var(--blue)}

/* ---------- FAQ ---------- */
.faq{display:grid; gap:12px; max-width:820px; margin:30px auto 0}
.faq details{background:var(--surface); border:1px solid var(--border); border-radius:14px; box-shadow:var(--shadow); overflow:hidden}
.faq summary{
  list-style:none; cursor:pointer; padding:18px 20px; font-weight:700; font-size:1rem;
  display:flex; align-items:center; justify-content:space-between; gap:14px;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+"; font-weight:400; font-size:1.4rem; color:var(--blue-ink); transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq .a{padding:0 20px 18px; color:var(--text-2); font-size:.95rem}
.faq .a p{margin:.2em 0 0}

/* ---------- CTA band ---------- */
.cta-final{text-align:center}
.cta-final .tile{
  width:96px; height:96px; border-radius:24px; margin:0 auto 22px;
  background:linear-gradient(145deg,#2563EB,#1D4ED8); box-shadow:var(--shadow-lg);
  display:grid; place-items:center;
}
/* white strands + Teal Signal dot — brand spec for the mark on blue grounds */
.cta-final .tile svg{width:60%; height:60%; color:#fff; --mark-dot:#2DD4BF}
.cta-final .cta-row{justify-content:center}

/* ---------- Doc pages (privacy / support) ---------- */
.doc{max-width:840px; margin:0 auto; padding:56px 24px 60px}
.doc-head{margin-bottom:6px}
.doc-emblem{width:62px; height:62px; border-radius:18px; display:grid; place-items:center; margin-bottom:20px;
  background:linear-gradient(145deg,#2563EB,#1D4ED8); box-shadow:var(--shadow-lg)}
.doc-emblem svg{width:32px; height:32px; color:#fff; --mark-dot:#2DD4BF}
.doc-head h1{font-size:clamp(2rem,1.5rem+2.2vw,2.9rem); letter-spacing:-.03em; line-height:1.04; margin:0 0 .28em}
.doc-head .lead{font-size:1.1rem; color:var(--text-2); max-width:60ch; margin:0}
.doc-head .updated{display:inline-block; font-family:var(--mono); font-size:.72rem; color:var(--muted);
  letter-spacing:.06em; margin-top:16px}

/* reassurance / quick-link card strip */
.doc-cards{display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:30px 0}
@media (max-width:720px){ .doc-cards{grid-template-columns:repeat(2,1fr)} }
.doc-cards .c{background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:16px 15px; box-shadow:var(--shadow)}
.doc-cards a.c{text-decoration:none; transition:transform .12s ease, border-color .15s ease}
.doc-cards a.c:hover{transform:translateY(-2px); border-color:var(--blue-ink)}
.doc-cards .c svg{width:22px; height:22px; margin-bottom:9px; display:block}
.doc-cards .c.glance svg{color:var(--teal)}
.doc-cards .c.qlink svg{color:var(--blue-ink)}
.doc-cards .c b{display:block; font-size:.92rem; color:var(--text); margin-bottom:2px}
.doc-cards .c span{font-size:.79rem; color:var(--text-2); line-height:1.45}

/* section block with an icon heading */
.doc-block{padding:26px 0 0; margin-top:26px; border-top:1px solid var(--border)}
.doc-block:first-of-type{border-top:0; margin-top:10px; padding-top:0}
.doc-block .bhead{display:flex; align-items:center; gap:12px; margin-bottom:12px}
.doc-block .bic{width:40px; height:40px; border-radius:12px; flex:none; display:grid; place-items:center;
  background:var(--accent-surface); color:var(--blue-ink)}
.doc-block .bic svg{width:21px; height:21px}
.doc-block h2{font-size:1.28rem; letter-spacing:-.02em; margin:0}
.doc-block h3{font-size:1.02rem; color:var(--text); font-weight:700; margin:20px 0 8px}
.doc-block p, .doc-block li{color:var(--text-2); font-size:1rem; line-height:1.7}
.doc-block p{margin:.5em 0}
.doc-block ul{padding-left:20px; display:grid; gap:8px; margin:.5em 0}
.doc-block b{color:var(--text)}
.doc-block a{color:var(--blue-ink); font-weight:600}

/* callout / highlight */
.callout{background:var(--surface); border:1px solid var(--border); border-left:3px solid var(--teal);
  border-radius:12px; padding:16px 18px; margin:22px 0; box-shadow:var(--shadow)}
.callout p{margin:0; color:var(--text); line-height:1.65}
.callout b{color:var(--text)}

/* numbered setup steps (support) */
.setup{list-style:none; counter-reset:st; padding:0; margin:6px 0 0; display:grid; gap:12px}
.setup li{counter-increment:st; position:relative; padding-left:46px; color:var(--text-2); font-size:1rem; line-height:1.6}
.setup li::before{content:counter(st); position:absolute; left:0; top:-1px; width:30px; height:30px; border-radius:9px;
  background:var(--blue); color:#fff; font-weight:800; font-size:.9rem; display:grid; place-items:center}
.setup li b{color:var(--text)}

/* contact card */
.contact-card{
  display:flex; align-items:center; gap:14px; background:var(--surface); border:1px solid var(--border);
  border-radius:14px; padding:16px 18px; box-shadow:var(--shadow); margin-top:14px;
}
.contact-card svg{width:24px; height:24px; color:var(--blue-ink); flex:none}
.contact-card .k{font-family:var(--mono); font-size:.66rem; text-transform:uppercase; letter-spacing:.1em; color:var(--muted)}
.contact-card a{font-weight:700}

/* ---------- Footer ---------- */
footer{border-top:1px solid var(--border); padding:44px 0 60px; color:var(--text-2); font-size:.9rem}
.foot-in{display:flex; gap:28px; flex-wrap:wrap; align-items:flex-start; justify-content:space-between}
.foot-brand{display:flex; gap:12px; align-items:center; max-width:300px}
.foot-brand svg{width:34px; height:34px; color:var(--blue-ink); flex:none}
.foot-brand b{color:var(--text)}
.foot-links{display:flex; gap:40px; flex-wrap:wrap}
.foot-links .col{display:grid; gap:8px}
.foot-links .h{font-family:var(--mono); font-size:.66rem; text-transform:uppercase; letter-spacing:.12em; color:var(--muted); margin-bottom:2px}
.foot-links a{color:var(--text-2); text-decoration:none}
.foot-links a:hover{color:var(--blue-ink)}
.foot-legal{margin-top:34px; padding-top:20px; border-top:1px solid var(--border); display:flex; gap:14px; flex-wrap:wrap; justify-content:space-between; color:var(--muted); font-size:.82rem}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none !important; transition:none !important}
}
