/*
 * Axiom Agent OS — storefront stylesheet (app.css)
 * -----------------------------------------------------------------
 * Premium dark developer-tool aesthetic. All colour / radius tokens
 * come from the brand contract (brand/axiom.brand.json), restated here
 * as CSS custom properties so the sheet is fully self-contained (no
 * external fonts, CDNs, or images). Rebranding = edit these tokens to
 * match axiom.brand.json.
 *
 * Accessibility: AA contrast, visible focus rings, respects
 * prefers-reduced-motion, mobile-first responsive.
 */

:root {
  /* ---- Brand tokens (mirror of axiom.brand.json > theme) ---- */
  --bg: #0B0D10;
  --surface: #14181D;
  --text: #EAECEF;
  --muted: #9AA3AD;
  --accent: #4F8CFF;
  --accent-2: #7A5CFF;
  --ok: #3FB27F;
  --warn: #E0B341;
  --err: #E06C6C;
  --radius: 14px;

  --font-sans: ui-sans-serif, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;

  /* ---- Derived tokens ---- */
  --surface-2: #1A1F26;
  --border: rgba(234, 236, 239, 0.09);
  --border-strong: rgba(234, 236, 239, 0.16);
  --ink-on-accent: #08111F;      /* dark ink on bright accent — AA safe */
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.75);
  --shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, 0.6);
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Ambient developer-tool glow — pure CSS, no images. */
  background-image:
    radial-gradient(60% 50% at 15% -5%, rgba(79, 140, 255, 0.14), transparent 60%),
    radial-gradient(55% 45% at 95% 0%, rgba(122, 92, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 30%);
  background-attachment: fixed;
}

/* Faint engineering grid layered under content. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 40%, transparent 100%);
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.4em; font-weight: 650; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code, kbd, samp, .mono { font-family: var(--font-mono); }

/* ---- Focus visibility (keyboard) ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--surface);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(11, 13, 16, 0.72);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand-lockup { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.02em; color: var(--text); }
.brand-lockup:hover { text-decoration: none; }
.brand-lockup .logo-mark { width: 30px; height: 30px; display: block; }
.brand-lockup .brand-word { font-size: 1.08rem; }
.brand-lockup .brand-sub { color: var(--muted); font-weight: 500; font-size: 0.86rem; margin-left: 2px; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-size: 0.95rem; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); text-decoration: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-primary {
  background: var(--accent);
  color: var(--ink-on-accent);
  box-shadow: 0 8px 24px -10px rgba(79, 140, 255, 0.7);
}
.btn-primary:hover { background: #6b9dff; box-shadow: 0 10px 30px -10px rgba(79, 140, 255, 0.85); }

.btn-ghost { background: rgba(255, 255, 255, 0.03); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--accent); }

.btn-block { width: 100%; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }

/* ---- Cards / panels ---- */
.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.section { padding: clamp(48px, 8vw, 88px) 0; }
.section-tight { padding: clamp(28px, 5vw, 48px) 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(79, 140, 255, 0.1);
  border: 1px solid rgba(79, 140, 255, 0.25);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.lead { color: var(--muted); font-size: 1.12rem; max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* =========================================================
   ACCESS GATE (index.html)
   ========================================================= */
.gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}
.gate-card {
  width: 100%;
  max-width: 440px;
  text-align: center;
  padding: 40px 34px;
  animation: rise 0.5s var(--ease) both;
}
.gate-card .logo-mark { width: 58px; height: 58px; margin: 0 auto 20px; display: block; }
.gate-card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.gate-card .tagline { color: var(--muted); margin-bottom: 28px; }

.field { text-align: left; margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  padding: 14px 16px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.field input::placeholder { color: #5b6570; letter-spacing: normal; font-family: var(--font-sans); }
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.28);
}

.form-status {
  min-height: 20px;
  font-size: 0.9rem;
  margin: 4px 0 14px;
  color: var(--muted);
}
.form-status.is-error { color: var(--err); }
.form-status.is-ok { color: var(--ok); }
.form-status.is-info { color: var(--accent); }

.gate-foot { margin-top: 22px; font-size: 0.82rem; color: var(--muted); }
.gate-foot a { color: var(--muted); text-decoration: underline; }
.gate-foot a:hover { color: var(--text); }

/* =========================================================
   HERO (portal.html)
   ========================================================= */
.hero { padding: clamp(40px, 7vw, 76px) 0 clamp(28px, 4vw, 44px); }
.hero .lead { margin-top: 10px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.version-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.82rem;
  color: var(--muted); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,0.02);
}
.version-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }

/* ---- Download cards ---- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.download-card { display: flex; flex-direction: column; gap: 14px; transition: transform 0.18s var(--ease), border-color 0.18s var(--ease); }
.download-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.download-card .os-icon { width: 40px; height: 40px; color: var(--accent); }
.download-card h3 { margin: 0; font-size: 1.2rem; }
.download-card .os-sub { color: var(--muted); font-size: 0.9rem; margin: -6px 0 0; }
.download-card .spec { margin-top: auto; display: grid; gap: 6px; font-size: 0.84rem; }
.download-card .spec .row { display: flex; justify-content: space-between; gap: 10px; }
.download-card .spec .row span:first-child { color: var(--muted); }
.download-card .spec .checksum { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); word-break: break-all; }

/* ---- License panel ---- */
.license-panel { display: grid; gap: 14px; }
.license-panel .license-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.key-box {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg); border: 1px dashed var(--border-strong);
  border-radius: 11px; padding: 14px 16px;
}
.key-box code {
  flex: 1; font-size: 0.98rem; letter-spacing: 0.06em; color: var(--text);
  word-break: break-all;
}
.license-meta { color: var(--muted); font-size: 0.88rem; }
.license-note { font-size: 0.86rem; color: var(--muted); }
.license-note.is-warn { color: var(--warn); }

.btn-copy {
  background: rgba(255,255,255,0.05); color: var(--text);
  border: 1px solid var(--border-strong); padding: 9px 14px;
  border-radius: 9px; font-size: 0.86rem; font-weight: 600; cursor: pointer;
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease);
}
.btn-copy:hover { background: rgba(255,255,255,0.09); border-color: var(--accent); }
.btn-copy.is-ok { color: var(--ok); border-color: var(--ok); }
.btn-copy:disabled { opacity: 0.5; cursor: default; }

/* ---- Quickstart steps ---- */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.step .num {
  counter-increment: step;
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700;
  color: var(--accent);
  background: rgba(79, 140, 255, 0.1);
  border: 1px solid rgba(79, 140, 255, 0.28);
}
.step .num::before { content: counter(step); }
.step h3 { margin: 6px 0 4px; font-size: 1.02rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.step .cmd {
  margin-top: 8px; display: block;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 9px; padding: 10px 12px;
  font-family: var(--font-mono); font-size: 0.84rem; color: var(--text);
  overflow-x: auto; white-space: pre;
}

/* =========================================================
   PRICING (pricing.html)
   ========================================================= */
.price-card { display: flex; flex-direction: column; gap: 8px; }
.price-card.is-featured { border-color: rgba(79, 140, 255, 0.5); box-shadow: 0 0 0 1px rgba(79,140,255,0.25), var(--shadow-lg); }
.price-card .plan-name { font-size: 1.1rem; font-weight: 650; }
.price-card .price { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 4px; }
.price-card .price .amount { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; }
.price-card .price .per { color: var(--muted); font-size: 0.95rem; }
.feature-list { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; color: var(--text); }
.feature-list li .tick { color: var(--ok); flex: 0 0 auto; margin-top: 2px; }
.price-card .btn { margin-top: auto; }

/* =========================================================
   HARDWARE (hardware.html)
   ========================================================= */
.hw-card { display: flex; flex-direction: column; gap: 12px; }
.hw-card .hw-price { display: flex; align-items: baseline; gap: 8px; }
.hw-card .hw-price .amount { font-size: 2.1rem; font-weight: 700; letter-spacing: -0.03em; }
.hw-card .hw-price .note { color: var(--muted); font-size: 0.86rem; }
.spec-list { list-style: none; padding: 0; margin: 8px 0 18px; display: grid; gap: 10px; }
.spec-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; }
.spec-list li .ic { color: var(--accent); flex: 0 0 auto; margin-top: 3px; }

