/* ═══════════════════════════════════════════════════════
   21VOX START PAGES: "The Checklist"
   /start/new-to-bitcoin, /start/just-bought, /start/understanding-bitcoin. Loaded after styles.css.
   Behaviour: js/start.js (ticking steps off, kept on this device, and GA4).
   ═══════════════════════════════════════════════════════ */

:root {
    --ck-text: var(--white-warm);
    --ck-soft: #cfc9bf;
    --ck-muted: #a8a196;
    --ck-dim: #8a8378;
    --ck-pill: #e6e0d6;
    --ck-card: #0f0e0d;
    --ck-inset: #0b0a09;
    --ck-line: #262420;
    --ck-outline: #3a3732;
    --ck-field: #34312c;
    --ck-tint: #120d07;
    --ck-tint-line: #3a2a14;
    --ck-track: #1c1a17;
    --ck-green: #3ecf8e;
    --ck-green-bg: #0f2a1e;
}

@font-face { font-family: 'DM Serif Fallback'; src: local('Georgia'); size-adjust: 97%; }
.ck { --serif: 'DM Serif Display', 'DM Serif Fallback', Georgia, serif; color: var(--ck-text); font-family: var(--sans); font-size: 18px; line-height: 1.6; }
.ck-wrap { max-width: 1000px; margin: 0 auto; padding: 44px 32px 72px; }
.ck-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ck a:focus-visible, .ck button:focus-visible, .ck input:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
/* Resets at zero specificity, so every class rule below wins */
:where(.ck) :is(ol, ul) { list-style: none; margin: 0; padding: 0; }
:where(.ck) :is(h1, h2, p) { margin: 0; }

/* ── Head. The breadcrumb is a <nav>: undo the legacy nav {} and nav a {} rules in styles.css ── */
.ck .ck-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 13px; color: var(--ck-dim); }
.ck .ck-crumb a { display: inline-flex; align-items: center; min-height: 44px; font-family: inherit; font-size: inherit; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--ck-muted); text-decoration: none; }
.ck .ck-crumb a:hover { color: var(--orange); }
.ck-pill { display: inline-block; margin-top: 26px; padding: 5px 10px; border: 1px solid var(--ck-tint-line); border-radius: 999px; background: var(--ck-tint); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.ck h1 { margin-top: 16px; font-family: var(--serif); font-weight: 400; font-size: 76px; line-height: 1; color: var(--ck-text); }
.ck h1 em { color: var(--orange); }
.ck-deck { max-width: 46ch; margin-top: 18px; font-size: 22px; line-height: 1.5; color: var(--ck-soft); }

/* ── Progress ── */
.ck-progress { margin-top: 26px; padding: 16px 18px; border: 1px solid var(--ck-tint-line); border-radius: 14px; background: var(--ck-tint); }
.ck-progress-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 15px; }
.ck-count { font-weight: 700; }
.ck-saved { color: var(--ck-muted); }
.ck-saved[hidden] { display: none; }
.ck-bar { margin-top: 10px; height: 8px; border-radius: 4px; background: var(--ck-track); overflow: hidden; }
.ck-bar-fill { display: block; width: 0; height: 100%; border-radius: 4px; background: var(--orange); }
@media (prefers-reduced-motion: no-preference) {
    .ck-bar-fill { transition: width 0.25s ease; }
}

