/* ============================================================
   Bâtisseur Estimation — feuille de style du site de promotion
   Système : « Acier & Or »
   Palette : --ink, --steel, --steel-surface, --steel-line, --gold, --gold-bright, --paper, --paper-dim
   Typo : Big Shoulders Display (titres) / Public Sans (texte) / IBM Plex Mono (codes, chiffres)
   Logo : badge dégradé + icône B8b, lettrage Poppins (« BÂTISSEUR » 600 espacé / « Estimation » 800),
   identique à celui de l'application — voir brand.py et le brief du 24 sept. 2026.
   Le site s'engage sur un seul monde visuel (acier sombre + or) — pas de bascule clair/sombre.
   ============================================================ */

:root {
  --ink: #080e14;
  --steel: #121a22;
  --steel-surface: #1f2a33;
  --steel-surface-2: #263440;
  --steel-line: #33424e;
  --gold: #c8973f;
  --gold-bright: #e3b565;
  --paper: #eef1f0;
  --paper-dim: #9fadb9;
  --paper-faint: #6c7a86;

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --font-logo: "Poppins", "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --logo-kicker: #cdb277;
  --logo-title: #d9a94a;

  --max: 1120px;
  --radius: 4px;
  color-scheme: dark;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--steel);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  padding-inline: 24px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0;
  color: var(--paper);
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.container {
  max-width: var(--max);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section {
  padding-block: clamp(56px, 9vw, 104px);
  border-bottom: 1px solid var(--steel-line);
}

.section:last-of-type { border-bottom: none; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 62ch;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.05;
}

.section-head .lede {
  font-size: 1.05rem;
  color: var(--paper-dim);
  max-width: 58ch;
}

.section-head.center {
  align-self: center;
  text-align: center;
  align-items: center;
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); }

.btn-outline {
  background: transparent;
  color: var(--paper);
  border-color: var(--steel-line);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost {
  background: transparent;
  color: var(--paper-dim);
  border-color: transparent;
  padding-inline: 0.2em;
}
.btn-ghost:hover { color: var(--gold); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid var(--steel-line);
}

.nav {
  max-width: var(--max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  line-height: 1;
}

.wordmark .mark {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 16%;
  filter: drop-shadow(0 0 9px rgba(200, 151, 63, 0.35));
}

.wordmark-text { display: flex; flex-direction: column; gap: 3px; }

.wordmark-eyebrow {
  font-family: var(--font-logo);
  font-size: 0.56rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--logo-kicker);
  line-height: 1;
  padding-left: 0.04em;
}

.wordmark-name {
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--logo-title);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
  color: var(--paper-dim);
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--paper); border-color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-links-cta { display: none; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  padding: 8px 10px;
}
.nav-toggle svg { width: 18px; height: 18px; display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid var(--steel-line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--steel-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--steel-line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin-inline: auto;
  padding-block: clamp(64px, 11vw, 128px) clamp(48px, 8vw, 88px);
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 780px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 0.98;
}

.hero h1 span { color: var(--gold); }

.hero .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--paper-dim);
  max-width: 56ch;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

.hero-credit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--paper-faint);
  margin-top: 4px;
}
.hero-credit .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- Hero: split layout with product demo ---------- */
.hero-split {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  max-width: var(--max);
}
.hero-copy {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 600px;
}
.hero-shot-wrap { flex: 0 1 660px; min-width: 0; max-width: 100%; }
.hero-split .hero-copy { max-width: 560px; }
@media (min-width: 1240px) {
  /* Let the product capture bleed a little past the text column on wide screens
     — the hero already clips its overflow, so nothing scrolls sideways. */
  .hero-split { gap: 44px; }
  .hero-shot-wrap { flex-basis: 700px; margin-right: -56px; }
}

@media (max-width: 960px) {
  .hero-split { flex-direction: column; align-items: flex-start; gap: 40px; }
  .hero-shot-wrap { width: 100%; flex-basis: auto; }
}

