/* Launch Kit overview. A black instrument case holding coloured spines.
   The frame is neutral (ZM kit: black, cream as text only, green as the one signal). Colour belongs to the guides. */
:root {
  color-scheme: dark;
  --lk-bg: #0A0A0A;
  --lk-panel: #141414;
  --lk-ink: #F5F5ED;
  --lk-muted: #A3A39B;
  --lk-line: rgba(245, 245, 237, .14);
  --lk-main: #84F800;
  --lk-on-main: #0A0A0A;
  --lk-link: #84F800;
  --lk-focus: #84F800;
  --lk-accent: #84F800;
  --lk-font-display: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lk-font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lk-font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --lk-radius: 6px;
  --lk-gutter: 32px;
  --lk-max: 1240px;
  --lk-bar: 44px;
  --ov-sec-pad: 120px;
}
@media (max-width: 640px) {
  :root { --lk-gutter: 16px; --ov-sec-pad: 72px; }
}

/* ---- Per-guide colours (TOKENS A; bars chosen for 3:1 or better on #0A0A0A) ---- */
[data-guide] { --g-edge: transparent; }
[data-guide="front-door"]   { --g-bg: #FEFEFC; --g-ink: #111318; --g-bar: #044CFD; }
[data-guide="watchtower"]   { --g-bg: #FDFDFE; --g-ink: #0B1B3F; --g-bar: #6B9CE6; }
[data-guide="safety-net"]   { --g-bg: #13211B; --g-ink: #F4F7F2; --g-bar: #8EE4A8; --g-edge: var(--lk-line); }
[data-guide="meter"]        { --g-bg: #0E1118; --g-ink: #FFFFFF; --g-bar: #FEF55B; --g-edge: var(--lk-line); }
[data-guide="signal"]       { --g-bg: #000E11; --g-ink: #FFFFFF; --g-bar: #5EEAD4; --g-edge: var(--lk-line); }
[data-guide="findable"]     { --g-bg: #FEFEFE; --g-ink: #141414; --g-bar: #E5187F; }
[data-guide="inbox"]        { --g-bg: #FEFEFC; --g-ink: #161616; --g-bar: #FDCD04; }
[data-guide="paperwork"]    { --g-bg: #EEF0F4; --g-ink: #111B5D; --g-bar: #D8232E; }
[data-guide="till"]         { --g-bg: #011A14; --g-ink: #F2EFE8; --g-bar: #D8B56A; --g-edge: var(--lk-line); }
[data-guide="first-run"]    { --g-bg: #00012D; --g-ink: #FFFFFF; --g-bar: #7FFDFA; --g-edge: var(--lk-line); }
[data-guide="quick"]        { --g-bg: #FEFDFD; --g-ink: #050505; --g-bar: #FC4F1E; }
[data-guide="open-to-all"]  { --g-bg: #E8F2FB; --g-ink: #17196F; --g-bar: #62A9E9; }
[data-guide="everywhere"]   { --g-bg: #FDFDFD; --g-ink: #0A0A0A; --g-bar: #01B1AD; }
[data-guide="ship-lane"]    { --g-bg: #FEFEFE; --g-ink: #0B0B0F; --g-bar: #536CF2; }
[data-guide="launch-day"]   { --g-bg: #00030C; --g-ink: #FFFFFF; --g-bar: #FF7A2F; --g-edge: var(--lk-line); }
[data-guide="regulars"]     { --g-bg: #210815; --g-ink: #FFF4EA; --g-bar: #F07EA3; --g-edge: var(--lk-line); }

/* ---- Base ---- */
body { font: 400 17px/1.6 var(--lk-font-body); }
code { font: 500 .9em var(--lk-font-mono); }
.ov-header { padding-block: 16px; }
.ov-logo-text { font-weight: 700; letter-spacing: -.02em; }
.ov-mono, .ov-label, .ov-eyebrow { font: 500 13px/1.4 var(--lk-font-mono); letter-spacing: .08em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.ov-label { color: var(--lk-muted); margin: 0 0 16px; }
.ov-eyebrow { color: var(--lk-muted); margin: 0 0 20px; }
.ov-sec { padding-block: var(--ov-sec-pad); border-top: 1px solid var(--lk-line); scroll-margin-top: 16px; }
.ov-h2 { font: 700 clamp(28px, 4vw, 44px)/1.05 var(--lk-font-display); letter-spacing: -.035em; margin: 0 0 24px; text-wrap: balance; max-width: 22ch; }
.ov-sub { color: var(--lk-muted); max-width: 62ch; margin: 0 0 32px; }
.ov-sec p, .ov-sec li { max-width: 68ch; }

/* ---- 1 hero ---- */
.ov-hero { padding-block: clamp(32px, 5vw, 72px) var(--ov-sec-pad); }
.ov-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.ov-h1 { font: 700 clamp(64px, 11vw, 152px)/.88 var(--lk-font-display); letter-spacing: -.035em; margin: 0 0 32px; }
.ov-h1::after { content: ""; display: block; width: 96px; height: 2px; background: var(--lk-accent); margin-top: 28px; }
.ov-lede { font-size: 20px; line-height: 1.45; max-width: 36ch; margin: 0 0 20px; }
.ov-count { color: var(--lk-ink); margin: 0 0 6px; }
.ov-facts { color: var(--lk-muted); margin: 0 0 32px; }
.ov-hero-prompt { max-width: 640px; }
.ov-prompt .lk-prompt-text { font-size: 14px; background: var(--lk-panel); }
.lk-btn { font-weight: 700; }
.ov-note { color: var(--lk-muted); font-size: 15px; max-width: 56ch; margin: 24px 0 0; }
.lk-copy-status { color: var(--lk-muted); }

/* the shelf: 16 spines, one per guide */
.ov-shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); grid-template-rows: 320px; gap: 4px; height: 320px; }
.ov-shelf > li { display: block; min-width: 0; height: 320px; max-height: 320px; overflow: hidden; transform-origin: bottom; }
.ov-shelf .lk-guide { display: block; height: 320px; max-height: 320px; padding: 12px 0; text-align: center; text-decoration: none; font: 700 15px/1 var(--lk-font-display); letter-spacing: -.01em; writing-mode: vertical-rl; white-space: nowrap; overflow: hidden; border-radius: 2px; }
.ov-shelf a.lk-guide { background: var(--g-bg); color: var(--g-ink); border: 1px solid var(--g-edge); border-top: 6px solid var(--g-bar); }
.ov-shelf a.lk-guide:hover { filter: brightness(.94); }
.ov-shelf span.lk-guide { background: var(--lk-panel); color: var(--lk-muted); border: 1px solid var(--lk-line); border-top: 1px dashed var(--lk-line); }
@media (max-width: 959px) {
  .ov-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 640px) {
  .ov-shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; height: auto; grid-auto-rows: 72px; }
  .ov-shelf > li, .ov-shelf .lk-guide { height: 72px; max-height: 72px; }
  .ov-nav { display: none; }
  .ov-logo-text { white-space: nowrap; }
  .ov-shelf .lk-guide { writing-mode: horizontal-tb; font-size: 13px; line-height: 1.15; padding: 10px 6px 6px; text-align: left; white-space: normal; overflow-wrap: normal; hyphens: none; letter-spacing: -.02em; }
  .ov-shelf > li { transform-origin: bottom; }
}
@media (prefers-reduced-motion: no-preference) {
  .ov-shelf > li { animation: ov-grow 480ms cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 28ms); }
  .ov-shelf > li:nth-child(2) { --i: 1; } .ov-shelf > li:nth-child(3) { --i: 2; } .ov-shelf > li:nth-child(4) { --i: 3; }
  .ov-shelf > li:nth-child(5) { --i: 4; } .ov-shelf > li:nth-child(6) { --i: 5; } .ov-shelf > li:nth-child(7) { --i: 6; }
  .ov-shelf > li:nth-child(8) { --i: 7; } .ov-shelf > li:nth-child(9) { --i: 8; } .ov-shelf > li:nth-child(10) { --i: 9; }
  .ov-shelf > li:nth-child(11) { --i: 10; } .ov-shelf > li:nth-child(12) { --i: 11; } .ov-shelf > li:nth-child(13) { --i: 12; }
  .ov-shelf > li:nth-child(14) { --i: 13; } .ov-shelf > li:nth-child(15) { --i: 14; } .ov-shelf > li:nth-child(16) { --i: 15; }
}
@keyframes ov-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---- 2 how ---- */
.ov-steps { list-style: none; margin: 0 0 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--lk-line); }
.ov-steps li { padding: 32px 28px 32px 0; max-width: none; }
.ov-steps li + li { padding-left: 28px; border-left: 1px solid var(--lk-line); }
.ov-n { display: block; font: 500 40px/1 var(--lk-font-mono); font-variant-numeric: tabular-nums; color: var(--lk-accent); margin-bottom: 20px; }
.ov-steps p { font-size: 20px; line-height: 1.35; max-width: 22ch; margin: 0; }
.ov-why { color: var(--lk-muted); max-width: 62ch; }
@media (max-width: 959px) {
  .ov-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ov-steps li:nth-child(n+3) { border-top: 1px solid var(--lk-line); }
}
@media (max-width: 640px) {
  .ov-steps { grid-template-columns: minmax(0, 1fr); }
  .ov-steps li, .ov-steps li + li { padding: 24px 0; border-left: 0; }
  .ov-steps li + li { border-top: 1px solid var(--lk-line); }
}

/* ---- 3 timeline ---- */
.ov-filters { margin: 0 0 24px; gap: 8px; }
.lk-filter { min-height: 44px; padding: 0 18px; font-size: 15px; background: transparent; }
.lk-filter[aria-pressed="true"] { background: var(--lk-panel); color: var(--lk-ink); border: 2px solid var(--lk-ink); padding: 0 17px; }
.lk-filter[aria-pressed="true"]::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--lk-ink); margin-right: 10px; }
.ov-timeline { border-collapse: separate; border-spacing: 0 4px; width: 100%; table-layout: fixed; }
.ov-timeline thead th { position: sticky; top: 0; z-index: 2; background: var(--lk-bg); padding: 12px 12px; text-align: left; font: 500 13px/1.2 var(--lk-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lk-muted); border-bottom: 1px solid var(--lk-line); }
.ov-timeline thead th:first-child { width: 280px; }
.ov-timeline tbody th, .ov-timeline tbody td { height: 64px; padding: 0 12px; vertical-align: middle; text-align: left; font-weight: 400; background: var(--lk-panel); }
.ov-timeline tbody th { padding: 0 16px; background: var(--g-bg, var(--lk-panel)); color: var(--g-ink, var(--lk-muted)); border: 1px solid var(--g-edge); border-left: 6px solid var(--g-bar, transparent); border-radius: 2px 0 0 2px; font: 700 18px/1.1 var(--lk-font-display); letter-spacing: -.02em; }
.ov-timeline tbody th a { color: inherit; text-decoration: none; display: flex; align-items: center; min-height: 64px; }
.ov-timeline tbody th a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.ov-timeline tbody th a:focus-visible { outline-offset: -3px; outline-color: var(--g-ink); }
.ov-timeline td[data-phase] { font: 500 15px/1 var(--lk-font-mono); font-variant-numeric: tabular-nums; color: var(--lk-ink); }
.ov-timeline td[data-phase].ov-zero { color: var(--lk-muted); }
.ov-timeline td[data-checked], .ov-timeline td[data-label="Checked"] { font: 500 13px/1.2 var(--lk-font-mono); font-variant-numeric: tabular-nums; color: var(--lk-muted); }
.ov-bar { display: block; height: 6px; margin-top: 8px; background: var(--g-bar); width: calc(var(--w, 0) * 100%); transition: width 240ms cubic-bezier(.2, .8, .2, 1); }
/* not published: plain name, one merged muted cell, dashed edge */
.ov-timeline tr:not([data-n]) th { background: var(--lk-panel); color: var(--lk-muted); border: 1px solid var(--lk-line); border-left: 1px dashed var(--lk-line); font-weight: 700; }
.ov-timeline tr:not([data-n]) td { color: var(--lk-muted); font: 500 13px/1.2 var(--lk-font-mono); letter-spacing: .08em; text-transform: uppercase; }
/* filters */
.ov-timeline tr.ov-off > * { opacity: .32; }
.ov-timeline .ov-dim { opacity: .32; }
@media (min-width: 761px) {
  .ov-timeline tbody th { width: 280px; }
}
@media (max-width: 760px) {
  .ov-timeline, .ov-timeline tbody { display: block; }
  .ov-timeline thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ov-timeline tbody tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: 12px; background: var(--lk-panel); border-radius: 2px; }
  .ov-timeline tbody th { grid-column: 1 / -1; height: auto; min-height: 56px; padding: 14px 16px; display: flex; align-items: center; border-radius: 2px 2px 0 0; }
  .ov-timeline tbody th a { min-height: 0; }
  .ov-timeline tbody td { height: auto; padding: 12px 10px 14px; }
  .ov-timeline td[data-phase]::before { display: block; font: 500 11px/1.2 var(--lk-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lk-muted); margin-bottom: 8px; }
  .ov-timeline td[data-phase="early"]::before { content: "Early"; }
  .ov-timeline td[data-phase="before"]::before { content: "Before"; }
  .ov-timeline td[data-phase="week"]::before { content: "Week"; }
  .ov-timeline td[data-phase="after"]::before { content: "After"; }
  .ov-timeline td[data-label="Checked"] { grid-column: 1 / -1; padding-top: 0; }
  .ov-timeline td[data-label="Checked"]::before { content: "Checked "; }
  .ov-timeline tr:not([data-n]) td { grid-column: 1 / -1; padding: 14px 16px; }
}

/* ---- 4 money ---- */
.ov-money { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.ov-rules { margin: 0; padding-left: 0; list-style: none; counter-reset: r; }
.ov-rules li { counter-increment: r; position: relative; padding: 0 0 24px 44px; max-width: 46ch; }
.ov-rules li::before { content: counter(r); position: absolute; left: 0; top: 2px; font: 500 15px/1.4 var(--lk-font-mono); color: var(--lk-muted); font-variant-numeric: tabular-nums; }
.ov-rules strong { display: block; color: var(--lk-ink); }
.ov-rules li { color: var(--lk-muted); }
.ov-money-ex { display: grid; gap: 24px; align-content: start; padding-top: 40px; }
.ov-ex { margin: 0; background: var(--lk-panel); border-left: 2px solid var(--lk-accent); padding: 24px 28px; }
.ov-ex .ov-label { margin-bottom: 12px; }
.ov-ex p { font-size: 20px; line-height: 1.5; max-width: 52ch; }
.ov-ex .lk-fact { white-space: normal; }
.ov-ex .lk-fact small { display: inline; margin-left: .35em; font: 500 13px/1.5 var(--lk-font-mono); color: var(--lk-muted); }
.ov-ex .lk-unverified { outline: 1px dashed var(--lk-muted); outline-offset: 3px; }
@media (max-width: 959px) {
  .ov-money { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ov-money-ex { padding-top: 0; }
}

/* ---- 5 you, 6 forget ---- */
.ov-you { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.ov-you li { padding: 20px 0; border-top: 1px solid var(--lk-line); max-width: none; color: var(--lk-muted); }
.ov-you strong { display: block; color: var(--lk-ink); font-size: 20px; line-height: 1.3; margin-bottom: 4px; }
.ov-forget { list-style: none; margin: 0; counter-reset: f; columns: 2; column-gap: 64px; }
.ov-forget li { counter-increment: f; position: relative; padding: 0 0 20px 48px; break-inside: avoid; max-width: none; }
.ov-forget li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: 3px; font: 500 14px/1.4 var(--lk-font-mono); color: var(--lk-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .ov-you { grid-template-columns: minmax(0, 1fr); }
  .ov-forget { columns: 1; }
}

/* ---- 7 run ---- */
.ov-tablist { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 4px; border-bottom: 1px solid var(--lk-line); margin-bottom: 28px; }
.ov-tablist button { min-height: 48px; padding: 0 20px; background: transparent; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font: 700 16px/1 var(--lk-font-body); color: var(--lk-muted); }
.ov-tablist button:hover { color: var(--lk-ink); }
.ov-tablist button[aria-selected="true"] { color: var(--lk-ink); border-bottom-color: var(--lk-ink); }
@media (max-width: 640px) {
  .ov-tablist button { padding: 0 10px; font-size: 15px; }
}
.ov-panel { max-width: 760px; }
.ov-panel + .ov-panel { margin-top: 40px; }
.ov-ph { font: 700 20px/1.2 var(--lk-font-display); letter-spacing: -.02em; margin: 0 0 12px; }
.lk-js .ov-ph { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lk-js .ov-panel + .ov-panel { margin-top: 0; }
.ov-where { color: var(--lk-muted); margin: 16px 0 0; }
.ov-zip { margin: 40px 0 0; }
.ov-zip .lk-btn { font-weight: 600; }

/* ---- 8 not, 9 agents ---- */
.ov-not { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.ov-limits { margin: 0; padding: 0 0 0 20px; color: var(--lk-muted); }
.ov-limits li { margin-bottom: 12px; }
.ov-links { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; font: 500 15px/1.4 var(--lk-font-mono); }
.ov-links a { display: inline-block; padding: 10px 0; }
@media (max-width: 760px) {
  .ov-not { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* ---- footer ---- */
.ov-footer { border-top: 1px solid var(--lk-line); padding-block: 32px 48px; color: var(--lk-ink); }
.ov-footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font: 500 13px/1.4 var(--lk-font-mono); letter-spacing: .08em; text-transform: uppercase; }
.ov-foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.ov-foot-brand img { width: 24px; height: 24px; filter: invert(1); }

@media (prefers-reduced-motion: reduce) {
  .ov-shelf > li { animation: none; }
  .ov-bar { transition: none; }
}
