/* Hashhawk — public site. System fonts only; nothing is loaded from the internet. */
:root {
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;

  --bg: #f6f7f9;
  --bg-2: #eef0f4;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --line: #e2e5ea;
  --line-2: #d3d8df;
  --ink: #0f1728;
  --ink-2: #344054;
  --muted: #5d6779;
  --accent: #2c5fe0;
  --accent-2: #173a8f;
  --accent-ink: #ffffff;
  --accent-soft: #eaf0ff;
  --accent-line: #c5d5fb;
  --gold: #b07a00;
  --ok: #067647; --ok-bg: #ecfdf3;
  --glow: rgba(44, 95, 224, .14);
  --shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-lg: 0 30px 60px -20px rgba(16, 24, 40, .25), 0 8px 18px -8px rgba(16, 24, 40, .10);
  --r: 14px;
  --r-sm: 9px;
  --max: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0d13; --bg-2: #0f131b; --surface: #121722; --surface-2: #161c29;
    --line: #222a39; --line-2: #2e3849; --ink: #eef1f6; --ink-2: #c9d0dc; --muted: #94a0b4;
    --accent: #6a95ff; --accent-2: #3a6df0; --accent-ink: #071127; --accent-soft: #15234a; --accent-line: #29407d;
    --gold: #ffd166; --ok: #5ad19a; --ok-bg: #0f2a1e; --glow: rgba(93, 139, 255, .18);
    --shadow: 0 1px 3px rgba(0, 0, 0, .5);
    --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, .8), 0 8px 18px -8px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0d13; --bg-2: #0f131b; --surface: #121722; --surface-2: #161c29;
  --line: #222a39; --line-2: #2e3849; --ink: #eef1f6; --ink-2: #c9d0dc; --muted: #94a0b4;
  --accent: #6a95ff; --accent-2: #3a6df0; --accent-ink: #071127; --accent-soft: #15234a; --accent-line: #29407d;
  --gold: #ffd166; --ok: #5ad19a; --ok-bg: #0f2a1e; --glow: rgba(93, 139, 255, .18);
  --shadow: 0 1px 3px rgba(0, 0, 0, .5);
  --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, .8), 0 8px 18px -8px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); }
