/*
 * Dead Reckoning Foundry - deadreckoningfoundry.com
 * Source rebuilt from the production Vite bundle (index-DJrkT6I_.css), then
 * extended for the 17 Nov 2026 launch: Automaton lockups, Automaton OS section,
 * BoilerMan crest and Atlas block, family footer row, review page.
 * Baseline: commit 5a8c409.
 */

@font-face {
  font-family: Geist;
  src: url(assets/geist.woff2);
  font-display: swap;
}

:root {
  /* ---- Spacing: a golden-ish modular scale (ratio 1.61) off a 10px unit ---- */
  --ratio: 1.61;
  --u: 10px;
  --s1: calc(var(--u) * var(--ratio));   /* ~16px  */
  --s2: calc(var(--s1) * var(--ratio));  /* ~26px  */
  --s3: calc(var(--s2) * var(--ratio));  /* ~42px  */
  --s4: calc(var(--s3) * var(--ratio));  /* ~68px  */
  --s5: calc(var(--s4) * var(--ratio));  /* ~110px */
  --s6: calc(var(--s5) * var(--ratio));  /* ~177px (unused, kept) */

  /* ---- Core palette ---- */
  --paper: #f9f6ef;   /* light sections, light text on dark */
  --ink: #252522;     /* text on light sections, ink button */
  --navy: #0b1720;    /* page + header background */
  --copper: #a84d1e;  /* accents, copper button */
  --gold: #d7ac83;    /* brand text, hover, step numbers */
  --line: #d8d1c5;    /* hairlines on light sections */

  /* ---- Secondary surfaces ---- */
  --paper-tools: #ece8df;      /* tools section background */
  --paper-hover: #e7d5bd;      /* light button hover */
  --navy-continuity: #111f27;  /* AMS section background */
  --navy-menu: #10212b;        /* mobile nav panel */
  --copper-deep: #9a4b28;      /* closing "Foundry" section background */
  --copper-button: #99542e;    /* header "Explore tools" button */
  --copper-button-border: #c6804c;

  /* ---- Text colours ---- */
  --muted: #655f57;          /* body copy on light sections (AA: 5.2:1 on --paper-tools, 5.8:1 on --paper) */
  --muted-kicker: #655f57;   /* kickers and meta on light sections (AA) */
  --hero-text: #c8cdd1;      /* hero description */
  --eyebrow-hero: #d2c0af;   /* hero eyebrow */
  --foundry-text: #fff3e5;   /* closing section text */
  --foundry-accent: #e7c7a1; /* closing section emphasis */

  /* ---- Lines, focus ---- */
  --rule-tools: #d0c8bc;     /* tool-row separators */
  --focus: #df9f62;          /* focus-visible outline */

  /* ---- Type ---- */
  --serif: Georgia, serif;                 /* headings, brand, big numerals */
  --sans: Geist, Arial, sans-serif;        /* body (Geist is self-hosted) */
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font: 16px/1.6 var(--sans);
  background: var(--navy);
  color: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  color: inherit;
  background: none;
  border: 0;
}

[hidden] { display: none !important; }

a,
button { -webkit-tap-highlight-color: transparent; }

button,
a.button { min-height: 44px; }

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}

h1,
h2,
h3,
p { margin: 0; }

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h2 {
  font-size: clamp(36px,4.2vw,var(--s4));
  line-height: 1.08;
  letter-spacing: -.045em;
}

h3 { line-height: 1.15; }

p { max-width: 65ch; }

svg { flex-shrink: 0; }

section[id] { scroll-margin-top: 20px; }

.skip {
  position: fixed;
  top: -90px;
  left: 20px;
  background: var(--paper);
  color: var(--ink);
  padding: 12px;
  z-index: 50;
}

.skip:focus { top: 10px; }