/* Small hero for inner pages */
.hero-small .hero-inner {
  padding-block: clamp(48px, 8vw, 76px) clamp(40px, 6vw, 60px);
  gap: 16px;
  max-width: 760px;
}
.hero-small h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.02; }

/* ---------- Stats strip ---------- */
.stats {
  display: inline-flex;
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--steel-surface);
  max-width: 100%;
}
.stat {
  padding: 20px 32px;
  border-left: 1px solid var(--steel-line);
}
.stat:first-child { border-left: none; }
.stat .n {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat .l {
  display: block;
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--paper-dim);
}

/* ---------- Cards / grid with corner ticks ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--steel-line);
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--steel-surface);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  opacity: 0.85;
}

.card .tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.card h3 {
  font-size: 1.3rem;
  text-transform: none;
  letter-spacing: 0;
}

.card p { color: var(--paper-dim); font-size: 0.97rem; }

.card ul { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.card li {
  font-size: 0.92rem;
  color: var(--paper-dim);
  padding-left: 1.2em;
  position: relative;
}
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Module detail rows (fonctionnalités) ---------- */
.module {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding-block: 40px;
  border-top: 1px solid var(--steel-line);
}
.module:first-child { border-top: none; padding-top: 0; }
.module > * { min-width: 0; }

.module .label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.module .label .code {
  display: block;
  margin-top: 8px;
  color: var(--paper-faint);
  font-size: 0.78rem;
}

.module h3 {
  font-size: 1.55rem;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.module p { color: var(--paper-dim); max-width: 62ch; }
.module p + p { margin-top: 12px; }

.module .details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--paper-dim);
  border: 1px solid var(--steel-line);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ---------- Product screenshots (captures de l'application) ---------- */
.shot {
  position: relative;
  margin: 0;
  background: var(--steel-surface);
  border: 1px solid var(--steel-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(200, 151, 63, 0.08);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--steel-surface-2);
  border-bottom: 1px solid var(--steel-line);
}
.shot-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--steel-line);
  flex: none;
}
.shot-bar span:first-child { background: rgba(200, 151, 63, 0.7); }
.shot-bar em {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--paper-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.shot picture, .shot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  background: #eef1f0;
}
.shot-link { display: block; color: inherit; }
.shot-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.shot figcaption {
  padding: 8px 12px 9px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: var(--paper-faint);
  border-top: 1px solid var(--steel-line);
  background: var(--steel-surface);
}
.shot-hero { width: 100%; }

/* Module screenshots on the fonctionnalités page */
.module-shot {
  margin-top: 26px;
  max-width: 860px;
}
.module-shot + .module-shot { margin-top: 18px; }
.module-shot.is-narrow { max-width: 620px; }
.module-shot-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 26px;
  max-width: 900px;
}
.module-shot-pair .shot { margin: 0; }

/* ---------- Trust / callout ---------- */
.callout {
  border: 1px solid var(--steel-line);
  border-left: 3px solid var(--gold);
  background: var(--steel-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.callout h3 { font-size: 1.15rem; text-transform: none; letter-spacing: 0; }
.callout p { color: var(--paper-dim); max-width: 68ch; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tier {
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  background: var(--steel-surface);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tier.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--steel-surface-2), var(--steel-surface));
  position: relative;
}
.tier.featured::after {
  content: "Le plus choisi";
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.tier h3 { font-size: 1.4rem; text-transform: none; letter-spacing: 0; }
.tier .for { color: var(--paper-dim); font-size: 0.92rem; }

.tier .price {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--gold);
  padding-top: 6px;
  border-top: 1px solid var(--steel-line);
}
.tier .price small {
  display: block;
  font-size: 0.7rem;
  color: var(--paper-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

.tier ul { display: flex; flex-direction: column; gap: 9px; flex: 1; }
.tier li {
  font-size: 0.92rem;
  color: var(--paper-dim);
  padding-left: 1.3em;
  position: relative;
}
.tier li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.85em;
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; }
.faq-item {
  padding-block: 22px;
  border-top: 1px solid var(--steel-line);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 30px;
}
.faq-item:first-child { border-top: none; }
.faq-item h3 { font-size: 1.02rem; text-transform: none; letter-spacing: 0; }
.faq-item p { color: var(--paper-dim); max-width: 60ch; }

/* ---------- Steps (séquence réelle) ---------- */
.steps { display: flex; flex-direction: column; gap: 26px; }
.step { display: flex; gap: 18px; }
.step .num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--gold);
  flex: none;
  width: 2.2em;
  padding-top: 0.1em;
}
.step h4 {
  font-size: 1.02rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--paper);
  margin-bottom: 6px;
}
.step p { color: var(--paper-dim); max-width: 46ch; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  border: 1px solid var(--steel-line);
  background: var(--steel-surface);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-field .k {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-faint);
}
.contact-field .v { font-size: 1.05rem; }
.contact-field a.v { text-decoration: none; color: var(--paper); }
.contact-field a.v:hover { color: var(--gold); }

