/* Finish Line Sheets · design system (site.css)
 * Near-black graph paper, signal yellow for the date and the buy button, mint for wins, red for interest.
 * Numbers are always mono, and their color carries meaning (never decoration).
 * Class cheat-sheet: /styleguide/ (pages/styleguide.html). Mobile first; breakpoints 768 (tablet) / 1024 (desktop).
 */

/* ------------------------------------------------------------------ tokens */
:root {
  --bg: #0B0D0B;
  --bg-2: #101310;
  --panel: #121512;
  --panel-2: #171B17;
  --panel-3: #1D221D;
  --line: #2A2E29;
  --line-2: #3A4038;
  --ink: #F4F1E8;
  --ink-2: #D8D5CB;
  --muted: #A7A9A0;
  --dim: #6F726A;
  --yellow: #F2CF4A;
  --yellow-hi: #FADD6B;
  --yellow-press: #DDB935;
  --yellow-deep: #8F7414;
  --mint: #3DDC97;
  --mint-deep: #1F8F5E;
  --red: #FF5A4E;
  --red-deep: #B4362D;
  --paper: #F4F1E8;
  --sheet: #0E110F;

  --yellow-a06: rgba(242, 207, 74, .06);
  --yellow-a12: rgba(242, 207, 74, .12);
  --yellow-a25: rgba(242, 207, 74, .25);
  --mint-a10: rgba(61, 220, 151, .10);
  --mint-a25: rgba(61, 220, 151, .25);
  --red-a08: rgba(255, 90, 78, .08);
  --red-a25: rgba(255, 90, 78, .25);
  --grid-line: rgba(244, 241, 232, .04);

  --f-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.3, 1.4, .5, 1);
  --r-s: 8px;
  --r: 12px;
  --r-l: 14px;
  --r-xl: 18px;
  --gutter: 20px;
  --max: 1120px;
  --sticky-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --shadow: 0 1px 0 rgba(255, 255, 255, .035) inset, 0 24px 48px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
html.has-modal { overflow: hidden; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
@media (min-width: 1024px) { body { font-size: 18px; } }
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--yellow); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 900; letter-spacing: -.022em; word-spacing: .04em; line-height: 1.02; text-wrap: balance; }
strong, b { font-weight: 700; }
hr { border: 0; height: 1px; background: var(--line); margin: 24px 0; }
::selection { background: var(--yellow); color: var(--bg); }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--yellow); color: var(--bg); padding: 10px 14px; border-radius: var(--r-s); font-weight: 800; text-decoration: none; }
.skip:focus { top: 8px; }

