/* FirstWin — shared styles. Plain CSS, no build step. */

:root {
  /* Colour */
  --white: #FFFFFF;
  --ink: #0E1020;
  --blue: #0060D6;
  --deep: #0050B3;
  --deeper: #003F8F;
  --yellow: #FFD23F;
  --tint: #EEF5FF;
  --grey-900: #3A3E46;
  --grey-700: #5A5F69;
  --grey-500: #686D77;   /* struck-through "before" values; darkened from #7A7F88 for 4.5:1 */
  --line: #E1E3EC;
  --line-soft: #ECEEF4;
  --line-strong: #C9CCD8;
  --chip-line: #A9AEC2;
  --tint-line: #C9D6EE;
  --dash: #D5D9E4;
  --on-deep: #E3EEFF;
  --on-deep-soft: #DCE8FF;
  --deep-line: #4D86D1;
  --deep-line-2: #3D78C4;

  /* Type */
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --max: 1280px;
  --gutter: clamp(20px, 5.56vw, 80px);
  --section-y: clamp(64px, 7.8vw, 112px);
  --radius-lg: 20px;
  --radius-md: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section.tint { background: var(--tint); }
.stack { display: flex; flex-direction: column; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--white); }

.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;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--grey-700); line-height: 1.5;
}
.h1 {
  font-family: var(--serif); font-size: clamp(50px, 8.05vw, 116px);
  line-height: 0.94; letter-spacing: -0.025em;
}
.h1--sub { font-size: clamp(46px, 6.1vw, 88px); line-height: 0.98; }
.h2 {
  font-family: var(--serif); font-size: clamp(40px, 4.45vw, 64px);
  line-height: 1; letter-spacing: -0.02em;
}
.h2--sm { font-size: clamp(38px, 3.9vw, 56px); }
.line { display: block; }
.line--top { position: relative; z-index: 1; }  /* keeps descenders/commas above the yellow highlight */
.highlight {
  /* marker-style highlight: sits in the lower part of the line so it never touches the line above */
  font-style: italic; padding: 0 0.06em;
  background: linear-gradient(to bottom, transparent 52%, var(--yellow) 52%, var(--yellow) 94%, transparent 94%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lede { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.45; color: var(--grey-900); max-width: 560px; }
.lede--wide { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; max-width: 620px; }
.muted { color: var(--grey-900); }
.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }

.tag {
  display: inline-block; align-self: flex-start;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--line-strong); color: var(--grey-700);
  border-radius: 999px; padding: 4px 10px; line-height: 1.4; white-space: nowrap;
}
.tag--yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; border-radius: 999px; text-decoration: none;
  font-family: var(--sans); font-weight: 600; font-size: 17px; line-height: 1.2;
  padding: 16px 28px; border: 1px solid transparent; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--sm { font-size: 15px; padding: 13px 22px; }
.btn--blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--blue:hover { background: var(--deep); border-color: var(--deep); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--ink:hover { background: var(--deep); border-color: var(--deep); color: var(--white); }
.btn--yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn--yellow:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }

.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 4px; font-size: 17px; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--ink);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: relative; z-index: 20; }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 28px; height: 28px; border-radius: 50%; background: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.wordmark { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -0.01em; }
.wordmark span { color: var(--blue); font-style: italic; padding-left: 0.02em; }

.site-nav { display: flex; align-items: center; gap: 36px; font-size: 15px; }
.site-nav a:not(.btn) { text-decoration: none; padding: 12px 0; }
.site-nav .btn { font-size: 15px; font-weight: 500; padding: 12px 20px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--white); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px; padding: 0;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .header-inner { height: 72px; }
  .wordmark { font-size: 27px; }
  .js .nav-toggle { display: inline-flex; }
  .site-nav { gap: 20px; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px; box-shadow: 0 24px 32px -24px rgba(14,16,32,0.18);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav a:not(.btn) { font-size: 17px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .js .site-nav .btn { margin-top: 16px; font-size: 16px; padding: 14px 20px; }
  /* no-JS fallback: nav wraps under the logo */
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding-block: 16px; }
  html:not(.js) .site-nav { flex-wrap: wrap; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 14px;
}
.card--deep { background: var(--deep); border-color: var(--deep); color: var(--white); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.card-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-700); }

