/* The landing page (D-106, D-114): tokens only, one column that breathes,
 * the accent as a glow on what matters and nowhere else. Readable first;
 * the phone is the floor. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg-void); color: var(--text-hi); font-family: var(--font-ui); font-size: var(--fs-md); line-height: var(--lh); }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(70vmax 50vmax at 50% -10%, var(--ambient-glow), transparent 70%); }
body > * { position: relative; z-index: 1; }
.wrap { width: min(100% - 2 * var(--sp-5), 1040px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bg-raised); color: var(--text-hi); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 20; }
.skip:focus { left: 8px; }

/* ── The menu ─────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg-surface) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: var(--sp-5); min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text-hi); font-weight: 600; letter-spacing: -0.01em; }
.brand .mark { width: 24px; height: 24px; border-radius: 7px; box-shadow: var(--glow-accent-soft); }
.brand .name em { font-style: normal; color: var(--accent); }
.menu { display: flex; gap: 2px; margin-left: var(--sp-2); }
.menu a { color: var(--text-mid); text-decoration: none; padding: 6px 10px; border-radius: var(--radius-sm); font-weight: 500; }
.menu a:hover { background: var(--bg-raised); color: var(--text-hi); }
.top-actions { margin-left: auto; display: flex; gap: var(--sp-2); }
.top-actions .btn, .actions .btn, .foot nav .btn { text-decoration: none; }
.menu-toggle { display: none; margin-left: auto; }
.drawer { display: flex; flex-direction: column; gap: 4px; padding: var(--sp-3) var(--sp-5) var(--sp-4); border-top: 1px solid var(--line); }
.drawer a { color: var(--text-hi); text-decoration: none; padding: 10px 8px; border-radius: var(--radius-sm); }
.drawer a:hover { background: var(--bg-raised); }
.drawer .btn { justify-content: center; margin-top: var(--sp-2); }

/* ── The hero ─────────────────────────────────────────────────────────── */
.hero { padding: clamp(48px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); display: flex; flex-direction: column; gap: var(--sp-4); }
.eyebrow { margin: 0; font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(2rem, 5.2vw, 3.6rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 18ch; }
.lede { margin: 0; color: var(--text-mid); font-size: var(--fs-lg); max-width: 62ch; }
.lede code, .steps code, .demo-callout code { font-family: var(--font-mono); font-size: 0.92em; color: var(--accent); overflow-wrap: anywhere; }
.demo-note { color: var(--warning); }
.actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-2) 0 0; }
.btn.lg { min-height: 44px; padding: 0 var(--sp-5); font-size: var(--fs-md); }
.address-demo { margin-top: var(--sp-5); display: flex; flex-direction: column; gap: 6px; padding: var(--sp-4); border-radius: var(--radius-md); background: var(--bg-surface); border: 1px solid var(--line); font-family: var(--font-mono); font-size: var(--fs-sm); max-width: 640px; }
.address-demo .row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 0; color: var(--text-mid); }
.address-demo .tag { color: var(--accent); }
.address-demo .hn { color: var(--text-hi); }
.address-demo .arrow { margin: 0 var(--sp-3); color: var(--text-low); }
.address-demo .folder { color: var(--text-hi); padding: 1px 8px; border-radius: 999px; background: var(--accent-tint); }
.address-demo .burned .folder { color: var(--danger); background: var(--danger-tint); }
.address-demo .burned .tag { color: var(--danger); text-decoration: line-through; }

/* ── Sections ─────────────────────────────────────────────────────────── */
main section { padding: clamp(32px, 5vw, 64px) 0; }
main section + section { border-top: 1px solid var(--line); }
h2 { font-size: var(--fs-2xl); letter-spacing: -0.02em; margin: 0 0 var(--sp-4); }
h3 { font-size: var(--fs-lg); margin: 0 0 var(--sp-2); }
.narrow { margin-bottom: var(--sp-5); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--bg-surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--sp-5); }
.card p { margin: 0; color: var(--text-mid); }
.card.glow { border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: var(--glow-accent-soft); }
.feature h3 { color: var(--text-hi); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); max-width: 760px; }
.steps li { display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-4); border-radius: var(--radius-md); background: var(--bg-surface); border: 1px solid var(--line); color: var(--text-mid); }
.steps strong { color: var(--text-hi); }
.steps .n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: var(--glow-accent-soft); }
.hidden-list ul { margin: 0; padding-left: 1.1em; color: var(--text-mid); display: flex; flex-direction: column; gap: 6px; }
.positive-text { color: var(--positive); }
.warning-text { color: var(--warning); }
.plan.pro { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.demo-callout .card { text-align: center; padding: clamp(28px, 4vw, 48px); }
.demo-callout .card p { max-width: 60ch; margin: 0 auto; }
.demo-callout .actions { justify-content: center; margin: var(--sp-4) 0; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.foot { padding: var(--sp-6) 0 var(--sp-7); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--sp-3); }
.foot-inner { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; }
.foot nav { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-left: auto; }
.foot nav a { color: var(--text-mid); text-decoration: none; }
.foot nav a:hover { color: var(--text-hi); }
.foot p { margin: 0; }

/* ── The floor: a phone ───────────────────────────────────────────────── */
@media (max-width: 860px) {
  .menu, .top-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .foot nav { margin-left: 0; }
}
@media (min-width: 861px) { .drawer { display: none !important; } }
