/* ============================================================================
   Ralphy — getralphy.app
   Warm, editorial, premium. Pure static CSS — no build step.
   Shared by index.html, /privacy/, /terms/, and /plaid/oauth/.
   ========================================================================== */

:root {
  /* Palette — warm editorial system */
  --cream:        #f4f1e8;
  --cream-deep:   #ece7d8;
  --surface:      #fbf9f2;
  --card:         #ffffff;
  --ink:          #221f1a;
  --ink-soft:     #3a352d;
  --muted:        #6b6459;
  --caramel:      #b8772f;
  --caramel-deep: #9a5f22;
  --caramel-tint: #d99a4e;
  --soft:         rgba(184, 119, 47, 0.12);
  --soft-2:       rgba(184, 119, 47, 0.20);
  --hairline:     rgba(34, 31, 26, 0.10);
  --hairline-2:   rgba(34, 31, 26, 0.06);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(34, 31, 26, 0.06), 0 4px 12px -6px rgba(34, 31, 26, 0.12);
  --shadow:    0 18px 48px -24px rgba(34, 31, 26, 0.28);
  --shadow-lg: 0 50px 90px -40px rgba(34, 31, 26, 0.5);

  /* Shape & rhythm */
  --radius:    20px;
  --radius-sm: 14px;
  --maxw:      1120px;
}

/* ---- Reset & base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px; /* offset sticky header for anchor jumps */
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 620px at 78% -8%, rgba(184, 119, 47, 0.10), transparent 60%),
    radial-gradient(900px 560px at -10% 4%, rgba(184, 119, 47, 0.06), transparent 55%),
    var(--cream);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }

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

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--caramel);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; width: 100%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--caramel-deep);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--caramel);
  border-radius: 2px;
}
.eyebrow.center { justify-content: center; }

.accent { color: var(--caramel); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 12px 26px -14px rgba(34, 31, 26, 0.6);
}
.btn-primary:hover { background: #2e2a23; box-shadow: 0 16px 32px -14px rgba(34, 31, 26, 0.7); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { background: var(--surface); }

/* ---- Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  background: rgba(244, 241, 232, 0.78);
  border-bottom: 1px solid var(--hairline-2);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 2px 8px -2px rgba(34, 31, 26, 0.28);
}
.brand:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; background: var(--soft); }
.nav-links .nav-cta {
  margin-left: 6px;
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.nav-links .nav-cta:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---- Hero ------------------------------------------------------------------ */
.hero { padding: 76px 0 72px; overflow: hidden; }
.hero-split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(40px, 6vw, 66px);
  margin: 18px 0 0;
  letter-spacing: -0.025em;
}
.hero .lede {
  font-size: clamp(17px, 2.1vw, 20.5px);
  color: var(--muted);
  margin-top: 20px;
  max-width: 500px;
}

/* Pill (coming soon / availability) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.pill .glow {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--caramel);
  box-shadow: 0 0 0 4px var(--soft);
}

/* Waitlist form */
.waitlist {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.waitlist .field { flex: 1 1 220px; min-width: 0; position: relative; }
.waitlist input[type="email"] {
  width: 100%;
  padding: 15px 18px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color .14s ease, box-shadow .14s ease;
}
.waitlist input::placeholder { color: #a39b8d; }
.waitlist input:focus {
  outline: none;
  border-color: var(--caramel);
  box-shadow: 0 0 0 3px var(--soft), var(--shadow-sm);
}
.waitlist button { white-space: nowrap; flex: 0 0 auto; }
.waitlist button:disabled { opacity: .6; cursor: progress; transform: none; }
.waitlist-msg {
  font-size: 14.5px;
  margin-top: 13px;
  min-height: 20px;
  font-weight: 500;
  color: var(--caramel-deep);
}
.waitlist-msg.is-error { color: #b4452f; }
.waitlist-msg.is-success { color: var(--caramel-deep); }
.hero .micro {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero .micro svg { flex: none; color: var(--caramel-deep); }

/* ---- Hero art: iPhone mockup ---------------------------------------------- */
.hero-art {
  display: grid;
  place-items: center;
  position: relative;
}
.hero-art::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 119, 47, 0.18), transparent 68%);
  filter: blur(8px);
  z-index: 0;
}

.device {
  position: relative;
  z-index: 1;
  width: 300px;
  aspect-ratio: 9 / 19.3;
  background: linear-gradient(155deg, #312d27 0%, #1b1812 55%, #100e09 100%);
  border-radius: 48px;
  padding: 13px;
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.08),
    inset 0 0 0 6px rgba(0, 0, 0, 0.4);
}
.device::after { /* side button hint */
  content: "";
  position: absolute;
  right: -2px;
  top: 150px;
  width: 3px;
  height: 56px;
  border-radius: 2px;
  background: linear-gradient(#3a352d, #1b1812);
}
.device .screen {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(184, 119, 47, 0.08), transparent 60%),
    var(--surface);
  border-radius: 36px;
  overflow: hidden;
  padding: 34px 17px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.device .island {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 24px;
  background: #0c0a07;
  border-radius: 999px;
  z-index: 2;
}

/* Greeting row */
.m-greet { display: flex; align-items: center; gap: 9px; }
.m-greet .ava {
  width: 28px; height: 28px;
  border-radius: 9px;
  background: var(--card);
  border: 1px solid var(--hairline);
  display: grid; place-items: center;
  flex: none;
  overflow: hidden;
}
.m-greet .ava img { width: 100%; height: 100%; object-fit: cover; }
.m-greet .txt { line-height: 1.25; }
.m-greet .hi { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.m-greet .sub { display: block; font-size: 10px; color: var(--muted); }

/* Hero balance card */
.m-hero {
  background: linear-gradient(155deg, #2a2620, var(--ink));
  color: var(--cream);
  border-radius: 18px;
  padding: 16px 16px 15px;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.7);
}
.m-hero .lbl {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.66;
  font-weight: 600;
}
.m-hero .amt {
  font-family: "Fraunces", serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 3px 0 13px;
  line-height: 1;
}
.m-hero .amt small { font-size: 18px; opacity: 0.7; font-weight: 500; }
.m-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(244, 241, 232, 0.18);
  overflow: hidden;
}
.m-bar > i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--caramel-tint), var(--cream));
}
.m-hero .cap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  opacity: 0.78;
  margin-top: 9px;
}
.m-hero .cap .ok {
  width: 6px; height: 6px; border-radius: 50%;
  background: #8fce9a;
  flex: none;
}

