/* site-v2.css v0.4.0 · 2026-11-27 · (v0.4.0, W17: linked by the six other pages too, for the home's bar and footer; the tour's slides keep their own snap, scroll-margin-top 0; v0.3.0: R3-PLAN, the small line above the hero's h1; v0.2.1: R2-PLAN addendum 2, section 5's quote over its line) · the home, /v2 and the six other pages (after site.css, whose classes it reuses) · tokens only, never a typed colour · round two: the hero's buttons, how it works, the stage examples, the example bar under the stages, six text rooms, the footer's links tall enough to tap */
[id] { scroll-margin-top: 96px; }
.tour > .slide[id] { scroll-margin-top: 0; }
/* the bar (section 0): five links that never wrap, shown from 1,000 px up; under that it folds to today's round menu button */
.nav.v2-bar .links a { white-space: nowrap; }
@media (max-width: 999px) { .nav.v2-bar .links { display: none; } .nav.v2-bar .phone-menu { display: block; } .nav.v2-bar .home { margin-right: auto; } }
.foot .flinks { flex-wrap: wrap; row-gap: 10px; }
/* the footer's links: each at least 40 px tall to tap under 1,000 px */
@media (max-width: 999px) { .foot .flinks a, .foot .disclaim a { display: inline-flex; align-items: center; min-height: 40px; } }
/* the one class for buttons under a heading: one gap above (26 px, the step .open uses; the kit has no spacing token) */
.v2-go { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
@media (max-width: 420px) { .v2-go .btn { max-width: 100%; white-space: normal; } }
.v2-three, .v2-five, .v2-aisles, .v2-floors, .v2-rr-rows, .v2-alert ul, .v2-ex-lines, .v2-plan ul { list-style: none; padding: 0; margin: 0; }
/* 1 the hero: his h1, his line, the two buttons on the first screen; the offer line when it has text */
@media (max-width: 767px) { .hero.v2-hero { padding-top: 40px; } }
/* v0.3.0: his line "The Algo: The Stock Market Made Simple" small above the h1 (a paragraph, not a heading; never in capitals) */
.v2-small { margin: 0 auto 14px; font-size: 1.05rem; font-weight: 500; line-height: 1.4; }
/* the longer h1 on phones narrower than 375 px: the kit's .h1 step, so the primary button stays on the first screen at 320 x 568 */
@media (max-width: 374px) { .v2-hero h1.display { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.05; letter-spacing: -0.035em; } }
.v2-offer { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; max-width: 660px; margin: 18px auto 0; padding: 10px 18px; border-radius: 999px;
  background: var(--accent-wash); color: var(--accent); font-weight: 600; font-size: 14px; }
.v2-offer-ends { font-family: var(--mono); font-weight: 500; }
.v2-pricing .v2-offer { margin-bottom: 18px; }
/* 2 how it works: his line as a quote, the three steps, his quote under them */
.v2-said { max-width: 660px; margin: 0 auto 22px; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); }
.v2-said p:first-child { font-size: 1.12rem; line-height: 1.55; color: var(--ink-1); }
.v2-said .label { margin-top: 6px; }
.v2-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: v2s; }
.v2-three > li { counter-increment: v2s; }
.v2-three .core, .v2-five .core { display: flex; flex-direction: column; gap: 8px; }
.v2-three .core::before { content: counter(v2s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-wash); color: var(--accent); font-weight: 600; font-size: 14px; }
.v2-quote { text-align: center; font-size: 1.12rem; color: var(--ink-1); margin-top: 26px; }
.v2-by { margin-top: 6px; }
/* 3 the six stages, each with its example line set apart in the kit's mono face; the example bar under them */
.v2-problem .stage p.v2-ex { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--hair); font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.v2-example { margin-top: 16px; }
.v2-example .core { display: grid; gap: 14px; align-content: start; }
.v2-example .eyebrow { justify-self: start; }
.v2-ex-bar { position: relative; height: 96px; }
.v2-ex-track { position: absolute; left: 0; right: 0; top: 44px; height: 8px; border-radius: 999px; background: var(--core-2); box-shadow: inset 0 0 0 1px var(--hair-strong); }
.v2-mark { position: absolute; left: var(--at); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; font-size: 12px; white-space: nowrap; color: var(--ink-2); }
.v2-mark::after { content: ""; position: absolute; left: 50%; width: 2px; height: 18px; margin-left: -1px; border-radius: 2px; background: var(--ink-1); }
.v2-mark div + div { font-weight: 600; color: var(--ink-1); font-variant-numeric: tabular-nums; }
.v2-mark.v2-a { top: 0; } .v2-mark.v2-a::after { top: 39px; }
.v2-mark.v2-b { top: 60px; } .v2-mark.v2-b::after { top: -21px; }
.v2-mark.v2-l { transform: none; align-items: flex-start; } .v2-mark.v2-l::after { left: 1px; }
.v2-mark.v2-r { transform: translateX(-100%); align-items: flex-end; } .v2-mark.v2-r::after { left: auto; right: -1px; }
/* the cycle as a drawing */
.v2-cycle { margin-top: 16px; }
.v2-cycle svg { display: block; width: 100%; height: 120px; overflow: visible; }
.v2-cycle path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.v2-cycle path.v2-dn { stroke: var(--down); } .v2-cycle path.v2-up { stroke: var(--up); } .v2-cycle path.v2-turn { stroke: url(#v2-turn-line); }
.v2-stop-dn { stop-color: var(--down); } .v2-stop-up { stop-color: var(--up); }
.v2-cycle path.v2-cut { stroke: var(--hair-strong); stroke-width: 1; stroke-dasharray: 4 4; }
.v2-spans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.v2-span { min-width: 0; padding-top: 10px; border-top: 3px solid var(--ink-3); }
.v2-span.v2-dn { border-top-color: var(--down); } .v2-span.v2-up { border-top-color: var(--up); }
.v2-span.v2-turn { border-image: linear-gradient(90deg, var(--down), var(--up)) 1; }
.v2-span h3 { overflow-wrap: anywhere; } .v2-span p { font-size: 13px; line-height: 1.45; margin-top: 4px; }
.v2-span .v2-does { font-weight: 600; color: var(--accent); }
.v2-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.v2-lines p { padding-top: 12px; border-top: 1px solid var(--hair-strong); font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.v2-two-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* 4 risk first */
.v2-risk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.v2-rr-rows { display: grid; gap: 12px; }
.v2-rr-rows li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 12px; align-items: start; padding-bottom: 12px; border-bottom: 1px solid var(--hair); font-size: 14px; }
.v2-sw { width: 12px; height: 12px; margin-top: 4px; border-radius: 4px; background: var(--ink-3); }
.v2-dn .v2-sw { background: var(--down); } .v2-warn .v2-sw { background: var(--warn); } .v2-up .v2-sw { background: var(--up); }
.v2-rr-k { display: flex; flex-wrap: wrap; gap: 8px; font-weight: 600; }
.v2-rr-k div + div { font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.v2-scale { margin-top: 14px; font-size: 14px; line-height: 1.5; } .v2-formula { margin-top: 10px; }
.v2-worked { margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--ink-1); font-variant-numeric: tabular-nums; }
.v2-extable { display: grid; gap: 16px; align-content: start; }
.v2-ex-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.v2-ex-table th, .v2-ex-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--hair); }
.v2-ex-table td:nth-child(2) { font-weight: 600; font-variant-numeric: tabular-nums; }
.v2-ex-table td:last-child { color: var(--ink-3); }
.v2-ex-lines { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
/* 5 two alerts, three timeframes */
.v2-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.v2-between { align-self: center; text-align: center; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.v2-alert h3 .chip, .v2-tf h3 .chip { font-size: 14px; padding: 5px 14px; }
.v2-line-top { max-width: 660px; margin: 0 auto 22px; line-height: 1.55; }
.v2-alert-k { margin-top: 12px; font-weight: 600; letter-spacing: 0.02em; }
.v2-alert ul { display: grid; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.v2-size { max-width: 660px; margin: 14px auto 0; line-height: 1.5; }
.v2-tfs { margin-top: 16px; }
.v2-tf { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.v2-tf h3 { margin-bottom: 4px; }
.v2-regret { max-width: 640px; margin: 18px auto 0; } .v2-regret p { margin-top: 6px; font-size: 14px; }
/* 6 the report: its flyer, two lines, the idea card under its caption, the five steps under their heading */
.v2-flyer .core { padding: 0; }
.v2-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 22px; background: var(--accent-wash); border-bottom: 1px solid var(--hair); }
.v2-flyer-body { padding: 22px; }
.v2-flyer-body h3 { margin-bottom: 8px; }
.v2-aisles { columns: 2; column-gap: 28px; counter-reset: v2a; }
.v2-aisles li { break-inside: avoid; counter-increment: v2a; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--hair); font-size: 14px; color: var(--ink-2); }
.v2-aisles li::before { content: counter(v2a); font-family: var(--mono); color: var(--ink-3); }
.v2-aisles b { color: var(--ink-1); font-weight: 600; }
.v2-caption { margin-top: 26px; }
.v2-idea { max-width: 460px; margin: 10px auto 0; }
.v2-idea .core { display: grid; gap: 14px; }
.v2-idea-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.v2-idea-name { font-weight: 600; font-size: 1.05rem; margin-right: auto; }
.v2-rr { display: inline-flex; align-items: baseline; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--up-wash); color: var(--up-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.v2-rr .label { color: inherit; }
.v2-px { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.v2-px dt { font-size: 11px; letter-spacing: 0.08em; color: var(--ink-3); }
.v2-px dd { margin: 2px 0 0; font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.v2-px dd.v2-ok { font-size: 12px; font-weight: 500; color: var(--up-ink); }
.v2-stamp { justify-self: start; display: inline-flex; padding: 4px 12px; border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; background: var(--cta-bg); color: var(--cta-ink); }
.v2-range { padding-top: 34px; }
.v2-track { position: relative; height: 8px; border-radius: 999px; background: var(--core-2); box-shadow: inset 0 0 0 1px var(--hair-strong); }
.v2-tick { position: absolute; top: -5px; left: var(--at); width: 2px; height: 18px; margin-left: -1px; border-radius: 2px; background: var(--ink-1); }
.v2-tick-label { position: absolute; bottom: 16px; left: var(--at); transform: translateX(-50%); display: flex; gap: 4px; font-size: 12px; white-space: nowrap; color: var(--ink-2); }
.v2-ends { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 12px; font-weight: 500; }
.v2-note { margin-top: 10px; }
.v2-five-h { text-align: center; margin-top: 32px; }
.v2-five { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 14px; }
.v2-five .core p { font-size: 13px; line-height: 1.5; }
/* 7 the rooms: a picture beside its sentence, alternating; six text cards, three to a row from 1,000 px, two from 600 px, one below */
.v2-rooms { display: grid; gap: 16px; margin-top: 16px; }
.v2-room .core { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: center; padding: 10px; }
.v2-room:nth-child(even) .v2-room-pic { order: 2; }
.v2-room-words { padding: 14px; min-width: 0; }
.v2-room-words p, .v2-card p { color: var(--ink-2); margin-top: 8px; line-height: 1.55; font-size: 14px; }
.v2-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
@media (min-width: 600px) { .v2-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .v2-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* 8 the video and Ask Justin */
.v2-video { margin-top: 26px; }
.v2-video + .label { margin-top: 10px; }
.v2-ask { margin-top: 16px; } .v2-ask p { margin-top: 8px; line-height: 1.55; }
/* 11 the four floors, bottom to top */
.v2-floors { display: flex; flex-direction: column-reverse; align-items: center; gap: 8px; max-width: 640px; margin: 20px auto 0; }
.v2-floors li { width: 100%; min-width: 0; text-align: center; padding: 14px 18px; border-radius: var(--r-md); background: var(--core); box-shadow: var(--core-hi), inset 0 0 0 1px var(--hair); }
.v2-floors li:nth-child(2) { width: 85%; } .v2-floors li:nth-child(3) { width: 70%; } .v2-floors li:nth-child(4) { width: 55%; }
.v2-floors p { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
/* 14 pricing */
.v2-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 760px; margin: 18px auto 0; }
.v2-plan .core, .v2-closed .core { text-align: center; padding: 32px 24px; }
.v2-price { font-size: 2.4rem; font-weight: 600; letter-spacing: -0.03em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.v2-closed { max-width: 640px; margin: 0 auto; } .v2-closed p { margin-top: 8px; }
@media (max-width: 1100px) { .v2-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .v2-risk-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .v2-three, .v2-lines, .v2-two-lines { grid-template-columns: minmax(0, 1fr); } .v2-aisles { columns: 1; }
  .v2-spans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-room .core { grid-template-columns: minmax(0, 1fr); gap: 8px; } .v2-room:nth-child(even) .v2-room-pic { order: 0; } }