.header {
  height: 96px;
  padding: 0 max(3.7vw,24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  background: #0b1720f5;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #ffffff0d;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s1);
  font: 15px/1.2 var(--serif);
  letter-spacing: .17em;
  color: var(--gold);
  min-height: 44px;
}

.compass-crop {
  position: relative;
  display: block;
  width: 50px;
  height: 60px;
  overflow: hidden;
  flex-shrink: 0;
}

.compass-crop img {
  position: absolute;
  left: -12px;
  top: -17px;
  height: 90px;
  width: auto;
  max-width: none;
}

.navigation {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 14px;
}

.navigation a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.navigation a:hover { color: var(--gold); }

.navigation .account {
  margin-left: 12px;
  border: 1px solid var(--copper-button-border);
  background: var(--copper-button);
  padding: 8px 22px;
  border-radius: 4px;
  color: var(--paper);
}

.menu-toggle { display: none; }

.hero {
  height: calc(100svh - 96px);
  min-height: 780px;
  max-height: 1160px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.terrain {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #09141c;
}

.land {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: 70% 45%;
  will-change: transform;
  /* No-JS / reduced-motion resting state (added; site.js overrides this inline while animating) */
  transform: scale(1.04);
}

.base { filter: brightness(.7); }

.light { filter: brightness(.95); }

.hero-inner {
  padding: clamp(60px,6.3vw,110px) 3.7vw 0;
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .25em;
  line-height: 1.8;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s1);
  color: var(--eyebrow-hero);
  margin-bottom: var(--s3);
}

.hero .eyebrow span {
  width: var(--s2);
  height: 1px;
  background: var(--gold);
}

h1 {
  font-size: clamp(48px,6.5vw,98px);
  line-height: 1.05;
  letter-spacing: -.045em;
  text-shadow: 0 2px 24px #09141c66;
  max-width: 1190px;
}

.hero-description {
  font-size: clamp(18px,1.8vw,26px);
  line-height: 1.55;
  color: var(--hero-text);
  margin-top: var(--s2);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s3);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 17px 27px;
  border-radius: 4px;
  font-size: 15px;
  transition: background .2s,transform .2s;
}

.button:hover { transform: translateY(-2px); }

.light-button {
  background: var(--paper);
  color: var(--ink);
}

.light-button:hover { background: var(--paper-hover); }

.copper-button {
  background: var(--copper);
  color: var(--paper);
}

.ink-button {
  background: var(--ink);
  color: var(--paper);
}

.text-link,
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  min-height: 44px;
  font-size: 14px;
}

.text-link { border-bottom: 1px solid #d0bba780; }

.inline-link {
  border-bottom: 1px solid currentColor;
  padding: 8px 0;
}

.inline-link:hover,
.text-link:hover { color: var(--gold); }

.hero-bottom {
  position: absolute;
  bottom: 14px;
  left: 3.7vw;
  right: 3.7vw;
}

.waypoints {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--s3);
  border-top: 1px solid #b58a5e80;
  padding-top: var(--s1);
}

.waypoints a {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 4px 8px;
  min-height: 80px;
}

.waypoints .step {
  grid-row: 1/3;
  font: 11px Geist, sans-serif;
  color: var(--gold);
  padding-top: 7px;
}

.waypoints strong { font: 27px var(--serif); }

.waypoints span:last-child {
  font-size: 13px;
  color: #c2c6c9;
}

.waypoints a:hover strong { color: var(--gold); }

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .12em;
  color: #c2b4a4;
  margin-top: var(--s1);
}

.motion-toggle {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0;
}

.motion-toggle:disabled { cursor: default; }

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.chandlery,
.tools-section,
.continuity,
.os,
.boilerman,
.foundry { padding: var(--s5) max(5.5vw,24px); }

.section-kicker {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  font-size: 11px;
  letter-spacing: .19em;
  border-top: 1px solid #6c777b66;
  padding-top: var(--s1);
  margin-bottom: var(--s4);
}

.section-light .section-kicker {
  border-color: var(--line);
  color: var(--muted-kicker);
}

.split-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s5);
  align-items: start;
}

.split-heading>div {
  padding-top: 5px;
  max-width: 490px;
}

.split-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: var(--s2);
}

.package-types {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: var(--s3);
  margin-top: var(--s4);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--s3);
}

.package-types>div {
  border-top: 1px solid var(--line);
  padding-top: var(--s2);
}

.package-types span {
  color: var(--copper);
  font-size: 11px;
}

