/* ============================================================
   Tightbeam — tightbeamsystems.com  (Filament design language)
   Static, dependency-free consulting site (v3).
   Token names and values mirror the Filament design system
   (tightbeam-design skill → tokens/*.css). No framework, no
   build step.
   ============================================================ */

/* ===================== Webfont (self-hosted Outfit) =====================
   Variable font (wght 400–700 covers the weights this site uses), served
   from /assets/fonts so the site stays self-contained and leaks no visitor
   IPs to a third-party font CDN. Two subsets mirror Google's split. */
@font-face {
  font-family: 'Outfit'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/assets/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===================== Design tokens (Filament) ===================== */
:root {
  /* The Filament gradient — a highlight, never wallpaper; max 2 per viewport */
  --gradient-filament:   linear-gradient(135deg, #C44828 0%, #D87830 38%, #E8A848 65%, #F8D878 100%);
  --gradient-filament-h: linear-gradient(90deg,  #C44828 0%, #D87830 38%, #E8A848 65%, #F8D878 100%);

  /* Primary (warm amber) + beam (terracotta) */
  --primary-300: #E8A848;
  --primary-400: #D87830;
  --primary-500: #C06020;
  --primary-600: #9C4C18;
  --beam-500:    #C44828;

  /* Foundation: light (default) */
  --bg:           #FAF8F5;
  --bg-elevated:  #FFFEFA;
  --bg-sunken:    #F2EFE8;
  --fg:           #1C1810;
  --fg-muted:     #706858;
  --fg-faint:     #A09480;
  --border:       #E8E0D4;
  --border-strong:#D4CAB8;
  --ring:         rgba(216, 120, 48, 0.30);
  --focus:        #C06020;   /* solid focus outline — AA-visible on warm off-white */
  --link:         #9C4C18;
  --link-hover:   #7E3C14;
  --accent:       #9C4C18;   /* small accent text (step numbers, kickers) */

  /* Marketing-only field: the near-black hero / contact band */
  --bg-hero: #0A0806;

  /* CTA text on the gradient — ALWAYS dark, never white */
  --btn-primary-fg: #1C1810;

  /* Shadows (warm-tinted in light) */
  --shadow:      0 1px 3px rgba(100,70,30,.08), 0 1px 2px rgba(100,70,30,.04);
  --shadow-md:   0 4px 6px rgba(100,70,30,.07), 0 2px 4px rgba(100,70,30,.04);
  --shadow-lg:   0 10px 15px rgba(100,70,30,.08), 0 4px 6px rgba(100,70,30,.04);
  --shadow-beam: 0 4px 14px rgba(216,120,48,.25);

  /* Spacing (4px grid) */
  --space-1: 4px;  --space-2: 8px;   --space-3: 12px;  --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-8: 32px;  --space-10: 40px; --space-12: 48px; --space-16: 64px;

  /* Radius — never above 12px on rectangles */
  --radius-sm: 4px; --radius: 8px; --radius-lg: 12px; --radius-full: 9999px;

  --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;
  --content-max: 1200px;
}

/* Foundation: dark (co-equal). Applied to the hero, examples, contact band
   and footer, so components inside them pick up the dark neutrals. */
.dark {
  --bg:           #141210;
  --bg-elevated:  #201C18;
  --bg-sunken:    #0C0A08;
  --fg:           #F5F0E8;
  --fg-muted:     #A09480;
  --fg-faint:     #706858;
  --border:       #302820;
  --border-strong:#40362C;
  --ring:         rgba(216, 120, 48, 0.40);
  --focus:        #E8A848;
  --link:         #D87830;
  --link-hover:   #E8A848;
  --accent:       #E8A848;
  --shadow:      0 1px 3px rgba(0,0,0,.30), 0 1px 2px rgba(0,0,0,.20);
  --shadow-md:   0 4px 6px rgba(0,0,0,.25), 0 2px 4px rgba(0,0,0,.20);
  --shadow-lg:   0 10px 15px rgba(0,0,0,.30), 0 4px 6px rgba(0,0,0,.20);
  --shadow-beam: 0 4px 14px rgba(216,120,48,.30);
  color: var(--fg);
}

/* ===================== Reset & base ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans); color: var(--fg); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* Focus: solid warm outline (visible at AA) + the soft Filament ring */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ring); border-radius: var(--radius-sm); }
.btn:focus-visible { border-radius: var(--radius); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: absolute; left: var(--space-4); top: -64px; z-index: 100;
  background: var(--bg-elevated); color: var(--fg); font-weight: 600; font-size: 15px;
  padding: var(--space-3) var(--space-4); border: 1px solid var(--border-strong); border-radius: var(--radius);
}
.skip-link:focus { top: var(--space-4); }

/* ===================== Layout primitives ===================== */
.container { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-6); }
.section   { padding: clamp(72px, 9vw, 120px) 0; }
.band      { padding: clamp(72px, 9vw, 120px) 0; background: var(--bg-sunken); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
/* keep anchored sections flush under the sticky nav (its scrolled height) */
#problems, #services, #examples, #how, #about, #faq, #contact { scroll-margin-top: 68px; }
@media (max-width: 960px) { #problems, #services, #examples, #how, #about, #faq, #contact { scroll-margin-top: 60px; } }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
.lead  { color: var(--fg-muted); font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.prose { color: var(--fg-muted); font-size: 16px; line-height: 1.7; text-wrap: pretty; }

.section-head { max-width: 680px; margin-bottom: var(--space-12); display: flex; flex-direction: column; gap: var(--space-4); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }

/* Two-column "heading left, content right" layout (problems, about) */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.split__head { display: flex; flex-direction: column; gap: var(--space-4); position: sticky; top: 112px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__head { position: static; }
}

/* Icon tile */
.tile {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; flex-shrink: 0;
  border-radius: var(--radius); background: var(--bg-sunken); color: var(--primary-600);
}
.band .tile { background: var(--bg); border: 1px solid var(--border); }
.dark .tile { color: var(--primary-300); }

/* Quiet callout — solid warm edge (the gradient is reserved for the nav stripe + CTAs) */
.note {
  margin-top: var(--space-8); padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--primary-400); border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bg-sunken); color: var(--fg); font-size: 16px; line-height: 1.6; text-wrap: pretty;
}
.note--wide { margin-top: var(--space-12); max-width: 820px; }
.fineprint { margin-top: var(--space-8); color: var(--fg-muted); font-size: 15px; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 12px 20px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: filter .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn--lg { font-size: 16px; padding: 16px 28px; }

/* padding-box clip prevents the 1px transparent border from picking up
   the gradient's dark start color (a dark seam on the right/bottom edge). */
.btn--gradient { background: var(--gradient-filament); -webkit-background-clip: padding-box; background-clip: padding-box; color: var(--btn-primary-fg); }
.btn--gradient:hover { filter: brightness(1.02); box-shadow: var(--shadow-beam); }

.btn--outline { color: var(--fg); background: transparent; border-color: var(--border-strong); }
.btn--outline:hover { background: var(--bg-sunken); border-color: var(--fg-faint); }

.btn--ghost { color: var(--fg-muted); background: transparent; }
.btn--ghost:hover { color: var(--fg); background: var(--bg-sunken); }

/* frosted-glass secondary on dark fields */
.btn--frost {
  color: var(--fg); background-color: rgba(245,240,232,.07);
  border-color: rgba(245,240,232,.20);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.btn--frost:hover { background-color: rgba(245,240,232,.12); border-color: rgba(245,240,232,.34); }

/* ===================== Sticky nav ===================== */
.nav {
  position: sticky; top: 0; z-index: 50; background: var(--bg-elevated);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease, padding .2s ease;
  padding: 12px 0;
}
.nav.is-scrolled, .nav.is-open { box-shadow: var(--shadow-md); border-bottom-color: var(--border); }
.nav.is-scrolled { padding: 8px 0; }
.nav__beam { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-filament-h); }
.nav__inner { display: flex; align-items: center; gap: var(--space-8); }
.nav__logo { flex-shrink: 0; }
.nav__logo img { height: 52px; width: auto; max-width: none; }
.nav__links { display: flex; gap: var(--space-6); }
.nav__links a:not(.btn) { font-size: 15px; font-weight: 500; color: var(--fg-muted); padding: var(--space-2) 0; transition: color .2s ease; }
.nav__links a:not(.btn):hover { color: var(--fg); }
.nav__menu-cta { display: none; }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); }
.nav__toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius); color: var(--fg); cursor: pointer;
}
.nav__toggle:hover { background: var(--bg-sunken); }
.nav__toggle .icon { width: 24px; height: 24px; }
.nav__toggle .icon--close, .nav.is-open .nav__toggle .icon--open { display: none; }
.nav.is-open .nav__toggle .icon--close { display: block; }

