
/* ── Replit migration page. Brand tokens come from styles.css.
      Structure follows the homepage: big Title case section word, short unboxed copy,
      hairline rules, chips, and very few borders. Mobile first. ── */
.rm { --gap: clamp(14px, 3.4vw, 22px); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.sec { padding: 56px 0; }
.sec--lime { background: var(--lime); color: var(--navy); }
.sec--tight { padding-top: 0; }

/* ── the section header: /0N, one huge word, one short line ── */
.big { margin-bottom: 34px; max-width: 54ch; }
.big__w { font-weight: 900; letter-spacing: -.035em; line-height: .92;
  font-size: clamp(52px, 15vw, 118px); margin: 8px 0 0; }
.big__lead { margin-top: 16px; font-size: clamp(15px, 4vw, 17.5px); line-height: 1.5;
  color: var(--muted); }
.sec--lime .big__lead { color: var(--muted-dark); }
.sec--lime .num { color: var(--navy); opacity: .5; }

/* ── hairline divider carrying a label and a note ── */
.rule { display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 40px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.rule__n { font-weight: 500; color: var(--muted); letter-spacing: .04em; text-transform: none;
  text-align: right; }
.sec--lime .rule { border-top-color: rgba(23,23,43,.22); }
.sec--lime .rule__n { color: var(--muted-dark); }

/* ── answer block, small and out of the way ── */
.answer { padding: 0 0 30px; }
.answer__in { border-left: 3px solid var(--lime); padding-left: 18px; }
.answer__k { font-weight: 700; font-size: 11px; letter-spacing: .14em; color: var(--lime);
  text-transform: uppercase; display: block; margin-bottom: 7px; }
.answer__body { font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 92ch; }

/* ── THE comparison pattern: outlined pain, solid fix ── */
.pair { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.pn { border: 1px solid rgba(23,23,43,.42); padding: 24px 20px; }
.pn--fix { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pn__k { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: rgba(23,23,43,.55); }
.pn--fix .pn__k { color: var(--lime); }
.pn ul { list-style: none; margin: 14px 0 0; }
.pn li { font-size: clamp(15px, 4.1vw, 17px); font-weight: 700; line-height: 1.3;
  padding: 14px 0; border-bottom: 1px solid rgba(23,23,43,.16); }
.pn--fix li { border-bottom-color: rgba(255,255,255,.14); }
.pn li:last-child { border-bottom: 0; padding-bottom: 0; }
/* the same pattern on a dark section */
.sec:not(.sec--lime) .pn { border-color: var(--rule); }
.sec:not(.sec--lime) .pn__k { color: var(--muted); }
.sec:not(.sec--lime) .pn li { border-bottom-color: var(--rule); }
.sec:not(.sec--lime) .pn--fix { background: var(--lime); color: var(--navy); border-color: var(--lime); }
.sec:not(.sec--lime) .pn--fix .pn__k { color: rgba(23,23,43,.6); }
.sec:not(.sec--lime) .pn--fix li { border-bottom-color: rgba(23,23,43,.18); }

/* ── three numbers, as rules not cards ── */
.facts { display: grid; }
.fact { display: block; padding: 20px 0; border-bottom: 1px solid rgba(23,23,43,.16); }
.fact b { display: block; font-weight: 900; letter-spacing: -.03em; line-height: 1;
  font-size: clamp(32px, 9vw, 42px); }
.fact span { display: block; font-size: 13.5px; margin-top: 7px; line-height: 1.35;
  color: var(--muted-dark); }
.fact em { display: block; font-style: normal; font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(23,23,43,.5); margin-top: 8px; }
.fact:hover em { color: var(--navy); }

/* ── the number, at full size. This is the whole argument of section 01. ── */
.shock { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.sk { border: 1px solid rgba(23,23,43,.42); padding: 26px 22px 24px; }
.sk--fix { background: var(--navy); color: var(--white); border-color: var(--navy); }
.sk__n { font-weight: 900; letter-spacing: -.055em; line-height: .84;
  font-size: clamp(76px, 22vw, 168px); }
.sk--fix .sk__n { color: var(--lime); }
.sk__k { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; font-weight: 700;
  color: rgba(23,23,43,.6); margin-top: 16px; }
.sk--fix .sk__k { color: var(--muted); }

/* one verbatim quote, set large, because it is the evidence for the number above */
.pull { margin: 40px 0 0; max-width: 40ch; }
.pull p { font-size: clamp(17px, 4.6vw, 22px); line-height: 1.4; font-weight: 500; }
.pull p::before { content: "\201C"; } .pull p::after { content: "\201D"; }
.pull a { display: inline-block; margin-top: 14px; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 700; color: rgba(23,23,43,.55); }
.pull a:hover { color: var(--navy); }

.also { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px;
  border-top: 1px solid rgba(23,23,43,.22); padding-top: 16px; }
.alsolink { font-size: 13.5px; color: var(--muted-dark); }
.alsolink b { font-weight: 900; color: var(--navy); }
.alsolink:hover { color: var(--navy); }

/* ── calculator ── */
.calc { border: 1px solid var(--rule); padding: 24px 20px; }
.calc__q { font-weight: 700; font-size: clamp(15px, 4vw, 17px); color: var(--muted); }
.calc__val { font-weight: 900; font-size: clamp(46px, 15vw, 76px); color: var(--lime);
  letter-spacing: -.04em; line-height: 1; margin: 8px 0 2px; }
.calc__unit { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.calc input[type=range] { width: 100%; margin: 22px 0 6px; -webkit-appearance: none;
  appearance: none; background: transparent; height: 30px; cursor: pointer; display: block; }
.calc input[type=range]::-webkit-slider-runnable-track { height: 3px; background: rgba(255,255,255,.28); }
.calc input[type=range]::-moz-range-track { height: 3px; background: rgba(255,255,255,.28); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px;
  background: var(--lime); margin-top: -11px; border: 0; }
.calc input[type=range]::-moz-range-thumb { width: 24px; height: 24px; background: var(--lime);
  border: 0; border-radius: 0; }
.calc input[type=range]:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.calc__ends { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.calc__lbl { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin-top: 26px; display: block; }
.calc__ai { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 12px; }
.calc__ai button { background: transparent; color: var(--white); cursor: pointer; line-height: 1.2;
  border: 1px solid var(--rule); padding: 11px 8px; font: inherit; font-size: 12px; font-weight: 700; }
.calc__ai button[aria-pressed="true"] { background: var(--lime); color: var(--navy); border-color: var(--lime); }

.bars { display: grid; gap: 14px; margin-top: 10px; }
.bar__top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700;
  margin-bottom: 6px; }
.bar__track { height: 22px; background: rgba(255,255,255,.1); }
.bar__fill { height: 100%; background: #6b6b8a; transition: width .45s cubic-bezier(.4,0,.2,1); }
.bar__fill--own { background: var(--lime); }
.verdict { margin-top: 24px; border-top: 1px solid var(--rule); padding-top: 20px;
  display: grid; gap: 16px; }
.vstat b { display: block; font-weight: 900; font-size: clamp(24px, 7vw, 32px); color: var(--lime);
  letter-spacing: -.03em; line-height: 1; }
.vstat span { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.calc__fine { margin-top: 18px; font-size: 11.5px; color: var(--muted); line-height: 1.5; }

/* ── price ── */
.prices { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.pcard { border: 1px solid var(--rule); padding: 26px 20px; display: flex; flex-direction: column; }
.pcard--ghost { border-style: dashed; }
.pcard__k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  color: var(--muted); }
.pcard__p { font-weight: 900; letter-spacing: -.04em; line-height: .95; margin: 12px 0 2px;
  font-size: clamp(44px, 13vw, 62px); color: var(--lime); }
.pcard--ghost .pcard__p { color: var(--white); }
.plus { font-size: .42em; letter-spacing: 0; }
.pcard__u { font-size: 12.5px; color: var(--muted); }
.pcard__list { list-style: none; margin: 20px 0 24px; display: grid; }
.pcard__list li { font-size: 14.5px; line-height: 1.4; padding: 11px 0;
  border-bottom: 1px solid var(--rule); }
.pcard__list li:last-child { border-bottom: 0; }
.pcard .btn { margin-top: auto; align-self: flex-start; margin-left: 0; }

/* ── the playbook stepper ── */
.pb__rail { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 10px; margin-bottom: 20px; scrollbar-width: none; }
.pb__rail::-webkit-scrollbar { display: none; }
.pb__tab { flex: 0 0 auto; background: transparent; border: 1px solid rgba(23,23,43,.28);
  color: rgba(23,23,43,.7); font: inherit; font-weight: 900; font-size: 12px;
  letter-spacing: .04em; padding: 10px 14px; cursor: pointer; white-space: nowrap; }
.pb__tab[aria-selected="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pb__tab:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.pb__stage { background: var(--navy); color: var(--white); padding: 26px 20px; }
.pb__panel[hidden] { display: none; }
.pb__art { max-width: 120px; margin: 0 auto 18px; color: rgba(255,255,255,.5); }
.pb__n { font-weight: 900; font-size: 11px; letter-spacing: .12em; color: var(--lime); }
.pb__t { font-weight: 900; font-size: clamp(21px, 6vw, 30px); letter-spacing: -.02em;
  line-height: 1.1; margin: 9px 0 10px; }
.pb__b { font-size: 15px; line-height: 1.5; color: var(--muted); }
.pb__you { margin-top: 16px; border-left: 3px solid var(--lime); padding: 2px 0 2px 13px;
  font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.pb__nav { display: flex; gap: 9px; align-items: center; margin-top: 22px;
  border-top: 1px solid var(--rule); padding-top: 18px; }
.pb__nav button { background: transparent; border: 1px solid var(--rule); color: var(--white);
  font: inherit; font-weight: 700; font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; padding: 11px 16px; cursor: pointer; }
.pb__nav button:hover:not(:disabled) { background: var(--lime); color: var(--navy); border-color: var(--lime); }
.pb__nav button:disabled { opacity: .3; cursor: default; }
.pb__count { margin-left: auto; font-size: 11.5px; color: var(--muted); }

/* ── the stack: real monochrome marks, then chips ── */
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 16px;
  align-items: center; padding: 6px 0 4px; }
.lg { display: flex; flex-direction: column; align-items: center; gap: 9px; opacity: .78;
  transition: opacity .18s ease; }
.lg:hover { opacity: 1; }
.lg svg { width: 30px; height: 30px; fill: currentColor; }
.lg span { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip { border: 1px solid var(--rule); border-radius: 999px; padding: 8px 15px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }

/* ── the collapsed reference material ── */
.fold { border-top: 1px solid var(--rule); }
.fold:last-of-type { border-bottom: 1px solid var(--rule); }
.fold > summary { cursor: pointer; list-style: none; padding: 20px 0; display: flex;
  justify-content: space-between; align-items: center; gap: 14px;
  font-weight: 900; font-size: clamp(15px, 4.2vw, 18px); letter-spacing: -.01em; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "+"; color: var(--lime); font-size: 20px; line-height: 1; }
.fold[open] > summary::after { content: "\2212"; }
.fold__b { padding-bottom: 26px; }
.moves { width: 100%; border-collapse: collapse; font-size: 14px; }
.moves th, .moves td { text-align: left; padding: 12px 12px 12px 0; vertical-align: top;
  border-bottom: 1px solid var(--rule); }
.moves thead th { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; }
.moves tbody th { font-weight: 700; width: 24%; }
.moves td:last-child { color: var(--muted); line-height: 1.45; }
.stats { display: grid; }
.stat { display: block; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.stat b { display: block; font-weight: 900; letter-spacing: -.03em; color: var(--lime);
  line-height: 1; font-size: clamp(26px, 7vw, 32px); }
.stat span { display: block; font-size: 13px; color: rgba(255,255,255,.8); margin-top: 7px;
  line-height: 1.4; }
.stat em { display: block; font-style: normal; font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-top: 7px; }

.deep { margin-top: 18px; border-top: 1px solid var(--rule); }
.deep > summary { cursor: pointer; list-style: none; padding: 13px 0 0; font-size: 11px;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lime);
  display: flex; align-items: center; gap: 8px; }
.deep > summary::-webkit-details-marker { display: none; }
.deep > summary::after { content: "+"; font-size: 15px; }
.deep[open] > summary::after { content: "\2212"; }
.deep__b { font-size: 14px; line-height: 1.6; color: var(--muted); padding: 12px 0 4px;
  max-width: 74ch; }

.note { font-size: 13px; line-height: 1.55; color: var(--muted-dark); margin-top: 22px;
  max-width: 62ch; }
.sec:not(.sec--lime) .note { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── scale up ── */
@media (min-width: 700px) {
  .sec { padding: 80px 0; }
  .pair { grid-template-columns: 1fr 1fr; }
  .shock { grid-template-columns: 1fr 1fr; }
  .pull { max-width: 46ch; }
  .prices { grid-template-columns: repeat(3, 1fr); }
  .logos { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .verdict { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .calc { padding: 32px 30px; }
  .pb__stage { padding: 38px; }
  .pb__panel { display: grid; grid-template-columns: 160px 1fr; gap: 40px; align-items: center; }
  .pb__art { margin: 0; max-width: 160px; }
  .big { margin-bottom: 44px; }
}
@media (min-width: 1000px) {
  .sec { padding: 96px 0; }
  .calcgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
  .pb__panel { grid-template-columns: 200px 1fr; gap: 52px; }
  .pb__art { max-width: 200px; }
  .stats { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .bar__fill { transition: none; }
}
