/* JustDB landing page. Plain CSS, no framework (D-35). */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Quiet Jade (2026-09-29): near-black with a green tint, cards barely lighter,
     a dark muted button, bright jade only where the eye should land. No glows. */
  --bg: #121413;
  --bg-2: #151716;
  --surface: #171918;
  --surface-2: #1c1e1d;
  --line: rgba(237, 237, 236, 0.07);
  --line-2: rgba(237, 237, 236, 0.12);
  --text: #ededec;
  --muted: #8f9691;
  --dim: #5f6661;
  --jade: #4fc4a2;        /* the one bright green: a headline line, status, ticks */
  --jade-btn: #1d5a48;    /* primary button fill */
  --jade-edge: #2b7c63;   /* primary button border, highlighted card border */
  --jade-soft: rgba(79, 196, 162, 0.08);
  --on-jade: #eef7f3;
  --red: #f06b6b;
  --amber: #e5b454;
  --radius: 14px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --max: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
code, .mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* ---------- ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--bg); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(18, 20, 19, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.02em; font-size: 19px; }
.logo svg { width: 26px; height: 26px; color: var(--jade); }
/* The Stone mark's intro, once per page load: the J draws, the stone drops, its top face glints (same as the app). */
.logo-j, .logo-stone, .logo-glint { transform-box: view-box; }
.logo .logo-j { stroke-dasharray: 1; animation: logo-draw 1.9s cubic-bezier(.6,0,.2,1) both; }
.logo .logo-stone { animation: logo-drop 1.9s linear both; }
.logo .logo-glint { animation: logo-glint 1.9s ease-in-out both; }
@keyframes logo-draw { 0% { stroke-dashoffset: 1; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes logo-drop {
  0%, 40% { transform: translateY(-26px); opacity: 0; animation-timing-function: cubic-bezier(.55,0,1,.45); }
  41% { opacity: 1; }
  60% { transform: translateY(0); animation-timing-function: cubic-bezier(0,.55,.45,1); }
  70% { transform: translateY(-5px); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  80% { transform: translateY(0); animation-timing-function: cubic-bezier(0,.55,.45,1); }
  86% { transform: translateY(-1.4px); }
  92%, 100% { transform: translateY(0); opacity: 1; }
}
@keyframes logo-glint { 0%, 88% { opacity: .3; } 94% { opacity: .95; } 100% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .logo .logo-j, .logo .logo-stone, .logo .logo-glint { animation: none; } }
.nav-links { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 10px;
  font-size: 14px; font-weight: 550; letter-spacing: -0.01em;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text);
  transition: transform 0.15s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { border-color: rgba(237, 237, 236, 0.22); background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn-primary { border-color: var(--jade-edge); background: var(--jade-btn); color: var(--on-jade); }
.btn-primary:hover { border-color: var(--jade); background: #226a55; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 40px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); column-gap: 48px; align-items: end;
  grid-template-areas: "eye ." "h1 lede" "cta note";
}
.hero-grid .eyebrow { grid-area: eye; justify-self: start; }
.hero-grid h1 { grid-area: h1; }
.hero-grid .lede { grid-area: lede; }
.hero-grid .hero-cta { grid-area: cta; }
.hero-grid .hero-note { grid-area: note; align-self: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
  color: var(--muted); font-size: 13px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--jade); }
.eyebrow b { color: var(--text); font-weight: 550; }
h1 {
  margin: 26px 0 0; text-wrap: balance;
  font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500;
}
h1 .accent {
  display: block;
  color: var(--jade);
}
.lede { margin: 0; max-width: 42ch; color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); }
.lede b { color: var(--text); font-weight: 500; }
.hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-note { margin: 36px 0 0; font-size: 13px; color: var(--dim); }

/* ---------- product film (the dashboard) ---------- */
.film-stage { perspective: 1800px; margin-top: 64px; padding-bottom: 40px; }
.film {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transform-origin: 50% 0%;
  text-align: left;
  font-size: 13px;
  user-select: none;
}
.film::before { /* top sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 30%);
}
.film-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.film-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2d2b; }
.film-url {
  margin: 0 auto; transform: translateX(-24px);
  padding: 4px 12px; border-radius: 7px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  color: var(--muted); font-family: var(--mono); font-size: 12px;
}
.app { display: grid; grid-template-columns: 210px 1fr; height: 520px; }
.app-side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; background: var(--bg-2); }
.ws { display: flex; align-items: center; gap: 10px; padding: 8px 10px 16px; }
.ws .avatar { width: 26px; height: 26px; border-radius: 8px; background: var(--jade-btn); color: var(--on-jade); display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.ws small { display: block; color: var(--dim); font-size: 11px; }
.side-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--muted); }
.side-item.on { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.side-item svg { width: 15px; height: 15px; opacity: 0.8; }
.app-main { position: relative; padding: 22px 26px; overflow: hidden; }
.app-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.app-head h3 { margin: 0; font-size: 18px; letter-spacing: -0.02em; font-weight: 600; }
.count { color: var(--dim); font-family: var(--mono); font-size: 12px; }
.bill {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.bill b { color: var(--text); font-weight: 600; }
.bill .tick { color: var(--jade); opacity: 0; }
.new-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px; border-radius: 8px;
  border: 1px solid var(--jade-edge); background: var(--jade-btn); color: var(--on-jade); font-weight: 600; font-size: 12.5px;
}
.grid-dbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.db {
  position: relative; padding: 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  min-height: 112px; overflow: hidden;
}
.db-top { display: flex; align-items: center; gap: 8px; }
.db-name { font-weight: 600; font-size: 13.5px; letter-spacing: -0.01em; }
.status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-family: var(--mono); border: 1px solid var(--line); color: var(--muted); }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.status.running { color: var(--jade); border-color: rgba(79, 196, 162, 0.25); background: var(--jade-soft); }
.status.running i { background: var(--jade); }
.db-meta { margin-top: 6px; color: var(--dim); font-size: 11.5px; }
.db-conn {
  margin-top: 14px; padding: 7px 9px; border-radius: 7px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: clip; min-height: 29px;
}
.db.provisioning::after { /* shimmer while building */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(79, 196, 162, 0.08) 50%, transparent 70%);
  background-size: 220% 100%; animation: shimmer 1.1s linear infinite;
}
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

.modal-veil { position: absolute; inset: 0; background: rgba(12, 14, 13, 0.55); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; z-index: 4; }
.modal {
  position: absolute; left: 50%; top: 50%; width: 330px; z-index: 5; opacity: 0;
  transform: translate(-50%, -46%) scale(0.96);
  padding: 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2);
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.8);
}
.modal h4 { margin: 0 0 12px; font-size: 14px; }
.field { margin-bottom: 10px; }
.field label { display: block; font-size: 11px; color: var(--dim); margin-bottom: 5px; }
.field .input { height: 34px; display: flex; align-items: center; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.3); font-family: var(--mono); font-size: 12.5px; }
.field .input.focus { border-color: var(--jade-edge); box-shadow: 0 0 0 3px rgba(79, 196, 162, 0.12); }
.caret { display: inline-block; width: 1px; height: 14px; background: var(--jade); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modal .go { margin-top: 6px; width: 100%; justify-content: center; }

.cursor { position: absolute; left: 0; top: 0; z-index: 10; width: 22px; height: 22px; pointer-events: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6)); }
.click-ring { position: absolute; z-index: 9; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid var(--jade); opacity: 0; pointer-events: none; }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 130px 0; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--jade); }
h2 { margin: 14px 0 0; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 550; max-width: 18ch; text-wrap: balance; }
h2 .soft { color: var(--dim); }
.sub { margin-top: 18px; color: var(--muted); max-width: 56ch; font-size: 17px; }
.center { text-align: center; }
.center h2, .center .sub { margin-inline: auto; }

