/* MoveWize marketing site
   Layout: open "blueprint" ground, one orbit hero, then alternating
   full-bleed bands. Persona colour carries through each audience page. */
:root {
  --bg: #F6F9FC;
  --bg-2: #EDF3F8;
  --surface: #FFFFFF;
  --ink: #0E1621;
  --ink-2: #2B3644;
  --muted: #5A6676;
  --line: #DFE6EE;
  --grid: rgba(28, 174, 242, .09);

  --blue: #1CAEF2;      /* brand */
  --blue-ink: #0A78AE;  /* blue for text on light */
  --blue-soft: #E3F5FE;
  --green: #14D088;
  --green-ink: #0A8A5B;
  --green-soft: #DFF8EE;
  --amber: #F5B10C;
  --amber-ink: #A06A00;
  --amber-soft: #FFF3D1;
  --coral: #E03C63;
  --coral-ink: #C02550;
  --coral-soft: #FDE6EC;

  --deep: #0E1621;
  --deep-fg: #F2F6FA;
  --deep-muted: #9AA7B8;
  --deep-line: #26344A;
  --accent: var(--blue);
  --accent-ink: var(--blue-ink);
  --accent-soft: var(--blue-soft);

  --f-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "DM Sans", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 26px;
  --shadow: 0 1px 2px rgba(14, 22, 33, .05), 0 12px 32px -12px rgba(14, 40, 70, .16);
  --wrap: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1018; --deep: #04080D; --deep-line: #1B2738; --bg-2: #0F1722; --surface: #131D2A; --ink: #EEF3F8; --ink-2: #CAD4E0;
    --muted: #93A0B1; --line: #223043; --grid: rgba(92, 200, 247, .07);
    --blue-ink: #62CBF8; --blue-soft: #0F2A3B; --green-ink: #3FE0A6; --green-soft: #0D2C22;
    --amber-ink: #FFCB52; --amber-soft: #33270A; --coral-ink: #FF7B98; --coral-soft: #3A1420;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 36px -14px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1018; --deep: #04080D; --deep-line: #1B2738; --bg-2: #0F1722; --surface: #131D2A; --ink: #EEF3F8; --ink-2: #CAD4E0;
  --muted: #93A0B1; --line: #223043; --grid: rgba(92, 200, 247, .07);
  --blue-ink: #62CBF8; --blue-soft: #0F2A3B; --green-ink: #3FE0A6; --green-soft: #0D2C22;
  --amber-ink: #FFCB52; --amber-soft: #33270A; --coral-ink: #FF7B98; --coral-soft: #3A1420;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 36px -14px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* persona themes */
.p-buy    { --accent: var(--blue);  --accent-ink: var(--blue-ink);  --accent-soft: var(--blue-soft); }
.p-sell   { --accent: var(--green); --accent-ink: var(--green-ink); --accent-soft: var(--green-soft); }
.p-vendor { --accent: var(--amber); --accent-ink: var(--amber-ink); --accent-soft: var(--amber-soft); }
.p-pro    { --accent: var(--coral); --accent-ink: var(--coral-ink); --accent-soft: var(--coral-soft); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 520px) { .wrap { padding-inline: 18px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* type scale: 13 / 15 / 17 / 20 / 26 / 36 / 52 / 72 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.h-xl { font-size: clamp(40px, 6.4vw, 72px); font-weight: 800; letter-spacing: -.04em; }
.h-l  { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.035em; }
.h-m  { font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 58ch; }
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: .02em; }
.accent-text { color: var(--accent-ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 var(--f-display); letter-spacing: .005em; text-decoration: none;
  padding: 15px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), background-color .18s, border-color .18s, box-shadow .18s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { box-shadow: 0 0 0 5px var(--accent-soft); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ── NAV ── */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 36px; object-fit: contain; }
.wordmark { font: 900 23px/1 var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.wordmark b { color: var(--blue); font-weight: 900; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); padding: 9px 13px; border-radius: 999px; transition: background-color .15s, color .15s; display: inline-flex; align-items: center; gap: 8px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--bg-2); color: var(--ink); }
.nav-links .dot { width: 8px; height: 8px; border-radius: 50%; }
.nav-links .btn { padding: 11px 18px; font-size: 15px; margin-left: 8px; color: var(--bg); }
.nav-links .btn:hover { background: var(--ink); color: var(--bg); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 920px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute; left: 12px; right: 12px; top: 64px; flex-direction: column; align-items: stretch;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 10px; box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; }
  .nav-links .btn { margin: 6px 0 0; }
}

/* ── HERO (home) ── */
.hero { position: relative; padding-block: 40px 56px; isolation: isolate; }
.blueprint::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 65% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 65% 40%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 32px; align-items: center; }
.hero-copy { display: grid; gap: 22px; align-content: center; min-width: 0; }
.hero-copy .h-xl em { font-style: normal; color: var(--blue-ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 15px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 16px; height: 16px; color: var(--green-ink); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-block: 20px 40px; } }