.package-types h3 {
  font-size: var(--s3);
  margin: var(--s1) 0;
}

.package-types p {
  font-size: 14px;
  color: var(--muted);
}

.defense-note {
  display: flex;
  gap: var(--s2);
  align-items: center;
  padding-top: var(--s3);
}

.defense-note svg { color: var(--copper); }

.defense-note strong {
  font-size: 14px;
  font-weight: 500;
}

.defense-note p {
  font-size: 13px;
  color: var(--muted);
  max-width: 660px;
  margin-top: 4px;
}

.defense-note>span {
  font-size: 11px;
  letter-spacing: .18em;
  margin-left: auto;
  white-space: nowrap;
}

.tools-section {
  background: var(--paper-tools);
  color: var(--ink);
}

.tools-section .section-kicker {
  color: var(--muted-kicker);
  border-color: #cec7bb;
}

.small-note {
  font-size: 12px;
  color: var(--muted);
}

.tool-list { margin-top: var(--s4); }

.tool-row {
  display: grid;
  grid-template-columns: 1fr 1fr 170px;
  gap: var(--s3);
  align-items: center;
  border-top: 1px solid var(--rule-tools);
  padding: var(--s3) 0;
}

.tool-name {
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.tool-name svg { color: var(--copper); }

.tool-name .eyebrow {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .16em;
}

.tool-name h3 {
  font-size: 30px;
  margin-top: 8px;
}

.tool-row>p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.tool-row .inline-link {
  white-space: nowrap;
  justify-self: end;
  font-size: 13px;
}

.continuity { background: var(--navy-continuity); }

.continuity .section-kicker { color: #b3a698; }

.continuity-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s5);
}

.continuity h2 { margin: var(--s2) 0; }

.continuity-body>.eyebrow { color: var(--gold); }

.continuity p {
  color: #b3bec2;
  font-size: 17px;
  max-width: 550px;
}

.continuity .button { margin-top: var(--s3); }

.memory-lines article {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--s2);
  padding: var(--s2) 0;
  border-top: 1px solid #52616a66;
}

.memory-lines article:first-child { margin-top: 40px; }

.memory-lines span {
  font: 22px var(--serif);
  color: var(--gold);
}

.memory-lines p {
  font-size: 14px;
  line-height: 1.8;
}

.boiler-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
}

.boiler-title svg {
  color: var(--copper);
  margin-bottom: var(--s2);
}

.boiler-title h2 {
  font-size: clamp(50px,6vw,90px);
  margin-bottom: var(--s1);
}

.boiler-title span {
  display: block;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
}

.boiler-detail h3 {
  font-size: var(--s3);
  margin-bottom: var(--s2);
}

.boiler-detail p {
  color: var(--muted);
  font-size: 17px;
}

.boiler-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s3);
}

.boiler-actions .inline-link { font-size: 13px; }

.foundry {
  background: var(--copper-deep);
  color: var(--foundry-text);
}

.foundry .section-kicker { border-color: #ecd3b755; }

.foundry-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s5);
}

.foundry h2 { font-size: clamp(45px,5vw,75px); }

.foundry em { color: var(--foundry-accent); }

.foundry p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: var(--s2);
  max-width: 490px;
}

.footer {
  padding: var(--s3) max(5.5vw,24px);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  justify-content: space-between;
  align-items: center;
}

.footer-brand { font-size: 11px; }

.footer>div {
  display: flex;
  gap: var(--s2);
  font-size: 12px;
}

.footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.footer small {
  font-size: 11px;
  color: #87959d;
}

.footer a:hover { color: var(--gold); }

@media(min-width:1600px) {
  .hero-inner { padding-top: 100px; }
}