/* Section label inside phone */
.m-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin: 1px 2px -3px;
}
.m-label a { color: var(--caramel-deep); text-transform: none; letter-spacing: 0; }

/* Category rows */
.m-rows {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.m-row { display: flex; align-items: center; gap: 11px; }
.m-row .ic {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--soft);
  color: var(--caramel-deep);
  display: grid; place-items: center;
  flex: none;
}
.m-row .ic svg { width: 16px; height: 16px; }
.m-row .meat { flex: 1; min-width: 0; }
.m-row .meat .top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}
.m-row .meat .top .sub { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.m-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(34, 31, 26, 0.09);
  margin-top: 6px;
  overflow: hidden;
}
.m-track > i { display: block; height: 100%; border-radius: 999px; background: var(--caramel); }
.m-track > i.hot { background: var(--caramel-deep); }
.m-track > i.cool { background: var(--caramel-tint); }

/* Floating chip accents around the phone */
.chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.chip .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.chip .dot.green { background: #8fce9a; }
.chip .dot.caramel { background: var(--caramel); }
/* Positioned relative to .device (the phone), so they frame its content. */
.chip-1 { top: 92px; left: -30px; }
.chip-2 { top: 300px; right: -26px; }

/* ---- Logo strip / trust ---------------------------------------------------- */
.trust-strip {
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
  background: rgba(251, 249, 242, 0.6);
}
.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  align-items: center;
  justify-content: center;
  padding-top: 22px;
  padding-bottom: 22px;
  color: var(--muted);
  font-size: 14.5px;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 9px; }
.trust-strip svg { color: var(--caramel-deep); flex: none; }
.trust-strip b { color: var(--ink); font-weight: 600; }

/* ---- Bands & section heads ------------------------------------------------- */
section.band { padding: 84px 0; }
section.band.alt {
  background: var(--surface);
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
}
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4.2vw, 42px); margin: 14px 0 0; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }

/* ---- How it works ---------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
.step {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.step .num {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
  display: grid; place-items: center;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 18px;
}
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---- Features grid --------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ic {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--caramel-deep);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 21px; margin-bottom: 9px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* ---- FAQ ------------------------------------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--card);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq details[open] { border-color: var(--soft-2); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid var(--caramel-deep);
  border-bottom: 2px solid var(--caramel-deep);
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-top: -3px;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.faq .ans { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }
.faq .ans a { font-weight: 600; }

/* ---- Final CTA ------------------------------------------------------------- */
.cta-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(160deg, #2a2620, var(--ink));
  color: var(--cream);
  border-radius: 28px;
  padding: 56px 36px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(620px 280px at 50% -30%, rgba(184, 119, 47, 0.28), transparent 70%);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card .eyebrow { color: var(--caramel-tint); }
.cta-card .eyebrow::before { background: var(--caramel-tint); }
.cta-card h2 { color: var(--cream); font-size: clamp(28px, 4.2vw, 40px); margin: 14px 0 0; }
.cta-card p { color: rgba(244, 241, 232, 0.72); margin: 14px auto 0; max-width: 440px; }
.cta-card .waitlist { margin: 26px auto 0; justify-content: center; }
.cta-card .waitlist input[type="email"] {
  background: rgba(244, 241, 232, 0.08);
  border-color: rgba(244, 241, 232, 0.2);
  color: var(--cream);
  box-shadow: none;
}
.cta-card .waitlist input::placeholder { color: rgba(244, 241, 232, 0.5); }
.cta-card .waitlist input:focus {
  border-color: var(--caramel-tint);
  box-shadow: 0 0 0 3px rgba(184, 119, 47, 0.3);
}
.cta-card .btn-primary {
  background: var(--cream);
  color: var(--ink);
}
.cta-card .btn-primary:hover { background: #fff; }
.cta-card .waitlist-msg { color: var(--caramel-tint); }
.cta-card .waitlist-msg.is-error { color: #f0a58e; }

/* ---- Footer ---------------------------------------------------------------- */
.site-footer {
  padding: 56px 0 64px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 14.5px;
}
.site-footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-content: space-between;
  align-items: center;
}
.site-footer .brand img { width: 30px; height: 30px; }
.site-footer .brand { font-size: 18px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-fine {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-2);
  font-size: 13px;
  opacity: 0.85;
  max-width: 640px;
}

/* ============================================================================
   Shared pages — DO NOT REMOVE (used by /privacy/, /terms/, /plaid/oauth/)
   ========================================================================== */

/* Legal / doc pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.doc .disclaimer {
  background: var(--soft);
  border: 1px solid rgba(184, 119, 47, 0.25);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--caramel-deep);
  margin: 22px 0 34px;
}
.doc h2 { font-size: 24px; margin: 38px 0 10px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.back { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; margin-bottom: 30px; }

/* Centered minimal (oauth) */
.center-screen { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.center-screen .logo { width: 86px; height: 86px; border-radius: 22px; box-shadow: var(--shadow); margin-bottom: 22px; }
.center-screen h1 { font-size: 30px; margin-bottom: 10px; }
.center-screen p { color: var(--muted); max-width: 400px; margin: 0 auto; }
.spinner {
  width: 26px; height: 26px;
  border: 3px solid var(--soft);
  border-top-color: var(--caramel);
  border-radius: 50%;
  margin: 26px auto 0;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================================
   Animation
   ========================================================================== */
@keyframes heroIn  { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes artIn   { from { opacity: 0; transform: translateY(26px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes floatY  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes floatA  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes floatB  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Hero entrance — staggered fade-up of the copy, then the phone */
.hero-copy > * { animation: heroIn .7s cubic-bezier(.2, .8, .2, 1) both; }
.hero-copy > *:nth-child(1) { animation-delay: .04s; }
.hero-copy > *:nth-child(2) { animation-delay: .10s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .22s; }
.hero-copy > *:nth-child(5) { animation-delay: .28s; }
.hero-copy > *:nth-child(6) { animation-delay: .34s; }
.hero-art { animation: artIn .85s cubic-bezier(.2, .8, .2, 1) both; animation-delay: .18s; }

/* Gentle, continuous float — phone and chips drift on offset cycles */
.device { animation: floatY 7s ease-in-out infinite; }
.chip-1 { animation: floatA 5.5s ease-in-out infinite; }
.chip-2 { animation: floatB 6.5s ease-in-out infinite .4s; }

/* Progress bars fill in after the phone settles */
.m-bar > i, .m-track > i { transform-origin: left center; animation: barGrow 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.m-bar > i { animation-delay: .55s; }
.m-rows .m-row:nth-child(1) .m-track > i { animation-delay: .66s; }
.m-rows .m-row:nth-child(2) .m-track > i { animation-delay: .78s; }
.m-rows .m-row:nth-child(3) .m-track > i { animation-delay: .90s; }

/* Scroll reveal (progressive — only active when JS is present) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .steps .step:nth-child(2),
.js .grid .feature:nth-child(2) { transition-delay: .08s; }
.js .steps .step:nth-child(3),
.js .grid .feature:nth-child(3) { transition-delay: .16s; }
.js .grid .feature:nth-child(4) { transition-delay: .24s; }
.js .faq details:nth-child(2) { transition-delay: .05s; }
.js .faq details:nth-child(3) { transition-delay: .10s; }
.js .faq details:nth-child(4) { transition-delay: .15s; }
.js .faq details:nth-child(5) { transition-delay: .20s; }

/* ============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 940px) {
  .hero-split { grid-template-columns: 1fr; gap: 52px; text-align: center; }
  .hero-copy { max-width: 620px; margin: 0 auto; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .waitlist { margin-left: auto; margin-right: auto; justify-content: center; }
  .hero .micro { justify-content: center; }
  .eyebrow { justify-content: center; }
  .steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .grid { grid-template-columns: 1fr; }
  section.band { padding: 64px 0; }
  .hero { padding: 56px 0 60px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .device { width: 268px; }
  .chip-1 { top: 86px; left: -14px; }
  .chip-2 { top: 270px; right: -12px; }
  .cta-card { padding: 44px 24px; border-radius: 22px; }
  .site-footer .footer-top { justify-content: center; text-align: center; }
}

@media (max-width: 380px) {
  .device { width: 244px; }
  .chip { display: none; } /* avoid overflow on the smallest screens */
}

/* ---- Motion preferences ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  /* Never leave reveal content hidden when motion is suppressed. */
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