/* ------------------------------------------------------------------ layout */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(640px + var(--gutter) * 2); }
.wrap--mid { max-width: calc(860px + var(--gutter) * 2); }
.section { position: relative; padding: 64px 0; isolation: isolate; }
.section::before { /* graph paper, fading toward the bottom of the section */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, .55) 45%, transparent 92%);
  mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, .55) 45%, transparent 92%);
}
.section--band { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--plain::before { display: none; }
.section--tight { padding: 40px 0; }
.section--hero { padding: 20px 0 40px; }
@media (min-width: 1024px) {
  .section { padding: 112px 0; }
  .section--tight { padding: 64px 0; }
  .section--hero { padding: 56px 0 96px; }
}
.glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow::after {
  content: ""; position: absolute; width: 900px; height: 600px; left: -280px; top: -320px;
  background: radial-gradient(closest-side, rgba(242, 207, 74, .13), transparent 70%);
}
.glow--right::after { left: auto; right: -300px; }
.glow--mint::after { background: radial-gradient(closest-side, rgba(61, 220, 151, .10), transparent 70%); }
.glow--red::after { background: radial-gradient(closest-side, rgba(255, 90, 78, .10), transparent 70%); }

.stack > * + * { margin-top: var(--gap, 16px); }
.stack--s { --gap: 8px; }
.stack--l { --gap: 24px; }
.stack--xl { --gap: 40px; }
.cluster { display: flex; flex-wrap: wrap; gap: var(--gap, 8px); align-items: center; }
.grid { display: grid; gap: var(--gap, 16px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid--2-md { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3-md { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.split { display: grid; gap: 32px; align-items: center; }
.split > *, .grid > *, .cluster > * { min-width: 0; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 45fr 55fr; gap: 64px; }
  .split--60 { grid-template-columns: 60fr 40fr; }
  .split--50 { grid-template-columns: 1fr 1fr; }
  .split--top { align-items: start; }
  .split--flip > :first-child { order: 2; }
}
.center { text-align: center; }
.center .btn--primary, .center .risk { margin-inline: auto; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px !important; } .mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; } .mt-4 { margin-top: 32px !important; } .mt-6 { margin-top: 48px !important; }
@media (max-width: 767.98px) { .only-desktop, .only-tablet-up { display: none !important; } }
@media (max-width: 1023.98px) { .only-desktop { display: none !important; } }
@media (min-width: 768px) { .only-mobile { display: none !important; } }

/* ------------------------------------------------------------------ type */
.h1 { font-size: 34px; line-height: 1.0; font-weight: 900; letter-spacing: -.026em; word-spacing: .04em; }
.h2 { font-size: 28px; line-height: 1.04; font-weight: 900; letter-spacing: -.022em; word-spacing: .04em; }
.h3 { font-size: 20px; line-height: 1.15; font-weight: 800; letter-spacing: -.015em; }
.h-xl { font-size: 44px; line-height: .95; font-weight: 900; letter-spacing: -.03em; word-spacing: .04em; }
@media (min-width: 390px) { .h1 { font-size: 36px; } }
@media (min-width: 1024px) {
  .h1 { font-size: 60px; } .h2 { font-size: 44px; } .h3 { font-size: 24px; } .h-xl { font-size: 84px; }
}
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 38em; }
@media (min-width: 1024px) { .lead { font-size: 20px; } }
.body { color: var(--ink-2); max-width: 40em; }
.body > p + p, .body > p + ul, .body > ul + p { margin-top: 24px; }
.muted { color: var(--muted); }
.fine { font-size: 13px; line-height: 1.55; color: var(--muted); }
.mono, .num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.num { font-weight: 700; }
.tag { font: 500 10px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.t-yellow { color: var(--yellow) !important; } .t-mint { color: var(--mint) !important; } .t-red { color: var(--red) !important; }
.t-muted { color: var(--muted) !important; } .t-ink { color: var(--ink) !important; } .t-dim { color: var(--dim) !important; }
.hl { color: var(--yellow); }
/* the spreadsheet "selected cell": yellow box + fill handle, for one word in a headline */
.hl-cell { position: relative; display: inline-block; color: var(--yellow); padding: 0 .12em; margin: 0 -.04em; box-shadow: inset 0 0 0 .055em var(--yellow); border-radius: .04em; background: var(--yellow-a06); line-height: 1.02; }
.hl-cell::after { content: ""; position: absolute; right: -.1em; bottom: -.1em; width: .17em; height: .17em; background: var(--yellow); box-shadow: 0 0 0 .04em var(--bg); }
.strike { position: relative; color: var(--muted); white-space: nowrap; text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.strike--draw { text-decoration: none; }
.strike--draw::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.strike--draw.is-on::after, .is-in .strike--draw::after { transform: scaleX(1); }
.punch { font-size: 28px; line-height: 1.08; font-weight: 900; letter-spacing: -.022em; word-spacing: .04em; }
.punch > span { display: block; }
.punch > span:last-child { color: var(--yellow); }
@media (min-width: 1024px) { .punch { font-size: 36px; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; flex: none; box-shadow: 0 0 12px currentColor; }
.eyebrow--red { color: var(--red); } .eyebrow--mint { color: var(--mint); } .eyebrow--muted { color: var(--muted); }
.eyebrow--plain::before { display: none; }
.ref { display: inline-block; font: 700 10px/1 var(--f-mono); letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line-2); border-radius: 4px; padding: 3px 5px; vertical-align: middle; }

/* section header: eyebrow + h2 + lead */
.shd > * + * { margin-top: 12px; }
.shd .h2 + .lead, .shd .h2 + .body { margin-top: 16px; }
.shd--center { text-align: center; }
.shd--center .lead, .shd--center .body { margin-inline: auto; }
.shd + * { margin-top: 32px; }
@media (min-width: 1024px) { .shd + * { margin-top: 48px; } }

/* ------------------------------------------------------------------ buttons */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 18px; border-radius: var(--r); border: 0;
  font: 800 16px/1.1 var(--f-sans); letter-spacing: -.005em; word-spacing: .03em; text-decoration: none; text-align: center;
  -webkit-tap-highlight-color: transparent; user-select: none;
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), background-color .18s, color .18s, border-color .18s;
}
.btn:hover { text-decoration: none; }
.btn--primary {
  --h: 56px;
  width: 100%; max-width: 420px; padding: 0 10px 0 20px; justify-content: space-between;
  color: #0B0D0B; font-size: 18px;
  background: linear-gradient(180deg, var(--yellow-hi) 0%, var(--yellow) 55%, #EDC73C 100%);
  box-shadow: 0 4px 0 var(--yellow-deep), 0 1px 0 rgba(255, 255, 255, .5) inset, 0 14px 32px -12px rgba(242, 207, 74, .55);
  overflow: hidden;
}
.btn--primary::after { /* one sweep of light on hover (desktop pointer only) */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-18deg);
}
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover::after { left: 130%; transition: left .7s var(--ease); }
  .btn--primary:hover { box-shadow: 0 4px 0 var(--yellow-deep), 0 1px 0 rgba(255, 255, 255, .5) inset, 0 18px 40px -12px rgba(242, 207, 74, .7); }
}
.btn--primary:active, .btn--primary.is-pressed { transform: translateY(3px); background: var(--yellow-press); box-shadow: 0 1px 0 var(--yellow-deep), 0 6px 18px -10px rgba(242, 207, 74, .5); }
.btn--primary:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
.btn--primary.btn--center { justify-content: center; padding: 0 20px; }
.btn__label { flex: 1 1 auto; text-align: left; }
.btn--center .btn__label { flex: none; text-align: center; }
.btn__price {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  font: 700 15px/1 var(--f-mono); letter-spacing: -.02em; color: var(--yellow);
  background: #0B0D0B; border-radius: 8px; padding: 10px 11px 10px 12px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25);
}
.btn__price::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin-left: 1px; }
.btn--lg { --h: 64px; font-size: 19px; }
.btn--lg .btn__price { padding: 13px 12px 13px 14px; font-size: 16px; }
.btn--bar { --h: 48px; width: auto; max-width: none; font-size: 16px; padding: 0 6px 0 16px; gap: 10px; }
.btn--bar.btn--center { padding: 0 18px; }
.btn--bar .btn__price { padding: 8px 9px 8px 10px; font-size: 14px; }
.btn--secondary { color: var(--yellow); background: transparent; box-shadow: inset 0 0 0 2px var(--yellow); }
.btn--secondary:hover { background: var(--yellow-a12); }
.btn--secondary:active { transform: translateY(1px); background: var(--yellow-a25); }
.btn--ghost { color: var(--ink); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--muted); }
.btn--ghost:active { transform: translateY(1px); }
.btn--mint { color: #06150E; background: var(--mint); box-shadow: 0 4px 0 var(--mint-deep); }
.btn--mint:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--mint-deep); }
.btn--sm { --h: 48px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; max-width: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none !important; }
.btn[aria-busy="true"] { color: transparent !important; pointer-events: none; }
.btn[aria-busy="true"] > * { visibility: hidden; }
.btn[aria-busy="true"]::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; border: 3px solid rgba(11, 13, 11, .25); border-top-color: #0B0D0B; animation: fls-spin .7s linear infinite;
}
.btn--secondary[aria-busy="true"]::before, .btn--ghost[aria-busy="true"]::before { border-color: rgba(244, 241, 232, .2); border-top-color: var(--ink); }
@keyframes fls-spin { to { transform: rotate(360deg); } }
.btn-no { /* the plain "No thanks" choice: a full 48px row, muted text */
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 12px;
  background: none; border: 0; color: var(--muted); font: 500 15px/1.2 var(--f-sans); text-decoration: underline; text-underline-offset: 3px;
}
.btn-no:hover { color: var(--ink); }
.link { color: var(--yellow); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
.link--muted { color: var(--muted); font-weight: 500; }
.link--mono { font: 500 13px/1.3 var(--f-mono); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); font: 700 13px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; background: none; border: 0; padding: 8px 0; min-height: 48px; cursor: pointer; }
.link-arrow:hover { text-decoration: underline; }

