/* Axis landing — shared stylesheet for the marketing pages (/, /features,
 * /how-it-works, /finance, /nova, /security, /pricing, /faq).
 * Referenced by absolute URL: Vite's base=/app/ rewrites root-relative hrefs,
 * and /app/landing/styles.css falls through to the SPA rewrite and returns HTML.
 */
/* ============================================================
   AXIS landing — design tokens (mirrors src/index.css light theme)
   ============================================================ */
:root {
  --app-bg: #f4f4f6;
  --card: #ffffff;
  --well: #f6f6f8;
  --well-2: #ececf1;
  --divider: #f0f0f3;
  --rail-border: #ebebef;
  --border-soft: #e7e7ec;
  --border: #e4e4e9;
  --line: #dcdce1;
  --line-strong: #d4d4d8;
  --ghost: #c2c2cb;
  --faint: #b0b0ba;
  --muted-soft: #9f9fa9;
  --muted-2: #82828c;
  --muted: #71717a;
  --text-2: #52525b;
  --ink-3: #3f3f46;
  --ink-2: #27272a;
  --ink: #18181b;
  --glass: rgba(255,255,255,0.86);
  --hover-wash: rgba(24,24,27,0.05);

  --accent: #6366f1;
  --accent-strong: #4f46e5;
  --accent-deep: #4338ca;
  --accent-border: #c7d2fe;
  --accent-bg: #e0e7ff;
  --accent-soft: #eef2ff;

  --success: #059669;
  --success-mid: #34d399;
  --success-bg: #ecfdf5;
  --warning: #d97706;
  --warning-bg: #fef3c7;
  --warning-border: #fde68a;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  --info: #2563eb;
  --info-bg: #eff6ff;
  --violet: #7c3aed;
  --violet-bg: #ede9fe;
  --teal: #0d9488;
  --teal-bg: #f0fdfa;

  /* domain palette used by the app's default domains */
  --dom-work: #059669;      --dom-work-bg: #ecfdf5;
  --dom-side: #d97706;      --dom-side-bg: #fef3c7;
  --dom-school: #6366f1;    --dom-school-bg: #e0e7ff;
  --dom-personal: #2563eb;  --dom-personal-bg: #eff6ff;

  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --shadow-card: 0 1px 2px rgba(16,16,20,0.04);
  --shadow-shell: 0 1px 2px rgba(16,16,20,0.04), 0 12px 32px -16px rgba(16,16,20,0.12);
  --shadow-float: 0 2px 6px rgba(24,24,27,0.06), 0 30px 60px -30px rgba(24,24,27,0.35);
  --shadow-btn: 0 5px 14px rgba(99,102,241,0.22);

  --wrap: 1160px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--ink);
  background: var(--card);
  line-height: 1.5;
  font-size: 16px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(99,102,241,0.25); }
:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; border-radius: 6px; }
.band--ink :focus-visible, .final__box :focus-visible { outline-color: #a5b4fc; }
.skip-link { position: absolute; left: 8px; top: -100px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.skip-link:focus { top: 8px; }
.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; }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.band { background: var(--app-bg); }
.band--ink { background: var(--ink); color: #f0f0f2; }
.sect-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.sect-head--left { margin: 0 0 40px; text-align: left; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 14px;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--light { color: #a5b4fc; }
.h-display { font-size: clamp(36px, 4.5vw, 58px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.h-section { font-size: clamp(28px, 3.7vw, 44px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; }
.h-card { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.55; color: var(--text-2); }
.sect-head .lead { margin-top: 16px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.grad { background: linear-gradient(90deg, var(--accent-deep), var(--accent) 60%, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 12px; font-size: 14px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(16,16,20,.08); }
.btn--primary:hover { background: var(--ink-2); box-shadow: 0 8px 20px -8px rgba(16,16,20,.45); }
.btn--ghost { background: var(--card); color: var(--ink); border-color: var(--border-soft); }
.btn--ghost:hover { border-color: var(--line-strong); background: var(--well); }
.btn--sm { height: 38px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f4f4f6; }
.btn--outline-light { background: transparent; color: #f0f0f2; border-color: rgba(255,255,255,.22); }
.btn--outline-light:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* App Store badge: Apple's artwork, unmodified. Apple requires 40px+ height onscreen and
   clear space of 1/4 the badge height (11.5px here = the 10px CTA gap + this 2px margin). */
.store-badge { display: inline-flex; margin: 2px; border-radius: 8px; }
.store-badge img { display: block; height: 46px; width: auto; }
/* `.final p { margin: 0 auto }` outranks .final__trust's margin-top, so that line sits flush
   under the CTA row; the badge brings its own bottom clear space. */
.final__ctas .store-badge { margin-bottom: 12px; }

/* ---------- reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 70ms; }
.reveal[data-d="2"] { transition-delay: 140ms; }
.reveal[data-d="3"] { transition-delay: 210ms; }
.reveal[data-d="4"] { transition-delay: 280ms; }
.reveal[data-d="5"] { transition-delay: 350ms; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100; height: 64px;
  background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--rail-border); background: rgba(255,255,255,.92); }
.nav__inner { height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand__mark { width: 26px; height: 26px; object-fit: contain; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav__links a { white-space: nowrap; padding: 8px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.nav__links a:hover { background: var(--hover-wash); color: var(--ink); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__login { padding: 8px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.nav__login:hover { background: var(--hover-wash); color: var(--ink); }
.nav__toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--border-soft); border-radius: 10px;
  background: var(--card); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav__toggle span { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  display: none; position: absolute; top: 64px; left: 0; right: 0; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--card); border-bottom: 1px solid var(--border); padding: 12px 24px 20px;
  box-shadow: 0 24px 40px -24px rgba(16,16,20,.25);
}
.mobile-menu.is-open { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { padding: 12px 10px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.mobile-menu a:hover { background: var(--hover-wash); }
.mobile-menu .btn { margin-top: 10px; }
body.menu-open { overflow: hidden; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: 64px 0 88px; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, var(--line) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
.hero__copy { max-width: 560px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 8px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--accent-border); color: var(--accent-deep);
  font-size: 12.5px; font-weight: 600;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(99,102,241,.15); }
.hero h1 { margin: 22px 0 20px; }
.hero .lead { max-width: 520px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 14px; height: 14px; color: var(--success); }

/* mockup stage */
.stage { position: relative; }
.stage > .frame { margin: 0 20px 0 24px; }
.stage__glow {
  position: absolute; inset: -12% -8% -8% -8%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 55% at 60% 40%, rgba(99,102,241,.22), transparent 70%),
    radial-gradient(ellipse 45% 40% at 20% 80%, rgba(139,92,246,.14), transparent 70%);
  filter: blur(6px);
}
.frame {
  position: relative; z-index: 1; background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow-float); overflow: hidden;
}
.frame__bar {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px;
  background: var(--well); border-bottom: 1px solid var(--rail-border);
}
.frame__dots { display: flex; gap: 6px; }
.frame__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.frame__url {
  margin: 0 auto; height: 24px; min-width: 0; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--border-soft); border-radius: 7px;
  font-family: var(--mono); font-size: 10.5px; color: var(--muted);
}
.frame__url svg { width: 10px; height: 10px; color: var(--success); flex: none; }

/* app shell inside a frame */
.app { display: grid; grid-template-columns: 136px minmax(0, 1fr); font-size: 12px; }
.rail { background: var(--well); border-right: 1px solid var(--rail-border); padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; }
.rail__brand { display: flex; align-items: center; gap: 7px; padding: 0 6px 12px; font-weight: 800; font-size: 14px; letter-spacing: -0.02em; }
.rail__brand img { width: 18px; height: 18px; }
.rail__item { display: flex; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 8px; font-size: 11.5px; font-weight: 600; color: var(--text-2); }
.rail__item svg { width: 12px; height: 12px; opacity: .62; }
.rail__item.active { background: var(--ink); color: #fff; font-weight: 700; }
.rail__item.active svg { opacity: 1; }
.rail__sep { height: 1px; background: var(--border); margin: 8px 6px; }
.rail__label { font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 2px 6px 4px; }
.rail__dom { display: flex; align-items: center; gap: 7px; padding: 4px 8px; font-size: 11px; color: var(--text-2); }
.rail__dom i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; }
.main { display: flex; flex-direction: column; min-width: 0; }
.topbar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--rail-border); background: var(--glass); }
.topbar h4 { font-size: 13px; font-weight: 800; letter-spacing: -0.02em; }
.search { margin-left: auto; display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; width: 168px; border: 1px solid var(--border-soft); border-radius: 8px; background: var(--card); color: var(--muted-soft); font-size: 10.5px; }
.search svg { width: 11px; height: 11px; }
.search .kbd { margin-left: auto; font-family: var(--mono); font-size: 9px; background: var(--divider); border-radius: 4px; padding: 1px 5px; color: var(--muted); }
.avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #a78bfa); }
.content { padding: 12px; display: flex; flex-direction: column; gap: 10px; background: var(--app-bg); flex: 1; }
.kicker { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-soft); }
.greet { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 11px 12px; box-shadow: var(--shadow-card); }
.card__hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.card__hd .link { font-family: var(--mono); font-size: 9.5px; color: var(--info); font-weight: 600; }
.card__sub { font-size: 10.5px; color: var(--muted); margin-top: -2px; margin-bottom: 4px; }
.row { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid var(--divider); }
.row:first-of-type { border-top: 0; }
.num { width: 20px; height: 20px; border-radius: 7px; background: var(--well); font-family: var(--mono); font-size: 9.5px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.chk { width: 18px; height: 18px; border-radius: 6px; border: 1.8px solid var(--line-strong); flex: none; position: relative; }
.chk.done { background: var(--success); border-color: var(--success); }
.chk.done::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.chk--sm { width: 15px; height: 15px; border-radius: 5px; }
.chk--sm.done::after { left: 4px; top: 1px; width: 3px; height: 7px; }
.ttl { font-size: 12px; font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ttl.done { text-decoration: line-through; color: var(--muted-soft); font-weight: 600; }
.dp { display: inline-flex; align-items: center; height: 18px; padding: 0 8px; border-radius: 999px; font-size: 9.5px; font-weight: 700; flex: none; }
.dp--work { background: var(--dom-work-bg); color: var(--dom-work); }
.dp--side { background: var(--dom-side-bg); color: var(--dom-side); }
.dp--school { background: var(--dom-school-bg); color: var(--dom-school); }
.dp--personal { background: var(--dom-personal-bg); color: var(--dom-personal); }
.pri { font-size: 9px; color: var(--muted-soft); }
.card--danger { background: var(--danger-bg); border-color: var(--danger-border); }
.card--danger .kicker { color: #b91c1c; font-weight: 700; }
.card--danger .row { border-top-color: var(--danger-border); }
.card--danger .due { font-size: 10px; color: #b91c1c; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.btn-mini { height: 22px; padding: 0 8px; border-radius: 7px; border: 1px solid var(--danger-border); background: transparent; color: #b91c1c; font-size: 10px; font-weight: 600; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cal-day { display: flex; align-items: baseline; gap: 6px; font-size: 10.5px; font-weight: 700; color: var(--info); margin: 6px 0 2px; }
.cal-day .d { font-family: var(--mono); font-weight: 500; color: var(--muted-soft); font-size: 9.5px; }
.ev { display: flex; align-items: center; gap: 7px; padding: 4px 0; font-size: 11px; }
.ev .t { font-family: var(--mono); font-size: 9.5px; color: var(--muted); width: 36px; flex: none; }
.ev .bar { width: 3px; height: 14px; border-radius: 2px; flex: none; }
.ev .n { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.streak { font-family: var(--mono); font-size: 9.5px; font-weight: 700; color: var(--success); }
.rt { display: flex; align-items: center; gap: 7px; padding: 5px 0; font-size: 11px; font-weight: 600; }
.rt .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt .meta { font-family: var(--mono); font-size: 8.5px; color: var(--muted-soft); font-weight: 500; margin-left: auto; }
.rt .sb { font-family: var(--mono); font-size: 9.5px; color: var(--accent); font-weight: 700; margin-left: auto; }
.grp { font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--warning); margin: 6px 0 2px; }
.coach { display: flex; gap: 8px; align-items: flex-start; padding: 8px 9px; border-radius: 9px; background: var(--accent-bg); border: 1px solid rgba(99,102,241,.25); font-size: 10.5px; }
.coach b { color: var(--accent); font-size: 12px; line-height: 1; }
.big { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; font-family: var(--mono); }
.track { height: 5px; border-radius: 999px; background: var(--well-2); overflow: hidden; margin-top: 6px; }
.track > i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.app .content { padding-bottom: 66px; }
.fab { position: absolute; right: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 22px -6px rgba(24,24,27,.55), 0 2px 6px rgba(24,24,27,.25); }
.fab--nova { bottom: 54px; background: var(--ink); }
.fab--add { bottom: 14px; background: var(--accent); font-size: 18px; font-weight: 700; }
.fab svg { width: 14px; height: 14px; }

/* floating satellite chips around the hero frame */
.sat {
  position: absolute; z-index: 2; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-float); padding: 9px 12px; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 9px; white-space: nowrap;
}
.sat--nova { left: -10px; bottom: 60px; padding: 9px 12px 9px 9px; }
.sat--nova .nv { width: 22px; height: 22px; border-radius: 7px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; }
.sat--streak { right: -10px; top: 50px; }
.sat--streak b { font-family: var(--mono); color: var(--success); }
.sat--nw { right: -6px; bottom: 150px; }
.sat--nw b { font-family: var(--mono); color: var(--success); }
.sat--nw small { color: var(--muted); font-weight: 500; font-family: var(--mono); font-size: 10.5px; }
@media (prefers-reduced-motion: no-preference) {
  .sat { animation: floaty 7s ease-in-out infinite; }
  .sat--streak { animation-delay: -2.4s; }
  .sat--nw { animation-delay: -4.6s; }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ============================================================
   CAPABILITY STRIP
   ============================================================ */
.strip { border-top: 1px solid var(--rail-border); border-bottom: 1px solid var(--rail-border); background: var(--card); }
.strip__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 34px; padding: 22px 0; }
.strip__item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.strip__item b { font-family: var(--mono); font-weight: 700; color: var(--ink); }
.strip__item svg { width: 15px; height: 15px; color: var(--muted-soft); }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.problem__item { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-card); }
.problem__num { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.problem__item h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.problem__item p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px 22px 0; box-shadow: var(--shadow-card); display: flex; flex-direction: column; overflow: hidden; }
.step__n { width: 28px; height: 28px; border-radius: 9px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.55; min-height: 62px; }
.step__art { margin: 18px -22px 0; padding: 18px 22px 0; background: var(--app-bg); border-top: 1px solid var(--rail-border); flex: 1; }
.mini { background: var(--card); border: 1px solid var(--border); border-radius: 12px 12px 0 0; border-bottom: 0; padding: 14px; box-shadow: var(--shadow-card); font-size: 12px; }
.mini--center { text-align: center; }
.mini .gbtn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 34px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; }
.mini .or { display: flex; align-items: center; gap: 8px; margin: 10px 0; color: var(--muted-soft); font-size: 9px; font-weight: 700; letter-spacing: .05em; }
.mini .or::before, .mini .or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.mini .inp { height: 32px; border: 1px solid var(--border-soft); border-radius: 9px; padding: 0 10px; display: flex; align-items: center; color: var(--muted-soft); font-size: 11px; margin-bottom: 8px; }
.mini .obtn { height: 32px; border-radius: 9px; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--border-soft); font-size: 11px; font-weight: 600; color: var(--text-2); }
.chip i { width: 8px; height: 8px; border-radius: 3px; }
.chip.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip.on i { outline: 1.5px solid rgba(255,255,255,.7); }
.mini .field { margin-top: 10px; height: 32px; border: 1px solid var(--border-soft); border-radius: 9px; padding: 0 10px; display: flex; align-items: center; font-size: 11px; }
.mini .field b { color: var(--muted-soft); font-weight: 500; margin-right: 6px; }
.dump { font-family: var(--mono); font-size: 10.5px; color: var(--text-2); line-height: 1.5; padding: 9px 10px; background: var(--well); border-radius: 9px; border: 1px solid var(--border-soft); }
.dump .cur { display: inline-block; width: 6px; height: 12px; background: var(--accent); vertical-align: -2px; margin-left: 1px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.down { text-align: center; color: var(--muted-soft); font-size: 12px; margin: 6px 0; }
.mini .task { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--divider); font-size: 11.5px; font-weight: 600; }
.mini .task:first-child { border-top: 0; }

/* ============================================================
   BENTO
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { grid-column: span 2; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.tile--wide { grid-column: span 3; }
.tile--tall { grid-row: span 2; }
.tile__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px; }
.tile__ico svg { width: 16px; height: 16px; }
.tile h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.tile p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.tile__art { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--divider); flex: 1; min-width: 0; }
.ico--tasks { background: var(--accent-soft); color: var(--accent); }
.ico--cal { background: var(--info-bg); color: var(--info); }
.ico--goals { background: var(--success-bg); color: var(--success); }
.ico--routines { background: var(--warning-bg); color: var(--warning); }
.ico--projects { background: var(--violet-bg); color: var(--violet); }
.ico--library { background: var(--teal-bg); color: var(--teal); }
.ico--journal { background: var(--well-2); color: var(--ink-3); }

/* tasks art */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 10px; }
.week span { text-align: center; font-family: var(--mono); font-size: 9.5px; padding: 5px 0; border-radius: 7px; color: var(--muted); }
.week span b { display: block; font-size: 11px; color: var(--ink); font-weight: 700; }
.week span.today { background: var(--ink); color: #fff; }
.week span.today b { color: #fff; }
.trow { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 9px; font-size: 12px; font-weight: 600; border: 1px solid transparent; }
.trow .grip { width: 8px; height: 12px; background: radial-gradient(circle, var(--ghost) 1px, transparent 1.2px) 0 0/4px 4px; flex: none; }
.trow.drag { border-color: var(--accent-border); background: var(--accent-soft); box-shadow: 0 10px 24px -12px rgba(99,102,241,.5); transform: rotate(-1deg) translateX(6px); }
.trow .pri { margin-left: auto; }
.filters { display: flex; flex-wrap: wrap; row-gap: 4px; gap: 4px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--divider); }
.filters span { font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; color: var(--muted); border: 1px solid var(--border-soft); }
.filters span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters .sep { width: 1px; padding: 0; border: 0; background: var(--border); margin: 0 4px; }
.saved { display: inline-flex; gap: 6px; margin-top: 8px; }
.saved span { font-family: var(--mono); font-size: 9.5px; padding: 3px 8px; border-radius: 999px; background: var(--well); color: var(--muted); }
.saved span.on { background: var(--accent-bg); color: var(--accent-deep); }

/* calendar art */
.layers { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.layer { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 10.5px; font-weight: 600; border: 1px solid var(--border-soft); color: var(--text-2); }
.layer i { width: 7px; height: 7px; border-radius: 50%; }
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.month .dow { font-family: var(--mono); font-size: 9px; color: var(--muted-soft); text-align: center; padding-bottom: 4px; }
.month .d { aspect-ratio: 1.15; border-radius: 7px; background: var(--well); font-family: var(--mono); font-size: 10px; color: var(--text-2); padding: 4px 5px; position: relative; }
.month .d.off { color: var(--ghost); background: transparent; }
.month .d.today { background: var(--ink); color: #fff; }
.month .d em { position: absolute; left: 5px; bottom: 4px; display: flex; gap: 2px; }
.month .d em i { width: 5px; height: 5px; border-radius: 50%; }
.month .d.ev-g em i:nth-child(1) { background: var(--info); }
.month .d.ev-t em i:nth-child(1) { background: var(--accent); }
.month .d.ev-b em i:nth-child(1) { background: var(--warning); }
.month .d.ev-2 em i:nth-child(2) { background: var(--success); }
.agenda { margin-top: 12px; border-top: 1px solid var(--divider); padding-top: 8px; }
.agenda .ev .n { font-size: 11.5px; }

/* goals art */
.goal { border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.goal__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.goal__top h4 { font-size: 13px; font-weight: 800; letter-spacing: -0.01em; }
.verdict { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.verdict--ok { background: var(--success-bg); color: var(--success); }
.verdict--risk { background: var(--warning-bg); color: var(--warning); }
.goal p { font-size: 11.5px; color: var(--muted); }
.goal .track { height: 6px; margin-top: 10px; }
.goal .track > i { background: var(--success); }
.goal__meta { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--mono); font-size: 9.5px; color: var(--muted-soft); }
.goal + .goal { margin-top: 10px; }

/* routines art */
.heat { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 3px; margin-top: 12px; }
.heat i { aspect-ratio: 1; border-radius: 3px; background: var(--well-2); }
.heat i.l1 { background: #a7f3d0; } .heat i.l2 { background: #6ee7b7; } .heat i.l3 { background: #34d399; } .heat i.l4 { background: #059669; }
.heat__cap { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--mono); font-size: 9px; color: var(--muted-soft); }

/* projects art */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.col { background: var(--well); border-radius: 10px; padding: 8px; min-width: 0; }
.col h5 { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-soft); margin: 0 0 6px 2px; }
.pc { background: var(--card); border: 1px solid var(--border-soft); border-radius: 8px; padding: 6px 7px; font-size: 10.5px; font-weight: 600; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc.done { color: var(--muted-soft); text-decoration: line-through; font-weight: 500; }
.pc.stale { border-color: var(--danger-border); color: var(--danger); }
.mile { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; padding: 5px 0; }
.mile .chk--sm { border-radius: 50%; }
.tag-rep { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-family: var(--mono); font-size: 9.5px; color: var(--violet); background: var(--violet-bg); padding: 3px 8px; border-radius: 999px; font-weight: 700; }

/* library art */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 10px; }
.tabs span { font-size: 10.5px; font-weight: 600; padding: 4px 8px; border-radius: 999px; color: var(--muted); }
.tabs span.on { background: var(--ink); color: #fff; }
.note { border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
.note h5 { margin: 0 0 6px; font-size: 12px; font-weight: 700; }
.note .task { display: flex; align-items: center; gap: 7px; font-size: 11px; padding: 3px 0; }
.note .cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 9.5px; color: var(--accent-deep); background: var(--accent-soft); padding: 3px 8px; border-radius: 6px; font-weight: 700; }
.sub { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; font-size: 11.5px; font-weight: 600; }
.sub .amt { margin-left: auto; font-family: var(--mono); font-weight: 700; }
.sub .warn { font-size: 9.5px; font-weight: 700; color: var(--warning); background: var(--warning-bg); padding: 2px 7px; border-radius: 999px; }
.vault { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; font-size: 11.5px; font-weight: 600; }
.vault .ct { margin-left: auto; font-family: var(--mono); font-size: 9.5px; color: var(--muted-soft); }

/* journal art */
.digest { border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.digest .kicker { margin-bottom: 4px; }
.digest p { font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.digest ul { margin-top: 8px; display: grid; gap: 4px; }
.digest li { font-size: 11.5px; color: var(--text-2); display: flex; gap: 6px; }
.digest li::before { content: '•'; color: var(--accent); }
.memory { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--divider); }
.graphart { margin-top: 12px; }
.graphart svg { width: 100%; height: auto; }

/* ============================================================
   FINANCE
   ============================================================ */
#finance { overflow: hidden; }
.fin { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.fin__copy .h-section { margin-bottom: 16px; }
.feat-list { margin-top: 26px; display: grid; gap: 14px; }
.feat-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.feat-list .fi { width: 30px; height: 30px; border-radius: 9px; background: var(--card); border: 1px solid var(--border); display: grid; place-items: center; color: var(--accent); }
.feat-list .fi svg { width: 14px; height: 14px; }
.feat-list b { display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 2px; }
.feat-list span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.plaid { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 12.5px; color: var(--muted); }
.plaid b { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: #fff; letter-spacing: .04em; }
.fin__stage { position: relative; }
.fin__stage .stage__glow { inset: -6% -6%; background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(5,150,105,.14), transparent 70%), radial-gradient(ellipse 50% 45% at 80% 20%, rgba(99,102,241,.16), transparent 70%); }
.fcard { background: var(--card); border: 1px solid var(--border-soft); border-radius: 12px; padding: 12px 12px 8px; box-shadow: var(--shadow-card); }
.nw { padding: 16px; }
.nw__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.nw .big { font-size: 26px; }
.delta { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--success); margin-top: 2px; }
.range { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: var(--well); }
.range span { font-family: var(--mono); font-size: 9.5px; font-weight: 700; padding: 4px 7px; border-radius: 6px; color: var(--muted-soft); }
.range span.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(16,16,20,.08); }
.chart { margin-top: 10px; }
.chart svg { width: 100%; height: auto; }
.fgrid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.acct { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--divider); font-size: 11.5px; }
.acct:first-of-type { border-top: 0; }
.acct .nm { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct .nm small { display: block; font-size: 9.5px; color: var(--muted-soft); font-weight: 500; }
.acct svg { width: 64px; height: 20px; flex: none; }
.acct .bal { font-family: var(--mono); font-size: 11px; font-weight: 700; width: 66px; text-align: right; flex: none; }
.acct .bal.neg { color: var(--danger); }
.ghd { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-soft); font-weight: 600; margin-bottom: 4px; }
.ghd b { color: var(--ink); letter-spacing: 0; text-transform: none; }
.bud { padding: 6px 0; }
.bud__top { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; }
.bud__top span { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.bud .track { height: 6px; }
.bud .track > i.ok { background: var(--success); }
.bud .track > i.warn { background: var(--warning); }
.bud .track > i.over { background: var(--danger); }
.sankey { margin-top: 10px; }
.sankey svg { width: 100%; height: auto; }
.txn { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--divider); font-size: 11px; }
.txn:first-of-type { border-top: 0; }
.txn .dt { font-family: var(--mono); font-size: 9.5px; color: var(--muted-soft); width: 42px; flex: none; }
.txn .lg { width: 18px; height: 18px; border-radius: 6px; flex: none; }
.txn .m { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.txn .cat { font-size: 9.5px; color: var(--muted); background: var(--well); padding: 2px 7px; border-radius: 999px; }
.txn .am { font-family: var(--mono); font-weight: 700; }
.txn .am.in { color: var(--success); }

/* ============================================================
   NOVA (dark band)
   ============================================================ */
.nova { position: relative; overflow: hidden; }
.nova::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 78% 50%, rgba(99,102,241,.28), transparent 70%),
              radial-gradient(ellipse 40% 50% at 20% 100%, rgba(139,92,246,.18), transparent 70%);
}
.nova__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.nova .h-section { color: #fff; margin-bottom: 16px; }
.nova .lead { color: #c9c9d1; }
.nova .feat-list b { color: #fff; }
.nova .feat-list span { color: #a5a5ae; }
.nova .feat-list .fi { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #a5b4fc; }
.nova__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.chat { background: #1c1c21; border: 1px solid #34343d; border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); overflow: hidden; }
.chat__hd { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-bottom: 1px solid #26262d; font-size: 13px; font-weight: 700; color: #f0f0f2; }
.chat__hd img { width: 20px; height: 20px; }
.chat__hd .st { margin-left: auto; font-family: var(--mono); font-size: 9.5px; color: #8a8a94; font-weight: 500; }
.thread { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.bub { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 13px; line-height: 1.5; }
.bub--user { align-self: flex-end; background: #f0f0f2; color: #18181b; }
.bub--ai { align-self: flex-start; background: #212127; border: 1px solid #34343d; color: #dedee2; }
.bub--ai ul { margin-top: 6px; display: grid; gap: 4px; }
.bub--ai li { display: flex; gap: 6px; font-size: 12.5px; color: #bfbfc7; }
.bub--ai li::before { content: '•'; color: #818cf8; }
.tool { align-self: flex-start; font-family: var(--mono); font-size: 10.5px; color: #8a8a94; display: inline-flex; align-items: center; gap: 7px; padding-left: 4px; }
.tool i { width: 6px; height: 6px; border-radius: 50%; background: #34d399; }
.confirm { align-self: stretch; border: 1px solid #6d72f2; background: rgba(99,102,241,.1); border-radius: 14px; padding: 11px 13px; }
.confirm .kicker { color: #a5b4fc; }
.confirm h5 { margin: 4px 0 2px; font-size: 13px; font-weight: 700; color: #f0f0f2; }
.confirm p { font-size: 12px; color: #a5a5ae; }
.confirm__btns { display: flex; gap: 8px; margin-top: 10px; }
.confirm__btns span { height: 28px; padding: 0 12px; border-radius: 9px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; }
.confirm__btns .ok { background: #6d72f2; color: #fff; }
.confirm__btns .no { background: #1c1c21; border: 1px solid #3f3f48; color: #dedee2; }
.chat__chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 12px; }
.chat__chips span { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid #3f3f48; color: #bfbfc7; }
.composer { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid #26262d; }
.composer .in { flex: 1; height: 34px; border-radius: 10px; background: #131316; border: 1px solid #34343d; padding: 0 12px; display: flex; align-items: center; color: #73737d; font-size: 12px; }
.composer .mic { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #3f3f48; display: grid; place-items: center; color: #a5a5ae; }
.composer .send { width: 34px; height: 34px; border-radius: 10px; background: #f0f0f2; color: #18181b; display: grid; place-items: center; }
.composer svg { width: 13px; height: 13px; }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: #818cf8; animation: dots 1.3s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes dots { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }

/* ============================================================
   SECURITY / EVERYWHERE
   ============================================================ */
.sec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sec__card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-card); }
.sec__ico { width: 34px; height: 34px; border-radius: 10px; background: var(--well); border: 1px solid var(--border-soft); display: grid; place-items: center; color: var(--ink); margin-bottom: 14px; }
.sec__ico svg { width: 16px; height: 16px; }
.sec__card h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.sec__card p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   PRICING
   ============================================================ */
.price { max-width: 560px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 34px; box-shadow: var(--shadow-shell); position: relative; overflow: hidden; text-align: center; }
.price::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent-deep), var(--accent), #8b5cf6); }
.price__flag { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--success-bg); color: #047857; font-size: 12px; font-weight: 700; }
.price__amt { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 18px 0 6px; }
.price__amt small { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--muted); font-family: var(--sans); }
.price__sub { color: var(--text-2); font-size: 15px; }
.price__feats { margin: 24px auto 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; text-align: left; max-width: 440px; }
.price__feats li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.price__feats svg { width: 15px; height: 15px; color: var(--success); flex: none; }
.price__note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: transparent; border: 0; padding: 20px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.faq-q .plus { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--border-soft); display: grid; place-items: center; flex: none; transition: transform .2s ease, background .2s ease; color: var(--muted); }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a__inner { padding: 0 4px 22px; color: var(--text-2); font-size: 15px; line-height: 1.6; max-width: 680px; }

/* ============================================================
   FINAL CTA + FOOTER
   ============================================================ */
.final { position: relative; overflow: hidden; }
.final__box { position: relative; background: var(--ink); color: #f0f0f2; border-radius: 24px; padding: 76px 40px; text-align: center; overflow: hidden; }
.final__box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 110%, rgba(99,102,241,.45), transparent 70%); pointer-events: none; }
.final__box > * { position: relative; }
.final h2 { color: #fff; margin: 0 0 14px; }
.final p { color: #c9c9d1; font-size: 17px; max-width: 520px; margin: 0 auto; }
.final__ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.final__trust { margin-top: 26px; font-size: 13px; color: #a5a5ae; }
.footer { border-top: 1px solid var(--rail-border); padding: 44px 0 40px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer p.blurb { margin-top: 12px; font-size: 13.5px; color: var(--muted); max-width: 320px; line-height: 1.55; }
.footer h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
.footer ul { display: grid; gap: 8px; }
.footer li a { font-size: 14px; font-weight: 600; color: var(--text-2); }
.footer li a:hover { color: var(--ink); }
.footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--divider); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.footer__bottom a:hover { color: var(--ink); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .nav__links, .nav__login { display: none; }
  .nav__toggle { display: flex; }
}
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile--wide { grid-column: span 1; }
  .tile--tall { grid-row: span 1; }
  .problem { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .section { padding: 80px 0; }
  .hero { padding: 56px 0 72px; }
  .hero__grid, .fin, .nova__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__copy { max-width: 640px; }
  .stage { max-width: 640px; }
  .stage > .frame { margin: 0 12px; }
  .sat--nova { left: 0; }
  .sat--streak { right: 0; }
  .sat--nw { right: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step p { min-height: 0; }
  .sec { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .fin__stage { order: 2; }
}
@media (max-width: 760px) {
  .nav__right .btn { display: none; }
  .wrap { padding: 0 20px; }
  .h-display { font-size: clamp(36px, 10vw, 48px); }
  .hero__ctas .btn { width: 100%; }
  .hero__ctas .store-badge { margin: 2px auto 0; }
  .bento, .problem { grid-template-columns: minmax(0, 1fr); }
  .app { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .search { display: none; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .sat { display: none; }
  .filters .sep { display: none; }
  .fab { display: none; }
  .price { padding: 28px 22px; }
  .price__feats { grid-template-columns: minmax(0, 1fr); }
  .price__amt { font-size: 52px; }
  .final__box { padding: 56px 24px; border-radius: 22px; }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .sat, .dump .cur, .typing i { animation: none; }
  .btn, .faq-a, .faq-q .plus { transition: none; }
}

/* ============================================================
   EXPLORE GRID — the homepage hub. Each card is the entry point to one
   marketing page, so the whole product is reachable in one click from /.
   Shares the visual language of .sec__card, but the card itself is the link.
   ============================================================ */
.explore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.explore__card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px; box-shadow: var(--shadow-card); color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.explore__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-shell); border-color: var(--line-strong); }
.explore__card h3 { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.explore__card p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.explore__card .arrow { width: 15px; height: 15px; color: var(--accent); transition: transform .18s ease; }
.explore__card:hover .arrow { transform: translateX(3px); }
.explore__more { margin-top: 28px; text-align: center; font-size: 14px; color: var(--muted); }
.explore__more a { font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .explore { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .explore { grid-template-columns: minmax(0, 1fr); }
}

/* Current page in the shared nav. */
.nav__links a[aria-current="page"] { background: var(--hover-wash); color: var(--ink); }
.mobile-menu a[aria-current="page"] { color: var(--ink); }