/* ---------- Home: hero ---------- */
.hero { padding-block: clamp(56px, 7.2vw, 104px) clamp(64px, 7.8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; align-items: center; }
.hero-copy { grid-column: span 7; display: flex; flex-direction: column; gap: 32px; }
.hero-aside { grid-column: 8 / span 5; }

.ledger { padding: 28px; gap: 18px; box-shadow: 0 24px 48px -32px rgba(0,96,214,0.25); }
.ledger-title { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.ledger-table { display: flex; flex-direction: column; font-size: 15px; }
.ledger-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 64px 88px; column-gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
}
.ledger-row > :nth-child(n+2) { text-align: right; font-family: var(--mono); }
.ledger-row .before { color: var(--grey-500); text-decoration: line-through; }
.ledger-row .after { color: var(--blue); font-weight: 500; }
.ledger-row--head {
  padding: 0 0 10px; border-bottom-color: var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-700);
}
.ledger-row--head > * { font-weight: 400 !important; color: var(--grey-700) !important; text-decoration: none !important; }
.ledger-row--last { border-bottom-color: var(--ink); }
.ledger-row--total { border-bottom: 0; padding: 14px 0 0; font-weight: 600; }
.ledger-row--total .after { font-weight: 600; }
.ledger-note { font-size: 13px; color: var(--grey-700); }

@media (max-width: 960px) {
  .hero-copy { grid-column: 1 / -1; }
  .hero-aside { grid-column: 1 / -1; max-width: 560px; }
}
@media (max-width: 560px) {
  .hero-copy { gap: 24px; }
  .ledger { padding: 22px 20px; }
  .ledger-row { grid-template-columns: minmax(0, 1fr) 52px 64px; column-gap: 8px; }
  .cta-row .btn { width: 100%; }
}

/* ---------- Home: agents ---------- */
.section-head { display: flex; flex-direction: column; gap: 20px; }
.agents { display: flex; flex-direction: column; gap: 40px; }
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tier-num { font-family: var(--mono); font-size: 13px; color: var(--blue); }
.tier-name { font-family: var(--serif); font-size: 44px; line-height: 1; }
.tier-body { font-size: 17px; line-height: 1.5; color: var(--grey-900); flex-grow: 1; }
.card--deep .tier-num { color: var(--yellow); }
.card--deep .tier-body { color: var(--on-deep); }

.chart { padding: 32px 36px; gap: 16px; }
.chart-row {
  display: grid; grid-template-columns: 220px repeat(8, minmax(0, 1fr)) 200px;
  column-gap: 8px; align-items: center;
}
.chart-num { font-family: var(--mono); font-size: 11px; color: var(--grey-700); text-align: center; }
.chart-label { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.chart-label--blue { color: var(--blue); }
.cell {
  height: 28px; border-radius: 8px; border: 1px dashed var(--dash);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; color: var(--ink); white-space: nowrap; overflow: hidden;
}
.cell--ask { background: var(--tint-line); border: 0; }
.cell--done { background: var(--blue); border: 0; color: var(--white); }
.chart-note { font-size: 14px; line-height: 1.4; color: var(--grey-900); padding-left: 8px; }
.chart-note--strong { color: var(--ink); font-weight: 600; }

.wins { padding: 32px 36px; gap: 16px; }
.win-row { display: grid; grid-template-columns: 90px 300px minmax(0, 1fr); align-items: center; column-gap: 16px; }
.win-num { font-family: var(--mono); font-size: 13px; color: var(--grey-700); }
.win-name { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.win-bar { height: 14px; border-radius: 999px; background: var(--blue); }
.wins-foot { font-size: 15px; color: var(--grey-900); }
.wins-foot a { font-weight: 600; }

@media (max-width: 1080px) {
  .chart-row { grid-template-columns: 180px repeat(8, minmax(0, 1fr)) 170px; }
  .chart-label { font-size: 22px; }
}
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
  .tier-name { font-size: 40px; }
  .chart, .wins { padding: 24px; }
  .chart-row { grid-template-columns: repeat(8, minmax(0, 1fr)); row-gap: 10px; column-gap: 6px; }
  .chart-row > .chart-label, .chart-row > .chart-note { grid-column: 1 / -1; }
  .chart-row > .chart-spacer { display: none; }
  .chart-note { padding-left: 0; }
  .chart-row + .chart-row { margin-top: 8px; }
  .win-row { grid-template-columns: 64px minmax(0, 1fr); row-gap: 8px; }
  .win-row .win-bar { grid-column: 2; }
}
@media (max-width: 560px) {
  .cell { font-size: 0; }  /* labels explained by the row note; blocks read on their own */
  .chart, .wins { padding: 20px; }
  .win-name { font-size: 24px; }
}

/* ---------- Home: operator ---------- */
.operator { background: var(--deep); color: var(--white); }
.operator .wrap { display: flex; flex-direction: column; gap: 56px; }
.operator-intro { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 56px; align-items: center; }
.headshot { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; background: var(--deeper); }
.operator-text { display: flex; flex-direction: column; gap: 10px; }
.operator-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); }
.operator-name { font-family: var(--serif); font-size: 36px; line-height: 1.05; }
.operator-quote { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 40px); line-height: 1.15; margin-top: 14px; max-width: 820px; text-wrap: balance; }