/* =========================================================
   PUBLIC MARKETING — landing (index.html) + shared
   ========================================================= */
/* A primary call-to-action styled as a nav item. */
.nav .btn-nav { color: var(--ink-on-accent); background: var(--accent); padding: 8px 14px; border-radius: 10px; font-weight: 600; }
.nav .btn-nav:hover { background: #6b9dff; color: var(--ink-on-accent); text-decoration: none; }

/* Big landing hero with one calm signature glow. */
.mkt-hero { position: relative; padding: clamp(52px, 9vw, 120px) 0 clamp(36px, 6vw, 72px); overflow: hidden; }
.mkt-hero .container { position: relative; z-index: 1; }
.mkt-hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); max-width: 17ch; }
.mkt-hero .lead { font-size: clamp(1.05rem, 2.1vw, 1.28rem); max-width: 60ch; margin-top: 16px; }
.mkt-hero .hero-actions { margin-top: 30px; }
.hero-aurora {
  position: absolute; inset: -25% -10% auto -10%; height: 600px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(79, 140, 255, 0.20), transparent 70%) 22% 0 / 58% 100% no-repeat,
    radial-gradient(closest-side, rgba(122, 92, 255, 0.18), transparent 70%) 84% 12% / 52% 88% no-repeat;
  filter: blur(6px);
  animation: aurora 20s var(--ease) infinite alternate;
}
@keyframes aurora {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.06); }
}

/* Trust strip under the hero. */
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: 26px; color: var(--muted); font-size: 0.9rem; }
.trust-row .sep { opacity: 0.4; }

/* Two big product cards. */
.product-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; position: relative; overflow: hidden; }
.product-card .kicker { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.product-card.is-flagship { border-color: rgba(122, 92, 255, 0.45); box-shadow: 0 0 0 1px rgba(122, 92, 255, 0.22), var(--shadow-lg); }
.product-card .badge-new { position: absolute; top: 16px; right: 16px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); border: 1px solid rgba(122, 92, 255, 0.4); background: rgba(122, 92, 255, 0.1); padding: 4px 9px; border-radius: 999px; }
.product-card h3 { font-size: 1.5rem; margin: 0; }
.product-card .price-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.product-card .price-line .amount { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; }
.product-card .price-line .strike { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.product-card .price-line .per { color: var(--muted); font-size: 0.9rem; }
.product-card .feature-list { margin-top: 4px; }

/* Value cards (reuse .card + .grid-3). */
.value-card .ic-badge { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: var(--accent); background: rgba(79, 140, 255, 0.1); border: 1px solid rgba(79, 140, 255, 0.28); margin-bottom: 12px; font-family: var(--font-mono); font-weight: 700; }
.sec-head { max-width: 64ch; }
.sec-head.center { margin-left: auto; margin-right: auto; }

/* =========================================================
   FOUNDING PRE-ORDER (axiom-os.html + landing)
   ========================================================= */
.founding-card { position: relative; overflow: hidden; border-color: rgba(122, 92, 255, 0.5); box-shadow: 0 0 0 1px rgba(122, 92, 255, 0.25), var(--shadow-lg); }
.founding-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.founding-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 8px 0 2px; }
.founding-price .now { font-size: clamp(2.2rem, 5vw, 2.8rem); font-weight: 750; letter-spacing: -0.03em; }
.founding-price .was { color: var(--muted); text-decoration: line-through; font-size: 1.2rem; }
.founding-price .save { color: var(--ok); font-weight: 600; font-size: 0.9rem; border: 1px solid rgba(63, 178, 127, 0.4); background: rgba(63, 178, 127, 0.1); padding: 3px 9px; border-radius: 999px; }

/* Founding-10 slot tracker — a real, publicly-counted cap (no fake timer). */
.slot-tracker { display: flex; flex-direction: column; gap: 9px; margin: 14px 0; }
.slot-pips { display: flex; gap: 7px; flex-wrap: wrap; }
.slot-pip { width: 26px; height: 10px; border-radius: 3px; background: rgba(234, 236, 239, 0.12); border: 1px solid var(--border); }
.slot-pip.is-claimed { background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-color: transparent; }
.slot-caption { font-family: var(--font-mono); font-size: 0.84rem; color: var(--muted); }
.slot-caption strong { color: var(--text); }