/* ── Steps ── */
.ck .ck-steps { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.ck-step { display: flex; gap: 18px; padding: 24px; border: 1px solid var(--ck-line); border-radius: 16px; background: var(--ck-card); }
.ck-check { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 2px solid var(--ck-outline); border-radius: 12px; background: transparent; color: var(--ck-muted); font-family: var(--mono); font-size: 14px; cursor: pointer; }
.ck-check:hover { border-color: var(--orange); }
.ck-check-tick { display: none; width: 18px; height: 18px; fill: none; stroke: var(--ck-green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ck-step-main { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.ck-step-text { flex: 1 1 340px; min-width: 0; }
.ck-step h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; color: var(--ck-text); }
.ck-step p { margin-top: 6px; font-size: 16px; line-height: 1.6; color: var(--ck-soft); }
.ck-step p a { color: var(--orange); text-underline-offset: 3px; }
.ck-dest { display: flex; flex-direction: column; gap: 2px; min-width: 220px; padding: 14px 16px; border: 1px solid var(--ck-line); border-radius: 12px; background: var(--ck-inset); color: var(--ck-text); text-decoration: none; }
.ck-dest:hover { border-color: var(--orange); }
.ck-dest-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ck-muted); }
.ck-dest-t { font-size: 16px; font-weight: 700; }
.ck-dest-go { font-size: 14px; font-weight: 600; color: var(--orange); }
/* A ticked step: green tick, struck-through title, lower opacity */
.ck-step.is-done { opacity: 0.75; }
.ck-step.is-done .ck-check { border-color: var(--ck-green); background: var(--ck-green-bg); }
.ck-step.is-done .ck-check-n { display: none; }
.ck-step.is-done .ck-check-tick { display: block; }
.ck-step.is-done h2 { text-decoration: line-through; text-decoration-color: var(--ck-green); }

/* ── Not quite you? and Keep going ── */
.ck-sec { margin-top: 40px; }
.ck-sec h2 { margin-bottom: 14px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; color: var(--ck-text); }
.ck .ck-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ck-path { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; padding: 20px; border: 1px solid var(--ck-line); border-radius: 14px; color: var(--ck-text); text-decoration: none; }
.ck-path:hover { border-color: var(--orange); }
.ck-path-t { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.ck-path-go { font-weight: 600; color: var(--orange); }
.ck .ck-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-pill-a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ck-outline); border-radius: 999px; color: var(--ck-pill); font-size: 16px; text-decoration: none; }
.ck-pill-a:hover { border-color: var(--orange); color: var(--ck-text); }

/* ── Signup band (Substack; subscribe-bar.js handles the submit) ── */
.ck-band { background: var(--ck-tint); border-top: 1px solid var(--ck-tint-line); border-bottom: 1px solid var(--ck-tint-line); }
.ck-band-in { max-width: 1304px; margin: 0 auto; padding: 44px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }
.ck .ck-band-h { flex: 1 1 420px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; color: var(--ck-text); }
.ck-band-h em { color: var(--orange); }
.ck-form.bw-subscribe-form { flex: 1 1 420px; display: flex; gap: 10px; width: auto; margin: 0; }
.ck-input { flex: 1 1 auto; min-width: 0; height: 52px; box-sizing: border-box; padding: 0 16px; background: var(--ck-inset); color: var(--ck-text); border: 1px solid var(--ck-field); border-radius: 10px; font-family: var(--sans); font-size: 16px; }
.ck-input::placeholder { color: #8f897f; opacity: 1; }
.ck-input:focus { border-color: var(--orange); }
.ck-btn.bw-subscribe-btn { height: 52px; padding: 0 22px; background: var(--orange); color: #140c02; border: 0; border-radius: 10px; box-shadow: none; font-family: var(--sans); font-size: 16px; font-weight: 700; }
.ck-btn.bw-subscribe-btn:hover { background: #ffa53d; transform: none; box-shadow: none; }

/* ── Phones ── */
@media (max-width: 640px) {
    .ck { font-size: 17px; }
    .ck-wrap { padding: 32px 16px 48px; }
    .ck h1 { font-size: 46px; }
    .ck-deck { font-size: 18px; }
    .ck-step { padding: 18px; }
    .ck-step h2 { font-size: 23px; }
    .ck-step p { font-size: 15px; }
    .ck-dest { min-width: 0; width: 100%; box-sizing: border-box; }
    .ck-sec h2 { font-size: 24px; }
    .ck .ck-paths { grid-template-columns: minmax(0, 1fr); }
    .ck-band-in { padding: 26px 16px; gap: 10px; }
    .ck .ck-band-h { flex-basis: 100%; font-size: 22px; line-height: 1.2; }
    .ck-form.bw-subscribe-form { flex-basis: 100%; flex-direction: column; }
    .ck-input, .ck-btn.bw-subscribe-btn { height: 50px; }
}