.proofs-lead { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; margin: 0 0 -32px; color: var(--on-deep); }
.proofs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.proof { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 28px; background: var(--white); color: var(--ink); border-radius: 18px; border-top: 8px solid var(--yellow); }
.proof-num { align-self: flex-start; font-family: var(--mono); font-size: 12px; background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 4px 10px; }
.proof-title { font-family: var(--serif); font-size: clamp(30px, 2.6vw, 38px); line-height: 1.05; }
.proof-body { font-size: 16px; line-height: 1.5; color: var(--grey-900); }

.career { display: flex; flex-direction: column; }
.career-label { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.career-row { display: grid; grid-template-columns: 200px 320px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-top: 1px solid var(--deep-line); align-items: baseline; }
.career-row:last-child { border-bottom: 1px solid var(--deep-line); }
.career-org { font-family: var(--serif); font-size: 30px; line-height: 1; }
.career-title { font-size: 15px; font-weight: 600; }
.career-body { font-size: 15px; line-height: 1.5; color: var(--on-deep); }

@media (max-width: 900px) {
  .operator .wrap { gap: 44px; }
  .operator-intro { grid-template-columns: 160px minmax(0, 1fr); column-gap: 32px; }
  .headshot { width: 160px; height: 160px; }
  .proofs { grid-template-columns: 1fr; gap: 16px; }
  .career-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .operator-intro { grid-template-columns: 1fr; row-gap: 24px; }
  .headshot { width: 140px; height: 140px; }
  .operator-name { font-size: 32px; }
  .operator-quote { margin-top: 8px; }
}

/* ---------- Steps (how it works) ---------- */
.how { display: flex; flex-direction: column; gap: 40px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.step { padding: 24px 24px 0; display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--line); }
.step:first-child { padding-left: 0; border-left: 0; }
.step-week { font-family: var(--mono); font-size: 13px; color: var(--blue); }
.step-title { font-family: var(--serif); font-size: 30px; line-height: 1.05; }
.step-body { font-size: 16px; line-height: 1.5; color: var(--grey-900); }
.steps--sub .step { gap: 10px; }
.steps--sub .step-title { font-size: 28px; }
.steps--sub .step-body { font-size: 15px; }

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(odd) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--line); }
  .step:nth-child(4) { border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(n) { padding: 20px 0; border-left: 0; margin-top: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
}

/* ---------- Library ---------- */
.library { display: flex; flex-direction: column; gap: 36px; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.split-head > p { max-width: 380px; font-size: 18px; line-height: 1.5; color: var(--grey-900); }
.split-head > p.small { font-size: 16px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--chip-line); background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.2; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-content: start; }
.tile {
  text-decoration: none; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px;
  display: flex; flex-direction: column; gap: 10px; min-height: 230px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.tile:hover { color: var(--ink); border-color: var(--blue); box-shadow: 0 16px 32px -24px rgba(0,96,214,0.45); }
.tile[hidden] { display: none; }
.tile-fn { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.tile { container-type: inline-size; }
.tile-title { font-family: var(--serif); font-size: 26px; line-height: 1.05; }
.tile .tile-title { font-size: min(26px, 10.8cqi); white-space: nowrap; }
.tile-now { font-size: 16px; line-height: 1.45; font-weight: 600; }
.tile-out { font-size: 13px; line-height: 1.45; color: var(--grey-700); }
.tile-before { font-size: 14px; line-height: 1.45; color: var(--grey-500); text-decoration: line-through; }
.tile-after { font-size: 16px; line-height: 1.45; flex-grow: 1; }
.tile--own { background: var(--deep); border-color: var(--deep); color: var(--white); }
.tile--own:hover { color: var(--white); border-color: var(--yellow); }
.tile--own .tile-fn { color: var(--yellow); }
.tile--own .tile-out { color: var(--on-deep); }
.tile-go { font-size: 13px; font-weight: 600; color: var(--blue); }

@media (min-width: 1101px) { .tiles { min-height: 722px; } }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .filters { gap: 8px; }
  .chip { padding: 10px 14px; }
}

/* ---------- Packages (home) ---------- */
.packages { display: flex; flex-direction: column; gap: 40px; }
.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pkg-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-900); }
.pkg-name { font-family: var(--serif); font-size: 36px; line-height: 1; }
.pkg-promise { font-size: 16px; line-height: 1.4; font-weight: 600; }
.pkg-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.pkg-price .amount { font-family: var(--mono); font-size: 30px; font-weight: 500; color: var(--blue); line-height: 1.2; }
.pkg-price .unit { font-size: 14px; color: var(--grey-900); }
.pkg-list {
  margin: 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; flex-grow: 1;
}
.pkg-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; }
.pkg-list li::before { content: "·"; }
.pkg-fine { font-size: 13px; line-height: 1.5; color: var(--grey-900); }
.pkg .btn { align-self: flex-start; margin-top: 4px; }
.card--deep .pkg-kicker, .card--deep .pkg-price .unit, .card--deep .pkg-fine { color: var(--on-deep); }
.card--deep .pkg-price .amount { color: var(--yellow); }
.card--deep .pkg-list { border-top-color: var(--deep-line); }