/* orbit stage */
.orbit { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / .94; margin-inline: auto; }
.orbit-prompt {
  position: absolute; left: 50%; top: 2%; transform: translateX(-50%); z-index: 6;
  font: 600 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.orbit canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.orbit-ring {
  position: absolute; left: 6%; right: 6%; top: 50%; height: 34%; transform: translateY(-38%) ;
  border: 1.5px dashed color-mix(in srgb, var(--blue) 45%, transparent); border-radius: 50%; z-index: 1;
}
.orbit.live .orbit-ring { display: none; }
.robot-fallback { position: absolute; left: 50%; top: 49%; width: 46%; transform: translate(-50%, -50%); z-index: 2; }
.orbit.live .robot-fallback { opacity: 0; transition: opacity .4s; }
.robot-glow { position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--blue) 18%, transparent) 0%, transparent 65%); }

.planet {
  position: absolute; z-index: 4; left: 0; top: 0;
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
  padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--surface);
  border: 1.5px solid var(--line); box-shadow: var(--shadow);
  transform: translate(-50%, -50%); will-change: transform; transition: border-color .2s, box-shadow .2s, opacity .2s;
  white-space: nowrap;
}
.planet .orb { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; flex: none; }
.planet .orb svg { width: 22px; height: 22px; }
.planet strong { display: block; font: 700 17px/1.1 var(--f-display); letter-spacing: -.01em; }
.planet small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.planet .go { width: 16px; height: 16px; color: var(--accent-ink); transition: transform .2s; }
.planet:hover, .planet:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft), var(--shadow); }
.planet:hover .go, .planet:focus-visible .go { transform: translateX(3px); }
.planet.behind { z-index: 2; }
/* static positions before JS takes over (and for reduced motion) */
.planet[data-i="0"] { left: 16%; top: 76%; }
.planet[data-i="1"] { left: 84%; top: 70%; }
.planet[data-i="2"] { left: 80%; top: 20%; }
.orbit-pro { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 6; font-size: 14px; color: var(--muted); white-space: nowrap; }
.orbit-pro a { color: var(--coral-ink); font-weight: 600; text-decoration: none; }
.orbit-pro a:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .orbit { aspect-ratio: 1 / .98; }
  .planet { padding: 7px 12px 7px 7px; gap: 9px; }
  .planet .orb { width: 34px; height: 34px; } .planet .orb svg { width: 18px; height: 18px; }
  .planet strong { font-size: 15px; } .planet small { display: none; }
  .planet[data-i="0"] { left: 22%; top: 80%; } .planet[data-i="1"] { left: 78%; top: 74%; } .planet[data-i="2"] { left: 74%; top: 18%; }
  .orbit-pro { white-space: normal; text-align: center; width: 100%; }
}

/* ── BANDS ── */
.band { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.band-alt { background: var(--bg-2); }
.band-ink { background: var(--deep); color: var(--deep-fg); }
.band-ink h2, .band-ink h3 { color: var(--deep-fg); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* why band */
.why-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.why-quote { font: 700 clamp(30px, 4.2vw, 50px)/1.08 var(--f-display); letter-spacing: -.03em; }
.why-quote { color: var(--deep-fg); }
.why-quote span { color: var(--deep-muted); }
.why-copy { display: grid; gap: 18px; color: var(--deep-muted); font-size: 18px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--deep-line); }
.fact { padding: 24px 20px 0 0; display: grid; gap: 6px; }
.fact b { font: 800 clamp(34px, 4vw, 52px)/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--blue); }
.fact:nth-child(2) b { color: var(--green); } .fact:nth-child(3) b { color: var(--amber); } .fact:nth-child(4) b { color: #FF7B98; }
.fact span { font-size: 15px; color: var(--deep-muted); }
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } .facts { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 8px; } }

