/* Layout: one calm column. A morning masthead, a balance meter as the signature, the pipeline as a real 4-step sequence, then the waitlist. */
:root {
  --bg: #F3F5F8;
  --surface: #FFFFFF;
  --ink: #14213D;
  --muted: #56617A;
  --line: #D6DCE6;
  --accent: #D9822B;
  --accent-ink: #8A4B10;
  --left: #3D6FB6;
  --right: #B6473D;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Literata", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1527; --surface: #16203A; --ink: #E8ECF4; --muted: #9AA6BF;
    --line: #2A3656; --accent: #F0A04B; --accent-ink: #F6C089;
    --left: #6F9BE0; --right: #E07A70; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1527; --surface: #16203A; --ink: #E8ECF4; --muted: #9AA6BF;
  --line: #2A3656; --accent: #F0A04B; --accent-ink: #F6C089;
  --left: #6F9BE0; --right: #E07A70; color-scheme: dark;
}
* { box-sizing: border-box; }
html { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
.wrap { max-width: 760px; margin: 0 auto; padding-inline: 20px; padding-block: 28px 64px; display: grid; gap: 64px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; margin: 0; }
p { margin: 0; max-width: 62ch; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Masthead */
.mast { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.brand { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.sun { width: 22px; height: 11px; border-radius: 22px 22px 0 0; background: var(--accent); position: relative; }
.sun::after { content: ""; position: absolute; left: -5px; right: -5px; bottom: -3px; height: 2px; background: var(--ink); border-radius: 2px; }
.edition { font-family: var(--mono); font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Hero */
.hero { display: grid; gap: 22px; }
.hero h1 { font-size: clamp(40px, 8vw, 68px); font-weight: 800; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero p { font-size: 19px; color: var(--muted); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { font-family: var(--display); font-weight: 700; font-size: 16px; background: var(--ink); color: var(--bg); border: 0; border-radius: 6px; padding: 13px 22px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn:focus-visible, .copy:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cta-note { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Balance meter */
.meter { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 24px 22px; display: grid; gap: 18px; }
.meter h2 { font-size: 22px; }
.scale { position: relative; height: 72px; }
.track { position: absolute; left: 0; right: 0; top: 34px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--left), var(--line) 50%, var(--right)); }
.tick { position: absolute; top: 18px; width: 2px; height: 36px; background: var(--muted); opacity: .45; border-radius: 2px; transform: translateX(-1px); }
.center { position: absolute; left: 50%; top: 4px; transform: translateX(-50%); display: grid; justify-items: center; gap: 4px; }
.pin { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--accent); margin-top: 23px; }
.ends { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.meter p { color: var(--muted); font-size: 16px; }

/* Pipeline */
.section { display: grid; gap: 24px; }
.section h2 { font-size: clamp(26px, 4.5vw, 34px); letter-spacing: -.015em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; counter-reset: s; }
.steps li { display: grid; gap: 6px; padding-top: 14px; border-top: 2px solid var(--ink); counter-increment: s; }
.steps li::before { content: "0" counter(s); font-family: var(--mono); font-size: 13px; color: var(--accent-ink); }
.steps h3 { font-size: 19px; }
.steps p { font-size: 16px; color: var(--muted); }

/* Topics */
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics span { font-family: var(--mono); font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }

/* Waitlist */
.join { background: var(--ink); color: var(--bg); border-radius: 12px; padding: 32px 26px; display: grid; gap: 16px; }
.join h2 { font-size: clamp(26px, 4.5vw, 34px); color: var(--bg); }
.join p { color: var(--bg); opacity: .82; }
.addr { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.addr code { font-family: var(--mono); font-size: 16px; background: color-mix(in srgb, var(--bg) 12%, transparent); padding: 10px 14px; border-radius: 6px; user-select: all; word-break: break-all; }
.copy { font-family: var(--display); font-weight: 700; font-size: 15px; background: var(--accent); color: #1B1205; border: 0; border-radius: 6px; padding: 10px 18px; cursor: pointer; }
.status { font-family: var(--mono); font-size: 13px; min-height: 1.4em; }

footer { font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }

@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  body { font-size: 16px; }
  .hero p { font-size: 17px; }
}
@media (prefers-reduced-motion: no-preference) {
  .pin { animation: settle 1.6s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes settle { 0% { transform: translateX(-90px); } 55% { transform: translateX(28px); } 100% { transform: translateX(0); } }
}

/* Waitlist form */
.form { display: grid; gap: 12px; max-width: 520px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.field input { font: 16px var(--body); padding: 12px 14px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--bg) 35%, transparent); background: color-mix(in srgb, var(--bg) 10%, transparent); color: var(--bg); }
.field input::placeholder { color: var(--bg); opacity: .55; }
.field input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.row .field { flex: 1 1 240px; min-width: 0; }
.fine { font-family: var(--mono); font-size: 12.5px; opacity: .75; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { min-height: 70vh; align-content: center; }
.thanks h1 { font-size: clamp(36px, 7vw, 56px); font-weight: 800; letter-spacing: -.02em; }
.thanks a { color: var(--accent-ink); }
