/* Year 2092 site styles
   Foundation: the LXXXIV site kit (reference/lxxxiv-site-reference.html).
   Layer: the collateral accent, confirmed at kickoff (brass + Big Shoulders).
   Tokens live in design-tokens.css and are loaded ahead of this file.

   Colour logic, applied consistently:
     slate   structure, links, secondary buttons, the phone block
     brass   the Year 2092 accent, spent sparingly: eyebrows, key rules,
             the primary CTA. Text-weight brass is always --brass-deep,
             which clears AA on both white (5.32:1) and paper (4.90:1);
             --brass at 3.81:1 on white is reserved for rules, borders,
             and display type at large sizes.
   Light-only, deliberately, like the parent site. */

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

/* Local fallback for Big Shoulders Display while the webfont loads. The
   size-adjust narrows the system face toward the condensed metrics so the
   swap barely moves the layout. */
@font-face {
  font-family: "Display Fallback";
  src: local("Helvetica Neue Condensed Bold"), local("Arial Narrow"), local("Helvetica Neue"), local("Arial");
  size-adjust: 78%;
  ascent-override: 100%;
  descent-override: 28%;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
}

/* ---------- Primitives ---------------------------------------------------- */

a { color: var(--slate); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--slate-deep); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; border-radius: 1px; }

p { margin: 0 0 .9rem; }
p:last-child { margin-bottom: 0; }
img, svg { max-width: 100%; height: auto; }

.wrap {
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}
.prose { max-width: var(--measure); }
.center { text-align: center; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brass-deep); color: #fff;
  padding: .75rem 1.15rem; font-weight: 600; text-decoration: none;
}
.skip:focus { left: .5rem; top: .5rem; color: #fff; }

/* Numbers, NSNs, codes and prices: mono with tabular figures, always. */
.num, .price, td.n, .fsc {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.eyebrow {
  font: 600 .6875rem/1.2 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 .75rem;
}
.eyebrow-light { color: var(--brass-dark); }

/* ---------- Display type -------------------------------------------------- */

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
  text-wrap: balance;
  margin: 0;
}

.h-hero { font-size: clamp(2.75rem, 1.6rem + 5vw, 5rem); }
h1 { font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); font-weight: 600; letter-spacing: .03em; line-height: 1.1; }

.lede {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.55;
  color: var(--grey);
  max-width: 60ch;
  margin: 1.25rem 0 0;
}
.lede strong { color: var(--ink); font-weight: 600; }

/* ---------- Masthead ------------------------------------------------------ */

.masthead {
  background: var(--charcoal);
  color: var(--on-dark);
  border-top: 4px solid var(--brass);
}
.masthead-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem 2rem;
  padding-block: 1.1rem;
}
.wordmark {
  font-family: var(--display);
  font-weight: 700; text-transform: uppercase;
  font-size: 1.75rem; line-height: 1; letter-spacing: .045em;
  color: var(--on-dark); text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--on-dark); }
.wordmark:focus-visible { outline-color: var(--on-dark); }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .35rem; }
.nav a {
  font: 600 .75rem/1 var(--sans);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark-2); text-decoration: none;
  padding: .65rem .7rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--on-dark); border-bottom-color: var(--brass); }
.nav a[aria-current="page"] { color: var(--on-dark); border-bottom-color: var(--brass); }
.nav a:focus-visible { outline-color: var(--on-dark); }