/* risk line under every primary CTA */
.risk { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 0; max-width: 420px; margin-top: 12px; font: 500 12px/1.5 var(--f-mono); color: var(--muted); letter-spacing: -.01em; }
.risk > span { white-space: nowrap; }
.risk > span:not(:last-child)::after { content: "·"; color: var(--yellow); font-weight: 700; margin: 0 .55em; }
@media (min-width: 390px) { .risk { font-size: 13px; } }
@media (min-width: 1024px) { .risk { max-width: 520px; } }
.risk--left { justify-content: flex-start; }
.cta-block { display: flex; flex-direction: column; align-items: stretch; }
.cta-block .risk { align-self: stretch; }
@media (min-width: 1024px) { .cta-block { align-items: flex-start; } .cta-block .risk { justify-content: flex-start; } .center .cta-block, .cta-block--center { align-items: center; } .center .cta-block .risk, .cta-block--center .risk { justify-content: center; } }

/* ------------------------------------------------------------------ cards / panels */
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; box-shadow: var(--shadow); }
@media (min-width: 1024px) { .card { padding: 24px; } .card--lg { padding: 32px; } .card__v { font-size: 30px; } }
.card--grid { background-color: var(--panel); background-image: linear-gradient(rgba(244, 241, 232, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 241, 232, .03) 1px, transparent 1px); background-size: 16px 16px; background-position: -1px -1px; }
.card--sunk { background: var(--bg-2); box-shadow: none; }
.card--yellow { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow-a25), var(--shadow); }
.card--mint { border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint-a25), 0 0 40px -16px var(--mint), var(--shadow); }
.card--red { border-color: var(--red); box-shadow: 0 0 0 1px var(--red-a25), var(--shadow); }
.card--dashed { border: 2px dashed var(--yellow); background: var(--yellow-a06); box-shadow: none; }
.card--flag { padding-top: 24px; overflow: hidden; }
.card--flag::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-conic-gradient(var(--ink) 0 25%, transparent 0 50%) 0 0 / 8px 8px; opacity: .9; }
.card__hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card__k { font: 700 11px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__v { font: 700 24px/1.05 var(--f-mono); letter-spacing: -.03em; margin-top: 6px; }
.card__s { font: 500 13px/1.4 var(--f-mono); color: var(--muted); margin-top: 6px; }
/* the one light object on the site: the receipt */
.receipt {
  position: relative; background: var(--paper); color: #141612; border-radius: 6px 6px 0 0; padding: 20px 18px 28px;
  font: 500 13px/1.5 var(--f-mono); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from 135deg at top, #000 90deg, transparent 0) bottom / 16px 8px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from 135deg at top, #000 90deg, transparent 0) bottom / 16px 8px repeat-x;
}
.receipt .line { border-color: rgba(20, 22, 18, .2); }
.receipt .t-muted { color: #5E6158 !important; }

/* ------------------------------------------------------------------ inputs */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { display: flex; align-items: center; gap: 6px; font: 700 11px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field__help { font-size: 13px; line-height: 1.45; color: var(--muted); }
.field__error { font-size: 13px; line-height: 1.45; color: var(--red); display: none; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .input, .field.is-invalid .cell { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-a25); }
/* the sheet's yellow "typing cell" */
.cell {
  position: relative; display: flex; align-items: center; height: 56px; padding: 0 12px; gap: 4px;
  background: var(--yellow-a06); border: 2px solid var(--yellow); border-radius: var(--r-s);
  transition: background-color .18s, box-shadow .18s;
}
.cell:focus-within { background: var(--yellow-a12); box-shadow: 0 0 0 4px var(--yellow-a25); }
.cell::after { /* fill handle, shows on focus */
  content: ""; position: absolute; right: -5px; bottom: -5px; width: 8px; height: 8px; background: var(--yellow);
  box-shadow: 0 0 0 2px var(--bg); opacity: 0; transform: scale(.4); transition: opacity .18s, transform .18s var(--spring);
}
.cell:focus-within::after { opacity: 1; transform: none; }
.cell__pre, .cell__suf { flex: none; font: 700 16px/1 var(--f-mono); color: rgba(242, 207, 74, .75); }
.cell input, .cell select {
  flex: 1 1 auto; min-width: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; outline: none;
  font: 700 20px/1 var(--f-mono); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums;
  -moz-appearance: textfield; appearance: none;
}
.cell input::-webkit-outer-spin-button, .cell input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cell--sm { height: 52px; padding: 0 10px; }
.cell--sm input { font-size: 16px; }
.cell--right input { text-align: right; }
.cells { display: grid; grid-template-columns: 1.25fr .9fr 1.1fr; gap: 8px; align-items: end; }
.cells .field__label { font-size: 10px; letter-spacing: .05em; line-height: 1.25; }
@media (min-width: 1024px) { .cells .field__label { font-size: 11px; letter-spacing: .08em; } }
.cells .cell { padding: 0 8px; }
.cells .cell input { font-size: 18px; }
@media (min-width: 390px) { .cells .cell { padding: 0 10px; } .cells .cell input { font-size: 19px; } }
@media (min-width: 1024px) { .cells { gap: 12px; } .cells .cell input { font-size: 22px; } .cells .cell { height: 60px; } }
.input {
  width: 100%; height: 52px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel-2);
  font: 500 17px/1 var(--f-sans); color: var(--ink); transition: border-color .18s, box-shadow .18s;
}
.input::placeholder { color: var(--dim); }
.input:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-a25); }
.input--mock { display: flex; align-items: center; color: var(--dim); user-select: none; }
.tip {
  display: inline-grid; place-items: center; width: 18px; height: 18px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--panel-2); color: var(--yellow); font: 700 11px/1 var(--f-mono); position: relative;
}
.tip::before { content: ""; position: absolute; inset: -14px; } /* 46px tap area */
.tip__pop { position: absolute; z-index: 20; margin-top: 8px; max-width: 280px; padding: 10px 12px; border-radius: 10px; background: var(--ink); color: var(--bg); font: 500 13px/1.45 var(--f-sans); box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .8); text-transform: none; letter-spacing: 0; }
.has-tip { position: relative; }

