/* FunnelNerd's own two pages (index.html, start.html). They load none of the dashboard's code, so this file
   carries the tokens it needs from src/styles.css: warm paper, hard ink, square corners, one inspection color
   used only on the mark, stamps, and offset shadows. */
:root {
  --bg: #F2EEE6;
  --surface: #EAE5DB;
  --surface-2: #E1DBCE;
  --line: #CFC8B9;
  --ink: #15171A;
  --ink-2: #3A3D42;
  --muted: #5F6368;
  --inspect: #C8430F;
  --inspect-ink: #B93D0C;
  --ok: #1F6B3A;
  --danger: #9F2A1F;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.55 var(--display); }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--inspect-ink); }
h1, h2, h3 { font-stretch: 112.5%; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.6rem); letter-spacing: -0.035em; line-height: 1; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; max-width: 62ch; }
li { margin-bottom: 0.45em; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 0; border-bottom: 2px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; font-stretch: 112.5%; letter-spacing: -0.02em; text-decoration: none; font-size: 1.15rem; }
.brand svg { width: 26px; height: 26px; }
.brand small { font: 500 0.72rem var(--mono); color: var(--muted); letter-spacing: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
section { padding: 2.6rem 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
.hero { padding: 2.4rem 0 2.6rem; }
.hero .sub { font-size: clamp(1.1rem, 2.6vw, 1.35rem); font-weight: 600; line-height: 1.3; color: var(--ink-2); margin: 1rem 0 1.4rem; max-width: 38rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45em; padding: 0.85rem 1.3rem; border: 2px solid var(--ink); background: var(--ink); color: var(--bg); font: 800 1.05rem var(--display); cursor: pointer; text-decoration: none; line-height: 1.2; min-height: 48px; }
.btn:hover { background: var(--inspect-ink); border-color: var(--inspect-ink); color: var(--bg); }
.btn[aria-disabled="true"] { background: var(--muted); border-color: var(--muted); }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn.plain { background: transparent; color: var(--ink); }
.btn.plain:hover { background: var(--surface-2); border-color: var(--ink); color: var(--ink); }
.btn.wide { width: 100%; }
/* The same price lines wherever a price appears: today's charge is never shown without what follows it. */
.price { border: 2px solid var(--ink); background: var(--surface); padding: 1.1rem 1.2rem; box-shadow: 6px 6px 0 var(--inspect); margin: 0 0 1.4rem; max-width: 38rem; }
.price dl { margin: 0; display: grid; gap: 0.55rem; }
.price dt { font: 500 0.72rem var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.price dd { margin: 0; }
.price dd strong { font-weight: 800; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.2rem 0 0; }
.card { border: 2px solid var(--ink); padding: 1rem 1.1rem; background: var(--bg); }
.card p:last-child { margin-bottom: 0; }
.steps { list-style: none; padding: 0; counter-reset: s; max-width: 40rem; }
.steps li { counter-increment: s; position: relative; padding: 0 0 0.9rem 2.6rem; margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0.05rem; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; background: var(--ink); color: var(--bg); font: 500 0.9rem var(--mono); }
.not li { list-style: none; position: relative; padding-left: 1.5rem; margin-left: -1.2em; }
.not li::before { content: "×"; position: absolute; left: 0; font-weight: 800; }
details { border-top: 1px solid var(--line); padding: 0.85rem 0; max-width: 44rem; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { font-weight: 800; cursor: pointer; }
details p { margin: 0.6rem 0 0; }
.order { border: 2px solid var(--ink); background: var(--surface); padding: 1.3rem 1.2rem; box-shadow: 8px 8px 0 var(--inspect); max-width: 40rem; }
.check { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.6rem; align-items: start; padding: 0.9rem; border: 2px solid var(--ink); background: var(--bg); margin: 0 0 0.9rem; cursor: pointer; }
.check input { width: 1.35rem; height: 1.35rem; margin: 0.15rem 0 0; accent-color: var(--ink); }
.check.bump { border-style: dashed; }
.check.miss { outline: 3px solid var(--danger); outline-offset: 2px; }
.note { margin: 0.7rem 0 0; }
.note.bad { color: var(--danger); font-weight: 700; }
.note.good { color: var(--ok); font-weight: 700; }
.stamp { display: inline-block; font: 500 0.75rem var(--mono); text-transform: uppercase; letter-spacing: 0.06em; border: 2px solid var(--inspect-ink); color: var(--inspect-ink); padding: 0.15rem 0.5rem; margin: 0 0 0.9rem; }
.stamp.ok { border-color: var(--ok); color: var(--ok); }
.field { display: block; margin: 0 0 0.9rem; }
.field span { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.field input { width: 100%; padding: 0.75rem 0.8rem; border: 2px solid var(--ink); background: var(--bg); font: 500 1rem var(--display); color: var(--ink); min-height: 48px; }
pre.prompt { white-space: pre-wrap; word-break: break-word; border: 2px solid var(--ink); background: var(--bg); padding: 0.9rem; font: 400 0.85rem/1.5 var(--mono); max-height: 22rem; overflow: auto; }
.pair { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
.pair .btn { flex: 1 1 15rem; }
footer { padding: 1.6rem 0 6rem; font-size: 0.9rem; color: var(--muted); }
footer a { color: var(--muted); }
[hidden] { display: none !important; }
/* On a phone the order button stays in reach once the first one has scrolled away. */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; background: var(--ink); color: var(--bg); padding: 10px 16px; display: none; align-items: center; justify-content: space-between; gap: 0.8rem; z-index: 5; }
.sticky span { font-size: 0.85rem; line-height: 1.25; }
.sticky a { background: var(--bg); color: var(--ink); font-weight: 800; padding: 0.6rem 0.9rem; text-decoration: none; white-space: nowrap; }
@media (max-width: 720px) { .sticky.on { display: flex; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