/* The Tightbeam Systems lockup is wide (402:80), so the links collapse earlier than a
   typical nav, and on phones the bar CTA moves into the menu to leave the lockup legible. */
@media (max-width: 960px) {
  .nav__inner { gap: var(--space-4); }
  .nav__logo img { height: 44px; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 0 var(--space-6) var(--space-4);
    background: var(--bg-elevated); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a:not(.btn) { font-size: 17px; color: var(--fg); padding: var(--space-4) 0; border-top: 1px solid var(--border); }
}
@media (max-width: 520px) {
  .nav__logo img { height: 40px; }
  .nav__actions .btn { display: none; }
  .nav__menu-cta { display: inline-flex; margin-top: var(--space-2); padding: 16px 20px; font-size: 16px; }
}

/* ===================== Hero ===================== */
.hero {
  position: relative; overflow: hidden; min-height: 88vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--bg-hero); padding: clamp(64px,10vw,120px) var(--space-6);
}
.hero__glow {
  position: absolute; top: 48%; left: 50%; width: min(760px,92vw); height: 380px;
  transform: translate(-50%,-50%); pointer-events: none; z-index: 0; will-change: transform;
  background: radial-gradient(ellipse 60% 50% at center, rgba(216,120,48,.30) 0%, rgba(216,120,48,.08) 42%, rgba(10,8,6,0) 72%);
}
.hero__canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2); font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: #C4A47C;
  border: 1px solid rgba(245,240,232,.16); background: rgba(245,240,232,.04);
  padding: 6px 14px; border-radius: var(--radius-full); margin-bottom: 28px;
}
.hero__eyebrow .dot { width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--primary-300); }
.hero__headline {
  color: var(--fg); font-weight: 700; line-height: 1.08;
  font-size: clamp(36px,6.4vw,64px); letter-spacing: -.02em;
  /* The beam rides the headline→sub gap (hero.js measures it live). The gap widens as the
     headline shrinks so the beam never crosses the last line of text on small screens. */
  margin-bottom: clamp(24px, calc(80px - 3.9vw), 64px);
  text-shadow: 0 2px 40px rgba(10,8,6,.7); text-wrap: balance;
}
.hero__sub {
  color: var(--fg-muted); font-size: clamp(16px,2.2vw,20px); line-height: 1.55;
  max-width: 600px; margin-bottom: 36px; text-wrap: pretty;
}
.hero__actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }
.hero__points {
  display: flex; align-items: center; gap: var(--space-2) var(--space-6); flex-wrap: wrap; justify-content: center;
  margin-top: 44px; color: var(--fg-muted); font-size: 14px; font-weight: 500;
}
.hero__points li { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero__points li::before { content: ''; width: 4px; height: 4px; border-radius: var(--radius-full); background: var(--primary-300); }

/* Ignition entrance (CSS-driven, added by hero.js via .ignite) */
.hero.ignite .hero__glow    { animation: heroBloom 1100ms cubic-bezier(.4,0,.2,1) both; }
.hero.ignite .hero__eyebrow { animation: heroRise 500ms 120ms ease-out both; }
.hero.ignite .hero__headline{ animation: heroRise 500ms 240ms ease-out both; }
.hero.ignite .hero__sub     { animation: heroRise 500ms 360ms ease-out both; }
.hero.ignite .hero__actions { animation: heroRise 500ms 480ms ease-out both; }
.hero.ignite .hero__points  { animation: heroRise 500ms 600ms ease-out both; }
@keyframes heroBloom { from { opacity: 0; transform: translate(-50%,-50%) scale(.6); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@keyframes heroRise  { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 520px) {
  .hero__actions { flex-direction: column; align-self: stretch; }
  .hero__points { flex-direction: column; gap: var(--space-2); }
}

/* ===================== Ledger (problems, principles) =====================
   A ruled list, not a card grid — keeps the page calm. */
.ledger__row { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-5); padding: var(--space-6) 0; border-top: 1px solid var(--border); }
.ledger__row:last-child { border-bottom: 1px solid var(--border); }
.ledger__row h3 { font-size: 18px; font-weight: 600; line-height: 1.3; margin-bottom: var(--space-1); }
.ledger__row p { color: var(--fg-muted); font-size: 16px; text-wrap: pretty; }
.ledger--compact .ledger__row { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-6); padding: var(--space-5) 0; }
.ledger--compact dt { font-size: 17px; font-weight: 600; }
.ledger--compact dd { color: var(--fg-muted); font-size: 16px; }
@media (max-width: 520px) {
  .ledger--compact .ledger__row { grid-template-columns: 1fr; gap: var(--space-1); }
}

/* ===================== What we do ===================== */
.card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.service { padding: var(--space-8); display: flex; flex-direction: column; }
.service h3 { font-size: 20px; font-weight: 600; line-height: 1.25; margin: var(--space-5) 0 var(--space-3); }
.service > p { color: var(--fg-muted); font-size: 16px; text-wrap: pretty; }
.service .service__label {
  margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border);
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted);
}
.checks { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-4); }
.checks li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 15px; line-height: 1.5; }
.checks .icon { width: 18px; height: 18px; margin-top: 2px; stroke-width: 2; color: var(--primary-600); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; } }