/* ---------- scattered → one workspace ---------- */
.scatter-stage { position: relative; height: 560px; margin-top: 56px; }
.shard {
  position: absolute; width: 250px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.8);
  font-size: 13px;
}
.shard .t { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.shard .t i { width: 7px; height: 7px; border-radius: 50%; }
.shard p { margin: 6px 0 0; color: var(--muted); font-size: 12.5px; }
.shard .tag { margin-top: 10px; display: inline-block; font-family: var(--mono); font-size: 11px; padding: 2px 8px; border-radius: 6px; }
.tag.warn { color: var(--amber); background: rgba(245, 184, 61, 0.08); border: 1px solid rgba(245, 184, 61, 0.25); }
.tag.bad { color: var(--red); background: rgba(255, 93, 93, 0.07); border: 1px solid rgba(255, 93, 93, 0.25); }
.one {
  position: absolute; left: 50%; top: 50%; width: min(520px, 92%); transform: translate(-50%, -50%) scale(0.9);
  opacity: 0; padding: 20px; border-radius: 16px; border: 1px solid var(--jade-edge);
  background: var(--surface-2);
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.85);
}
.one-head { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 14px; }
.one-head .bill { margin-left: auto; }
.one-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.one-item { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); font-family: var(--mono); font-size: 12px; }
.one-item i { width: 6px; height: 6px; border-radius: 50%; background: var(--jade); }