.phone-block {
  display: inline-block; background: var(--slate); color: var(--on-dark);
  font-family: var(--mono); font-size: .9375rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none; padding: .6rem .9rem; white-space: nowrap;
}
.phone-block:hover, .phone-block:focus { background: #3E5D70; color: var(--on-dark); }
.phone-block:focus-visible { outline-color: var(--on-dark); }

@media (max-width: 860px) {
  .masthead-inner { padding-block: .9rem; }
  .nav { order: 3; width: 100%; border-top: 1px solid #2C383E; padding-top: .35rem; margin-left: -.7rem; }
}

/* ---------- Sections ------------------------------------------------------ */

.band { padding-block: clamp(3rem, 6vw, 5rem); }
.band + .band { border-top: 1px solid var(--rule); }
.band-tight { padding-block: clamp(2.25rem, 4vw, 3.25rem); }
.band-card { background: var(--card); }
.band-dark {
  background: var(--charcoal); color: var(--on-dark-2);
  border-top: 1px solid var(--charcoal);
}
.band-dark h2, .band-dark h3, .band-dark .display { color: var(--on-dark); }
.band-dark a { color: var(--brass-dark); }
.band-dark a:hover { color: #E8C46B; }
.band-dark a:focus-visible { outline-color: var(--brass-dark); }
.band-dark strong { color: var(--on-dark); }

.section-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.section-head .lede { margin-top: .85rem; }

/* ---------- Hero ---------------------------------------------------------- */

.hero { padding-block: clamp(3.25rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); }
.hero .lede { max-width: 56ch; }

.cta-row {
  display: flex; flex-wrap: wrap; gap: .85rem 1rem;
  align-items: center; margin-top: 2rem;
}

.btn {
  display: inline-block;
  font: 600 .875rem/1 var(--sans);
  letter-spacing: .08em; text-transform: uppercase;
  padding: 1rem 1.5rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--brass-deep); color: #fff; border-color: var(--brass-deep); }
.btn-primary:hover, .btn-primary:focus { background: #6E5010; border-color: #6E5010; color: #fff; }
.btn-primary:focus-visible { outline-color: var(--brass-deep); }
.btn-secondary { background: transparent; color: var(--slate); border-color: var(--rule); }
.btn-secondary:hover, .btn-secondary:focus { border-color: var(--slate); color: var(--slate-deep); }
.btn-ondark { background: var(--brass-dark); color: var(--charcoal); border-color: var(--brass-dark); }
.btn-ondark:hover, .btn-ondark:focus { background: #E8C46B; border-color: #E8C46B; color: var(--charcoal); }
.btn-ondark:focus-visible { outline-color: var(--brass-dark); }
/* Wins over .band-dark a, which would otherwise paint the label brass-on-brass. */
.band-dark a.btn-ondark { color: var(--charcoal); }
.band-dark a.btn-ondark:hover, .band-dark a.btn-ondark:focus { color: var(--charcoal); }
.btn-note { font-size: .8125rem; color: var(--grey); }

/* ---------- Stats strip --------------------------------------------------- */

.stats {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--rule);
  border: 1px solid var(--rule);
}
.stat { background: var(--card); padding: 1.15rem 1.25rem; border-left: 3px solid var(--brass); }
.stat .v {
  display: block; font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2rem); font-weight: 600;
  color: var(--brass-deep); line-height: 1.1; margin-bottom: .35rem;
}
.stat .l { font-size: .8125rem; line-height: 1.45; color: var(--grey); }
.stat .l strong { color: var(--ink); font-weight: 600; }

.asof {
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--grey);
  margin: .85rem 0 0;
}

/* ---------- Card grids ---------------------------------------------------- */

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 680px) { .grid-2 { grid-template-columns: 1fr; } }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--rule);
  padding: 1.4rem 1.5rem; display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .9375rem; color: var(--grey); }
.card p strong { color: var(--ink); font-weight: 600; }

.pillar { counter-increment: pillar; }
.pillar::before {
  content: counter(pillar, decimal-leading-zero);
  font-family: var(--mono); font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; color: var(--brass-deep);
  display: block; margin-bottom: .8rem;
}
.pillars { counter-reset: pillar; }

/* ---------- Steps --------------------------------------------------------- */

.steps { counter-reset: step; }
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono); font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; color: var(--brass-deep);
  display: block; margin-bottom: .7rem;
}

/* ---------- Tier / ladder ------------------------------------------------- */

.entry {
  display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center;
  background: var(--card); border: 1px solid var(--brass);
  border-left-width: 4px; padding: 1.4rem 1.6rem;
}
.entry .price {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); font-weight: 600;
  color: var(--brass-deep); line-height: 1;
}
.entry .body { flex: 1 1 22rem; }
.entry h3 { margin-bottom: .45rem; }
.entry p { font-size: .9375rem; color: var(--grey); margin: 0; }
.entry p strong { color: var(--ink); font-weight: 600; }

.tier { background: var(--card); border: 1px solid var(--rule); display: flex; flex-direction: column; }
.tier-feat { border-color: var(--brass); box-shadow: inset 3px 0 0 var(--brass); }
.tier .plate {
  border-bottom: 1px solid var(--rule); padding: 1rem 1.25rem;
  display: flex; align-items: baseline; justify-content: space-between; gap: .75rem;
  flex-wrap: wrap;
}
.tier .plate .t { font-family: var(--display); font-weight: 600; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .03em; }
.tier .plate .p { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 1rem; font-weight: 600; white-space: nowrap; }
.tier .plate .p small { font-weight: 400; color: var(--grey); }
.spec { list-style: none; margin: 0; padding: 1rem 1.25rem 1.25rem; display: grid; gap: .6rem; font-size: .9375rem; flex: 1; }
.spec li { padding-left: 1.05rem; position: relative; color: var(--grey); line-height: 1.5; }
.spec li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 2px; background: var(--brass); }
.spec li strong { color: var(--ink); font-weight: 600; }
.tier .foot-note {
  border-top: 1px dashed var(--rule); padding: .75rem 1.25rem;
  font-size: .8125rem; color: var(--grey);
}

.setup {
  margin-top: 1.25rem; font-size: .9375rem; color: var(--grey);
  border-left: 3px solid var(--brass); padding: .55rem 1.1rem; background: var(--card);
}
.setup strong { color: var(--ink); font-weight: 600; }

/* ---------- Rule lists ---------------------------------------------------- */

.ruled { list-style: none; margin: 0; padding: 0; }
.ruled li { padding-left: 1.05rem; position: relative; color: var(--grey); margin-bottom: .7rem; font-size: .9375rem; line-height: 1.55; }
.ruled li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 2px; background: var(--brass); }
.ruled li strong { color: var(--ink); font-weight: 600; }
.band-dark .ruled li { color: var(--on-dark-2); }
.band-dark .ruled li::before { background: var(--brass-dark); }
.band-dark .ruled li strong { color: var(--on-dark); }

