/* elevatesai.io (EAI-WEB-01) — site stylesheet.
   Design law: brainfiles/EAI_PROGRAM_DESIGN_SYSTEM.md (tokens §3, geometry §5, grammar §6).
   Tokens only; square geometry; rules, not boxes. */

:root {
  --graphite: #1B1D20;
  --panel: #272A2E;
  --graphite-deep: #16181B;
  --paper: #F1EEE4;
  --paper-panel: #EAE6D8;
  --orange: #FF4F00;
  --orange-deep: #B8400A;
  --steel: #46586A;
  --text-paper: #F1EEE4;
  --text-line: #9AA0A6;
  --text-dim: #5C6166;
  --text-ink: #1B1D20;
  --text-body: #4A4E52;
  --hair-dark: #2C2F33;
  --hair-paper: #C9C4B6;
  --rule-ink: #1B1D20;
  --font-display: 'Archivo', sans-serif;
  --font-body: 'Archivo', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
#program, #publications { scroll-margin-top: 72px; }
body {
  font-family: var(--font-body);
  background: var(--graphite);
  color: var(--text-paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 980px; margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }

/* Screen-reader-only headings (document outline without visual weight) */
.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;
}

/* Skip link (keyboard) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 20;
  background: var(--orange); color: var(--graphite);
  font-size: 12px; font-weight: 500; padding: 10px 18px; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--graphite);
  border-bottom: 0.5px solid transparent;
  transition: border-color 160ms ease-out;
}
.nav.scrolled { border-bottom-color: var(--hair-dark); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.nav-brand { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 1px; color: var(--text-paper); text-decoration: none; }
.nav-links { display: flex; gap: 24px; align-items: center; }
/* Authority ruling (Bradley, 2026-06-11): 13px/500 paper-white links. Deviates
   from keystone §7 (Archivo 400, 12px); conflict flagged in DECISIONS D-012. */
.nav-links a { font-size: 13px; font-weight: 500; color: var(--text-paper); text-decoration: none; }
.nav-links a:hover { color: var(--orange); }
/* The nav CTA is the §7 orange fill (resolves the audit finding per §7). */
.nav-links a.nav-cta {
  background: var(--orange); color: var(--graphite);
  font-size: 12px; font-weight: 500; padding: 10px 18px;
}
.nav-links a.nav-cta:hover { background: var(--orange-deep); color: var(--paper); }

/* Dark section header device */
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.sec-head .mono { color: var(--text-line); }
.sec-head .mono.idx { color: var(--text-line); }
.marker { width: 34px; height: 3px; background: var(--orange); margin-bottom: 14px; }

/* Hero */
.hero { padding: 92px 0 84px; }
.hero .eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 5vw, 42px); line-height: 1.14;
  max-width: 540px; margin-top: 22px; color: var(--text-paper);
}
.hero p { font-size: 15px; line-height: 1.75; color: var(--text-line); max-width: 470px; margin-top: 20px; }

/* Page head (interior pages): hero-grade head without the hero's weight */
.page-head { padding: 72px 0 56px; }
.page-head h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 4vw, 34px); line-height: 1.18; max-width: 560px; margin-top: 22px; color: var(--text-paper); }
.page-head p { font-size: 14px; line-height: 1.75; color: var(--text-line); max-width: 520px; margin-top: 16px; }

/* Spec strip */
.spec {
  border-top: 0.5px solid var(--hair-dark); border-bottom: 0.5px solid var(--hair-dark);
  padding: 13px 0;
}
.spec .mono { color: var(--text-line); }

/* Argument */
.argument { padding: 68px 0 76px; }
.argument h2 { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--text-paper); margin-top: 26px; }
.argument p { font-size: 14px; line-height: 1.75; color: var(--text-line); max-width: 560px; margin-top: 16px; }
.argument p strong { color: var(--text-paper); font-weight: 500; }