/* switch (checkout add-on toggle) */
.switch { position: relative; flex: none; width: 52px; height: 30px; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch__track { position: absolute; inset: 0; border-radius: 999px; background: var(--panel-3); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s; }
.switch__track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--muted); transition: transform .25s var(--spring), background-color .2s; }
.switch input:checked + .switch__track { background: var(--yellow); box-shadow: none; }
.switch input:checked + .switch__track::after { transform: translateX(22px); background: #0B0D0B; }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--mint); outline-offset: 3px; }
.toggle-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-l); border: 2px solid var(--yellow); background: var(--yellow-a06); cursor: pointer; }
.toggle-row__t, .toggle-row__s, .toggle-row__on { display: block; }
.toggle-row__t { font-weight: 800; font-size: 16px; line-height: 1.25; }
.toggle-row__s { font-size: 14px; color: var(--ink-2); margin-top: 4px; line-height: 1.45; }
.toggle-row .toggle-row__on { font: 700 12px/1.4 var(--f-mono); color: var(--mint); margin-top: 8px; display: none; }
.toggle-row:has(input:checked) .toggle-row__on, .toggle-row.is-on .toggle-row__on { display: block; }

/* ------------------------------------------------------------------ chips, picks, segmented */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(11, 13, 11, .7); font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.chip--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.chip--yellow { color: var(--yellow); border-color: rgba(242, 207, 74, .45); }
.chip--mint { color: var(--mint); border-color: rgba(61, 220, 151, .45); background: var(--mint-a10); }
.chip--red { color: var(--red); border-color: rgba(255, 90, 78, .45); background: var(--red-a08); }
.chip--solid { background: var(--yellow); color: #0B0D0B; border-color: var(--yellow); font-weight: 700; }
.chip--plain { border: 0; background: none; padding: 0; height: auto; }
.picks-label { font: 700 10px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.picks--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pick {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; padding: 6px 4px;
  border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink);
  transition: border-color .18s, background-color .18s, box-shadow .25s var(--ease), transform .12s;
}
.pick:hover { border-color: var(--muted); }
.pick:active { transform: scale(.97); }
.pick__amt { font: 700 16px/1 var(--f-mono); letter-spacing: -.02em; }
.pick__sub { font: 500 11px/1 var(--f-mono); color: var(--muted); white-space: nowrap; }
.pick[aria-pressed="true"] { border-color: var(--mint); background: var(--mint-a10); box-shadow: 0 0 0 1px var(--mint), 0 0 28px -6px rgba(61, 220, 151, .6); }
.pick[aria-pressed="true"] .pick__amt { color: var(--mint); }
.pick[aria-pressed="true"] .pick__sub { color: var(--ink-2); }
.pick[aria-pressed="true"]::after { content: ""; position: absolute; top: 5px; right: 6px; width: 7px; height: 4px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.seg { display: inline-flex; padding: 3px; gap: 3px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line-2); }
.seg > button { min-height: 48px; min-width: 64px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: 700 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; transition: background-color .18s, color .18s; }
.seg > button:hover { color: var(--ink); }
.seg > button[aria-pressed="true"] { background: var(--panel-3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg > button[data-tone="red"][aria-pressed="true"] { background: var(--red); color: #1A0605; box-shadow: none; }
.seg > button[data-tone="mint"][aria-pressed="true"] { background: var(--mint); color: #06150E; box-shadow: none; }
.seg > button[data-tone="yellow"][aria-pressed="true"] { background: var(--yellow); color: #0B0D0B; box-shadow: none; }
.seg--block { display: flex; } .seg--block > button { flex: 1; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 6px 12px; border-radius: 999px; font: 700 13px/1.2 var(--f-mono); }
.pill--mint { color: var(--mint); background: var(--mint-a10); box-shadow: inset 0 0 0 1px rgba(61, 220, 151, .4); }
.pill--red { color: var(--red); background: var(--red-a08); box-shadow: inset 0 0 0 1px rgba(255, 90, 78, .4); }
.pill--yellow { color: var(--yellow); background: var(--yellow-a06); box-shadow: inset 0 0 0 1px rgba(242, 207, 74, .4); }

/* ------------------------------------------------------------------ numbers */
.bigdate { display: block; font: 700 40px/1.05 var(--f-mono); letter-spacing: -.045em; word-spacing: -.22em; color: var(--yellow); text-shadow: 0 0 32px rgba(242, 207, 74, .25); white-space: nowrap; }
@media (max-width: 374.98px) { .bigdate { font-size: 34px; } }
@media (min-width: 1024px) { .bigdate { font-size: 56px; } }
.bigdate--mint { color: var(--mint); text-shadow: 0 0 32px rgba(61, 220, 151, .25); }
.bigdate--red { color: var(--red); text-shadow: none; }
.bigdate--ink { color: var(--ink); text-shadow: none; }
.result-k { font: 700 11px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.line-mint, .line-red, .line-muted { font: 500 14px/1.45 var(--f-mono); letter-spacing: -.01em; }
.line-mint { color: var(--mint); } .line-red { color: var(--red); font-size: 13px; } .line-muted { color: var(--muted); font-size: 13px; }
/* odometer: core.js FLS.odo(el, text) */
.odo { display: inline-flex; white-space: pre; vertical-align: bottom; }
.odo__c { display: inline-block; white-space: pre; }
.odo__c.is-roll { overflow: hidden; height: 1.08em; line-height: 1.08em; vertical-align: bottom; }
.odo__s { display: flex; flex-direction: column; transition: transform .3s var(--ease); }
.odo__s > span { display: block; height: 1.08em; line-height: 1.08em; white-space: pre; }
.odo.is-rolling .odo__s { transform: translateY(-1.08em); }
.odo__s.is-down { transform: translateY(-1.08em); }
.odo.is-rolling .odo__s.is-down { transform: translateY(0); }
.stat { position: relative; padding: 14px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.stat::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--line-2); }
.stat__k { font: 700 10px/1.25 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat__v { font: 700 32px/1.05 var(--f-mono); letter-spacing: -.04em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.stat__s { font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 4px; }
.stat--red .stat__v { color: var(--red); } .stat--red::before { background: var(--red); }
.stat--mint .stat__v { color: var(--mint); } .stat--mint::before { background: var(--mint); }
.stat--yellow .stat__v { color: var(--yellow); } .stat--yellow::before { background: var(--yellow); }
@media (min-width: 1024px) { .stat { padding: 20px; } .stat__v { font-size: 40px; } }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 1024px) { .stats { gap: 12px; } .stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ticker { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1.3 var(--f-mono); color: var(--red); }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.dot--pulse { animation: fls-pulse 1s ease-out infinite; }
@keyframes fls-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 78, .7); } 100% { box-shadow: 0 0 0 9px rgba(255, 90, 78, 0); } }
.dot--mint { background: var(--mint); } .dot--yellow { background: var(--yellow); }

/* ------------------------------------------------------------------ bars (fill left to right when .is-in) */
.bar { display: flex; height: 32px; border-radius: 8px; overflow: hidden; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); }
.bar--sm { height: 12px; border-radius: 6px; }
.bar__seg { display: flex; align-items: center; justify-content: center; width: var(--w, 0%); min-width: 0; overflow: hidden; white-space: nowrap; font: 700 11px/1 var(--f-mono); color: #0B0D0B; transition: width .7s var(--ease); }
html.js .bar[data-reveal]:not(.is-in) .bar__seg, html.js [data-reveal]:not(.is-in) .bar .bar__seg { width: 0; }
.bar__seg + .bar__seg { transition-delay: .35s; box-shadow: -1px 0 0 var(--bg); }
.bar__seg--red { background: var(--red); }
.bar__seg--yellow { background: var(--yellow); }
.bar__seg--mint { background: var(--mint); }
.bar__seg--ink { background: var(--line-2); color: var(--ink); }
.bar-legend { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font: 500 12px/1.35 var(--f-mono); }
.hbar { position: relative; height: 36px; border-radius: 8px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.hbar__fill { position: absolute; inset: 0 auto 0 0; width: var(--w, 100%); background: var(--red); border-radius: 8px; transition: width .9s var(--ease), background-color .3s; }
.hbar__fill--yellow { background: var(--yellow); } .hbar.is-done .hbar__fill { background: var(--mint); }
.hbar__l { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font: 700 12px/1 var(--f-mono); color: var(--ink); }
.hbar__l > :first-child { color: #0B0D0B; }
.hbar.is-done .hbar__l { color: #06150E; }

/* ------------------------------------------------------------------ checkered finish-line divider */
.flagline { height: 8px; background: repeating-conic-gradient(var(--ink) 0 25%, var(--bg) 0 50%) 0 0 / 8px 8px; opacity: .92; }
.flagline--lg { height: 16px; background-size: 16px 16px; }
.flagline--inset { max-width: var(--max); margin: 0 auto; border-radius: 2px; }
.flagline--yellow { background: repeating-conic-gradient(var(--yellow) 0 25%, var(--bg) 0 50%) 0 0 / 8px 8px; }
html.js .flagline--draw { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
html.js .flagline--draw.is-in { clip-path: inset(0 0 0 0); }
.flagmark { display: inline-block; width: 16px; height: 12px; background: repeating-conic-gradient(var(--ink) 0 25%, var(--bg) 0 50%) 0 0 / 8px 8px; border-radius: 2px; vertical-align: middle; }

/* ------------------------------------------------------------------ lists */
:where(.ticks, .xs, .steps, .lines, .site-ft__links) { margin: 0; }
.ticks, .xs { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li, .xs li { position: relative; padding-left: 30px; line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint-a10); box-shadow: inset 0 0 0 1px rgba(61, 220, 151, .5); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 8px; height: 5px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.xs li::before, .xs li::after { content: ""; position: absolute; left: 4px; top: 10px; width: 12px; height: 2px; background: var(--red); transform: rotate(45deg); }
.xs li::after { transform: rotate(-45deg); }
.ticks--inline { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 500 13px/1.3 var(--f-mono); color: var(--ink-2); }
.ticks--inline li { padding-left: 24px; }
.ticks--inline li::before { width: 16px; height: 16px; top: -1px; }
.ticks--inline li::after { left: 5px; top: 3px; width: 7px; height: 4px; }

/* ------------------------------------------------------------------ callouts, status, steps, formula, summary */
.callout { padding: 20px; border-radius: var(--r); border: 1px solid var(--red); background: var(--red-a08); }
.callout--mint { border-color: var(--mint); background: var(--mint-a10); }
.callout--yellow { border-color: var(--yellow); background: var(--yellow-a06); }
.callout--quiet { border-color: var(--line-2); background: var(--panel); }
.status { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px var(--gutter); background: rgba(61, 220, 151, .12); border-bottom: 1px solid rgba(61, 220, 151, .3); font: 500 14px/1.35 var(--f-sans); color: var(--ink); }
.status__check { flex: none; width: 24px; height: 24px; }
.status__check circle { fill: var(--mint); }
.status__check path { fill: none; stroke: #06150E; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 0; }
html.js .status__check path { animation: fls-draw .5s .15s var(--ease) both; }
@keyframes fls-draw { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }
.steps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font: 500 11px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); list-style: none; padding: 0; }
.steps li { display: inline-flex; align-items: center; gap: 6px; }
.steps li + li::before { content: ""; width: 14px; height: 1px; background: var(--line-2); margin-right: 2px; }
.steps .is-done { color: var(--mint); }
.steps .is-done::after { content: "✓"; }
.steps .is-now { color: var(--yellow); }
.formula { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); overflow: hidden; font: 500 12px/1.4 var(--f-mono); }
.formula__fx { flex: none; display: grid; place-items: center; padding: 0 10px; border-right: 1px solid var(--line); color: var(--muted); font-style: italic; font-weight: 700; }
.formula__code { flex: 1; min-width: 0; padding: 9px 10px; overflow-x: auto; white-space: nowrap; color: var(--ink-2); scrollbar-width: none; }
.formula__code::-webkit-scrollbar { display: none; }
.formula__code .f-fn { color: var(--yellow); } .formula__code .f-ref { color: var(--mint); } .formula__code .f-str { color: #E8A87C; }
.caret { display: inline-block; width: .55em; height: 1.1em; vertical-align: -.2em; background: var(--yellow); margin-left: 1px; animation: fls-blink 1s steps(1) 6; }
@keyframes fls-blink { 50% { opacity: 0; } }
.lines { list-style: none; padding: 0; }
.line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.line:last-child { border-bottom: 0; }
.line__l { min-width: 0; }
.line__t { font-weight: 700; line-height: 1.3; }
.line__s { font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.line__r { flex: none; font: 700 15px/1.3 var(--f-mono); font-variant-numeric: tabular-nums; }
.line--total { border-top: 1px solid var(--line-2); border-bottom: 0; padding-top: 14px; margin-top: 4px; }
.line--total .line__t { font: 700 12px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.line--total .line__r { font-size: 26px; color: var(--yellow); letter-spacing: -.03em; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price__v { font: 700 56px/1 var(--f-mono); letter-spacing: -.05em; color: var(--yellow); }
.price__note { font: 500 13px/1.4 var(--f-mono); color: var(--muted); }
/* "DEBT-FREE: ______" box (top of the Countdown printable) */
.countbox { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 28px; border: 2px solid var(--yellow); border-radius: 10px; background: var(--yellow-a06); max-width: 100%; }
.countbox__k { font: 700 12px/1 var(--f-mono); letter-spacing: .16em; color: var(--muted); }
.countbox__v { position: relative; font: 700 30px/1.1 var(--f-mono); letter-spacing: -.04em; color: var(--yellow); min-width: 8ch; text-align: center; border-bottom: 2px dashed rgba(242, 207, 74, .5); padding: 0 6px 6px; }
.countbox__v.is-empty { color: var(--muted); font-size: 18px; letter-spacing: -.01em; padding-top: 8px; }
.countbox__s { font: 500 12px/1.4 var(--f-mono); color: var(--muted); }
@media (min-width: 1024px) { .countbox { padding: 28px 44px; } .countbox__v { font-size: 44px; } }
.ring { position: absolute; left: -26px; top: -14px; width: calc(100% + 52px); height: calc(100% + 26px); pointer-events: none; overflow: visible; }
.ring path { fill: none; stroke: var(--mint); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ring.is-on path { stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--ease); }

/* ------------------------------------------------------------------ media frames (+ SAMPLE NUMBERS chip) */
.frame { position: relative; overflow: hidden; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--panel); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--tilt { transform: rotate(-2deg); }
.frame--tilt-r { transform: rotate(2deg); }
.frame--bare { border: 0; background: none; box-shadow: none; }
.frame__chip { position: absolute; z-index: 2; top: 10px; left: 10px; }
.frame__chip--br { top: auto; left: auto; bottom: 10px; right: 10px; }
.frame__cap { font: 500 11px/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* ------------------------------------------------------------------ mini Holiday Plan card (popup + /one-more) */
.hplan { border-radius: var(--r-l); border: 1px solid var(--line); background: var(--panel); overflow: hidden; font-family: var(--f-mono); }
.hplan__hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--panel-2); font: 700 11px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.hplan__hd::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--red); flex: none; }
.hplan__hd span { flex: 1; }
.hplan__rows { padding: 6px 12px; }
.hplan__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; font-size: 13px; color: var(--ink-2); }
.hplan__row + .hplan__row { border-top: 1px solid rgba(42, 46, 41, .6); }
.hplan__cell { flex: none; min-width: 108px; padding: 5px 9px; text-align: right; border: 1.5px solid var(--yellow); border-radius: 5px; background: var(--yellow-a06); color: var(--ink); font-weight: 700; }
.hplan__val { font-weight: 700; color: var(--ink); }
.hplan__big { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 4px 12px 12px; padding: 12px; border-radius: 10px; background: var(--mint-a10); box-shadow: inset 0 0 0 1px rgba(61, 220, 151, .35); }
.hplan__big-k { font: 700 10px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.hplan__big-v { font: 700 28px/1 var(--f-mono); letter-spacing: -.04em; color: var(--mint); margin-top: 6px; }
.hplan__big-alt { text-align: right; font-size: 12px; color: var(--ink-2); }
.hplan__big-alt b { display: block; font-size: 17px; color: var(--ink); margin-top: 2px; }
.hplan__gifts { border-top: 1px solid var(--line); padding: 8px 12px; display: grid; gap: 6px; }
.gift { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.gift__who { color: var(--ink); font-weight: 700; }
.gift__tag { flex: none; font: 700 10px/1 var(--f-mono); padding: 4px 6px; border-radius: 4px; }
.gift__tag--mint { color: var(--mint); background: var(--mint-a10); }
.gift__tag--red { color: var(--red); background: var(--red-a08); }
.hplan__ft { padding: 8px 12px 10px; font: 500 10px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); border-top: 1px solid var(--line); }

/* ------------------------------------------------------------------ header, topbar, footer */
.topbar { display: flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px var(--gutter); background: var(--panel); border-bottom: 1px solid var(--line); font: 500 11px/1.3 var(--f-mono); color: var(--muted); white-space: nowrap; overflow: hidden; }
.topbar > span + span::before { content: "•"; color: var(--yellow); margin: 0 .6em; }
@media (min-width: 390px) { .topbar { font-size: 12px; } }
@media (max-width: 767.98px) { .topbar > span:last-child { display: none; } }
.site-hd { position: relative; z-index: 10; }
.site-hd__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
@media (min-width: 1024px) { .site-hd__in { min-height: 76px; } }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 17px/1 var(--f-sans); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 28px; height: 28px; flex: none; }
@media (min-width: 1024px) { .brand { font-size: 19px; } .brand__mark { width: 32px; height: 32px; } }
.site-hd__secure { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--f-mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.site-hd__secure svg { width: 14px; height: 14px; color: var(--mint); }
.site-hd__cta { display: none; }
@media (min-width: 768px) { .site-hd__cta { display: inline-flex; } }
.ribbon { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 32px; margin: 0 var(--gutter); padding: 6px 12px; border: 1px solid var(--yellow); border-radius: 8px; background: var(--yellow-a06); font: 500 12px/1.3 var(--f-mono); color: var(--yellow); text-align: center; }
.ribbon b { font-weight: 700; padding: 3px 6px; border-radius: 4px; background: var(--yellow); color: #0B0D0B; font-size: 10px; letter-spacing: .1em; }
.wrap > .ribbon { margin: 0; }
html:not(.is-demo) [data-demo-only] { display: none !important; }
.site-ft { position: relative; margin-top: 0; padding: 40px 0 48px; background: var(--bg); border-top: 1px solid var(--line); }
.site-ft::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 8px; background: repeating-conic-gradient(var(--ink) 0 25%, var(--bg) 0 50%) 0 0 / 8px 8px; opacity: .9; }
.site-ft__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-ft__links { display: flex; flex-wrap: wrap; gap: 0 20px; padding: 0; list-style: none; font: 500 13px/1 var(--f-mono); }
.site-ft__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; border-radius: 6px; }
.site-ft__links a:hover { color: var(--yellow); }
.site-ft__dis { margin-top: 20px; max-width: 72em; font-size: 12px; line-height: 1.6; color: var(--muted); }
.site-ft__legal { margin-top: 20px; font: 500 12px/1.5 var(--f-mono); color: var(--dim); }
.site-ft__extra { margin-top: 16px; font-size: 13px; color: var(--muted); }
html.has-sticky .site-ft { padding-bottom: calc(48px + var(--sticky-h) + var(--safe-b)); }
@media (min-width: 768px) { html.has-sticky .site-ft { padding-bottom: 48px; } }

/* ------------------------------------------------------------------ sticky bottom CTA bar (mobile)
   Mobile redesign (2026-10-09): ONE slim row, 64px + safe area. Left: "{date} · $19" (live), right: a compact
   yellow "Get My Plan →". Shown after the hero CTA scrolls off; hidden while any in-page buy button is on screen. */
.stickybar {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: calc(var(--sticky-h) + var(--safe-b)); padding: 0 var(--gutter) var(--safe-b);
  background: rgba(11, 13, 11, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s linear .25s;
}
.stickybar.is-shown { transform: none; visibility: visible; transition: transform .25s var(--ease), visibility 0s; }
.stickybar__read { min-width: 0; margin: 0; }
.stickybar__line { display: block; font: 700 17px/1.2 var(--f-mono); letter-spacing: -.02em; word-spacing: -.15em; color: var(--ink); white-space: nowrap; }
.stickybar__v { color: var(--yellow); }
.stickybar__p { color: var(--ink); }
.stickybar .btn--bar { flex: none; --h: 46px; min-height: 46px; padding: 0 16px; font-size: 16px; box-shadow: 0 3px 0 var(--yellow-deep); }
.stickybar .btn--bar:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--yellow-deep); }
@media (max-width: 359.98px) { .stickybar__line { font-size: 15px; } .stickybar .btn--bar { padding: 0 12px; font-size: 15px; } }
@media (min-width: 768px) { .stickybar { display: none; } }

/* ------------------------------------------------------------------ bottom-sheet modal (.sheet) */
.sheet { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(4, 5, 4, .72); opacity: 0; transition: opacity .28s var(--ease); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.sheet__panel {
  position: relative; display: flex; width: 100%; max-height: 92vh; max-height: 92dvh;
  background: var(--sheet); border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, .9);
  transform: translateY(102%); transition: transform .28s var(--ease); outline: none; overflow: hidden;
}
.sheet__panel::before { content: ""; position: absolute; z-index: 5; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--red), var(--yellow)); }
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__main { position: relative; display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; }
.sheet__side { display: none; }
.sheet__handle { position: absolute; z-index: 4; left: 50%; top: 8px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: rgba(244, 241, 232, .35); }
.sheet__close {
  position: absolute; z-index: 6; top: 4px; right: 4px; width: 48px; height: 48px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink);
}
.sheet__close::before { content: ""; position: absolute; width: 32px; height: 32px; border-radius: 50%; background: rgba(11, 13, 11, .6); box-shadow: inset 0 0 0 1px var(--line-2); }
.sheet__close svg { position: relative; width: 14px; height: 14px; }
.sheet__close:hover::before { background: var(--panel-3); }
.sheet__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 16px 20px; }
.sheet__media { position: relative; height: 96px; margin: 0 -16px; overflow: hidden; }
.sheet__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: brightness(.45) saturate(.9); }
.sheet__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 17, 15, .2), var(--sheet)); }
.sheet__media + * { position: relative; margin-top: -30px; }
.sheet__body > :first-child:not(.sheet__media) { margin-top: 28px; }
.sheet__foot { flex: none; padding: 12px 16px calc(6px + var(--safe-b)); background: var(--sheet); border-top: 1px solid var(--line); box-shadow: 0 -16px 24px -12px rgba(0, 0, 0, .7); }
.sheet__foot > * + * { margin-top: 8px; }
.sheet__foot .btn--primary { max-width: none; }
.sheet__obj { font-size: 13px; line-height: 1.4; color: var(--ink-2); text-align: center; }
.sheet__title { font-size: 26px; line-height: 1.04; font-weight: 900; letter-spacing: -.022em; word-spacing: .04em; }
@media (min-width: 768px) {
  .sheet { align-items: center; padding: 24px; }
  .sheet__panel { width: 560px; max-height: min(88vh, 820px); border-radius: var(--r-xl); border: 1px solid var(--line); transform: translateY(18px) scale(.98); opacity: 0; transition: transform .28s var(--ease), opacity .2s; }
  .sheet.is-open .sheet__panel { transform: none; opacity: 1; }
  .sheet--side .sheet__panel { width: 760px; }
  .sheet__side { display: block; flex: none; width: 200px; position: relative; }
  .sheet__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .sheet__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--sheet)); }
  .sheet--side .sheet__media { display: none; }
  .sheet--side .sheet__media + * { margin-top: 32px; }
  .sheet__handle { display: none; }
  .sheet__body { padding: 0 28px 24px; }
  .sheet__media { margin: 0 -28px; }
  .sheet__foot { padding: 14px 28px 12px; }
  .sheet__title { font-size: 32px; }
}