.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 { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650;
  font-family: var(--font-display); font-size: 18px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.brand sup { font-size: 10px; font-weight: 500; color: var(--muted); margin-left: 1px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.theme-btn { display: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); cursor: pointer; align-items: center; justify-content: center; }
.js .theme-btn { display: inline-flex; }
.theme-btn:hover { color: var(--ink); border-color: var(--line-2); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 11px 18px; border-radius: 10px; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px -6px var(--glow), var(--shadow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -6px var(--glow), var(--shadow); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.top .btn { padding: 8px 14px; font-size: 14px; }
@media (max-width: 860px) { .nav a { display: none; } }
.push { margin-left: auto; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 720px; pointer-events: none;
  background:
    radial-gradient(600px 320px at 78% 30%, var(--glow), transparent 70%),
    radial-gradient(500px 300px at 10% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 5px 12px; border-radius: 999px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 700; margin: 20px 0 20px; }
h1 .grad { background: linear-gradient(120deg, var(--accent), var(--accent-2) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 35em; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: 44px; } .hero { padding: 56px 0 48px; } }
@media (max-width: 600px) { .lede { font-size: 17px; } }

/* workbook mock */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock-bar span { margin-left: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
.mock-bar .tag { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line-2); padding: 2px 8px; border-radius: 999px; }
.mock table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mock th { text-align: left; font-weight: 600; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em;
  padding: 10px 14px; border-bottom: 1px solid var(--line); }
.mock td { padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mock td.num { text-align: right; font-family: var(--mono); font-size: 12.5px; }
.mock th.num { text-align: right; }
.mock tr.sel td { background: var(--accent-soft); }
.mock tr.sel td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.mock .src { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.pill { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.pill.in { background: var(--ok-bg); color: var(--ok); }
.trace { margin: 14px; padding: 14px 16px; border: 1px solid var(--accent-line); border-radius: 12px; background: var(--surface-2); font-size: 13px; }
.trace-h { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.trace-h svg { width: 16px; height: 16px; color: var(--accent); }
.trace dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; }
.trace dt { color: var(--muted); }
.trace dd { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--ink-2); overflow-wrap: anywhere; }
.mock-cap { font-size: 12.5px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.mock-scroll { overflow-x: auto; }
@media (max-width: 600px) { .mock .hide-sm { display: none; } .mock td, .mock th { padding: 9px 10px; } }

/* ---------- sections ---------- */
section { padding: 96px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { section { padding: 64px 0; } }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
h2 { font-size: clamp(30px, 3.8vw, 42px); font-weight: 700; max-width: 22em; }
.sec-lede { font-size: 18px; color: var(--ink-2); max-width: 40em; margin: 16px 0 0; }
.grid { display: grid; gap: 20px; margin-top: 48px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; font-weight: 650; margin: 0 0 8px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
.ico svg { width: 21px; height: 21px; }

/* problem list */
.problems { list-style: none; padding: 0; margin: 0; }
.problems li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.problems li:last-child { border-bottom: 0; }
.problems li b { color: var(--ink); font-weight: 600; }
.problems .x { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px;
  background: var(--bg-2); color: var(--muted); font-size: 13px; font-weight: 700; border: 1px solid var(--line-2); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* steps */
.steps { counter-reset: s; }
.step { position: relative; }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.step .n::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent-line), transparent); }
.step ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.step li { margin: 3px 0; }

/* supported */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2); }
.chip.soon { border-style: dashed; color: var(--muted); background: transparent; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* principles */
.principle { display: flex; flex-direction: column; }
.principle .big { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.015em; margin: 0 0 10px; line-height: 1.25; }

/* audience */
.aud { display: flex; gap: 16px; align-items: flex-start; }
.aud .ico { margin: 0; flex: none; }

/* roadmap */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 960px) { .road { grid-template-columns: 1fr; } }
.road .card { padding: 24px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.s-now { color: var(--ok); }
.s-next { color: var(--accent); }
.s-later { color: var(--muted); }
.road ul { list-style: none; margin: 0; padding: 0; }
.road li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.road li:first-child { border-top: 0; }

/* contact */
.contact { text-align: center; }
.contact h2 { margin: 0 auto; }
.contact .sec-lede { margin-left: auto; margin-right: auto; }
.contact .cta { justify-content: center; margin-top: 32px; }
.mail { font-family: var(--mono); font-size: 15px; color: var(--muted); margin-top: 16px; }
.panel { background: linear-gradient(160deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); border-radius: 22px;
  padding: 64px 32px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.panel::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 300px; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow), transparent); }
.panel > * { position: relative; }
@media (max-width: 600px) { .panel { padding: 44px 20px; } }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
footer .brand { font-size: 16px; }
footer .brand img { width: 24px; height: 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }
.fine { flex-basis: 100%; font-size: 13px; color: var(--muted); margin: 8px 0 0; }

/* 404 */
.nf { min-height: calc(100vh - 64px - 140px); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf .code { font-family: var(--mono); font-size: 14px; color: var(--accent); font-weight: 600; letter-spacing: .1em; }
.nf h1 { font-size: clamp(34px, 5vw, 48px); }
.nf p { color: var(--ink-2); max-width: 30em; margin: 0 auto 28px; }
.nf .cta { justify-content: center; }
.hero-fig { margin: 0; }
.formats { margin-top: 20px; }
.btn, .mock-bar span, .mock-bar .tag { white-space: nowrap; }
@media (max-width: 600px) { .top .wrap { gap: 10px; } .brand sup { display: none; } .mock-bar span:not(.tag) { overflow: hidden; text-overflow: ellipsis; } }