@media(max-width:1050px) {
  .brand {
    font-size: 11px;
    gap: 10px;
  }
  .navigation {
    gap: 15px;
    font-size: 13px;
  }
  .header { padding: 0 24px; }
  .hero { min-height: 740px; }
  .hero-inner { padding-top: 60px; }
  .hero .eyebrow { margin-bottom: 26px; }
  .hero-description { font-size: 21px; }
  .split-heading,
  .continuity-body,
  .boiler-content,
  .foundry-body { gap: var(--s3); }
  .tool-row {
    gap: var(--s2);
    grid-template-columns: 1fr 1fr 150px;
  }
  .tool-name { gap: 15px; }
  .tool-name h3 { font-size: 25px; }
  .memory-lines article {
    grid-template-columns: 112px 1fr;
    gap: 15px;
  }
  .footer small { width: 100%; }
}

@media(max-width:880px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
  }
  .navigation {
    display: none;
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    background: var(--navy-menu);
    padding: 20px;
    box-shadow: 0 16px 22px #0003;
  }
  .navigation.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .navigation a {
    padding: 10px;
    font-size: 16px;
  }
  .navigation .account {
    margin: 8px 0 0;
    justify-content: center;
  }
}

@media(max-width:760px) {
  html { scroll-padding-top: 85px; }
  .header {
    height: 80px;
    padding: 0 20px;
  }
  .navigation { top: 80px; }
  .brand {
    font-size: 11px;
    letter-spacing: .13em;
    max-width: 255px;
    gap: 10px;
  }
  .compass-crop {
    width: 36px;
    height: 45px;
  }
  .compass-crop img {
    height: 64px;
    left: -8px;
    top: -9px;
  }
  .hero {
    height: calc(100svh - 80px);
    min-height: 820px;
    max-height: none;
  }
  .land { object-position: 65% center; }
  .hero-inner { padding: 48px 24px 0; }
  .hero .eyebrow {
    font-size: 11px;
    margin-bottom: 26px;
  }
  h1 {
    font-size: clamp(42px,8.7vw,66px);
    line-height: 1.06;
    letter-spacing: -.048em;
  }
  .hero-description {
    font-size: 17px;
    line-height: 1.6;
    margin-top: 24px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-top: 26px;
  }
  .hero .button {
    padding: 15px 23px;
    font-size: 14px;
    min-width: 190px;
  }
  .hero .text-link { font-size: 13px; }
  .hero-bottom {
    left: 24px;
    right: 24px;
    bottom: 8px;
  }
  .waypoints {
    gap: 12px;
    padding-top: 15px;
  }
  .waypoints a {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 105px;
  }
  .waypoints .step { padding: 0; }
  .waypoints strong { font-size: 21px; }
  .waypoints span:last-child {
    font-size: 11px;
    line-height: 1.5;
  }
  .hero-meta {
    letter-spacing: .04em;
    font-size: 11px;
    align-items: center;
    margin-top: 4px;
    gap: 10px;
  }
  .hero-meta>span { max-width: 190px; line-height: 1.4; }
  .motion-toggle {
    font-size: 11px;
    white-space: nowrap;
  }
  .chandlery,
  .tools-section,
  .continuity,
  .os,
  .boilerman,
  .foundry { padding: var(--s4) 24px; }
  .section-kicker {
    font-size: 11px;
    letter-spacing: .1em;
    gap: 16px;
    margin-bottom: var(--s3);
  }
  .section-kicker span:last-child { text-align: right; }
  h2 { font-size: 41px; }
  .split-heading,
  .continuity-body,
  .boiler-content,
  .foundry-body {
    grid-template-columns: 1fr;
    gap: var(--s2);
  }
  .split-heading p { font-size: 16px; }
  .package-types {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-top: 41px;
  }
  .package-types h3 { font-size: 31px; }
  .package-types p { font-size: 13px; }
  .defense-note {
    align-items: flex-start;
    gap: 16px;
  }
  .defense-note>span { display: none; }
  .defense-note p { font-size: 13px; }
  .tool-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 32px 0;
  }
  .tool-name h3 { font-size: 29px; }
  .tool-row>p { font-size: 14px; }
  .tool-row .inline-link { justify-self: start; }
  .continuity p { font-size: 16px; }
  .memory-lines article:first-child { margin-top: 20px; }
  .memory-lines article { grid-template-columns: 112px 1fr; gap: 12px; }
  .memory-lines p { font-size: 13px; }
  .boiler-title h2 { font-size: 64px; }
  .boiler-detail h3 {
    font-size: 36px;
    margin-top: 20px;
  }
  .boiler-detail p { font-size: 16px; }
  .boiler-actions { gap: 18px; }
  .foundry h2 { font-size: 47px; }
  .foundry p { font-size: 16px; }
  .footer {
    padding: 32px 24px;
    gap: 15px;
  }
  .footer>div {
    gap: 20px;
    flex-wrap: wrap;
  }
  .footer-brand { font-size: 11px; }
}

