@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poppins-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/poppins-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-700-latin.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }

:root {
  color-scheme: dark;
  --blue: #2C81F9;
  --cyan: #2BE1F8;
  --mint: #27F8DD;
  --ink: #F2F2F2;
  --body-c: #C9CDD3;
  --dim: #7C838F;
  --faint: #4A4F57;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --grad: linear-gradient(135deg, var(--cyan), var(--blue));
  --input-bg: #1A1A1A;
  --panel: #0A0C10;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; scrollbar-width: none }
html::-webkit-scrollbar { display: none }

/* Overlay scrollbar: the native one reserves a gutter nothing can paint
   under, so it is hidden and this thin bar rides over the page instead. */
.scrollbar {
  position: fixed; top: 4px; right: 3px; bottom: 4px; width: 8px;
  z-index: 60; opacity: 0; transition: opacity .35s ease;
  pointer-events: none;
}
.scrollbar.on, .scrollbar:hover { opacity: 1 }
.scrollbar.on { pointer-events: auto }
.scrollbar-thumb {
  position: absolute; left: 0; right: 0; top: 0; height: 40px;
  border-radius: 999px; background: rgba(255, 255, 255, .28);
  transition: background .2s;
}
.scrollbar-thumb:hover, .scrollbar.dragging .scrollbar-thumb { background: rgba(255, 255, 255, .5) }
@media (hover: none) { .scrollbar { display: none } }

body {
  background: #000;
  color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none }
a:hover { text-decoration: underline }

.inner { max-width: 1100px; margin: 0 auto; padding: 0 24px }
.inner.wide { max-width: 1240px }
section { scroll-margin-top: 72px }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- header ---------- */

header.site {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
header.site.scrolled {
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px }
.brand, .lockup {
  display: inline-flex; align-items: center; gap: 9px;
  color: #fff; font-size: 1.08rem; font-weight: 600; line-height: 1;
}
.brand:hover { text-decoration: none }
.brand-mark { width: 27px; height: 27px; display: block }
.lockup-foot { font-size: .94rem; opacity: .85 }
.lockup-foot .brand-mark { width: 23px; height: 23px }
header.site nav { display: flex; align-items: center; gap: 28px }
.nav-link { color: var(--body-c); font-size: .9rem; font-weight: 500; transition: color .2s }
.nav-link:hover { color: #fff; text-decoration: none }
.nav-cta {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px;
  border-radius: 10px; border: 1px solid rgba(43, 225, 248, .45);
  color: var(--cyan); font-size: .88rem; font-weight: 600;
  transition: background .2s, color .2s; white-space: nowrap;
}
.nav-cta:hover { background: rgba(43, 225, 248, .12); text-decoration: none }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 150px 0 40px;
  overflow: hidden;
}
#aurora { position: absolute; inset: 0; width: 100%; height: 100% }
.hero-inner { position: relative; text-align: center; width: 100% }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--dim); font-size: .85rem; font-weight: 500;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; margin-bottom: 30px;
  background: rgba(0, 0, 0, .35);
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 10px rgba(39, 248, 221, .8);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  white-space: nowrap;
  font-weight: 700; line-height: 1.06; letter-spacing: -.03em;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub {
  margin: 24px auto 0; max-width: 600px;
  font-size: clamp(1rem, 2vw, 1.12rem); color: var(--body-c);
}

.invite-form { margin-top: 36px }
.pill {
  display: flex; align-items: center; gap: 10px;
  max-width: 560px; margin: 0 auto; padding: 8px;
  background: var(--input-bg); border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.pill:focus-within {
  border-color: rgba(43, 225, 248, .5);
  box-shadow: 0 0 0 4px rgba(43, 225, 248, .08);
}
.pill input[type=email] {
  flex: 1; min-width: 0; height: 56px; padding: 0 18px;
  background: transparent; border: 0; outline: none;
  color: var(--ink); font-family: inherit; font-size: 1rem;
}
.pill input[type=email]::placeholder { color: var(--faint) }
.pill button {
  height: 56px; padding: 0 26px; border: 0; border-radius: 12px;
  background: var(--grad); color: #000;
  font-family: inherit; font-weight: 600; font-size: .95rem;
  cursor: pointer; white-space: nowrap;
  transition: filter .2s, opacity .2s;
}
.pill button:hover { filter: brightness(1.1) }
.pill button:disabled { opacity: .6; cursor: wait }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0 }

.invite-status { min-height: 1.6em; margin-top: 14px; font-size: .92rem; color: var(--dim) }
.invite-status.err { color: #ff8f8f }
.invite-status.ok { color: var(--mint); font-weight: 500; font-size: 1.02rem }

.trust {
  list-style: none;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px;
  margin-top: 26px;
  color: var(--dim); font-size: .82rem; font-weight: 500; letter-spacing: .01em;
}
.trust li { display: inline-flex; align-items: center; gap: 10px }
.trust li + li::before {
  content: ""; width: 3px; height: 3px; border-radius: 50%;
  background: var(--faint);
}

/* hero product panel */

.hero-product-wrap { position: relative; margin-top: 64px }

/* The panel is an opaque plane in front of the aurora: none of the glow
   passes through it. The canvas behind draws light shafts from a source
   behind the panel, so they only appear where they escape past its edges. */
.hero-product {
  position: relative; z-index: 1;
  padding: 22px 0 18px;
  border-radius: 22px;
  background: #06070a;
}
.product-bar {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0 32px 6px;
}
.product-balance {
  font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.02em;
  color: #fff;
}
.product-balance small { font-size: .55em; font-weight: 500; color: var(--dim); margin-left: 2px }
.product-window { color: var(--dim); font-size: .85rem; font-weight: 500 }
.chart-note { margin-top: 22px; text-align: center; color: var(--dim); font-size: .92rem }

/* ---------- sections ---------- */

section { padding: 120px 0 }
.kicker {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -.025em;
}
.lede { margin-top: 18px; max-width: 620px; color: var(--body-c); font-size: 1.02rem }

.section-head {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 64px;
  align-items: end;
}
.section-head .lede { margin-top: 0; padding-bottom: 6px }

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

/* ---------- forecast chart ---------- */

#forecast-chart { width: 100%; height: auto; display: block }
#forecast-chart .grid line { stroke: rgba(255, 255, 255, .1) }
#forecast-chart .grid line.faint { stroke: rgba(255, 255, 255, .045) }
#forecast-chart .today-line { stroke: rgba(255, 255, 255, .18); stroke-dasharray: 2 6 }
#forecast-chart .axis-label {
  fill: var(--faint); font-family: 'Poppins', sans-serif; font-size: 15px; text-anchor: middle;
}
#forecast-chart .today-label { fill: var(--dim) }
#forecast-chart .history {
  fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round;
}
#forecast-chart .median {
  fill: none; stroke: url(#line-grad); stroke-width: 3.5;
  stroke-linecap: round; stroke-dasharray: 1 10;
}
#forecast-chart .now-dot { fill: var(--cyan) }
#forecast-chart .now-ring { fill: none; stroke: rgba(43, 225, 248, .35); stroke-width: 2 }
#forecast-chart .band { opacity: 0; transition: opacity 1.6s ease .9s }
#forecast-chart .median { opacity: 0; transition: opacity 1.4s ease .7s }
#forecast-chart .now-dot, #forecast-chart .now-ring { opacity: 0; transition: opacity 1s ease .5s }
.chart-drawn #forecast-chart .band,
.chart-drawn #forecast-chart .median,
.chart-drawn #forecast-chart .now-dot,
.chart-drawn #forecast-chart .now-ring { opacity: 1 }
#forecast-chart .history { stroke-dasharray: 900; stroke-dashoffset: 900 }
.chart-drawn #forecast-chart .history { animation: draw 2s var(--ease) forwards }
@keyframes draw { to { stroke-dashoffset: 0 } }