@media (max-width: 1080px) {
  .pkgs { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 560px) {
  .card { padding: 24px; }
  .pkg-name { font-size: 32px; }
  .pkg .btn { align-self: stretch; }
}

/* ---------- Closing CTA ---------- */
.closing {
  background: var(--yellow); color: var(--ink); border-radius: 28px;
  padding: clamp(40px, 6.1vw, 88px) clamp(24px, 5vw, 72px);
  display: flex; justify-content: space-between; align-items: center; gap: 32px 48px;
}
.closing h2 {
  font-family: var(--serif); font-size: clamp(42px, 5vw, 72px); line-height: 0.98;
  letter-spacing: -0.02em; max-width: 760px;
}
.closing h2 em { color: var(--blue); }
.closing--sub h2 { font-size: clamp(42px, 4.45vw, 64px); letter-spacing: 0; }
.closing--sub h2 em { color: var(--deep); }
.closing-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; flex-shrink: 0; }
.closing-actions a:not(.btn) { font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; }
.closing-wrap { padding-top: var(--section-y); }
.closing-wrap--flush { padding-top: 0; }

@media (max-width: 900px) {
  .closing { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .closing { border-radius: 22px; }
  .closing-actions, .closing-actions .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: 56px 64px; font-size: 14px; color: var(--grey-700); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .wordmark { font-size: 22px; color: var(--ink); }
.footer-links a { color: var(--grey-700); }
.footer-links a:hover { color: var(--blue); }
.footer-links .sep { margin-inline: 8px; }
.footer-legal { font-size: 13px; }
.footer-method { max-width: 420px; text-align: right; line-height: 1.5; }

@media (max-width: 760px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-method { text-align: left; }
  .footer-links a { display: inline-block; padding-block: 12px; }
}

/* ---------- Industry pages ---------- */
.hero-stat { grid-column: 9 / span 4; border-radius: 24px; padding: 36px; gap: 16px; }
.stat-num { font-family: var(--serif); font-size: clamp(80px, 6.7vw, 96px); line-height: 0.9; color: var(--yellow); }
.stat-body { font-size: 18px; line-height: 1.45; }
.stat-source { font-family: var(--mono); font-size: 12px; color: var(--on-deep); min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; }
.stat-source:hover { color: var(--white); }
.hero-copy--sub { gap: 28px; }

.starters { display: flex; flex-direction: column; gap: 40px; }
.starters .section-head { gap: 16px; max-width: 900px; }
.starter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.starter { border-radius: 18px; padding: 28px; }
.starter .tile-title { font-size: 32px; }
.starter .tile-before { font-size: 15px; line-height: 1.5; }
.starter .tile-after { line-height: 1.5; }
.starter a.go { font-size: 15px; font-weight: 600; color: var(--blue); min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; }
.starter a.go:hover { color: var(--deep); }
.trust-note { font-size: 15px; line-height: 1.5; color: var(--grey-900); border-top: 1px solid var(--tint-line); padding-top: 20px; }

.pricing-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }
.pricing-intro { grid-column: span 4; display: flex; flex-direction: column; gap: 16px; }
.pricing-intro h2 { font-family: var(--serif); font-size: clamp(38px, 3.35vw, 48px); line-height: 1; letter-spacing: -0.02em; }
.pricing-intro p { font-size: 16px; line-height: 1.5; color: var(--grey-900); }
.pricing-cards { grid-column: 5 / span 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini { border-radius: var(--radius-md); padding: 24px; gap: 8px; }
.mini-name { font-family: var(--serif); font-size: 28px; line-height: 1.05; }
@media (min-width: 701px) { .mini-name { min-height: 2.1em; } }
.mini-price { font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--blue); }
.mini-body { font-size: 14px; line-height: 1.45; color: var(--grey-900); }
.card--deep .mini-price { color: var(--yellow); }
.card--deep .mini-body { color: var(--on-deep); }

@media (max-width: 1080px) {
  .hero-stat { grid-column: 1 / -1; max-width: 460px; }
  .pricing-intro, .pricing-cards { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .starter-grid { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 700px) {
  .pricing-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-stat { padding: 28px 24px; }
  .starter { padding: 24px; }
}

/* ---------- Finder ---------- */
.finder { padding-block: clamp(48px, 5.5vw, 80px) var(--section-y); }
.finder-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.finder-form { grid-column: span 7; display: flex; flex-direction: column; gap: 36px; }
.finder-intro { display: flex; flex-direction: column; gap: 14px; }
.finder-intro h1 { font-family: var(--serif); font-size: clamp(44px, 3.9vw, 56px); line-height: 1; letter-spacing: -0.02em; }
.finder-intro p { font-size: 17px; line-height: 1.5; color: var(--grey-900); max-width: 560px; }
.q { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.q .q-hint { margin-top: 0; }
.q-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-700); padding: 0; line-height: 1.5; margin-bottom: 14px; }
.q > .q-label + * { margin-top: 0; }
.q .filters { margin-top: 0; }
.stepper { display: flex; align-items: center; gap: 16px; }
.stepper button {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ink);
  background: transparent; font-size: 24px; color: var(--ink); cursor: pointer; font-family: var(--sans);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stepper button:hover { background: var(--ink); color: var(--white); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; background: transparent; color: var(--ink); }
.hours { min-width: 160px; text-align: center; font-family: var(--serif); font-size: 64px; line-height: 1; }
.hours small { font-size: 24px; color: var(--grey-700); }
.q-hint { font-size: 14px; color: var(--grey-700); line-height: 1.5; }

.result { grid-column: 8 / span 5; align-self: start; border-radius: 24px; padding: 36px; gap: 22px; }
.result-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); line-height: 1.5; }
.result-range { font-family: var(--serif); font-size: 64px; line-height: 1; }
.result-sub { font-size: 16px; color: var(--on-deep); }
.bars { display: flex; flex-direction: column; gap: 8px; }
.bars span { display: block; height: 10px; border-radius: 999px; background: var(--deep-line); }
.bars span + span { background: var(--yellow); width: 33%; }
.plan { display: flex; flex-direction: column; border-top: 1px solid var(--deep-line); margin: 0; padding: 0; list-style: none; }
.plan li { display: grid; grid-template-columns: 72px minmax(0, 1fr); padding: 12px 0; border-bottom: 1px solid var(--deep-line-2); font-size: 15px; line-height: 1.45; }
.plan li:last-child { border-bottom: 0; }
.plan b { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--yellow); padding-top: 2px; }
.result .btn { align-self: flex-start; font-size: 16px; padding: 16px 24px; }
.result-fine { font-size: 12px; line-height: 1.5; color: var(--on-deep-soft); }