@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .land { will-change: auto; }
}

@media(min-width:761px) {
  .hero-inner { padding-top: 60px; }
  .hero h1 { line-height: .96; }
  .hero .eyebrow { margin-bottom: 32px; }
  .hero .light-button {
    min-width: 318px;
    min-height: 66px;
    font: 24px var(--serif);
  }
  .hero-description { margin-top: 26px; }
  .hero-actions { margin-top: 34px; }
}

/* ============================================================
   Launch additions (17 Nov 2026)
   ============================================================ */

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---- Automaton lockup (family kit: A mark, serif name, small-caps "by" line) ---- */
.af-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.af-lockup > svg { width: 36px; height: 36px; flex: none; }
.af-lockup strong,
.af-lockup .af-name {
  display: block;
  margin: 0;
  font: 400 25.92px/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}
.af-lockup small {
  display: block;
  margin-top: 4px;
  font: 400 11px/1.2 Geist, Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.af-lockup.af-on-dark,
.af-lockup.af-on-dark small { color: var(--paper); }
.product-head { margin-bottom: var(--s3); }

/* ---- one block pattern: lockup/crest, one line, one button ---- */
.block-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s1) var(--s2);
}
.split-heading .block-actions { margin-top: 0; }
.continuity .block-actions { margin-top: var(--s3); }
.continuity .block-actions .button { margin-top: 0; }

