/* ============================================================================
   Senvera marketing site — design system + components.
   Mirrors the app's onboarding language: graphite surfaces, one warm amber,
   teal reserved for health. Premium, calm, minimal, Apple-quality restraint.
   ========================================================================== */

:root {
  /* The marketing site commits to a single premium dark theme — declare it so
     form controls, scrollbars, and autofill render dark instead of light chrome. */
  color-scheme: dark;

  /* palette (from the app's Colors.xaml) */
  --bg: #111315;
  --bg-2: #0E1012;
  --card: #181B1F;
  --elev: #1E2228;
  --line: #25282D;
  --text: #F7F7F7;
  --muted: #8D939B;
  --dim: #6A7079;
  --accent: #FF9448;         /* Senvera thinking / CTAs / selection */
  --accent-2: #FFC488;
  --accent-ink: #141419;
  --accent-soft: #2A1E12;
  --health: #34D3C9;         /* recovery / health ONLY */
  --good: #2ECC71;

  /* type scale */
  --f-display: clamp(38px, 6.2vw, 68px);
  --f-h1: clamp(30px, 4.6vw, 46px);
  --f-h2: clamp(25px, 3.4vw, 34px);
  --f-h3: 20px;
  --f-body: 17px;
  --f-small: 15px;
  --f-kicker: 12px;

  /* spacing / layout */
  --container: 1120px;
  --container-narrow: 760px;
  --gap: 20px;
  --section-y: clamp(64px, 9vw, 128px);

  /* radii / depth */
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow: 0 24px 60px -28px rgba(0,0,0,.7);
  --shadow-soft: 0 10px 30px -18px rgba(0,0,0,.6);

  /* motion */
  --dur: .5s;
  --ease: cubic-bezier(.22,.61,.36,1);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: var(--f-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---- layout primitives ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: var(--section-y) 0; position: relative; }
.narrow { max-width: var(--container-narrow); margin-left: auto; margin-right: auto; }
.center { text-align: center; }

.kicker {
  font-size: var(--f-kicker); font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin: 0 0 14px;
}
.kicker.teal { color: var(--health); }
h1, h2, h3 { margin: 0 0 16px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: var(--f-h1); }
h2 { font-size: var(--f-h2); }
h3 { font-size: var(--f-h3); letter-spacing: -0.01em; }
.display { font-size: var(--f-display); line-height: 1.04; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin: 0 0 28px; }
p { margin: 0 0 16px; color: var(--muted); }
p strong, .text-em { color: var(--text); font-weight: 600; }
.amber { color: var(--accent); }
.teal { color: var(--health); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: var(--f-small);
  padding: 14px 22px; border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), background .18s, border-color .18s, opacity .18s;
  min-height: 48px; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ffa35f; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--muted); background: rgba(255,255,255,.03); }