/* Paper band: the program */
.program { background: var(--paper); color: var(--text-ink); padding: 56px 0 60px; }
.memo-head { border-top: 2.5px solid var(--rule-ink); padding-top: 10px; display: flex; justify-content: space-between; gap: 16px; }
.memo-head .mono { color: var(--text-dim); }
.program h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; margin-top: 30px; }
.phase-table { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 34px; }
.phase { border-top: 0.5px solid var(--rule-ink); padding-top: 16px; }
.phase .mono { color: var(--orange-deep); }
.phase h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-top: 8px; }
.phase p { font-size: 12px; line-height: 1.65; color: var(--text-dim); margin-top: 6px; }
.program-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.program-foot .note { font-size: 13px; color: var(--text-dim); }
a.link { font-size: 13px; font-weight: 500; color: var(--orange-deep); text-decoration: none; }
a.link:hover { color: var(--text-ink); }
/* Dark-ground link treatment stays off-orange: the whitespace doctrine (§1.2)
   budgets orange to the marker + primary CTA in the close section. */
.system a.link { color: var(--text-line); }
.system a.link:hover { color: var(--text-paper); }
/* The featured sheet's orange-deep budget is spent on its designator (§7);
   the read link rests ink and answers in orange-deep. */
.sheet a.link { color: var(--text-ink); }
.sheet a.link:hover { color: var(--orange-deep); }

/* Publications section (home) and registry page */
.pubs { padding: 68px 0 76px; }
.pubs .lede { font-size: 14px; color: var(--text-line); max-width: 520px; margin-top: 22px; }
.pubs-foot { margin-top: 26px; }
.pubs-foot a.link { color: var(--orange); }
.pubs-foot a.link:hover { color: var(--text-paper); }

/* The publications rail (keystone §7): ruled list rows, not cards */
.rail { margin-top: 30px; border-top: 0.5px solid var(--hair-dark); }
.rail-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 8px 24px; align-items: baseline;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--hair-dark);
}
.rail-row .ref { color: var(--text-line); }
.rail-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.rail-title a { color: var(--text-paper); text-decoration: none; }
.rail-title a:hover { color: var(--orange); }
.rail-title .pending { color: var(--text-line); }
.rail-sub { grid-column: 2; font-size: 12px; line-height: 1.6; color: var(--text-line); max-width: 520px; }
.rail-meta { color: var(--text-line); text-align: right; white-space: nowrap; }

/* The Document Sheet (keystone §7): the one sanctioned card; real documents only */
.sheet {
  background: var(--paper); color: var(--text-ink);
  max-width: 560px; margin-top: 30px; padding: 24px 26px;
}
.sheet .memo-head .mono { color: var(--text-dim); }
.sheet .memo-head .mono.ref { color: var(--orange-deep); }
.sheet .state { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-top: 20px; }
.sheet .sub { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.sheet .sheet-abstract { font-size: 13px; line-height: 1.7; color: var(--text-body); margin-top: 10px; }
.sheet a.link { display: inline-block; margin-top: 16px; }

/* The memorandum document (keystone §8): full paper only inside a publication */
.doc-band { background: var(--paper); color: var(--text-ink); padding: 64px 0 72px; }
.doc { max-width: 720px; margin: 0 auto; padding: 0 28px; }
.doc-cover { border-top: 2.5px solid var(--rule-ink); padding-top: 10px; display: flex; justify-content: space-between; gap: 16px; }
.doc-cover .mono { color: var(--text-dim); }
.doc-cover .mono.ref { color: var(--orange-deep); }
.doc-meta { margin-top: 26px; display: grid; gap: 6px; }
.doc-meta .mono { color: var(--text-dim); letter-spacing: 1.5px; }
.doc-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 4vw, 32px); line-height: 1.2; max-width: 520px; margin-top: 28px; }
.doc-abstract { font-size: 13px; line-height: 1.75; color: var(--text-body); max-width: 560px; margin-top: 18px; }
/* Reading surfaces: body copy carries primary ink (readability ruling,
   Bradley 2026-06-11; §3 assigns --text-body to body copy, deviation flagged
   in DECISIONS D-011). Emphasis pattern: 700-weight key phrases. */