/* Honest "in build" callout — on-brand transparency, not a disclaimer to hide. */
.honest-note { display: flex; gap: 12px; align-items: flex-start; border: 1px solid rgba(224, 179, 65, 0.35); background: rgba(224, 179, 65, 0.07); border-radius: 12px; padding: 14px 16px; font-size: 0.92rem; }
.honest-note .ic { color: var(--warn); flex: 0 0 auto; margin-top: 1px; }
.honest-note strong { color: var(--text); }

/* Roadmap timeline. */
.roadmap { display: grid; gap: 0; }
.roadmap .stage { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding-bottom: 22px; position: relative; }
.roadmap .stage:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--border); }
.roadmap .stage .marker { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--accent); background: var(--bg); z-index: 1; }
.roadmap .stage.is-done .marker { background: var(--accent); }
.roadmap .stage.is-now .marker { border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(122, 92, 255, 0.18); }
.roadmap .stage h4 { margin: 1px 0 4px; font-size: 1.02rem; }
.roadmap .stage p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.roadmap .stage .when { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); letter-spacing: 0.04em; }

/* =========================================================
   WAITLIST / FOUNDING RESERVATION FORM
   ========================================================= */
.waitlist-form { display: grid; gap: 12px; margin-top: 14px; }
.waitlist-row { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist-form input[type="email"],
.waitlist-form input[type="text"],
.waitlist-form textarea {
  flex: 1 1 220px; width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--border-strong); border-radius: 11px; padding: 13px 15px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.waitlist-form input:focus, .waitlist-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.28); }
.waitlist-form textarea { min-height: 84px; resize: vertical; }
.waitlist-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist-status { min-height: 20px; font-size: 0.9rem; color: var(--muted); }
.waitlist-status.is-error { color: var(--err); }
.waitlist-status.is-ok { color: var(--ok); }
.waitlist-status.is-info { color: var(--accent); }
.microcopy { font-size: 0.82rem; color: var(--muted); }

/* Comparison table. */
.cmp-wrap { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 520px; }
.cmp th, .cmp td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.cmp thead th { color: var(--muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.cmp td .yes { color: var(--ok); }
.cmp td .no { color: var(--muted); }

/* FAQ disclosure. */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 2px 18px; }
.faq summary { cursor: pointer; padding: 16px 34px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--font-mono); position: absolute; right: 0; top: 16px; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Closing CTA band. */
.cta-band { text-align: center; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(32px, 6vw, 64px); background: linear-gradient(180deg, rgba(79, 140, 255, 0.06), rgba(122, 92, 255, 0.05)); position: relative; overflow: hidden; }
.cta-band h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta-band .lead { margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; margin-top: 40px; color: var(--muted); font-size: 0.88rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---- Utility ---- */
[hidden] { display: none !important; }
.stack > * + * { margin-top: 14px; }
.grow { flex: 1; }
.m-0 { margin: 0; }
.mt-10 { margin-top: 10px; }
.mt-24 { margin-top: 24px; }
.mt-26 { margin-top: 26px; }

/* Utilities that replace inline styles (blocked by the strict CSP style-src 'self'). */
.slot-tracker.wide { max-width: 460px; }
.hero-actions.is-center { justify-content: center; }
.intent-set { border: 0; padding: 0; margin: 0; }
.intent-set legend { margin-bottom: 12px; }
.intent-choice { display: flex; gap: 8px; align-items: center; color: var(--text); }

/* ---- Animations ---- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav .nav-secondary { display: none; }
}
/* Header nav wraps instead of overflowing on small screens (no hamburger). */
@media (max-width: 640px) {
  .site-header .container { height: auto; flex-wrap: wrap; gap: 8px 12px; padding-top: 10px; padding-bottom: 10px; }
  .nav { flex-wrap: wrap; gap: 4px 6px; }
  .nav a { padding: 7px 9px; font-size: 0.9rem; }
}
@media (max-width: 560px) {
  .brand-lockup .brand-sub { display: none; }
  .gate-card { padding: 32px 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