/* ===================== Illustrative workflows (dark) ===================== */
.flows { position: relative; overflow: hidden; background: var(--bg); padding: clamp(72px,9vw,120px) 0; }
.flows__bloom { position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 900px; max-width: 100%; height: 360px; pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at center, rgba(216,120,48,.14) 0%, rgba(20,18,16,0) 70%); }
.flows__inner { position: relative; }

.flow { --flow-gap: 32px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--space-12); align-items: start; padding: var(--space-10) 0; border-top: 1px solid var(--border); }
.flow:last-child { padding-bottom: 0; }
.flow__head { display: flex; flex-direction: column; gap: var(--space-2); }
.flow__kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-variant-numeric: tabular-nums; }
.flow__head h3 { font-size: 22px; font-weight: 600; line-height: 1.2; text-wrap: balance; }
.flow__head p { color: var(--fg-muted); font-size: 16px; text-wrap: pretty; }

.flow__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--flow-gap); }
.flow__node {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1);
  padding: var(--space-4); background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.flow__node .tile { width: 36px; height: 36px; margin-bottom: var(--space-2); }
.flow__node .tile .icon { width: 20px; height: 20px; }
.flow__node strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.flow__node > span:not(.tile):not(.badge) { color: var(--fg-muted); font-size: 14px; line-height: 1.45; }
.flow__node--human { border-color: var(--primary-400); }
.badge {
  display: inline-flex; align-items: center; margin-top: var(--space-2);
  font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 2px 8px; border-radius: var(--radius-full);
  color: var(--primary-300); background: rgba(216,120,48,.15);
}
/* connectors — a thin copper line + arrowhead, aligned to the icon tile */
.flow__node:not(:last-child)::after {
  content: ''; position: absolute; top: 34px; left: 100%; width: var(--flow-gap); height: 1px; background: var(--primary-400); opacity: .75;
}
.flow__node:not(:last-child)::before {
  content: ''; position: absolute; top: 34px; left: calc(100% + var(--flow-gap) - 10px); width: 7px; height: 7px;
  border-top: 1px solid var(--primary-400); border-right: 1px solid var(--primary-400); opacity: .75;
  transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 1080px) {
  .flow { grid-template-columns: 1fr; gap: var(--space-6); }
  .flow__head { max-width: 560px; }
}
@media (max-width: 760px) {
  .flow { --flow-gap: 24px; }
  .flow__steps { grid-template-columns: 1fr; }
  .flow__node { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: var(--space-4); row-gap: 2px; }
  .flow__node .tile { grid-row: 1 / span 3; margin-bottom: 0; }
  .flow__node .badge { justify-self: start; }
  .flow__node:not(:last-child)::after { top: 100%; left: 34px; width: 1px; height: var(--flow-gap); }
  .flow__node:not(:last-child)::before { top: calc(100% + var(--flow-gap) - 6px); left: 31px; transform: translateY(-50%) rotate(135deg); }
}