/* ------------------------------------------------------------------ FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q:hover { color: var(--yellow); }
.faq__ico { position: relative; flex: none; width: 44px; height: 44px; margin: -8px -8px -8px 0; border: 8px solid transparent; border-radius: 16px; background: var(--panel-2) padding-box; box-shadow: inset 0 0 0 1px var(--line-2); }
.faq__ico::before, .faq__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--yellow); border-radius: 1px; transition: transform .25s var(--ease); }
.faq__ico::after { transform: rotate(90deg); }
.faq__item[open] .faq__ico::after { transform: rotate(0deg); }
.faq__item[open] .faq__q { color: var(--yellow); }
.faq__a { padding: 0 0 24px; color: var(--ink-2); line-height: 1.6; max-width: 40em; }
@media (min-width: 768px) { .faq__a { padding-right: 44px; } }
.faq__a > * + * { margin-top: 16px; }
.faq__a ul { margin-bottom: 0; padding-left: 1.2em; } .faq__a li + li { margin-top: 6px; } .faq__a li::marker { color: var(--yellow); }
html.js .faq__item[open] .faq__a { animation: fls-fade .3s var(--ease); }
@keyframes fls-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ toasts, skeletons */
.toasts { position: fixed; z-index: 200; left: 50%; bottom: calc(16px + var(--safe-b)); transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
html.has-sticky .toasts { bottom: calc(16px + var(--sticky-h) + var(--safe-b)); }
.toast { padding: 12px 14px; border-radius: 10px; background: var(--ink); color: var(--bg); font: 600 14px/1.4 var(--f-sans); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .9); border-left: 4px solid var(--yellow); opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease); }
.toast.is-in { opacity: 1; transform: none; }
.toast--mint { border-left-color: var(--mint); } .toast--red { border-left-color: var(--red); }
.skel { display: block; border-radius: 6px; background: linear-gradient(90deg, var(--panel-2) 0%, var(--panel-3) 50%, var(--panel-2) 100%) 0 0 / 200% 100%; animation: fls-skel 1.3s ease-in-out infinite; color: transparent !important; user-select: none; }
.skel--line { height: 14px; margin: 6px 0; }
.skel--line.is-short { width: 55%; }
.skel--num { display: inline-block; width: 7ch; height: 1em; vertical-align: -.1em; }
.skel--block { height: 120px; border-radius: var(--r); }
@keyframes fls-skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ------------------------------------------------------------------ reveal on scroll */
html.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal="scale"] { transform: scale(.97); }

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .dot--pulse { animation: none; }
  html.js .flagline--draw { clip-path: none; }
  .btn--primary::after { display: none; }
  .skel { animation: none; }
}
@media print {
  .stickybar, .sheet, .toasts, .topbar { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ------------------------------------------------------------------ buy popup slide line (C12) */
.bp-slide { padding: 14px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.bp-slide__line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font: 700 22px/1.15 var(--f-mono); letter-spacing: -.04em; }
.bp-slide__arrow { color: var(--muted); font-weight: 500; }
.bp-slide__to { min-width: 1ch; }
.bp-slide__cost { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.bp-slide .strike--draw { color: var(--mint); transition: color .3s; }
.bp-slide .strike--draw.is-on { color: var(--muted); }
@media (min-width: 390px) { .bp-slide__line { font-size: 24px; } }
.sheet__foot .btn--primary { font-size: 17px; }
.sheet__foot .btn__price { font-size: 14px; }
@media (max-width: 374.98px) { .sheet__foot .btn--primary { font-size: 16px; padding-left: 14px; } .sheet__foot .btn__price { font-size: 13px; padding: 9px 8px 9px 9px; } }
/* popup body rhythm (v2 copy, money-pages stage): headline, recall and damage line on screen at 360x640 with the footer */
.bp-head > * + * { margin-top: 8px; }
.bp-head .eyebrow { font-size: 11px; letter-spacing: .1em; }
.bp-recall { font-size: 16px; line-height: 1.4; color: var(--ink); }
.sheet--buy .bp-slide { margin-top: 14px; padding: 12px 14px; background: linear-gradient(180deg, var(--red-a08), transparent 70%), var(--bg); border-color: rgba(255, 90, 78, .35); }
.bp-slide__lbl { margin-top: 6px; font: 500 10px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bp-slide__cost b { font-family: var(--f-mono); }
.bp-copy { margin-top: 16px; }
.bp-copy > * + * { margin-top: 8px; }
.bp-urgent { font-size: 16px; line-height: 1.45; font-weight: 600; color: var(--ink); }
.bp-urgent b { color: var(--yellow); }
.bp-fix { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.sheet--buy .hplan { margin-top: 18px; }
.bp-ticks { margin-top: 18px; font-size: 15px; }
.bp-reassure { margin-top: 18px; line-height: 1.6; }
.sheet--buy .sheet__obj b { font-size: 14px; }
@media (max-height: 700px) and (max-width: 767.98px) {
  .sheet__media { height: 64px; }
  .sheet__media + * { margin-top: -22px; }
  .sheet--buy .sheet__title { font-size: 25px; }
  .sheet--buy .sheet__foot { padding-top: 10px; }
  .sheet--buy .sheet__foot > * + * { margin-top: 6px; }
}
/* [funnel team, 2026-10-09, QA #9] Popup: the Christmas/paychecks line now heads the damage card (no eyebrow).
   The A11 photo is mood only: crop to the room (sofa, fire), away from its made-up laptop screen, and soften it. */
.bp-slide__hd { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 90, 78, .22); font: 700 15px/1.35 var(--f-sans); color: var(--ink); }
.bp-slide__hd b { font-family: var(--f-mono); color: var(--yellow); }
.bp-slide__hd .nw { white-space: nowrap; }
@media (max-width: 479.98px) { .bp-slide__hd .nw { display: block; } .bp-slide__hd .dot { display: none; } .bp-slide__hd .nw::first-letter { text-transform: uppercase; } }
.sheet--buy .sheet__media img { object-position: 50% 6%; filter: blur(1.5px) brightness(.42) saturate(.85); }
@media (min-width: 768px) { .sheet--buy .sheet__side img { object-position: 0% 30%; filter: blur(3px) brightness(.5) saturate(.85); } }

/* ------------------------------------------------------------------ pass 4 readability helpers (all pages)
   Light section divider, a check list for risk reversal, and a calm bullet list for long copy split into points. */
.rule { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); }
.pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pts > li { position: relative; padding-left: 22px; line-height: 1.55; }
.pts > li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.checks > li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.45; color: var(--ink); }
.checks > li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--mint-a10); box-shadow: inset 0 0 0 1.5px var(--mint); }
.checks > li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 8px; height: 5px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
@media (max-width: 767.98px) {
  /* long paragraphs read left-aligned on phones (never center more than two lines) */
  .lead, .body, .fine { text-align: left; }
}