.doc-body { margin-top: 14px; counter-reset: docsec; }
.doc-body p { font-size: 15px; line-height: 1.78; color: var(--text-ink); margin-top: 18px; }
.doc-body strong { color: var(--text-ink); font-weight: 700; }
.doc-body a { color: var(--orange-deep); text-decoration: none; }
.doc-body a:hover { color: var(--text-ink); }
.doc-body h2 {
  counter-increment: docsec;
  border-top: 2px solid var(--rule-ink);
  padding-top: 10px; margin-top: 44px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-family: var(--font-mono); font-weight: 500; font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim);
}
.doc-body h2::after { content: counter(docsec, decimal-leading-zero); font-weight: 400; }
.doc-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text-ink); margin-top: 22px; }
.doc-body ul, .doc-body ol { margin-top: 14px; padding-left: 22px; }
.doc-body li { font-size: 15px; line-height: 1.72; color: var(--text-ink); margin-top: 10px; }
.doc-body li::marker { color: var(--text-dim); }
.doc-body blockquote { border-left: 2px solid var(--rule-ink); padding-left: 18px; margin-top: 18px; }
.doc-body blockquote p { color: var(--text-ink); font-size: 15px; }
.doc-body hr { border: 0; border-top: 0.5px solid var(--hair-paper); margin-top: 32px; }
.doc-body table { border-collapse: collapse; margin-top: 18px; width: 100%; }
.doc-body th { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); text-align: left; padding: 8px 18px 8px 0; border-bottom: 0.5px solid var(--rule-ink); }
.doc-body td { font-size: 14px; line-height: 1.6; color: var(--text-ink); padding: 10px 18px 10px 0; border-bottom: 0.5px solid var(--hair-paper); vertical-align: top; }

/* Signature row + the Steward's Stamp (keystone §9) */
.doc-sig {
  border-top: 0.5px solid var(--hair-paper);
  margin-top: 52px; padding-top: 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.doc-sig .mono { color: var(--text-dim); }
.doc-sig .signer { display: flex; align-items: center; gap: 14px; }
.doc-sig .signer-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--text-ink); }
.doc-sig .signer-title { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); margin-top: 2px; }
.stamp {
  width: 34px; height: 34px; flex-shrink: 0;
  border: 1.5px solid var(--text-ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--text-ink);
}

/* Below-document return strip */
.doc-return { padding: 28px 0 36px; }
.doc-return a.link { color: var(--orange); }
.doc-return a.link:hover { color: var(--text-paper); }

/* The gate (ON REQUEST memoranda): capture as spec furniture, not funnel furniture */
.gate { padding: 56px 0 76px; }
.gate-sheet {
  background: var(--paper); color: var(--text-ink);
  max-width: 640px; padding: 28px 30px 30px;
}
.gate-sheet .doc-cover { border-top-width: 2.5px; }
.gate-sheet .doc-meta { margin-top: 20px; }
.gate-sheet h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3.5vw, 28px); line-height: 1.2; margin-top: 22px; max-width: 460px; }
.gate-sheet .doc-abstract { margin-top: 14px; }
.gate-contents { margin-top: 22px; border-top: 0.5px solid var(--rule-ink); padding-top: 12px; }
.gate-contents .mono { color: var(--text-dim); }
.gate-contents ol { list-style: none; margin-top: 10px; }
.gate-contents li { font-size: 13px; line-height: 1.65; color: var(--text-body); padding: 7px 0; border-bottom: 0.5px solid var(--hair-paper); display: flex; gap: 14px; }
.gate-contents li:last-child { border-bottom: 0; }
.gate-contents li .n { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }

.gate-form { margin-top: 26px; border-top: 0.5px solid var(--rule-ink); padding-top: 16px; }
.gate-form .mono { color: var(--text-dim); }
.gate-fields { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; margin-top: 14px; align-items: end; }
.field label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0.5px solid var(--text-dim); border-radius: 0;
  background: var(--paper); color: var(--text-ink);
  font-family: var(--font-body); font-size: 13px; padding: 10px 12px;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange-deep); outline-offset: 1px; border-color: var(--text-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gate-fine { font-size: 11px; color: var(--text-dim); margin-top: 12px; }
.gate-success { border-top: 0.5px solid var(--rule-ink); margin-top: 26px; padding-top: 16px; }
.gate-success .state { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.gate-success .sub { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
[hidden] { display: none !important; }

/* System / steward */
.system { padding: 0 0 8px; }
.system-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.system-col { border-top: 0.5px solid var(--hair-dark); padding-top: 18px; }
.system-col .mono { color: var(--text-line); }
.system-col h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text-paper); margin-top: 10px; }
.system-col p { font-size: 13px; line-height: 1.7; color: var(--text-line); margin-top: 8px; max-width: 380px; }

.close { padding: 64px 0 72px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.close h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--text-paper); }
.close p { font-size: 13px; color: var(--text-line); margin-top: 10px; }
.btn-primary {
  display: inline-block; background: var(--orange); color: var(--graphite);
  font-size: 12px; font-weight: 500; padding: 10px 18px; text-decoration: none;
  border: 0; border-radius: 0; font-family: var(--font-body); cursor: pointer;
  flex-shrink: 0;
}
.btn-primary:hover { background: var(--orange-deep); color: var(--paper); }

/* The conversation (the front door): graphite-ground form, same capture
   pattern as the gates. Not a Document Sheet (§7 reserves sheets for real
   numbered documents). */
.door { padding: 0 0 76px; }
.door-form { max-width: 620px; margin-top: 34px; border-top: 0.5px solid var(--hair-dark); padding-top: 18px; }
.door-form .mono { color: var(--text-line); }
.door-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.door-fields .field-wide { grid-column: 1 / -1; }
.door .field label { color: var(--text-line); }
.door .field input, .door .field select, .door .field textarea {
  border-color: var(--text-dim); background: var(--panel); color: var(--text-paper);
}
.door .field select { background-image: linear-gradient(45deg, transparent 50%, var(--text-line) 50%), linear-gradient(135deg, var(--text-line) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.door .field select option { background: var(--panel); color: var(--text-paper); }
.door .field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.door .field input:focus, .door .field select:focus, .door .field textarea:focus { outline-color: var(--orange); border-color: var(--text-line); }
.door-actions { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.door-fine { font-size: 11px; color: var(--text-line); }
.door-success { border-top: 0.5px solid var(--hair-dark); margin-top: 26px; padding-top: 16px; }
.door-success .state { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text-paper); }
.door-success .sub { font-size: 13px; color: var(--text-line); margin-top: 6px; }

/* 404 */
.notfound { padding: 110px 0 130px; }
.notfound h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4.5vw, 38px); margin-top: 22px; }
.notfound p { font-size: 14px; color: var(--text-line); margin-top: 14px; }
.notfound a.link { color: var(--orange); display: inline-block; margin-top: 22px; }
.notfound a.link:hover { color: var(--text-paper); }

/* Footer */
.footer { background: var(--graphite-deep); padding: 16px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; }
.footer .mono { color: var(--text-line); letter-spacing: 1.5px; }

/* Focus (keyboard): orange-deep on every paper ground (1.4.11 non-text contrast) */
a:focus-visible, button:focus-visible, .btn-primary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.doc-band a:focus-visible, .gate-sheet a:focus-visible, .gate-sheet button:focus-visible,
.program a:focus-visible, .sheet a:focus-visible { outline-color: var(--orange-deep); }

/* Reveal: scoped under .js (added by site.js) so no-JS visitors get visible pages */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 180ms ease-out, transform 180ms ease-out; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Print: memoranda print as paper documents */
@media print {
  .nav, .footer, .doc-return, .skip-link { display: none; }
  body { background: var(--paper); }
  .doc-band { background: var(--paper); padding: 0; }
}