/* ---------- hero headline: rotating epoch ---------- */

.epoch-wrap { white-space: nowrap }
.grad-wave {
  background: linear-gradient(90deg, #2BE1F8, #2C81F9, #27F8DD, #2BE1F8);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradwave 7s linear infinite;
}
@keyframes gradwave { to { background-position: 300% 0 } }

/* ---------- chart scrub demo ---------- */

#forecast-chart .scrub { transition: opacity .6s ease }
#forecast-chart .scrub-line { stroke: rgba(43, 225, 248, .35); stroke-width: 1.5 }
#forecast-chart .scrub-dot { fill: #fff }
#forecast-chart .scrub-bg { fill: rgba(10, 14, 18, .92); stroke: rgba(43, 225, 248, .35) }
#forecast-chart .scrub-date { fill: #fff; font-size: 13px; font-weight: 600; font-family: Poppins, sans-serif }
#forecast-chart .scrub-range { fill: var(--cyan); font-size: 13px; font-weight: 500; font-family: Poppins, sans-serif; font-variant-numeric: tabular-nums }
.product-balance { font-variant-numeric: tabular-nums }

/* ---------- one timeline: split + phone ---------- */

.timeline { border-top: 1px solid var(--line) }
.split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px 72px;
  align-items: center;
}
.split-visual { display: flex; justify-content: center; position: relative }
.split-visual::before {
  content: ""; position: absolute; inset: 10% 15%;
  background: radial-gradient(closest-side, rgba(44, 129, 249, .35), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
/* iPhone 16 Pro proportions: 19.5:9 screen, thin titanium rail, Dynamic Island,
   action + volume buttons on the left, side button on the right. */
.phone {
  position: relative;
  width: 292px; aspect-ratio: 9 / 19.5;
  border-radius: 52px;
  background: #0b0c0f;
  box-shadow:
    0 0 0 1.5px #3a3f48,
    0 0 0 3.5px #0c0d10,
    0 0 0 4.5px #262b33,
    0 50px 100px -40px rgba(0, 0, 0, .95);
  padding: 7px;
}
.phone::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 25px; border-radius: 999px; background: #000;
  z-index: 2;
}
.phone-btn {
  position: absolute; width: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #4a505a, #2a2f37);
}
.phone-btn.action { left: -8px; top: 98px; height: 22px }
.phone-btn.vol-up { left: -8px; top: 140px; height: 46px }
.phone-btn.vol-down { left: -8px; top: 196px; height: 46px }
.phone-btn.power { right: -8px; top: 164px; height: 72px; background: linear-gradient(270deg, #4a505a, #2a2f37) }
.phone-screen {
  height: 100%; border-radius: 45px; overflow: hidden;
  background: #000;
  display: flex; flex-direction: column;
}
.phone-status {
  display: flex; justify-content: space-between; padding: 16px 26px 0;
  font-size: .78rem; font-weight: 600; color: #fff;
}
.phone-status-icons { font-size: .5rem; letter-spacing: 2px; color: var(--dim); align-self: center }
.phone-header { padding: 34px 22px 6px; display: flex; flex-direction: column }
.phone-label { color: var(--dim); font-size: .72rem; font-weight: 500 }
.phone-balance { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: #fff }
.phone-balance small { font-size: .55em; color: var(--dim); font-weight: 500 }
.phone-date { color: var(--cyan); font-size: .74rem; font-weight: 600; margin-top: 2px }
.phone-chart { width: 100%; height: 150px; display: block; margin-top: 8px }
.phone-history { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round }
.phone-median { fill: none; stroke: url(#line-grad); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1 14 }
.phone-today { stroke: rgba(255, 255, 255, .22); stroke-width: 2; stroke-dasharray: 3 8 }
.phone-rows { list-style: none; padding: 10px 20px 0; flex: 1; border-top: 1px solid var(--line); margin-top: 10px }
.phone-rows li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 2px; border-bottom: 1px solid var(--line);
  font-size: .8rem; color: var(--body-c);
}
.phone-rows li:last-child { border-bottom: 0 }
.phone-screen::after {
  content: ""; display: block; height: 28px; flex: none;
  background: linear-gradient(180deg, transparent, #000);
  margin-top: -28px; position: relative;
}
.phone-rows em { font-style: normal; color: var(--dim); font-size: .68rem; margin-left: 6px }
.phone-amt { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums }
.phone-amt.pos { color: var(--mint) }

/* ---------- how it works ---------- */

.how { border-top: 1px solid var(--line) }
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px;
  margin-top: 64px;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px;
  background: linear-gradient(90deg, rgba(43, 225, 248, .5), rgba(44, 129, 249, .35) 50%, transparent);
}
.step { position: relative; padding-top: 54px }
.step-icon {
  position: absolute; top: 0; left: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #000; border: 1px solid var(--line-strong);
  color: var(--cyan);
}
.step-icon svg { width: 20px; height: 20px }
.step-num {
  display: block; color: var(--faint); font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; margin-bottom: 8px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}
.step h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; color: #fff; letter-spacing: -.01em }
.step p { color: var(--body-c); font-size: .95rem }

/* ---------- privacy ---------- */

.privacy-sec {
  border-top: 1px solid var(--line);
  background: radial-gradient(60% 50% at 50% 0%, rgba(44, 129, 249, .09), transparent 70%);
}
.big-claim {
  margin-top: 64px;
  font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  font-weight: 600; line-height: 1.2; letter-spacing: -.02em;
  max-width: 800px;
  background: linear-gradient(135deg, #fff 30%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fields {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 24px 0 0;
}
.fields li {
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--input-bg);
  color: var(--body-c); font-size: .9rem;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px;
  margin-top: 56px;
}
.facts > div { border-top: 1px solid var(--line-strong); padding-top: 22px }
.facts dt { color: #fff; font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; letter-spacing: -.01em }
.facts dd { color: var(--body-c); font-size: .95rem }
.privacy-sec .facts + .lede { margin-top: 44px }

/* ---------- closing ---------- */

.closing {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
  text-align: center;
}
#closing-aurora { position: absolute; inset: 0; width: 100%; height: 100% }
.closing-inner { position: relative }
.closing-inner .lede { margin-left: auto; margin-right: auto }
.closing .invite-form { margin-top: 32px }

/* ---------- footer ---------- */

footer.site { border-top: 1px solid var(--line); padding: 48px 0 56px }
.footer-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.footer-tagline { color: var(--dim); font-size: .86rem; margin-top: 10px }
.footer-links { display: flex; gap: 26px; padding-top: 4px }
.footer-links a { color: var(--dim); font-size: .88rem }
.footer-links a:hover { color: var(--ink); text-decoration: none }
.footer-meta { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line) }
.disclosure { color: var(--faint); font-size: .8rem; max-width: 640px }
.copyright { color: var(--faint); font-size: .8rem; margin-top: 10px }

/* ---------- shared page styles (privacy, plaid) ---------- */

.page-main { padding: 150px 24px 60px }
.page-title h1 { font-size: clamp(1.9rem, 4vw, 2.4rem); font-weight: 700; letter-spacing: -.02em }
.page-title .meta { color: var(--dim); font-size: .88rem; margin-top: 10px }
.rule { height: 3px; width: 120px; background: var(--grad); border-radius: 2px; margin: 26px 0 8px }
.prose { max-width: 760px; margin: 0 auto }
.prose h2 { font-size: 1.25rem; font-weight: 600; margin: 44px 0 12px; color: #fff; letter-spacing: -.01em }
.prose p, .prose li { color: var(--body-c); font-size: .97rem; margin-bottom: 12px }
.prose ul { padding-left: 22px; margin-bottom: 12px }
.prose strong { color: var(--ink) }
.callout {
  border: 1px solid var(--line); border-left: 4px solid;
  border-radius: 12px; padding: 18px 20px; margin: 22px 0; background: var(--input-bg);
}
.callout p { margin: 0; color: #E6E9ED }
.callout .t { font-weight: 600; margin-bottom: 6px; color: #fff; font-size: .95rem }
.callout.danger { border-left-color: #E05252 }
.callout.success { border-left-color: #2F9E5F }
.center-page {
  min-height: 62vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 140px 20px 60px;
}
.center-page h1 { font-size: 1.9rem; font-weight: 700 }
.center-page p { color: var(--body-c); margin-top: 8px }
.center-rule { margin: 22px auto 14px }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 48px }
  .split-visual { order: -1 }
  .section-head { grid-template-columns: 1fr; gap: 12px; align-items: start }
  .section-head .lede { margin-top: 6px }
}

@media (max-width: 760px) {
  .hero h1 { white-space: normal; font-size: clamp(2.3rem, 9.5vw, 3rem) }
  .hero h1 .float-line:first-child { display: block }
  .hero h1 .epoch-wrap { display: inline-block; min-width: .6ch }
  .steps { grid-template-columns: 1fr; gap: 40px }
  .steps::before { display: none }
  .step { padding-top: 0; padding-left: 62px }
  .facts { grid-template-columns: 1fr; gap: 28px }
  .product-bar { padding: 0 16px 4px }
  .hero-product { padding: 16px 0 4px }
  section { padding: 84px 0 }
}

@media (max-width: 640px) {
  .header-row { height: 60px; padding-inline: 16px }
  .brand { gap: 7px; font-size: .95rem }
  .brand .brand-mark { width: 24px; height: 24px }
  .lockup { height: 18px }
  .nav-link { display: none }
  .nav-cta { height: 36px; padding: 0 12px; font-size: .78rem }
  .hero { padding-top: 118px }
  .hero-inner { padding-inline: 16px }
  .sub-full { display: none }
  .invite-form { margin-top: 28px }
  .pill { flex-direction: column; align-items: stretch; padding: 8px; gap: 6px; border-radius: 18px }
  .pill input[type=email] { height: 64px; padding: 4px 16px }
  .pill button { width: 100% }
  .phone { width: 270px }
  .trust { gap: 6px 18px; font-size: .78rem }
  .trust li + li::before { display: none }
  .hero-product-wrap { margin-top: 44px }
  #forecast-chart .axis-label { font-size: 22px }
  .phone { width: 260px }
  .footer-links { flex-wrap: wrap; gap: 14px 22px }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .reveal { opacity: 1; transform: none; transition: none }
  .grad-wave { animation: none }
  #forecast-chart .scrub { display: none }
  #forecast-chart .history { stroke-dasharray: none; stroke-dashoffset: 0 }
  .chart-drawn #forecast-chart .history { animation: none }
  #forecast-chart .band, #forecast-chart .median,
  #forecast-chart .now-dot, #forecast-chart .now-ring { opacity: 1; transition: none }
}