/* ===================== How we work ===================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); }
.step { display: flex; flex-direction: column; gap: var(--space-3); }
.step__top { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-2); }
.step__num { font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--accent); font-variant-numeric: tabular-nums; }
.step__rule { flex: 1; height: 1px; background: var(--border-strong); }
.step h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.step p { color: var(--fg-muted); font-size: 16px; text-wrap: pretty; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ===================== FAQ ===================== */
.faq__wrap { max-width: 868px; margin: 0 auto; padding: 0 var(--space-6); }
.faq__list { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:last-child { border-bottom: none; }
.faq__item h3 { font: inherit; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  text-align: left; background: none; border: none; cursor: pointer; padding: var(--space-5) var(--space-6);
  font-family: var(--font-sans); font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--fg); }
.faq__q:hover { background: var(--bg); }
.faq__q:focus-visible { outline-offset: -2px; box-shadow: none; }
.faq__sign { flex-shrink: 0; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full); background: var(--bg-sunken); color: var(--primary-600); font-size: 18px; line-height: 1; transition: transform .2s ease; }
.faq__item.is-open .faq__sign { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .28s ease, visibility 0s linear .28s; }
.faq__item.is-open .faq__a { visibility: visible; transition: max-height .28s ease, visibility 0s linear 0s; }
.faq__a p { padding: 0 var(--space-6) var(--space-6); color: var(--fg-muted); font-size: 16px; line-height: 1.65; max-width: 68ch; }