/* ---------- Callouts ------------------------------------------------------ */

.callout {
  background: var(--open-bg); border: 1px solid var(--open);
  padding: 1rem 1.25rem; font-size: .9375rem; margin-top: 1.25rem;
}
.callout strong { color: #23603D; font-weight: 600; }

.note {
  font-size: .875rem; color: var(--grey); line-height: 1.6;
  max-width: 82ch;
}
.note strong { color: var(--ink); font-weight: 600; }

.offer {
  display: flex; flex-wrap: wrap; gap: 1.25rem 1.75rem;
  align-items: center; justify-content: space-between;
  background: var(--card); border: 1px solid var(--brass); border-left-width: 4px;
  padding: 1.5rem 1.6rem; margin-top: 1.75rem;
}
.offer .body { flex: 1 1 26rem; }
.offer p { font-size: .9375rem; color: var(--grey); margin: .5rem 0 0; }
.offer p strong { color: var(--ink); font-weight: 600; }

/* ---------- Tables -------------------------------------------------------- */

.scroller { overflow-x: auto; border: 1px solid var(--rule); background: var(--card); }
.scroller table { border-collapse: collapse; width: 100%; min-width: 40rem; font-size: .875rem; }
.scroller th, .scroller td { padding: .6rem .85rem; text-align: left; border-bottom: 1px solid var(--rule-soft); }
.scroller thead th {
  font: 600 .6875rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--grey); border-bottom: 2px solid var(--charcoal); white-space: nowrap;
}
.scroller td.n { text-align: right; font-size: .8125rem; }
.scroller tbody tr:last-child td { border-bottom: 0; }
.scroller caption { caption-side: bottom; padding: .75rem .85rem; font-size: .8125rem; color: var(--grey); text-align: left; border-top: 1px solid var(--rule); }

/* Definition-style spec table, used for the company block and title blocks. */
.deflist { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.deflist > div { background: var(--card); padding: .85rem 1rem; }
.deflist dt, .deflist .lab {
  font: 600 .625rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--grey); margin-bottom: .3rem;
}
.deflist dd, .deflist .val { margin: 0; font-size: .9375rem; color: var(--ink); }

/* ---------- Forms --------------------------------------------------------- */

.form { display: grid; gap: 1rem; max-width: 34rem; }
.field { display: grid; gap: .35rem; }
.field label { font: 600 .75rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.field input, .field textarea, .field select {
  font: 400 1rem/1.5 var(--sans); color: var(--ink);
  background: var(--card); border: 1px solid var(--rule); padding: .7rem .8rem;
  width: 100%;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--grey); }
.field .hint { font-size: .8125rem; color: var(--grey); }
.form-embed { border: 1px dashed var(--rule); background: var(--card); padding: 1.25rem; }

/* ---------- TODO slots (visible in the source, quiet on the page) --------- */

.todo {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .04em;
  background: #FBF3DE; border: 1px dashed var(--brass); color: var(--brass-deep);
  padding: .15rem .45rem; display: inline-block;
}

/* ---------- Proof block --------------------------------------------------- */

.proof-mark { width: 44px; height: 44px; color: var(--brass-dark); flex: none; }
.proof-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: flex-start; }

/* ---------- Footer -------------------------------------------------------- */

.site-footer { background: var(--charcoal); color: var(--on-dark-2); border-top: 4px solid var(--brass); }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.75rem 2rem; padding-block: clamp(2.25rem, 4vw, 3rem); }
.footer-col h2 {
  font: 600 .6875rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-dark); margin: 0 0 .85rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-col a { color: var(--on-dark-2); text-decoration: none; font-size: .9375rem; }
.footer-col a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-col a:focus-visible { outline-color: var(--on-dark); }
.footer-col p { font-size: .9375rem; }

.footer-legal { border-top: 1px solid #2C383E; padding-block: 1.5rem 2rem; }
.trade-line { display: flex; align-items: flex-start; gap: .9rem; }
.trade-line .mark { width: 26px; height: 26px; color: var(--on-dark-2); flex: none; margin-top: .15rem; }
.trade-line p { font-size: .8125rem; line-height: 1.6; color: var(--on-dark-2); max-width: 88ch; margin: 0; }
.copyright { font-size: .8125rem; color: var(--on-dark-2); margin-top: 1rem; }

/* ---------- Legal / prose pages ------------------------------------------- */

.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 .75rem; padding-bottom: .4rem; border-bottom: 2px solid var(--charcoal); }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1rem; margin: 1.5rem 0 .5rem; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.15rem; }
.legal li { margin-bottom: .5rem; }
.legal .updated { font-family: var(--mono); font-size: .8125rem; color: var(--grey); }

/* ---------- Print --------------------------------------------------------- */

@media print {
  body { background: #fff; }
  .masthead, .site-footer, .nav, .cta-row, .skip { display: none !important; }
  .band { padding-block: 1rem; break-inside: avoid; }
  a { text-decoration: none; color: var(--ink); }
}