/* ---------- Legal prose (confidentialité) ---------- */
.prose { max-width: 72ch; display: flex; flex-direction: column; gap: 18px; }
.prose h2 {
  font-size: 1.4rem;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--steel-line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose p, .prose li { color: var(--paper-dim); }
.prose ul { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.prose li { padding-left: 1.3em; position: relative; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}
.prose strong { color: var(--paper); font-weight: 600; }
.prose .meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--paper-faint);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  border-top: 1px solid var(--steel-line);
  border-bottom: 1px solid var(--steel-line);
}
.cta-band .container {
  padding-block: clamp(48px, 7vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); max-width: 34ch; }
.cta-band .lede { color: var(--paper-dim); margin-top: 10px; max-width: 46ch; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding-block: 48px 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--steel-line);
}
.footer-brand p {
  color: var(--paper-faint);
  font-size: 0.92rem;
  margin-top: 14px;
  max-width: 32ch;
}
.footer-brand .footer-formerly {
  margin-top: 8px;
  max-width: none;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-faint);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  text-decoration: none;
  color: var(--paper-dim);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--paper-faint);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .module { grid-template-columns: 1fr; gap: 12px; }
  .faq-item { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 1060px) {
  /* Wordmark + 4 nav links + both header buttons need ~1035px; collapse to
     the hamburger menu before that point so nothing overlaps or scrolls
     sideways on tablet / small-laptop widths. */
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  body.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--ink);
    border-bottom: 1px solid var(--steel-line);
    padding: 16px 24px 22px;
  }
  body.nav-open .nav { position: relative; }
  body.nav-open .nav-links a { width: 100%; padding-block: 10px; }
}

@media (max-width: 680px) {
  /* Wordmark + ghost link + primary button + toggle need ~669px — drop the
     ghost link a little earlier than the 600px content breakpoint below so
     the header never runs out of room between the two. */
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn-primary { padding-inline: 1.1em; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn, .cta-band-actions .btn { width: 100%; }
  .hero-ctas, .cta-band-actions { flex-direction: column; }
}

@media (max-width: 360px) {
  /* Extra-small phones (iPhone SE and similar): the wordmark alone leaves
     no room for the menu toggle at the default nav gap/size. */
  .nav { gap: 10px; }
  .wordmark { gap: 8px; }
  .wordmark .mark { width: 26px; height: 26px; }
  .wordmark-name { font-size: 0.95rem; }
  .wordmark-eyebrow { font-size: 0.56rem; }
}

@media (max-width: 540px) {
  /* The wordmark + primary CTA + menu toggle no longer fit on one line —
     drop the persistent header button and surface it inside the mobile
     dropdown instead (see .nav-links-cta). */
  .nav-actions .btn-primary { display: none; }
  body.nav-open .nav-links-cta {
    display: block;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--steel-line);
  }
  body.nav-open .nav-links-cta a {
    width: 100%;
    padding-block: 0.85em;
    border-bottom: none;
  }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