/* ===================== Contact band ===================== */
.cta { position: relative; overflow: hidden; background: var(--bg-hero); padding: clamp(72px,9vw,120px) var(--space-6); text-align: center; }
.cta__bloom { position: absolute; top: 50%; left: 50%; width: min(720px,90vw); height: 320px; transform: translate(-50%,-50%); pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at center, rgba(216,120,48,.26) 0%, rgba(10,8,6,0) 70%); }
.cta__inner { position: relative; max-width: 760px; margin: 0 auto; }
.cta h2 { color: var(--fg); font-size: clamp(30px,5vw,46px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin-bottom: var(--space-5); text-wrap: balance; }
.cta p { color: var(--fg-muted); font-size: 18px; max-width: 560px; margin: 0 auto 36px; text-wrap: pretty; }
.cta__actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }
.cta .cta__alt { font-size: 15px; margin: var(--space-6) auto 0; max-width: 480px; }
.cta__alt a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--primary-400); text-underline-offset: 3px; }
.cta__alt a:hover { color: var(--link-hover); }
@media (max-width: 520px) { .cta__actions .btn { width: 100%; } }

/* ===================== Footer ===================== */
.footer { background: var(--bg); padding: clamp(56px,7vw,80px) 0 var(--space-10); }
.footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-10); padding-bottom: var(--space-12); border-bottom: 1px solid var(--border); }
.footer__brand { max-width: 300px; }
.footer__brand img { height: 56px; width: auto; margin-bottom: var(--space-4); }
.footer__brand p { color: var(--fg-muted); font-size: 15px; }
.footer__col h2 { color: var(--fg-muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--space-4); }
.footer__col a { display: block; color: var(--fg-muted); font-size: 15px; padding: var(--space-1) 0; overflow-wrap: break-word; transition: color .2s ease; }
.footer__col a + a { margin-top: var(--space-1); }
.footer__col a:hover { color: var(--fg); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-top: var(--space-6); }
.footer__bottom p { color: var(--fg-muted); font-size: 13px; }
@media (max-width: 760px) { .footer__cols { grid-template-columns: 1fr 1fr; gap: var(--space-8); } .footer__brand { grid-column: 1 / -1; } }
/* the email address needs the full row on narrow phones */
@media (max-width: 520px) { .footer__col--contact { grid-column: 1 / -1; grid-row: 3; } }

/* ===================== Text pages (privacy) ===================== */
.legal { max-width: 808px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--space-6) clamp(72px, 9vw, 120px); }
.legal__head { display: flex; flex-direction: column; gap: var(--space-4); margin-bottom: var(--space-12); padding-bottom: var(--space-8); border-bottom: 1px solid var(--border); }
.legal__head h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.legal h2 { font-size: 22px; font-weight: 600; line-height: 1.25; margin: var(--space-10) 0 var(--space-3); }
.legal p, .legal li { color: var(--fg-muted); font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.legal p + p { margin-top: var(--space-4); }
.legal ul { list-style: disc; padding-left: var(--space-6); margin-top: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); }
.legal a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--link-hover); }

/* ===================== Error pages (404 / generic) ===================== */
.err {
  position: relative; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center; justify-content: center;
  text-align: center; background: var(--bg-hero); padding: var(--space-12) var(--space-6);
}
.err__glow {
  position: absolute; top: 50%; left: 50%;
  width: min(680px, 90vw); height: 340px; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 60% 50% at center,
              rgba(216,120,48,.30) 0%, rgba(216,120,48,.08) 42%, rgba(10,8,6,0) 72%);
  pointer-events: none; z-index: 0;
}
.err__inner { position: relative; z-index: 1; max-width: 520px; }
.err__code {
  font-size: clamp(64px, 14vw, 120px); font-weight: 700; line-height: 1;
  color: var(--fg-muted); letter-spacing: .02em; margin-bottom: var(--space-4);
}
.err__beam {
  width: 200px; height: 4px; margin: 0 auto var(--space-8); border-radius: 2px;
  background: var(--gradient-filament); filter: blur(3px); opacity: .65;
}
.err__title {
  color: var(--fg); font-weight: 700; line-height: 1.15;
  font-size: clamp(24px, 4vw, 34px); margin-bottom: var(--space-3);
}
.err__sub {
  color: var(--fg-muted); font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.55; margin: 0 auto var(--space-8); max-width: 420px;
}
.err__actions { display: flex; justify-content: center; }

/* ===================== Reduced motion ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__canvas { display: none; }
  .hero.ignite .hero__glow, .hero.ignite .hero__eyebrow, .hero.ignite .hero__headline,
  .hero.ignite .hero__sub, .hero.ignite .hero__actions, .hero.ignite .hero__points { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
