:root {
  --bg: #eef0f3;
  --surface: #e2e5ea;
  --surface-2: #d5d9e0;
  --paper: #ffffff;
  --ink: #0b0c0e;
  --muted: #555c68;
  /* Rooster's comb: the subject's own colour, in place of the dealt cobalt. */
  --accent: #c62417;
  --accent-deep: #9a1a10;
  --accent-ink: #ffffff;
  --night: #0f1114;
  --night-band: #1c1f24;
  --night-band-2: #262a31;
  --night-ink: #f2f3f5;
  --night-muted: #a9afb9;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.6vw, 4.5rem);
  --step-brand: clamp(2.4rem, 1.8rem + 1.6vw, 3.4rem);
  --step-giant: clamp(4.5rem, 1.5rem + 8.6vw, 9rem);

  --margin: clamp(16px, 2.6vw, 36px);
  --gap-section: clamp(96px, 12vw, 200px);
  --radius: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 132px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Jost", system-ui, sans-serif;
  font-size: var(--step-body);
  line-height: 1.5;
  font-feature-settings: "tnum" 0;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.nowrap { white-space: nowrap; }
.thumb-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 10px var(--margin) calc(10px + env(safe-area-inset-bottom)); background: var(--bg);
  transition: transform .25s var(--ease);
}
.thumb-cta .btn { width: 100%; min-height: 56px; font-size: var(--step-body); }
.thumb-cta.is-hidden { transform: translateY(110%); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }

.display {
  font-size: var(--step-head);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* Buttons: one shape on the whole page, square. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: var(--radius);
  font-weight: 500; font-size: var(--step-body);
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-deep); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2a2d33; }
.textlink { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.textlink:hover { color: var(--accent); }

/* Bar */
.bar {
  display: flex; align-items: center; gap: 28px;
  padding: 12px var(--margin);
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
}
.wordmark { font-family: "Big Shoulders Display", "Jost", sans-serif; font-weight: 900; font-size: var(--step-brand); line-height: 0.9; letter-spacing: 0.005em; text-decoration: none; margin-right: auto; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark img { height: 91px; width: auto; transition: transform .2s var(--ease); }
.wordmark:hover img { transform: rotate(-6deg) translateY(-2px); }
.bar nav { display: flex; gap: 28px; }
.bar nav a { text-decoration: none; font-weight: 500; }
.bar nav a:hover { color: var(--accent); }
.bar-cta { min-height: 44px; padding: 0 18px; white-space: nowrap; flex-shrink: 0; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  padding: clamp(28px, 6vh, 72px) var(--margin) 0;
  align-items: start;
}
.hero-copy { grid-column: 1 / span 7; padding-top: clamp(8px, 4vh, 48px); }
.hero-copy .display { max-width: none; }
.lead { font-size: var(--step-lead); line-height: 1.38; margin-top: 28px; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 32px; }
.hero-note { margin-top: 28px; color: var(--ink); font-size: var(--step-body); max-width: 34ch; }

/* The live lookup: a real fragment of the product */
.lookup {
  grid-column: 8 / span 5;
  background: var(--paper);
  border-radius: 6px;
  display: flex; flex-direction: column;
  max-height: min(78vh, 760px);
  min-height: 560px;
  overflow: hidden;
}
.lookup-head { padding: 20px 22px 14px; background: var(--paper); }
.lookup-title { font-weight: 700; font-size: var(--step-body); }
.trade-picker { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.trade-picker button {
  border: 1px solid #c9ced6; background: var(--paper); /* taste-skill-ignore: inside a data-ui product fragment */
  border-radius: 4px; padding: 7px 12px; font-size: var(--step-small); cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.trade-picker button:hover { border-color: var(--ink); }
.trade-picker button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.zip-label { display: block; margin-top: 14px; font-size: var(--step-small); color: var(--muted); }
.zip-row input {
  width: 100%; margin-top: 6px; padding: 10px 12px;
  border: 1px solid #c9ced6; border-radius: 4px; background: var(--paper);
  font-size: var(--step-body); font-variant-numeric: tabular-nums;
}
.zip-row input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.zip-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; font-size: var(--step-small); color: var(--muted); }
.zip-quick button {
  border: 0; background: var(--bg); border-radius: 4px; padding: 4px 9px; cursor: pointer;
  font-size: var(--step-small); font-variant-numeric: tabular-nums; color: var(--ink);
}
.zip-quick button:hover { background: var(--surface-2); }
.lookup-count { padding: 12px 22px; background: var(--bg); font-size: var(--step-small); font-weight: 500; }
.lookup-list { list-style: none; margin: 0; padding: 0 22px; overflow-y: auto; flex: 1; }
.lookup-list li { padding: 14px 0; border-bottom: 1px solid #e3e6eb; } /* taste-skill-ignore: inside a data-ui product fragment */
.lookup-list li:last-child { border-bottom: 0; }
.lk-top { display: flex; align-items: baseline; gap: 10px; }
.lk-stage { font-size: var(--step-small); font-weight: 500; background: #fbe4e1; color: var(--accent-deep); padding: 2px 8px; border-radius: 3px; white-space: nowrap; }
.lk-cost { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lk-where { font-weight: 700; font-size: var(--step-body); margin-top: 6px; }
.lk-what { font-size: var(--step-small); color: #30343c; margin-top: 3px; line-height: 1.4; }
.lk-why { font-size: var(--step-small); color: var(--accent-deep); margin-top: 5px; }
.lk-date { font-size: var(--step-small); color: var(--muted); margin-top: 5px; font-variant-numeric: tabular-nums; }
.lookup-empty { padding: 24px 0; color: var(--muted); }
.lookup-foot { padding: 14px 22px 18px; background: var(--paper); }
.lookup-foot .btn { width: 100%; }

/* Board: this week's biggest jobs, set like a departure board */
.board-section { margin-top: var(--gap-section); background: var(--night); color: var(--night-ink); padding: 0 12px 64px; overflow: hidden; }
.board { list-style: none; margin: 0 0 0; padding: 0; display: grid; gap: 4px; margin-top: -36px; }
.board li { background: var(--night-band); }
.board button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 5fr 2fr 2fr 2fr 1.4fr; align-items: center; gap: 16px;
  min-height: 72px; padding: 0 20px;
  font-size: var(--step-lead); line-height: 1.1; font-variant-numeric: tabular-nums;
  transition: background-color .2s var(--ease);
}
.board button:hover { background: var(--night-band-2); }
.board button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.b-where { font-weight: 700; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-zip, .b-stage { color: var(--night-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-cost { text-align: right; }
.b-status { justify-self: end; background: var(--night-band-2); color: var(--night-ink); font-size: var(--step-small); font-weight: 500; padding: 8px 12px; white-space: nowrap; }
.board li.is-open { background: var(--accent); }
.board li.is-open button { min-height: 120px; }
.board li.is-open .b-zip, .board li.is-open .b-stage { color: #ffd9d4; }
.board li.is-open .b-status { background: var(--accent-deep); }
.b-detail { display: none; padding: 0 20px 24px; font-size: var(--step-body); line-height: 1.45; max-width: 70ch; color: #fff; }
.board li.is-open .b-detail { display: block; }
.b-detail span { display: block; color: #fff; margin-top: 6px; }
.board-caption { margin: 40px 8px 0; max-width: 62ch; color: var(--night-muted); font-size: var(--step-body); }

/* Stats: the product's own chart on the accent field */
.stats {
  background: var(--accent); color: var(--accent-ink);
  min-height: 92svh; position: relative;
  display: grid; grid-template-rows: auto 1fr;
  padding: clamp(56px, 8vh, 96px) 0 0;
}
.stats-copy { padding: 0 var(--margin); max-width: 1100px; }
.stats-figure { font-size: var(--step-giant); font-weight: 700; line-height: 0.82; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.stats-claim { font-size: var(--step-lead); font-weight: 500; margin-top: 16px; letter-spacing: -0.01em; }
.stats-sub { margin-top: 18px; max-width: 46ch; font-size: var(--step-body); }
.bars {
  align-self: end;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-rows: 58vh; gap: 8px;
  align-items: end; margin-top: 40px; padding: 0 var(--margin);
}
.bar-item { position: relative; background: var(--accent-deep); height: var(--h); min-height: 6px; cursor: default; transition: background-color .2s; }
.bar-item:hover, .bar-item:focus-visible { background: #7d140c; outline: none; }
.bar-item.is-latest { background: var(--ink); }
.bar-val { position: absolute; bottom: calc(100% + 10px); left: -12px; right: -12px; white-space: nowrap; text-align: center; font-size: var(--step-lead); font-weight: 700; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .15s; }
.bar-val small { display: block; font-size: var(--step-small); font-weight: 400; }
.bar-item.show-val .bar-val, .bar-item:hover .bar-val, .bar-item:focus-visible .bar-val { opacity: 1; }
/* Edge bars anchor their label inward so it never runs into the screen edge. */
.bar-item:first-child .bar-val { left: 0; right: auto; text-align: left; }
.bar-item:last-child .bar-val { left: auto; right: 0; text-align: right; }

/* World: real pictures of the work */
.world { margin-top: var(--gap-section); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 0 var(--margin); align-items: end; }
.world-pics { grid-column: 1 / span 7; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); }
.world-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.world-pics img.is-on { opacity: 1; }
.world-copy { grid-column: 9 / span 4; }
.world-copy h2 { font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; }
.world-copy p { margin-top: 18px; }
.world-copy .pic-note { color: var(--muted); font-size: var(--step-small); }

/* How it works: one slider drives both fields */
.how {
  margin-top: var(--gap-section);
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto;
  min-height: 88svh;
}
.how-clause-field { background: var(--surface); padding: clamp(40px, 7vh, 88px) var(--margin) 40px; }
.how-clause { font-size: var(--step-head); line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; max-width: 13ch; text-wrap: balance; transition: opacity .2s; }
.how-detail { margin-top: 28px; max-width: 34ch; font-size: var(--step-lead); line-height: 1.4; transition: opacity .2s; }
.how-frag-field { background: var(--ink); display: grid; place-items: center; padding: 48px 24px; }
.how-frag { width: min(500px, 100%); zoom: 1.12; background: var(--paper); border-radius: 6px; padding: 22px; font-size: var(--step-small); transition: opacity .2s; }
.how-frag .hf-label { font-size: var(--step-small); color: var(--muted); }
.how-frag .hf-big { font-weight: 700; font-size: var(--step-body); margin-top: 2px; }
.how-frag .hf-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #e3e6eb; font-variant-numeric: tabular-nums; } /* taste-skill-ignore: inside a data-ui product fragment */
.how-frag .hf-row:last-child { border-bottom: 0; }
.how-frag .hf-tag { display: inline-block; margin: 6px 6px 0 0; padding: 4px 9px; border-radius: 3px; background: var(--bg); font-size: var(--step-small); }
.how-frag .hf-tag.on { background: var(--ink); color: var(--paper); }
.how-frag .hf-mailhead { display: flex; justify-content: space-between; font-size: var(--step-small); color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid #e3e6eb; } /* taste-skill-ignore: inside a data-ui product fragment */
.how-frag .hf-why { color: var(--accent-deep); margin-top: 8px; }
.how-frag .hf-stamp { display: inline-block; margin-top: 12px; padding: 4px 10px; background: #fbe4e1; color: var(--accent-deep); border-radius: 3px; font-weight: 500; font-size: var(--step-small); }
.how-slider { grid-column: 1 / -1; padding: 28px var(--margin) 32px; background: var(--surface-2); }
#how-range { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; margin: 0; }
.range-wrap { position: relative; }
.range-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 8px; background: #b9bfc9; }
.range-fill { position: absolute; left: 0; top: 12px; height: 8px; width: var(--fill, 0%); background: var(--ink); transition: width .2s var(--ease); }
#how-range { position: relative; }
#how-range::-webkit-slider-runnable-track { height: 8px; background: transparent; }
#how-range::-moz-range-track { height: 8px; background: transparent; }
#how-range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; background: var(--accent); border: 0; border-radius: 0; }
#how-range::-moz-range-thumb { width: 32px; height: 32px; background: var(--accent); border: 0; border-radius: 0; }
.how-stages { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); font-size: var(--step-small); color: var(--muted); }
.how-stages li:nth-child(2) { text-align: center; transform: translateX(-16%); }
.how-stages li:nth-child(3) { text-align: center; transform: translateX(16%); }
.how-stages li:last-child { text-align: right; }
.how-stages li.is-on { color: var(--ink); font-weight: 500; }

/* Pricing: plan names, one live figure */
.pricing { margin-top: var(--gap-section); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 0 var(--margin); align-items: start; }
.plan-names { grid-column: 1 / span 6; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.plan-names button {
  all: unset; cursor: pointer; position: relative;
  font-size: var(--step-head); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; text-transform: uppercase;
  color: var(--muted); padding-left: 0.55em; transition: color .2s;
}
.plan-names button::before { content: ""; position: absolute; left: 0.04em; top: 50%; width: 0.28em; height: 0.28em; margin-top: -0.14em; border-radius: 50%; background: var(--accent); opacity: 0; transition: opacity .2s; }
.plan-names button:hover { color: var(--muted); }
.plan-names button[aria-selected="true"] { color: var(--ink); }
.plan-names button[aria-selected="true"]::before { opacity: 1; }
.plan-names button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.plan-stage { grid-column: 7 / span 6; min-width: 0; transition: opacity .2s; }
.plan-price { font-weight: 700; line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan-price #plan-price { display: block; white-space: nowrap; }
.plan-price #plan-price { font-size: var(--step-giant); }
.plan-period { display: block; margin-top: 18px; font-size: var(--step-body); line-height: 1.3; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.plan-text { margin-top: 24px; font-size: var(--step-body); max-width: 42ch; }
.plan-stage .btn { margin-top: 28px; }

/* Start: one field */
.start { margin-top: var(--gap-section); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 0 var(--margin); align-items: center; }
.start-col { grid-column: 1 / span 6; max-width: 560px; }
.start-prompt { font-size: var(--step-lead); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.start-choice { margin-top: 8px; font-size: var(--step-lead); line-height: 1.25; color: var(--muted); font-weight: 500; }
.start-form { margin-top: 28px; }
.field { position: relative; }
.field input {
  width: 100%; height: 64px; padding: 0 72px 0 20px;
  border: 0; border-radius: var(--radius); background: var(--paper); font-size: var(--step-body);
}
.field input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--accent); } /* taste-skill-ignore: focus ring, not a resting shadow */
.field-go {
  position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer;
  transition: transform .15s var(--ease), background-color .15s;
}
.field-go:hover { background: var(--accent-deep); transform: translateX(2px); }
.field-go:active { transform: scale(.94); }
.start-next { margin-top: 16px; font-size: var(--step-body); }
.start-next.is-error { color: var(--accent-deep); font-weight: 500; }
.start-next.is-done { font-weight: 500; }
.start-change { margin-top: 18px; }
.start-change summary { cursor: pointer; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; width: fit-content; }
.start-change-body { display: grid; gap: 6px; margin-top: 14px; max-width: 360px; font-size: var(--step-small); }
.start-change-body label { color: var(--muted); margin-top: 6px; }
.start-change-body select, .start-change-body input { padding: 10px 12px; border: 1px solid #c9ced6; border-radius: 4px; background: var(--paper); font-size: var(--step-body); }
.waitlist summary { color: var(--ink); }
.waitlist-go { margin-top: 14px; justify-self: start; }
.waitlist-note { margin-top: 6px; color: var(--muted); }
.waitlist-note.is-done { color: var(--ink); font-weight: 500; }
.waitlist-note.is-error { color: var(--accent-deep); font-weight: 500; }
.start-facts { margin: 64px 0 0; display: grid; gap: 14px; font-size: var(--step-body); }
.start-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.start-facts dt { color: var(--muted); }
.start-facts dd { margin: 0; }
.start-rooster { grid-column: 8 / span 5; margin: 0; }
.start-rooster { display: flex; justify-content: flex-end; align-items: center; }
/* Sized by the screen's height, not the column's width, so the whole bird shows when #start is opened. */
.start-rooster img { width: auto; height: min(76svh, 760px); max-width: 100%; object-fit: contain; }

/* FAQ: question index, one answer */
.faq { margin-top: var(--gap-section); }
.faq-skyline { width: 100%; height: clamp(240px, 42vw, 560px); object-fit: cover; object-position: 50% 62%; }
.faq-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 72px var(--margin) 0; align-items: start; }
.faq-list { grid-column: 1 / span 5; display: grid; gap: 18px; }
.faq-heading { font-size: var(--step-body); font-weight: 500; color: var(--muted); }
.faq-q {
  all: unset; cursor: pointer; display: grid; grid-template-columns: 8px 1fr; gap: 14px; align-items: baseline;
  font-size: var(--step-body); color: var(--muted); transition: color .15s;
}
.faq-q::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9aa1ad; transform: translateY(-2px); transition: background-color .15s; }
.faq-q[aria-selected="true"] { color: var(--ink); }
.faq-q[aria-selected="true"]::before { background: var(--accent); }
.faq-q:hover { color: var(--ink); }
.faq-q:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.faq-a-inline { display: none; }
.faq-pane { grid-column: 7 / span 6; position: sticky; top: 120px; font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; transition: opacity .15s; }


/* Footer: the brand returns on the night field */
.foot { margin-top: var(--gap-section); background: var(--night); color: var(--night-ink); padding: clamp(64px, 9vw, 128px) var(--margin) 32px; }
.foot a { color: var(--night-ink); text-decoration: none; transition: color .15s; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 56px; }
.foot-brand { display: inline-flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); }
.foot-brand:hover { text-decoration: none !important; }
.foot-brand img { height: clamp(104px, 13vw, 200px); width: auto; }
.foot-brand span { font-family: "Big Shoulders Display", "Jost", sans-serif; font-weight: 900; font-size: var(--step-giant); line-height: 0.85; letter-spacing: 0.005em; }
.foot-pitch { display: grid; gap: 20px; justify-items: start; }
.foot-tag { font-size: var(--step-lead); font-weight: 500; line-height: 1.25; max-width: 18ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 56px; margin-top: clamp(64px, 8vw, 112px); }
.foot-cols h2 { font-size: var(--step-small); font-weight: 500; color: var(--night-muted); margin-bottom: 16px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: var(--step-body); }
.foot-cols p { font-size: var(--step-body); max-width: 34ch; color: var(--night-ink); }
.foot-credits { margin-top: clamp(56px, 7vw, 96px); max-width: 100ch; font-size: var(--step-small); color: var(--night-muted); }
.foot-credits a { text-decoration: underline; text-underline-offset: 3px; }
.foot-legal-links { display: flex; gap: 20px; }
.foot-legal { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: var(--step-small); color: var(--night-muted); }

/* Entrances */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  html { scroll-padding-top: 108px; }
  .bar nav { display: none; }
  .wordmark img { height: 70px; }
  .hero { display: block; padding-top: 28px; }
  .hero-copy .display { max-width: none; }
  .lookup { margin-top: 36px; min-height: 0; max-height: none; }
  .lookup-list { max-height: 520px; }
  .board button { grid-template-columns: 1fr auto; min-height: 64px; padding: 0 14px; font-size: var(--step-body); }
  .board { margin-top: -32px; }
  .board-section { padding: 0 8px 48px; }
  .b-zip, .b-stage, .b-cost { display: none; }
  .board li.is-open button { min-height: 72px; }
  .b-detail { padding: 0 14px 20px; font-size: var(--step-body); }
  .b-detail .b-facts { display: block; }
  .stats-figure { font-size: var(--step-giant); }
  .bars { grid-auto-flow: row; grid-template-rows: none; grid-auto-rows: 32px; grid-auto-columns: unset; height: auto; gap: 6px; align-items: stretch; padding: 0 var(--margin) 56px; margin-top: 36px; }
  .bar-item { height: auto; width: var(--w); min-height: 0; }
  .bar-val, .bar-item:first-child .bar-val, .bar-item:last-child .bar-val { opacity: 1; bottom: auto; top: 50%; transform: translateY(-50%); left: auto; right: 14px; text-align: right; font-size: var(--step-small); }
  .bar-val small { display: none; }
  .bar-item:not(.show-val) .bar-val { opacity: 0; }
  .world { display: block; padding: 0; }
  .world-copy { padding: 32px var(--margin) 0; }
  .how { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: 0; }
  .how-frag-field { order: 1; min-height: 46svh; padding: 28px 16px; }
  .how-clause-field { order: 2; padding-top: 36px; padding-bottom: 40px; }
  .how-slider { order: 3; }
  .how-clause { font-size: var(--step-head); max-width: none; }
  #how-range::-webkit-slider-thumb { width: 40px; height: 40px; margin-top: -16px; }
  .how-stages { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .how-stages li, .how-stages li:nth-child(2), .how-stages li:nth-child(3), .how-stages li:last-child { text-align: left; transform: none; }
  .pricing, .start, .faq-grid { display: block; }
  .plan-stage { margin-top: 28px; }
  .plan-stage .btn { width: 100%; }
  .start-rooster { margin: 48px 0 0; justify-content: center; }
  .start-rooster img { height: min(62svh, 520px); }
  .start-facts { margin-top: 48px; }
  .start-facts div { grid-template-columns: 1fr; gap: 2px; }
  .faq-grid { padding-top: 48px; }
  .faq-pane { display: none; }
  .faq-a-inline { display: block; margin: 10px 0 6px 22px; font-size: var(--step-body); line-height: 1.4; color: var(--ink); max-width: 34ch; }
  .faq-a-inline[hidden] { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  html { scroll-padding-top: 124px; }
  /* Phones often sit in a dash mount: the brand gets the whole top bar, and the action moves to a thumb bar. */
  .bar { padding-top: 8px; padding-bottom: 8px; }
  .wordmark { gap: 10px; font-size: clamp(1.75rem, 11.6vw, 3.1rem); }
  .wordmark img { height: clamp(52px, 22vw, 96px); }
  .bar-cta { display: none; }
  .thumb-cta { display: flex; }
  .foot { padding-bottom: calc(32px + 76px); }
  .foot-brand span { font-size: clamp(1.75rem, 11.6vw, 3.1rem); }
  .foot-cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .world-pics img { transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* Legal pages */
.legal { padding: clamp(40px, 7vw, 96px) var(--margin) 0; max-width: calc(68ch + 2 * var(--margin)); }
.legal h1 { font-size: var(--step-head); line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; }
.legal-updated { margin-top: 16px; color: var(--muted); font-size: var(--step-small); }
.legal-body { margin-top: 40px; }
.legal-body h2 { font-size: var(--step-lead); margin-top: 44px; letter-spacing: -0.01em; }
.legal-body p { margin-top: 14px; }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--accent); }
