/* seat-math.css — Anchor 3. The calculator renders on /pricing (d36); Home's
   ValueClaim/PriceLine sections (bottom of file) share this sheet. Tokens carry
   dark-theme fallbacks so the Home sections, which predate the token layer,
   still resolve. */
/* --sm-dim aliases --tertiary, the token with the OPEN CONTRAST DECISION on
   it. It may style furniture only: axis ticks, the currency glyph, unit
   suffixes. Copy a sceptical reader is meant to read — the defaults-set-low
   disclosure, the shown working, the deliberate-blank note, field labels —
   sits on --sm-body. Last round's .anchor-source note, carried forward. */
.sm { --sm-ink: var(--heading, #F5F3EE); --sm-body: var(--body, #B4B1A8); --sm-dim: var(--tertiary, #918E84); --sm-gold: var(--gold, #DDAC3A); --sm-rule: rgba(245,243,238,0.13); --sm-well: rgba(245,243,238,0.035); display: block; }
.sm-head-block { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px clamp(28px, 5vw, 72px); align-items: end; }
.sm-head-block .sm-eyebrow, .sm-head-block .sm-claim { grid-column: 1; }
@media (max-width: 900px) { .sm-head-block { grid-template-columns: minmax(0, 1fr); align-items: start; } }
.sm-eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sm-gold); }
.sm-claim { margin: 0; max-width: 24ch; font-size: clamp(26px, 3.3vw, 42px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; color: var(--sm-ink); text-wrap: balance; }
.sm-sub { margin: 0; padding-bottom: 4px; max-width: 56ch; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.6; color: var(--sm-body); text-wrap: pretty; }

.sm-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 52px); margin-top: clamp(30px, 4.5vh, 48px); }
@media (max-width: 900px) { .sm-grid { grid-template-columns: minmax(0, 1fr); } }

.sm-inputs { min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.sm-heads { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; border: 1px solid var(--sm-rule); border-radius: 4px; background: var(--sm-well); }
.sm-heads-label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sm-body); }
.sm-heads-ctl { display: flex; align-items: center; gap: 14px; }
.sm-step { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; font-size: 20px; line-height: 1; color: var(--sm-ink); background: transparent; border: 1px solid var(--sm-rule); border-radius: 3px; cursor: pointer; transition: border-color 140ms, color 140ms; }
.sm-step:hover { border-color: var(--sm-gold); color: var(--sm-gold); }
.sm-heads-val { flex: 1 1 auto; text-align: center; font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--sm-ink); font-variant-numeric: tabular-nums; }
.sm-slider { width: 100%; height: 44px; margin: -8px 0 -10px; accent-color: var(--sm-gold); background: transparent; cursor: pointer; }

.sm-group { display: flex; flex-direction: column; gap: 2px; }
.sm-group-hint { margin: -6px 0 10px; font-size: 13px; line-height: 1.5; color: var(--sm-body); }
.sm-group-label { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sm-body); }
.sm-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; border-bottom: 1px solid var(--sm-rule); }
.sm-row:last-child { border-bottom: 0; }
.sm-row-label { flex: 1 1 auto; min-width: 0; font-size: 14.5px; line-height: 1.35; color: var(--sm-body); text-wrap: pretty; }
.sm-field { flex: 0 0 auto; display: flex; align-items: center; gap: 1px; }
.sm-currency { font-size: 14px; color: var(--sm-dim); }
.sm-input { width: 56px; height: 44px; padding: 0 2px; font: inherit; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; color: var(--sm-ink); background: transparent; border: 0; border-bottom: 1px solid var(--sm-rule); border-radius: 0; transition: border-color 140ms; -moz-appearance: textfield; }
.sm-input::-webkit-outer-spin-button, .sm-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sm-input:hover { border-bottom-color: var(--sm-dim); }
.sm-input:focus { outline: none; border-bottom-color: var(--sm-gold); }
.sm-basis { width: 58px; font-size: 12.5px; color: var(--sm-body); }
.sm-note { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--sm-body); max-width: 44ch; text-wrap: pretty; }

.sm-result { min-width: 0; display: flex; flex-direction: column; gap: 22px; align-self: start; position: sticky; top: clamp(76px, 12vh, 120px); }
@media (max-width: 900px) { .sm-result { position: static; } }