@media (max-width: 1000px) {
  .finder-form, .result { grid-column: 1 / -1; }
  .result { max-width: 640px; }
}
@media (max-width: 560px) {
  .result { padding: 28px 22px; }
  .result-range { font-size: 52px; }
  .hours { font-size: 56px; min-width: 0; flex: 1; }
  .result .btn { align-self: stretch; }
}

/* ---------- Prose (privacy, 404) ---------- */
.prose-page { padding-block: clamp(48px, 6vw, 96px) var(--section-y); }
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.6; color: var(--grey-900); }
.prose h1 { font-family: var(--serif); font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 8px; }
.prose h2 { font-family: var(--serif); font-size: 30px; line-height: 1.15; color: var(--ink); margin-top: 20px; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.prose .updated { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--grey-700); }

.notfound { padding-block: clamp(72px, 10vw, 144px); }
.notfound .wrap { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.notfound p { font-size: 20px; line-height: 1.5; color: var(--grey-900); max-width: 560px; }

/* ---------- Home: stacked hero (v2) ---------- */
.hero--stack .wrap { display: flex; flex-direction: column; gap: 32px; }
.h1--wide { font-size: clamp(56px, 11.2vw, 168px); line-height: 0.92; }
.hero-sub { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; }
.hero-sub .lede { max-width: 620px; }
.hero-sub .cta-row { justify-content: flex-end; }
.ledger-strip { margin-top: clamp(24px, 4vw, 56px); border-top: 2px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 4fr) minmax(0, 1.5fr); }
.ls-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ls-cell { padding: 24px 20px 4px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ls-cell--title { padding-left: 0; }
.ls-cell--total { border-right: 0; background: var(--tint); padding: 24px 24px 20px; }
.ls-title { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.ls-cell--title .tag { align-self: flex-start; }
.ls-step { font-size: 15px; color: var(--grey-900); }
.ls-before { font-family: var(--mono); color: var(--grey-500); text-decoration: line-through; }
.ls-after { font-family: var(--mono); font-size: 28px; font-weight: 500; color: var(--blue); line-height: 1; }
.ls-total { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-family: var(--mono); }
.ls-total .ls-before { font-size: 22px; }
.ls-total .ls-after { font-size: 40px; }
.ls-note { font-size: 13px; color: var(--grey-700); }
@media (max-width: 960px) {
  .hero-sub { grid-template-columns: 1fr; }
  .hero-sub .cta-row { justify-content: flex-start; }
  .ledger-strip { grid-template-columns: 1fr; }
  .ls-cell--title { padding: 20px 0 12px; border-right: 0; }
  .ls-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
  .ls-steps .ls-cell { border-bottom: 1px solid var(--line); padding: 16px 16px 14px 0; }
  .ls-steps .ls-cell:nth-child(2n) { border-right: 0; padding-left: 16px; }
  .ls-cell--total { margin-top: 16px; border-radius: 16px; }
}