/* platform tour */
.tour { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.tour-tabs { display: grid; gap: 4px; position: sticky; top: 92px; }
.tour-tab {
  display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 12px; text-align: left;
  font: 600 16px/1.2 var(--f-display); color: var(--ink-2); background: none; border: 0; padding: 10px 12px; border-radius: 14px; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.tour-tab .ti { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--muted); transition: inherit; }
.tour-tab .ti svg { width: 18px; height: 18px; }
.tour-tab:hover { background: var(--surface); color: var(--ink); }
.tour-tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.tour-tab[aria-selected="true"] .ti { background: var(--blue); border-color: var(--blue); color: #fff; }
.tour-tab .soon { font: 600 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--amber-ink); margin-left: 6px; }
.tour-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); min-width: 0; display: grid; gap: 22px; }
.tour-panel[hidden] { display: none !important; }
.tour-panel header { display: grid; gap: 10px; }
.tour-panel header p { color: var(--muted); max-width: 60ch; }
.tour-panel .who { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font: 600 12px/1 var(--f-body); letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.tag.buy { background: var(--blue-soft); color: var(--blue-ink); } .tag.sell { background: var(--green-soft); color: var(--green-ink); }
.tag.vendor { background: var(--amber-soft); color: var(--amber-ink); } .tag.pro { background: var(--coral-soft); color: var(--coral-ink); }
@media (max-width: 920px) {
  .tour { grid-template-columns: 1fr; }
  .tour-tabs { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: none; margin-inline: -18px; padding-inline: 18px; }
  .tour-tab { grid-template-columns: auto auto; white-space: nowrap; background: var(--surface); border: 1px solid var(--line); padding: 7px 14px 7px 7px; border-radius: 999px; font-size: 15px; }
  .tour-tab .ti { width: 28px; height: 28px; border-radius: 50%; }
}

/* mock UI inside the tour */
.mock { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--bg); padding: 16px; display: grid; gap: 10px; font-size: 15px; min-width: 0; overflow: hidden; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.mock-bar b { color: var(--ink); font: 600 14px var(--f-display); }
.row { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; min-width: 0; }
.row .grow { flex: 1; min-width: 0; }
.row .grow b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .grow span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .num { font: 600 15px var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.thumb { width: 52px; height: 40px; border-radius: 8px; flex: none; background: linear-gradient(135deg, var(--blue-soft), var(--green-soft)); display: grid; place-items: center; color: var(--blue-ink); }
.thumb svg { width: 20px; height: 20px; }
.pill { font: 600 12px/1 var(--f-body); padding: 6px 9px; border-radius: 999px; white-space: nowrap; background: var(--bg-2); color: var(--ink-2); }
.pill.ok { background: var(--green-soft); color: var(--green-ink); }
.pill.wait { background: var(--amber-soft); color: var(--amber-ink); }
.pill.live { background: var(--blue-soft); color: var(--blue-ink); }
.pill.warn { background: var(--coral-soft); color: var(--coral-ink); }
.check { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line); flex: none; display: grid; place-items: center; }
.check.on { background: var(--green); border-color: var(--green); color: #fff; }
.check svg { width: 14px; height: 14px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 12px var(--f-display); color: #fff; }
.steps-mini { display: grid; gap: 0; }
.ms { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 7px 0; position: relative; }
.ms i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); justify-self: center; z-index: 1; }
.ms.done i { background: var(--green); border-color: var(--green); }
.ms.now i { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.ms:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 22px; bottom: -8px; width: 2px; background: var(--line); }
.ms.done::after { background: var(--green); }
.ms span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms.now span { font-weight: 600; }
.bar { height: 8px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w, 50%); background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: inherit; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.bubble.me { justify-self: end; background: var(--blue); color: #fff; border-color: var(--blue); }
.bubble small { display: block; font-size: 12px; opacity: .75; margin-bottom: 2px; }
.calc { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.calc .row { flex-direction: column; align-items: flex-start; gap: 4px; }
.calc .row span { font-size: 13px; color: var(--muted); }
.calc .row b { font: 700 22px var(--f-display); font-variant-numeric: tabular-nums; }

/* loop / participants hub */
.loop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.loop-copy { display: grid; gap: 20px; }
.loop-list { display: grid; gap: 14px; margin: 8px 0 0; padding: 0; list-style: none; }
.loop-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--ink-2); }
.loop-list svg { width: 22px; height: 22px; color: var(--green-ink); margin-top: 2px; }
.hub { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; margin-inline: auto; }
.hub svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub svg.lines path { stroke: var(--muted); stroke-opacity: .45; stroke-width: 1.5; fill: none; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.hub svg.lines .pulse { stroke: var(--blue); stroke-opacity: 1; stroke-dasharray: 8 100; stroke-width: 3; stroke-linecap: round; animation: travel 3.6s linear infinite; }
@keyframes travel { from { stroke-dashoffset: 108; } to { stroke-dashoffset: 0; } }
.hub-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; text-align: center; padding: 10px; }
.hub-core img { width: 58%; margin: 0 auto 2px; }
.hub-core b { font: 700 15px var(--f-display); }
.hub-node { position: absolute; transform: translate(-50%, -50%); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; display: grid; gap: 2px; box-shadow: var(--shadow); font-size: 13px; color: var(--muted); white-space: nowrap; }
.hub-node b { font: 600 14px var(--f-display); color: var(--ink); }
.hub-node.mail { border-color: var(--green); }
.hub-node.mail em { font-style: normal; color: var(--green-ink); font-weight: 600; }
@media (max-width: 820px) { .loop { grid-template-columns: 1fr; } .hub-node { padding: 6px 9px; font-size: 12px; } .hub-node b { font-size: 13px; } }
@media (max-width: 520px) { .row .thumb { display: none; } .hub { width: 80%; } .hub-node { white-space: normal; width: max-content; max-width: 120px; } }

/* paths (how much help) */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.path { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; display: grid; gap: 14px; align-content: start; position: relative; }
.path .lvl { display: flex; gap: 5px; }
.path .lvl i { width: 26px; height: 6px; border-radius: 9px; background: var(--bg-2); }
.path .lvl i.on { background: var(--blue); }
.path h3 { font-size: 24px; }
.path p { color: var(--muted); }
.path ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.path li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.path li svg { width: 16px; height: 16px; margin-top: 4px; color: var(--green-ink); }
.path .pill { justify-self: start; }
.path-note { margin-top: 22px; color: var(--muted); font-size: 15px; text-align: center; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }

/* steps */
.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 36px; flex-wrap: wrap; }
.seg button { font: 600 15px/1 var(--f-display); border: 0; background: none; color: var(--muted); padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: background-color .15s, color .15s; }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.step { padding: 0 24px 0 0; display: grid; gap: 10px; align-content: start; position: relative; }
.step .n { font: 600 13px/1 var(--f-mono); color: var(--accent-ink); display: flex; align-items: center; gap: 10px; }
.step .n::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
.step h3 { font-size: 22px; margin-top: 6px; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* values */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; border-top: 1px solid var(--line); padding-top: 32px; }
.value h3 { font-size: 19px; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* waitlist */
.join { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.join-copy { display: grid; gap: 18px; }
.join-copy ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink-2); }
.join-copy li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.join-copy li svg { width: 20px; height: 20px; color: var(--accent-ink); margin-top: 3px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font: 600 14px/1.2 var(--f-body); color: var(--ink-2); padding: 0; }
.field .hint { font-size: 13px; color: var(--muted); font-weight: 400; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: 15px; cursor: pointer; transition: border-color .15s, background-color .15s; background: var(--surface); }
.chip span i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--blue)); }
.chip input:checked + span { border-color: var(--ink); background: var(--bg-2); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.input, .select {
  width: 100%; font: 400 16px/1.3 var(--f-body); color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 34ch; }
.form-error { color: var(--coral-ink); font-size: 14px; font-weight: 500; }
.success { display: grid; gap: 12px; justify-items: start; padding: 8px 0; }
.success .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.success .tick svg { width: 28px; height: 28px; }
.success p { color: var(--muted); }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } }

/* ── PERSONA PAGES ── */
.p-hero { position: relative; padding-block: 48px 72px; isolation: isolate; overflow: hidden; }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
.p-hero-copy { display: grid; gap: 22px; min-width: 0; }
.p-hero-art { position: relative; aspect-ratio: 1; max-width: 380px; width: 100%; justify-self: center; }
.p-hero-art .disc { position: absolute; inset: 6%; border-radius: 50%; background: var(--accent-soft); }
.p-hero-art .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--accent) 55%, transparent); animation: spin 40s linear infinite; }
.p-hero-art .ring::after { content: ""; position: absolute; top: 12%; left: 12%; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.p-hero-art img { position: absolute; left: 50%; top: 50%; width: 64%; transform: translate(-50%, -50%); animation: bob 5s ease-in-out infinite; }
:root[data-theme="dark"] .p-hero-art img, :root[data-theme="dark"] .hub-core img, :root[data-theme="dark"] .robot-fallback, :root[data-theme="dark"] .brand img { filter: invert(1) hue-rotate(180deg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .p-hero-art img, :root:not([data-theme="light"]) .hub-core img, :root:not([data-theme="light"]) .robot-fallback, :root:not([data-theme="light"]) .brand img { filter: invert(1) hue-rotate(180deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translate(-50%, -54%); } }
.p-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.p-switch a { font: 600 14px/1 var(--f-body); text-decoration: none; padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); display: inline-flex; gap: 8px; align-items: center; background: var(--surface); }
.p-switch a i { width: 8px; height: 8px; border-radius: 50%; }
.p-switch a[aria-current="page"] { color: var(--ink); border-color: var(--ink); }
@media (max-width: 820px) { .p-hero-grid { grid-template-columns: 1fr; } .p-hero-art { max-width: 240px; order: -1; } .p-hero { padding-block: 20px 48px; } }

.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feat { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; background: var(--surface); }
.feat .fi { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 6px; }
.feat .fi svg { width: 22px; height: 22px; }
.feat h3 { font-size: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.feat p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* milestone journey */
.journey { overflow-x: auto; padding-bottom: 10px; margin-inline: -24px; padding-inline: 24px; scrollbar-width: thin; }
.journey ol { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 12px; }
.journey li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; display: grid; gap: 8px; align-content: start; position: relative; min-height: 168px; }
.journey li .code { font: 500 12px/1 var(--f-mono); color: var(--accent-ink); display: flex; justify-content: space-between; }
.journey li b { font: 700 16px/1.2 var(--f-display); }
.journey li p { font-size: 13px; color: var(--muted); line-height: 1.45; }
.journey li .days { margin-top: auto; font: 500 12px/1 var(--f-mono); color: var(--muted); }
.journey li .days i { display: block; height: 4px; border-radius: 9px; background: var(--accent); width: var(--w); margin-top: 6px; opacity: .8; }
.journey-legend { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-top: 14px; }

/* vendor categories */
.cats { display: flex; flex-wrap: wrap; gap: 10px; }
.cats span { padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; }

/* product cards (pros) */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.product { border-radius: var(--r-l); padding: 30px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.product .pname { font: 900 30px/1 var(--f-display); letter-spacing: -.02em; }
.product .pname b { color: var(--coral-ink); }
.product.loan .pname b { color: var(--blue-ink); }
.product p { color: var(--muted); }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font: 600 18px/1.3 var(--f-display); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--f-body); color: var(--accent-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 66ch; }

/* footer */
.footer { border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer p { color: var(--muted); max-width: 36ch; margin-top: 12px; }
.footer h4 { font: 600 13px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer nav { display: grid; gap: 10px; }
.footer nav a { text-decoration: none; color: var(--ink-2); }
.footer nav a:hover { color: var(--blue-ink); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* reveal: visible at rest, only lifts in when JS opts in */
.js .reveal { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.js .reveal.pre { opacity: 0; transform: translateY(18px); }

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