/* ---------- rewind ---------- */
.rewind { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.clock { font-family: var(--mono); font-size: clamp(56px, 8vw, 104px); letter-spacing: -0.04em; line-height: 1; font-weight: 500; margin-top: 30px; }
.clock small { font-size: 0.28em; color: var(--dim); letter-spacing: 0; margin-left: 10px; }
.track { position: relative; height: 56px; margin-top: 26px; }
.track-line { position: absolute; left: 0; right: 0; top: 26px; height: 2px; background: var(--line-2); border-radius: 2px; }
.track-fill { position: absolute; left: 0; top: 26px; height: 2px; background: var(--jade); width: 100%; transform-origin: left; }
.track-knob { position: absolute; top: 17px; left: 100%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 6px rgba(79, 196, 162, 0.14); }
.track-mark { position: absolute; top: 0; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; color: var(--red); white-space: nowrap; }
.track-mark::after { content: ""; position: absolute; left: 50%; top: 18px; width: 2px; height: 18px; background: var(--red); }
.track-labels { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.table-card { border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); overflow: hidden; }
.table-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.table-head .state { margin-left: auto; }
table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12.5px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--dim); font-weight: 500; font-size: 11px; }
td.money { color: var(--text); }
.table-wrap { position: relative; min-height: 318px; }
.missing {
  position: absolute; inset: 44px 14px auto; padding: 14px; border-radius: 10px;
  border: 1px solid rgba(255, 93, 93, 0.3); background: rgba(255, 93, 93, 0.06);
  font-family: var(--mono); font-size: 12.5px; color: #ff9b9b;
}
.steps { display: grid; gap: 10px; margin-top: 30px; }
.step { display: flex; gap: 12px; align-items: baseline; color: var(--muted); }
.step b { font-family: var(--mono); color: var(--jade); font-weight: 500; font-size: 12px; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 56px; }
.card {
  position: relative; grid-column: span 2; min-height: 290px; padding: 24px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--surface);
  overflow: hidden; display: flex; flex-direction: column;
}
.card.wide { grid-column: span 3; }
.card::before { /* hover spotlight */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(79, 196, 162, 0.05), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card h3 { margin: auto 0 0; font-size: 18px; letter-spacing: -0.02em; font-weight: 600; }
.card p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.visual { flex: 1; display: grid; place-items: center; min-height: 150px; }
.term { width: 100%; font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.35); }
.term .p { color: var(--jade); }
.term .ok { color: var(--jade); }
.conn { display: grid; gap: 8px; width: 100%; }
.conn div { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); font-family: var(--mono); font-size: 12px; }
.conn span { color: var(--dim); }
.people { display: grid; gap: 8px; width: 100%; }
.person { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.person .av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #111; }
.person .role { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); }
.meter { width: 100%; }
.meter-bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.meter-fill { height: 100%; width: 0%; border-radius: 99px; background: linear-gradient(90deg, var(--jade), var(--amber)); }
.meter-row { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
.meter-note { margin-top: 14px; padding: 9px 11px; border-radius: 9px; font-size: 12.5px; color: var(--amber); border: 1px solid rgba(245, 184, 61, 0.25); background: rgba(245, 184, 61, 0.06); opacity: 0; }
.log { width: 100%; height: 150px; overflow: hidden; font-family: var(--mono); font-size: 11.5px; mask-image: linear-gradient(180deg, transparent, black 30%, black 80%, transparent); }
.log-inner div { padding: 5px 0; color: var(--muted); display: flex; gap: 10px; }
.log-inner span { color: var(--dim); }
.log-inner b { color: var(--text); font-weight: 500; }
.pin { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.pin i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(79, 196, 162, 0.45); opacity: 0; }
.pin .core { width: 14px; height: 14px; border-radius: 50%; background: var(--jade); }
.pin-label { margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- agents ---------- */
.agents { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.soon { display: inline-block; margin-left: 10px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-family: var(--mono); color: var(--jade); border: 1px solid rgba(79, 196, 162, 0.3); vertical-align: middle; letter-spacing: 0; text-transform: none; }
.agent-term { border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); overflow: hidden; }
.agent-term .film-bar { height: 34px; }
.agent-body { padding: 18px; font-family: var(--mono); font-size: 13px; min-height: 250px; }
.agent-body div { margin-bottom: 8px; }
.a-user { color: var(--text); }
.a-user::before { content: "you  "; color: var(--dim); }
.a-bot { color: var(--muted); }
.a-bot::before { content: "agent"; color: var(--jade); margin-right: 12px; }
.a-ok { color: var(--jade); padding-left: 60px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.plan { position: relative; padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.plan.pop { border-color: var(--jade-edge); background: var(--surface-2); }
.plan .badge { position: absolute; top: -11px; left: 28px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--jade-edge); background: var(--jade-btn); color: var(--on-jade); font-size: 11px; font-weight: 600; }
.plan h3 { margin: 0; font-size: 16px; font-weight: 600; }
.price { margin-top: 14px; font-family: var(--mono); font-size: 42px; letter-spacing: -0.03em; font-weight: 500; }
.price s { margin-right: 12px; font-size: 22px; color: var(--dim); text-decoration-thickness: 1.5px; vertical-align: 0.35em; }
.plan .lock { display: inline-block; margin-top: 10px; padding: 3px 9px; border-radius: 6px; font-size: 12px; color: var(--jade); background: var(--jade-soft); border: 1px solid rgba(79, 196, 162, 0.2); }
.price small { font-family: var(--sans); font-size: 15px; color: var(--dim); font-weight: 400; letter-spacing: 0; }
.plan .for { color: var(--muted); font-size: 14px; margin-top: 4px; }
.plan ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.plan li { display: flex; gap: 10px; color: var(--muted); }
.plan li::before { content: "✓"; color: var(--jade); font-weight: 700; }
.plan li.no::before { content: "–"; color: var(--dim); }
.plan li b { color: var(--text); font-weight: 550; }
.price-note { margin-top: 22px; text-align: center; color: var(--dim); font-size: 13.5px; }

/* ---------- faq ---------- */
.faq { max-width: 780px; margin: 48px auto 0; }
details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 550; letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--dim); font-weight: 300; font-size: 22px; line-height: 1; transition: transform 0.25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; max-width: 64ch; }

/* ---------- final cta + footer ---------- */
.final { text-align: center; padding: 140px 0; }
.final h2 { margin-inline: auto; max-width: 14ch; font-size: clamp(38px, 6vw, 72px); }
footer { border-top: 1px solid var(--line); padding: 36px 0 60px; color: var(--dim); font-size: 13px; }
footer .wrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; margin-left: auto; }
footer a:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eye" "h1" "lede" "cta" "note"; }
  .hero-grid .lede { margin-top: 22px; }
  .hero-grid .hero-note { margin-top: 14px; }
  .app { grid-template-columns: 1fr; height: 470px; }
  .app-side { display: none; }
  .grid-dbs { grid-template-columns: repeat(2, 1fr); }
  .rewind, .agents { grid-template-columns: 1fr; gap: 40px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card, .card.wide { grid-column: span 1; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-cta .btn:not(.btn-primary) { display: none; }
  .hero { padding-top: 56px; }
  .app { height: 430px; }
  .app-main { padding: 16px; }
  .grid-dbs { grid-template-columns: 1fr; }
  .grid-dbs .db:nth-child(n + 4) { display: none; }
  .bill span.lbl { display: none; }
  .bento { grid-template-columns: 1fr; }
  .scatter-stage { height: 640px; }
  .section { padding: 96px 0; }
  .one-list { grid-template-columns: 1fr; }
}

/* Motion is explanation, never required: with reduced motion everything shows its final state. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