.btn-ghost { background: transparent; color: var(--muted); padding: 10px 8px; min-height: 40px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---- header ---- */
.hdr {
  position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.hdr.scrolled {
  background: rgba(17,19,21,.72); backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line);
}
.hdr .row { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 2px; font-size: 15px; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--muted); font-weight: 600; font-size: var(--f-small); padding: 8px 12px; border-radius: 10px; transition: color .18s, background .18s; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.hdr-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.burger svg { display: block; }

@media (max-width: 860px) {
  .nav, .hdr-cta .btn-primary { display: none; }
  .burger { display: inline-flex; }
  .drawer.open ~ .hdr-cta .btn-primary { display: none; }
}
/* mobile drawer */
.drawer {
  position: fixed; inset: 66px 0 0; z-index: 49; background: var(--bg);
  transform: translateX(100%); transition: transform .32s var(--ease);
  padding: 24px 22px; display: flex; flex-direction: column; gap: 6px;
}
.drawer.open { transform: translateX(0); }
.drawer a { color: var(--text); font-size: 20px; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.drawer .btn { margin-top: 20px; }
@media (min-width: 861px) { .drawer { display: none !important; } }

/* ---- hero ---- */
.hero { padding-top: clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; top: -18%; left: 50%; transform: translateX(-50%);
  width: min(1000px, 120vw); height: 620px; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(255,148,72,.16), rgba(255,148,72,0) 72%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero .cta-row { justify-content: center; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero .fineprint { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ---- product preview frame (a real-looking Senvera screen, built in CSS) ---- */
.frame {
  border-radius: 30px; background: linear-gradient(180deg, #22262d, #14171b);
  border: 1px solid var(--line); padding: 12px; box-shadow: var(--shadow);
  max-width: 360px; margin: 0 auto; width: 100%;
}
.frame .screen { background: var(--bg); border-radius: 22px; padding: 18px; border: 1px solid var(--line); }
.pv-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pv-top .who { font-size: 13px; color: var(--muted); }
.pv-hero { background: linear-gradient(180deg, #30343f, #1c1e25); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.pv-hero .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pv-title { font-size: 20px; font-weight: 700; }
.pv-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.ring { width: 74px; height: 74px; flex: none; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent);
}
.badge.teal { background: rgba(52,211,201,.12); color: var(--health); }
.badge.good { background: rgba(46,204,113,.12); color: var(--good); }
.pv-insight { margin-top: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.pv-insight .lbl { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pv-insight p { color: var(--text); font-size: 14px; margin: 0; }
.pulse { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 70% { transform: scale(2.4); opacity: 0; } 100% { opacity: 0; } }

/* ---- generic cards / grids ---- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: #313640; }
.card .ico { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--accent-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--accent); }
.card .ico.teal { background: rgba(52,211,201,.12); color: var(--health); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: var(--f-small); }

/* insight card — leads with coaching, numbers second */
.insight { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.insight .say { font-size: 17px; color: var(--text); font-weight: 500; margin: 0 0 10px; }
.insight .raw { font-size: 12px; color: var(--dim); font-family: var(--mono); }

/* step list */
.steps { counter-reset: step; }
.step { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step .n { counter-increment: step; flex: none; width: 40px; height: 40px; border-radius: var(--r-pill); border: 1px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.step .n::before { content: counter(step); }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; }

/* signal flow (the difference section) */
.flow { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 6px 0 22px; }
.chip { background: var(--elev); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 10px 16px; font-size: var(--f-small); color: var(--text); font-weight: 600; }
.flow-down { text-align: center; color: var(--accent); font-size: 26px; line-height: 1; margin: 4px 0 16px; }

/* CTA band */
.band { background: linear-gradient(180deg, #1a1d22, #121417); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(34px, 6vw, 64px); text-align: center; position: relative; overflow: hidden; }
.band .hero-glow { top: -60%; opacity: .8; }

/* form */
.form { display: grid; gap: 12px; max-width: 440px; margin: 22px auto 0; text-align: left; }
.form .rowf { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .form .rowf { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin: 0 0 6px 2px; }
.field input, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px; min-height: 50px;
}
.field input::placeholder { color: var(--dim); }
.field input:focus, .field select:focus { border-color: var(--accent); outline: none; }
.form .btn { width: 100%; }
.form .note { font-size: 12px; color: var(--muted); text-align: center; margin: 2px 0 0; }
.form .msg { font-size: 14px; min-height: 20px; text-align: center; }
.form .msg.err { color: #FF7A7A; }
.form .msg.ok { color: var(--good); }
.form-success { text-align: center; padding: 20px 0; }
.form-success .check { width: 54px; height: 54px; border-radius: 50%; background: rgba(46,204,113,.14); color: var(--good); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 26px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer .top { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.footer .brand-blk { max-width: 320px; }
.footer .brand-blk p { font-size: 14px; margin-top: 12px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer nav a { color: var(--muted); font-size: 14px; }
.footer nav a:hover { color: var(--text); }
.footer .legal { margin-top: 34px; color: var(--dim); font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse::after { animation: none; }
  .btn:hover { transform: none; }
}

.eyebrow-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 4px 9px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--muted); }
.tag.dev { color: var(--health); border-color: rgba(52,211,201,.4); }
.muted { color: var(--muted); }
.stack-lg > * + * { margin-top: 14px; }

/* ============================================================================
   Storytelling additions (2026-07-19) — reuse the tokens above, no redesign.
   ========================================================================== */

/* alternating section rhythm (subtle, same palette) */
.section.alt { background: var(--bg-2); }

/* hero: make the product the hero (~30-40% larger) + gentle float */
.hero-device { display: flex; justify-content: center; }
.hero .frame { max-width: 480px; }
@media (min-width: 941px) {
  .hero-grid { grid-template-columns: 1fr 1.06fr; }
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float { animation: float 6s var(--ease) infinite; }

/* hero mini-steps (5-second "what it does") */
.mini-steps { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.mini-steps li { display: inline-flex; align-items: center; gap: 9px; font-size: var(--f-small); font-weight: 600; color: var(--text); }
.mini-steps .ms-n { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
@media (max-width: 940px) { .mini-steps { justify-content: center; } }

/* let a hero-grid put the visual on the left on desktop */
.hero-grid.reverse .reveal:first-child { order: 0; }
@media (min-width: 941px) { .hero-grid.reverse { grid-template-columns: 1.06fr 1fr; } }

/* body-scan visual */
.scan-screen { min-height: 340px; }
.scan-stage { position: relative; height: 210px; margin: 6px 0 14px; border-radius: var(--r); background: linear-gradient(180deg, #16191e, #101215); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.scan-figure { height: 180px; width: auto; }
.scan-line { position: absolute; left: 8%; right: 8%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 14px 2px rgba(255,148,72,.5); top: 12%; animation: scan 3.4s var(--ease) infinite; }
@keyframes scan { 0% { top: 10%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 86%; opacity: 0; } }
.scan-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.chip.sm { padding: 6px 11px; font-size: 12px; background: var(--card); }

/* gym-scan detected-equipment list */
.detect-list { margin-top: 12px; display: grid; gap: 8px; }
.detect { display: flex; align-items: center; justify-content: space-between; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font-size: 14px; color: var(--text); font-weight: 500; }
.detect .ok { color: var(--good); font-weight: 700; }

/* 3-step journey */
.journey { display: flex; align-items: stretch; justify-content: center; gap: 14px; margin-top: 40px; }
.journey .jstep { flex: 1; max-width: 300px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; text-align: center; transition: border-color .2s, transform .2s; }
.journey .jstep:hover { border-color: #313640; transform: translateY(-3px); }
.journey .jn { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.journey .jstep h3 { margin-bottom: 6px; }
.journey .jstep p { margin: 0; font-size: var(--f-small); }
.journey .jarrow { align-self: center; color: var(--accent); font-size: 26px; line-height: 1; transform: rotate(-90deg); }
@media (max-width: 820px) {
  .journey { flex-direction: column; align-items: center; }
  .journey .jstep { max-width: 460px; width: 100%; }
  .journey .jarrow { transform: none; }
}

/* "why apps don't stick" contrast rows */
.contrasts { display: grid; gap: 14px; margin-top: 40px; }
.contrast { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); padding: 20px 22px; transition: border-color .2s, transform .2s; }
.contrast:hover { transform: translateY(-2px); }
.contrast .them { color: var(--muted); font-weight: 600; margin: 0 0 6px; }
.contrast .us { color: var(--text); font-weight: 600; margin: 0; }
.contrast .us::before { content: "→ "; color: var(--accent); font-weight: 700; }

/* testimonials (premium placeholders — no invented reviews) */
.tcards .tcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 18px; transition: border-color .2s, transform .2s; margin: 0; }
.tcards .tcard:hover { border-color: #313640; transform: translateY(-3px); }
.tcard .tquote { font-size: 17px; color: var(--dim); font-style: italic; margin: 0; line-height: 1.5; }
.tcard .tquote::before { content: "\201C"; color: var(--accent); font-size: 30px; line-height: 0; vertical-align: -8px; margin-right: 4px; }
.tcard .tperson { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tcard .tavatar { width: 44px; height: 44px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--elev), var(--line)); border: 1px solid var(--line); }
.tcard .tname { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.tcard .ttitle { display: block; font-size: 12px; color: var(--dim); }

/* FAQ (native accordion — works with JS off) */
.faq { margin-top: 34px; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 20px; transition: border-color .2s; }
.faq details[open] { border-color: #313640; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; color: var(--text); font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; line-height: 1; transition: transform .2s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; font-size: var(--f-small); }

/* card hover lift (subtle elevation, Apple/Linear feel) */
.card:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .float, .scan-line { animation: none; }
  .contrast:hover, .card:hover, .tcards .tcard:hover, .journey .jstep:hover { transform: none; }
}

/* ============================================================================
   Simplify pass (2026-07-19) — Apple/Linear feel: bigger visuals, more air,
   less text. Reuses the tokens above; no redesign.
   ========================================================================== */
:root { --section-y: clamp(88px, 12vw, 176px); }   /* more whitespace between ideas */

h2.big { font-size: clamp(30px, 4.8vw, 54px); line-height: 1.05; }
.hero .frame { max-width: 500px; }                 /* product ~25% larger */

/* big "product reveal" moments (physique / gym) — larger visual than hero-grid */
.showcase { display: grid; grid-template-columns: 1fr; gap: clamp(34px, 5vw, 76px); align-items: center; }
.showcase-copy { max-width: 470px; }
.showcase-visual { display: flex; justify-content: center; }
.showcase .frame { max-width: 470px; }
@media (min-width: 941px) {
  .showcase { grid-template-columns: 0.88fr 1.12fr; }
  .showcase.reverse { grid-template-columns: 1.12fr 0.88fr; }
  .showcase.reverse .showcase-copy { order: 2; }
  .showcase.reverse .showcase-visual { order: 1; }
}
@media (max-width: 940px) {
  .showcase { text-align: center; }
  .showcase-copy { margin-left: auto; margin-right: auto; }
}

/* physique scanframe (the Face-ID-style reveal) */
.scanframe { width: 100%; max-width: 430px; background: linear-gradient(180deg, #1a1d22, #121417); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); }
.scanframe .scan-stage { height: clamp(340px, 46vw, 440px); margin: 0 0 18px; background: #000; }
.silo { height: 94%; width: auto; max-width: 88%; }
.silo-img { object-fit: contain; }
.thinking { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; color: var(--muted); }
.think-dots { display: inline-flex; gap: 5px; }
.think-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; animation: think 1.1s ease-in-out infinite; }
.think-dots i:nth-child(2) { animation-delay: .16s; }
.think-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes think { 0%,100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* how-it-works: icon tiles, horizontal flow */
.journey .jico { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 18px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 27px; }
.journey .jstep { max-width: 320px; padding: 34px 24px; }
.journey .jarrow { transform: none; }
@media (max-width: 820px) { .journey .jarrow { transform: rotate(90deg); } }

/* four inputs — bigger cards, one line each */
.fourup { max-width: 800px; margin: 44px auto 0; }
.fourup .card { padding: 30px; }
.fourup .card .ico { width: 52px; height: 52px; font-size: 22px; margin-bottom: 18px; }
.fourup .card h3 { margin-bottom: 6px; }
.fourup .card p { margin: 0; }

@media (prefers-reduced-motion: reduce) { .think-dots i { animation: none; } }

/* how-it-works: four input cards flowing into one outcome */
.flow-in { max-width: 760px; margin: 44px auto 0; }
#how .flow-down { margin: 24px 0; font-size: 30px; }
.flow-out { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 22px; text-align: left; background: linear-gradient(135deg, var(--accent-soft), var(--card)); border: 1px solid rgba(255,148,72,.35); border-radius: var(--r-lg); padding: 28px 32px; }
.flow-out .ico { width: 58px; height: 58px; flex: none; border-radius: 16px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-size: 27px; }
.flow-out h3 { margin: 0 0 4px; }
.flow-out p { margin: 0; }
@media (max-width: 560px) { .flow-out { flex-direction: column; text-align: center; } }

/* ---- referral / invite landing (invite.html) ---- */
.invite-benefit {
  display: inline-flex; align-items: center; gap: 10px; margin: 4px 0 22px;
  padding: 9px 16px; border-radius: var(--r-pill);
  background: var(--accent-soft); border: 1px solid rgba(255,148,72,.35);
  color: var(--text); font-size: var(--f-small); font-weight: 600;
}
.invite-benefit .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,148,72,.18); }
.invite-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 40px; }
@media (max-width: 720px) { .invite-points { grid-template-columns: 1fr; } }
.invite-points .ipoint { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.invite-points .ipoint h3 { font-size: var(--f-h3); margin-bottom: 8px; }
.invite-points .ipoint p { font-size: var(--f-small); margin: 0; }

/* ---- long-form legal / doc pages (privacy.html, terms.html) ---- */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(40px, 8vw, 72px) 22px 96px; }
.doc h1 { font-size: var(--f-h1); margin: 0 0 6px; letter-spacing: -.02em; }
.doc h2 { font-size: var(--f-h3); color: var(--accent); margin: 36px 0 10px; letter-spacing: -.01em; }
.doc p, .doc li { color: #C9CDD3; }
.doc li { margin: 4px 0; }
.doc strong { color: var(--text); }
.doc a { color: var(--accent); }
.doc .muted { color: var(--dim); font-size: var(--f-small); }