/* ---- Automaton OS (coming soon) ---- */
.os { background: var(--navy); }
.os .section-kicker { color: #b3a698; }
.os-top {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s5);
  align-items: center;
}
.os-intro .eyebrow { color: var(--gold); display: block; margin-bottom: var(--s2); }
.os-intro p {
  font: 25px/1.4 var(--serif);
  letter-spacing: -.01em;
  color: var(--paper);
  max-width: 34ch;
}
.os-diagram { width: 100%; max-width: 560px; height: auto; justify-self: end; overflow: visible; }
.os-link { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.os-node circle { fill: var(--navy-continuity); stroke: var(--gold); stroke-width: 1.5; }
.os-node use { fill: var(--paper); }
.os-node text { fill: var(--paper); font: 22px Georgia, serif; }
.os-hub circle { stroke: var(--focus); stroke-width: 2; }
.os-lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  margin-top: var(--s4);
}
.os-lines article { border-top: 1px solid #52616a66; padding-top: var(--s2); }
.os-lines span { font: 22px var(--serif); color: var(--gold); }
.os-lines p { font-size: 15px; line-height: 1.7; color: #b3bec2; margin-top: 8px; }
.os-lines strong { display: block; font-weight: 500; color: var(--paper); }
.os-close {
  margin-top: var(--s4);
  max-width: none;
  font: 28px/1.3 var(--serif);
  letter-spacing: -.01em;
  color: var(--paper);
}

/* ---- BoilerMan crest + Atlas ---- */
.boiler-title { display: flex; align-items: center; gap: var(--s2); }
.boiler-title > div { min-width: 0; }
.boiler-title .crest { width: 128px; height: auto; display: block; flex: none; }
.boiler-title h2 { margin-bottom: 10px; }
.boiler-detail p { margin-bottom: 0; }
.boiler-detail .block-actions { margin-top: var(--s3); }
.atlas-block {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: var(--s3);
  align-items: center;
  margin-top: var(--s4);
  padding: var(--s3);
  border: 1px solid var(--line);
  background: #f3eee3;
  border-radius: 4px;
}
.atlas-block .eyebrow { display: block; color: var(--muted); font-size: 11px; letter-spacing: .16em; }
.atlas-block h3 { font-size: 30px; margin-top: 6px; }
.atlas-block p { font-size: 16px; color: var(--muted); }

/* ---- footer family row ---- */
.footer .af-family {
  flex: 0 0 100%;
  border-top: 1px solid #ffffff1f;
  padding-top: var(--s2);
  padding-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 20px;
  font: 400 13px/1.5 Geist, Arial, sans-serif;
  color: #ffffffb3;
}
.footer .af-family b {
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--paper);
}
.footer .af-family a {
  display: inline;
  min-height: 24px;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: #ffffff40;
  text-underline-offset: 3px;
}
.footer .af-family a:hover { text-decoration-color: var(--gold); }
.footer .af-family [aria-current="page"] { color: #ffffffb3; }
.footer .af-family small { font-size: inherit; color: #ffffffb3; width: auto; }

@media(max-width:1050px) {
  .os-top { gap: var(--s3); }
  .os-lines { gap: var(--s2); }
  .atlas-block { gap: var(--s2); grid-template-columns: 1fr 1fr; }
  .atlas-block .button { grid-column: 1 / -1; justify-self: start; }
  .boiler-title .crest { width: 112px; }
}

@media(max-width:760px) {
  .af-lockup { gap: 10px; }
  .af-lockup > svg { width: 30px; height: 30px; }
  .af-lockup strong,
  .af-lockup .af-name { font-size: 21px; }
  .product-head { margin-bottom: var(--s2); }
  .os-top { grid-template-columns: 1fr; gap: var(--s2); }
  .os-intro p { font-size: 21px; }
  .os-diagram { justify-self: center; }
  .os-lines { grid-template-columns: 1fr; gap: var(--s1); margin-top: var(--s2); }
  .os-lines article { padding: 14px 0 4px; }
  .os-close { font-size: 23px; margin-top: var(--s3); }
  .boiler-title .crest { width: 84px; }
  .boiler-title { gap: 14px; }
  .boiler-title h2 { font-size: 46px; margin-bottom: 8px; }
  .boiler-title span { letter-spacing: .1em; }
  .atlas-block { grid-template-columns: 1fr; padding: 26px 20px; margin-top: var(--s3); }
  .atlas-block h3 { font-size: 28px; }
  .block-actions { gap: 14px 22px; }
  .split-heading .block-actions { margin-top: 0; }
}

@media(max-width:400px) {
  .section-kicker { flex-wrap: wrap; gap: 4px 16px; }
  .section-kicker span:last-child { text-align: left; }
}

/* ============================================================
   Review page (/review/)
   ============================================================ */
.back-link { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.back-link:hover { color: var(--gold); }
.rv-hero { background: var(--navy); padding: var(--s5) max(5.5vw,24px) var(--s4); }
.rv-hero .eyebrow { display: flex; align-items: center; gap: var(--s1); color: var(--eyebrow-hero); margin-bottom: var(--s3); }
.rv-hero .eyebrow span { width: var(--s2); height: 1px; background: var(--gold); }
.rv-hero h1 { font-size: clamp(42px,5.6vw,84px); line-height: 1; max-width: 14em; }
.rv-hero .hero-description { max-width: 40ch; font-size: clamp(18px,1.8vw,24px); }
.rv-by { margin-top: var(--s2); color: var(--gold); font-size: 15px; letter-spacing: .02em; }
.rv-actions { margin-top: var(--s3); }
.rv-slots { display: contents; }
.rv-slots [hidden], .rv-hero [hidden] { display: none !important; }
.rv-section, .rv-form-section { padding: var(--s5) max(5.5vw,24px); }
.rv-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s3); }
.rv-steps > div { border-top: 1px solid var(--line); padding-top: var(--s2); }
.rv-steps span { color: var(--copper); font-size: 11px; }
.rv-steps h2 { font-size: var(--s3); letter-spacing: -.03em; margin: var(--s1) 0; }
.rv-steps p, .rv-two p { font-size: 16px; color: var(--muted); }
.rv-two { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s5); margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); }
.rv-two h3 { font-size: 28px; margin-bottom: var(--s1); }
.rv-two h3:not(:first-child) { margin-top: var(--s3); }
.rv-list { margin: 0; padding-left: 1.3em; display: grid; gap: 14px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.rv-list strong { color: var(--ink); font-weight: 600; }
.rv-plain { list-style: disc; }
.rv-form-section { background: var(--paper-tools); color: var(--ink); }
.rv-form-section .section-kicker { color: var(--muted-kicker); border-color: #cec7bb; }
.rv-form-section h2 { margin-bottom: var(--s1); }
.rv-lede { font-size: 17px; color: var(--muted); margin-bottom: var(--s3); }
.rv-mail { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); overflow-wrap: anywhere; }
#intake-form { max-width: 820px; }
#intake-form fieldset { border: 1px solid var(--rule-tools); background: var(--paper); border-radius: 4px; padding: 26px 28px 30px; margin: 0 0 var(--s2); min-width: 0; }
#intake-form legend { padding: 0 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); }
#intake-form label, .rv-label { display: block; font-weight: 600; font-size: 15px; margin: 20px 0 6px; }
#intake-form fieldset > :first-child, #intake-form .rv-row:first-child label { margin-top: 0; }
#intake-form .rv-row label { margin-top: 0; }
#intake-form .rv-row + label { margin-top: 20px; }
.req { color: #b3261e; }
.rv-hint { font-size: 13px; color: var(--muted); margin: -2px 0 8px; }
#intake-form input[type=text], #intake-form input[type=email], #intake-form textarea, #intake-form select {
  width: 100%; background: #fff; border: 1px solid #b9b0a2; border-radius: 4px; color: var(--ink); padding: 12px 14px; font: inherit; font-size: 15px; min-height: 44px; }
#intake-form textarea { min-height: 96px; resize: vertical; }
#intake-form input:focus-visible, #intake-form textarea:focus-visible, #intake-form select:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
#intake-form [aria-invalid="true"], #runtimes.invalid { border-color: #b3261e !important; outline: 1px solid #b3261e; }
.rv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rv-row + .rv-row { margin-top: 20px; }
.rv-checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; padding: 2px; }
#intake-form .rv-checks label { margin: 0; font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #b9b0a2; border-radius: 99px; padding: 8px 16px; cursor: pointer; background: #fff; min-height: 44px; }
#intake-form .rv-checks label:has(input:checked) { border-color: var(--copper); background: #f6e9de; }
.rv-checks input { accent-color: var(--copper); }
#intake-form .block-actions { margin-top: var(--s2); }
.rv-ghost { border: 1px solid var(--ink); color: var(--ink); }
.rv-status { margin-top: 14px; font-size: 14px; color: var(--ink); min-height: 22px; max-width: none; }
.rv-status.err { color: #b3261e; }
#intake-form > .rv-hint { margin-top: 10px; }
@media(max-width:1050px) { .rv-two { gap: var(--s3); } }
@media(max-width:760px) {
  .rv-hero { padding: var(--s4) 24px var(--s3); }
  .rv-section, .rv-form-section { padding: var(--s4) 24px; }
  .rv-steps { grid-template-columns: 1fr; gap: var(--s2); }
  .rv-two { grid-template-columns: 1fr; gap: var(--s2); }
  .rv-row { grid-template-columns: 1fr; gap: 0; }
  .rv-row > div + div { margin-top: 20px; }
  #intake-form fieldset { padding: 22px 18px 26px; }
}

/* ---- small branded pages: 404 and the two "moved" pages ---- */
.moved-page { display: flex; flex-direction: column; min-height: 100vh; }
.moved { flex: 1; padding: var(--s5) max(5.5vw,24px); max-width: 880px; }
.moved .eyebrow { color: var(--eyebrow-hero); margin-bottom: var(--s2); }
.moved h1 { font-size: clamp(42px,6vw,84px); line-height: 1.02; }
.moved-copy { font-size: 19px; color: var(--hero-text); margin: var(--s2) 0 var(--s3); }

@media(min-width:761px) and (max-width:880px) {
  .tool-name h3 { font-size: 22px; }
  .tool-name { gap: 12px; }
  .tool-name svg { width: 24px; height: 24px; }
}