@media (max-width: 768px) {
  .nav-inner { flex-wrap: wrap; row-gap: 8px; }
  .nav-links { width: 100%; gap: 18px; flex-wrap: wrap; row-gap: 6px; }
  .nav-links a.nav-local { display: none; }
  .phase-table, .system-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 60px; }
  .close { flex-direction: column; align-items: flex-start; }
  .rail-row { grid-template-columns: 1fr; gap: 4px; }
  .rail-sub { grid-column: 1; }
  .rail-meta { text-align: left; white-space: normal; }
  .gate-fields, .door-fields { grid-template-columns: 1fr; }
  .door-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ============================================================
   MOBILE TREATMENT (2026-06-13) — premium-refinement pass for the
   category-anchor surface. site.css only; tokens, square geometry,
   and the orange budget are held; no form wiring touched. Layered
   after the base 768px block so these refine, not replace, it. There
   is no horizontal-overflow bug; this tunes rhythm and touch.
   ============================================================ */

/* Tablet + phone: kill iOS focus-zoom (fields under 16px zoom the page
   on tap) and lift tap targets toward 44px without changing the desktop
   spec (these selectors only exist inside the mobile query). */
@media (max-width: 768px) {
  .field input, .field select, .field textarea { font-size: 16px; }
  .nav-links a { padding: 8px 0; }
  .nav-links a.nav-cta { padding: 12px 18px; }
  .btn-primary { padding: 13px 20px; }
  a.link { display: inline-block; padding: 4px 0; }
}

/* Phone tier: trim the tablet-grade gutters, vertical rhythm, and sheet
   padding that read as loose on a handset; step the mid heads down one
   notch (the big heads already scale via clamp) so hierarchy holds at
   small measure. */
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .doc { padding: 0 20px; }

  /* Calmer section cadence */
  .hero { padding: 52px 0 44px; }
  .page-head { padding: 48px 0 36px; }
  .argument { padding: 48px 0 52px; }
  .program { padding: 44px 0 48px; }
  .pubs { padding: 48px 0 52px; }
  .doc-band { padding: 44px 0 52px; }
  .gate { padding: 40px 0 56px; }
  .door { padding: 0 0 56px; }
  .close { padding: 48px 0 52px; }
  .notfound { padding: 72px 0 88px; }

  /* Paper sheets hold more measure with trimmed padding */
  .sheet { padding: 20px 18px; }
  .gate-sheet { padding: 22px 18px 24px; }

  /* Mid heads step down one notch */
  .argument h2, .program h2, .close h2 { font-size: 22px; }

  /* Document table (2-col, short cells) — a touch tighter, still wraps */
  .doc-body th, .doc-body td { padding-right: 12px; }

  /* Footer spec items wrap rather than crowd at the narrowest widths */
  .footer-inner { flex-wrap: wrap; gap: 6px 16px; }

  /* Mobile nav (revised 2026-06-13): the full-width orange CTA read as a
     slab against the spec register. Restrained rework (site.css only):
     brand on the top line with the primary CTA pinned to its right at
     natural width (orange stays one small element), and the section links
     on a tidy line beneath. No slab, no clumsy wrap. */
  .nav-inner { position: relative; row-gap: 8px; padding: 13px 20px 12px; }
  .nav-brand { font-size: 16px; }
  /* Restore The Program on phone (hidden by the <=768 base rule) so the link
     row reads as a balanced trio rather than a lopsided pair, distributed
     edge to edge to match the brand/CTA gutters above. */
  .nav-links a.nav-local { display: inline; }
  .nav-links { width: 100%; gap: 0 12px; justify-content: space-between; align-items: baseline; margin-top: 4px; }
  .nav-links a { font-size: 11px; padding: 5px 0; }
  /* Primary CTA: compact filled button on the brand line (the desktop
     treatment, not a full-width slab), inset to the 20px gutter. */
  .nav-links a.nav-cta {
    position: absolute; top: 8px; right: 20px;
    width: auto; margin: 0; padding: 8px 14px; font-size: 12px;
  }
}