.sm-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--sm-rule); border: 1px solid var(--sm-rule); border-radius: 4px; overflow: hidden; }
.sm-total { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: #1A1A19; }
.sm-total--ours { background: #1E1B15; }
.sm-total-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sm-body); }
.sm-total-val { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--sm-ink); font-variant-numeric: tabular-nums; }
.sm-total--ours .sm-total-val { color: var(--sm-gold); }
.sm-per { font-size: 0.44em; font-weight: 400; letter-spacing: 0; color: var(--sm-dim); margin-left: 2px; }
.sm-total-basis { font-size: 12.5px; color: var(--sm-body); }
/* The comparison bars — the rising line against the flat one (rev-4 spec;
   restored per review 02 §8.2: no chart-removal instruction was ever issued).
   Theirs is neutral and moves with the inputs; ours is gold and doesn't. */
.sm-bar-track { display: block; height: 12px; margin-top: 8px; border-radius: 999px; background: var(--surface-1, rgba(245, 243, 238, 0.05)); overflow: hidden; }
.sm-bar { display: block; height: 100%; min-width: 3px; border-radius: 999px; background: var(--sm-dim); transition: width 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.sm-bar--ours { background: linear-gradient(90deg, var(--gold-600, #BA7517), var(--sm-gold)); }

.sm-verdict { margin: 0; padding-left: 16px; border-left: 2px solid var(--sm-gold); font-size: clamp(15px, 1.55vw, 17.5px); line-height: 1.55; color: var(--sm-body); text-wrap: pretty; }
.sm-verdict strong { color: var(--sm-ink); font-weight: 700; }
.sm-verdict--behind { border-left-color: var(--sm-dim); }

/* §8.11 — the verdict-adjacent value strip. Inside .sm-result, every state. */
.sm-notin { padding-top: 16px; border-top: 1px solid var(--sm-rule); }
.sm-notin-cap { display: block; margin: 0 0 9px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--sm-gold); }
.sm-notin-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.sm-notin-chips li { font-size: 12.5px; line-height: 1.3; color: var(--sm-body); border: 1px solid var(--sm-rule); border-radius: 999px; padding: 5px 11px; background: var(--sm-well); white-space: nowrap; }

.sm-unpriced { margin-top: clamp(34px, 5vh, 60px); padding-top: clamp(26px, 3.5vh, 38px); border-top: 1px solid var(--sm-rule); }
.sm-unpriced-head { max-width: 52ch; }
.sm-unpriced-title { margin: 0; font-size: clamp(19px, 2vw, 25px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: var(--sm-ink); }
.sm-unpriced-sub { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--sm-body); }
.sm-unpriced-list { list-style: none; margin: clamp(22px, 3vh, 32px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.sm-item { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--sm-rule); }
.sm-item-label { font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--sm-ink); text-wrap: pretty; }
.sm-item-body { font-size: 14px; line-height: 1.55; color: var(--sm-body); text-wrap: pretty; }
.sm-unpriced-foot { margin: clamp(20px, 2.6vh, 28px) 0 0; max-width: 48ch; font-size: 14px; line-height: 1.6; color: var(--sm-body); text-wrap: pretty; }

/* ── Home: the claim + value section (d36 — the calculator's Home replacement).
   Reuses the .sm token block and the .sm-item vocabulary. ── */
.vc { --sm-ink: var(--heading, #F5F3EE); --sm-body: var(--body, #B4B1A8); --sm-gold: var(--gold, #DDAC3A); --sm-rule: rgba(245,243,238,0.13); }
.vc-head { max-width: 720px; }
.vc-claim { margin: 0; max-width: 22ch; font-size: clamp(27px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.018em; font-weight: 700; color: var(--sm-ink); text-wrap: balance; }
.vc-sub { margin: 16px 0 0; max-width: 52ch; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.62; color: var(--sm-body); text-wrap: pretty; }
.vc-list { margin-top: clamp(30px, 4.5vh, 46px); }
.vc-link { margin-top: clamp(30px, 4.5vh, 44px); }

/* ── Home: the compact price line (§8.13 — one line, late, price after value) ── */
.priceline { --sm-ink: var(--heading, #F5F3EE); --sm-body: var(--body, #B4B1A8); --sm-dim: var(--tertiary, #918E84); --sm-gold: var(--gold, #DDAC3A); }
.priceline-main { margin: 0; font-size: clamp(19px, 2vw, 25px); font-weight: 700; line-height: 1.35; letter-spacing: -0.012em; color: var(--sm-ink); text-wrap: balance; }
.priceline-amt { font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -0.024em; color: var(--sm-gold); font-variant-numeric: tabular-nums; }
.priceline-per { font-size: clamp(19px, 2vw, 25px); color: var(--sm-ink); }
.priceline-founding { margin: 14px 0 0; font-size: clamp(14.5px, 1.05vw, 16px); line-height: 1.6; color: var(--sm-body); text-wrap: pretty; }
.priceline-founding-label { font-weight: 700; color: var(--sm-ink); }
.priceline-link { margin-left: 6px; font-size: inherit; }
