/* BlueRing.Ops.Ai — shared styles */

:root {
  --bg: #0b1220;
  --bg-deep: #070c17;
  --surface: #121a2b;
  --surface-2: #172238;
  --glass: rgba(18, 28, 48, 0.58);
  --glass-strong: rgba(14, 22, 40, 0.82);
  --glass-border: rgba(103, 232, 249, 0.16);
  --border: #22304a;
  --border-strong: #2d3f5f;
  --text: #e6edf6;
  --text-muted: #a9b7cb;
  --text-dim: #8595ad;
  --accent: #22d3ee;
  --accent-strong: #67e8f9;
  --accent-deep: #0e9fb5;
  --teal: #2dd4bf;
  --warn: #fbbf24;
  --danger: #fb7185;
  --radius: 16px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --shadow-glow: 0 0 0 1px rgba(34, 211, 238, 0.08), 0 10px 40px -12px rgba(34, 211, 238, 0.22);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 640px at 85% -10%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(45, 212, 191, 0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Faint technical grid behind every page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(103, 232, 249, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
}

main { flex: 1 0 auto; }

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--accent-strong); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #f5f9ff;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }
strong { color: #f5f9ff; font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--bg); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 15, 28, 0.78);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(45, 63, 95, 0.6);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.6), transparent);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  min-height: 68px;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #f5f9ff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand:hover { color: #fff; }
.brand-mark { width: 32px; height: 32px; flex: none; filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.35)); }
.brand-dot { color: var(--accent); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: block;
  padding: 0.5rem 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.site-nav a[aria-current="page"] {
  color: var(--accent);
  background: rgba(34, 211, 238, 0.08);
}

/* Mobile: collapse nav only when JS is available (progressive enhancement) */
@media (max-width: 799px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.is-open { display: block; }
  .site-nav { width: 100%; }
  .js .site-nav ul {
    flex-direction: column;
    padding: 0.5rem 0 0.75rem;
    border-top: 1px solid var(--border);
  }
  .js .site-nav a { padding: 0.75rem 0.5rem; font-size: 1.05rem; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #04121a;
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.4), 0 10px 30px -8px rgba(34, 211, 238, 0.6);
}
.btn-primary:hover {
  color: #04121a;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.6), 0 14px 38px -8px rgba(34, 211, 238, 0.75);
}
.btn-ghost {
  background: rgba(18, 28, 48, 0.4);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { color: #fff; border-color: var(--accent); background: rgba(34, 211, 238, 0.08); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Sections ---------- */

.section { position: relative; padding: 4.5rem 0; }
@media (min-width: 768px) { .section { padding: 5.5rem 0; } .story-page .section { padding: 7rem 0; } }
.section-tight { padding: 3rem 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(18, 26, 43, 0.55), rgba(18, 26, 43, 0.15));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.7);
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 62ch;
}

.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head p { color: var(--text-muted); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.accent { color: var(--accent); }
.grad-text {
  background: linear-gradient(100deg, #f5f9ff 0%, var(--accent-strong) 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--accent), rgba(34, 211, 238, 0) 70%);
  opacity: 0.6;
}

.page-hero { padding: 3.5rem 0 2.5rem; }
@media (min-width: 768px) { .page-hero { padding: 5rem 0 3rem; } }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.coming-soon::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15), 0 0 12px rgba(34, 211, 238, 0.8);
}

/* ---------- Glass + cards ---------- */

.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(28, 42, 68, 0.62), rgba(12, 20, 36, 0.55));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 60px -30px rgba(0, 0, 0, 0.8);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass {
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
  }
}

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
  position: relative;
  padding: 1.6rem;
  background: linear-gradient(180deg, rgba(23, 34, 56, 0.8), rgba(18, 26, 43, 0.5));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-glow); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
}
.card-icon svg { width: 24px; height: 24px; }

.callout {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 1.75rem;
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(34, 211, 238, 0.14), transparent 70%),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
}
@media (min-width: 768px) { .callout { padding: 3rem; } }
.callout h2 { margin-bottom: 0.4em; }
.callout p { color: var(--text-muted); max-width: 60ch; }
.callout .btn-row { margin-top: 1.5rem; }

/* Email block */
.email-card {
  display: grid;
  gap: 0.75rem;
  max-width: 640px;
  padding: 2rem;
  background: linear-gradient(160deg, rgba(28, 42, 68, 0.7), rgba(12, 20, 36, 0.6));
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  box-shadow: var(--shadow-glow);
}
.email-card .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.email-link {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4.2vw, 1.75rem);
  font-weight: 600;
  word-break: break-word;
}

/* Prose (legal) */
.prose { max-width: 760px; }
.prose h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.6rem);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 1.75rem; font-size: 1.1rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose li::marker { color: var(--accent); }

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.legal-meta strong { color: var(--text); }

.toc {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.toc h2 {
  margin: 0 0 0.75rem !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--font-sans);
}
.toc ol { margin: 0; columns: 1; }
@media (min-width: 700px) { .toc ol { columns: 2; column-gap: 2rem; } }
.toc li { margin-bottom: 0.35rem; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.prose table {
  width: 100%;
  margin: 0 0 1.25rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.prose th, .prose td {
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.prose th { color: var(--text); font-weight: 600; background: var(--surface); }
.table-wrap { overflow-x: auto; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; max-width: 820px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-glow); }
.faq summary {
  position: relative;
  padding: 1.1rem 3rem 1.1rem 1.25rem;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: #f5f9ff;
  border-radius: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 1.25rem 1.2rem; color: var(--text-muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Not-found */
.notfound { text-align: center; padding: 6rem 0; }
.notfound .code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 8rem);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 0.5rem;
  color: transparent;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.35));
}
.notfound p { color: var(--text-muted); max-width: 48ch; margin-left: auto; margin-right: auto; }
.notfound .btn-row { justify-content: center; margin-top: 1.75rem; }

/* ======================================================================
   Story site (index.html)
   ====================================================================== */

/* ---------- Scroll reveal ----------
   Content is visible by default. Only when JS is present AND motion is
   allowed do we start hidden; a delayed CSS fallback reveals everything
   even if the reveal script never runs. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    animation: reveal-fallback 0.01s linear 2.5s forwards;
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    transition-delay: var(--d, 0s);
  }
}
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

.tag-example {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warn);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 4rem;
  isolation: isolate;
}
@media (min-width: 960px) { .hero { padding: 5rem 0 6.5rem; min-height: min(88vh, 860px); display: flex; align-items: center; } }

/* Perspective "shop floor" scan grid */
.hero-floor {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -2px;
  height: 55%;
  z-index: -1;
  pointer-events: none;
  perspective: 600px;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 95%);
  mask-image: linear-gradient(to top, #000 10%, transparent 95%);
}
.hero-floor::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.22) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: rotateX(62deg);
  transform-origin: 50% 100%;
  animation: floor-scroll 6s linear infinite;
}
.hero-floor::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.9), transparent);
  box-shadow: 0 0 18px 2px rgba(34, 211, 238, 0.45);
  animation: floor-scan 5.5s ease-in-out infinite;
  opacity: 0.8;
}
@keyframes floor-scroll { to { background-position: 0 64px, 0 0; } }
@keyframes floor-scan {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 0.9; }
  85% { opacity: 0.9; }
  100% { transform: translateY(54vh); opacity: 0; }
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: 760px;
  height: 760px;
  right: -260px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18), rgba(34, 211, 238, 0.04) 45%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 3rem; }
}
.hero h1 {
  font-size: clamp(2.6rem, 7.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 0.4em;
}
.hero h1 .line { display: block; }
.hero .lead { margin-bottom: 2rem; font-size: clamp(1.1rem, 2.1vw, 1.32rem); }
.hero .lead strong { color: #f5f9ff; }

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
@media (max-width: 959px) { .hero-visual { max-width: 420px; order: -1; } }
.hero-visual svg { width: 100%; height: 100%; overflow: visible; }

.spin, .spin-rev, .pulse, .orbit {
  transform-box: view-box;
  transform-origin: 50% 50%;
}
.spin { animation: spin 40s linear infinite; }
.spin-fast { animation-duration: 14s; }
.spin-rev { animation: spin 60s linear infinite reverse; }
.pulse { animation: pulse 4.5s ease-in-out infinite; }
.orbit { animation: spin var(--t, 24s) linear infinite; animation-delay: var(--delay, 0s); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
}
.blink { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

.hud-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: #9fe9f6;
}
.hud-small {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: #6f86a8;
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 250px;
  padding: 0.6rem 0.8rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--text);
  border-radius: 12px;
  animation: float 7s ease-in-out infinite;
}
.hero-chip .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.hero-chip.ok .dot { background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.hero-chip.c1 { left: -6%; top: -2%; max-width: 230px; }
.hero-chip.c2 { right: -6%; bottom: -4%; max-width: 230px; animation-delay: -3.5s; }
@media (max-width: 520px) {
  .hero-chip { font-size: 0.74rem; max-width: 200px; padding: 0.5rem 0.65rem; }
  .hero-chip.c1, .hero-chip.c2 { max-width: 190px; }
  .hero-chip.c1 { left: 0; top: -4%; }
  .hero-chip.c2 { right: 0; bottom: -11%; }
}
@keyframes float { 50% { transform: translateY(-8px); } }

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.25rem;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-decoration: none;
}
.hero-scroll:hover { color: var(--accent); }
.hero-scroll span[aria-hidden] {
  display: inline-block;
  width: 18px; height: 28px;
  border: 1.5px solid currentColor;
  border-radius: 10px;
  position: relative;
}
.hero-scroll span[aria-hidden]::after {
  content: "";
  position: absolute;
  left: 50%; top: 5px;
  width: 3px; height: 6px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--accent);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(9px); opacity: 0; } }

/* ---------- Pain ---------- */

.pain-head h2 { font-size: clamp(2rem, 5.4vw, 3.6rem); max-width: 16ch; }
.pain-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pain-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pain {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 20, 34, 0.35), rgba(18, 26, 43, 0.4));
  border: 1px solid rgba(251, 113, 133, 0.16);
}
.pain svg { width: 44px; height: 44px; margin-bottom: 1rem; color: #fda4af; }
.pain h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.pain p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }
.pain q {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fecdd3;
  quotes: "\201C" "\201D";
}

.pain-close {
  margin: 3rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-muted);
  max-width: 34ch;
}
.pain-close strong { color: #f5f9ff; }

/* ---------- Shift ---------- */

.shift {
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(34, 211, 238, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(8, 14, 26, 0), rgba(8, 14, 26, 0.6));
  border-top: 1px solid rgba(34, 211, 238, 0.15);
}
.shift-head h2 { font-size: clamp(2.2rem, 6vw, 4.2rem); }

.flow {
  display: grid;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 1000px) {
  .flow { grid-template-columns: 1fr 72px 220px 72px 1.25fr; gap: 0; }
}

.inputs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.inputs li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 500;
}
.inputs svg { flex: none; width: 26px; height: 26px; color: var(--accent); }
.inputs small { display: block; color: var(--text-dim); font-size: 0.82rem; font-weight: 400; }
.inputs .later {
  margin-left: auto;
  flex: none;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px dashed var(--border-strong);
}

.flow-line {
  position: relative;
  height: 44px;
  width: 2px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.1), rgba(34, 211, 238, 0.5), rgba(34, 211, 238, 0.1));
  overflow: hidden;
}
.flow-line::after {
  content: "";
  position: absolute;
  left: -2px;
  width: 6px;
  height: 14px;
  top: -14px;
  border-radius: 3px;
  background: var(--accent-strong);
  box-shadow: 0 0 12px var(--accent);
  animation: flow-v 1.8s linear infinite;
}
@keyframes flow-v { to { transform: translateY(60px); } }
@media (min-width: 1000px) {
  .flow-line { height: 2px; width: 100%; background: linear-gradient(90deg, rgba(34, 211, 238, 0.1), rgba(34, 211, 238, 0.55), rgba(34, 211, 238, 0.1)); }
  .flow-line::after { top: -2px; left: -14px; width: 14px; height: 6px; animation-name: flow-h; }
}
@keyframes flow-h { to { transform: translateX(100px); } }

.core {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}
.core svg { width: 100%; height: 100%; overflow: visible; }
.core-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: #e9fbff;
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
}
.core-label small { display: block; margin-top: 0.2rem; font-family: var(--font-sans); font-size: 0.66rem; letter-spacing: 0.16em; color: #9fe9f6; text-transform: uppercase; }

/* Repair-order card */
.ro {
  padding: 1.25rem 1.3rem 1.3rem;
  border-radius: var(--radius);
}
.ro-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.ro-id { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #f5f9ff; }
.ro-id span { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 0.88rem; color: var(--text-muted); }
.ro dl { display: grid; grid-template-columns: auto 1fr; gap: 0.45rem 1rem; margin: 0 0 1rem; font-size: 0.92rem; }
.ro dt { color: var(--text-dim); }
.ro dd { margin: 0; color: var(--text); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.status.blocked { color: #fcd34d; background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.3); }
.status.risk { color: #fda4af; background: rgba(251, 113, 133, 0.12); border: 1px solid rgba(251, 113, 133, 0.32); }
.status.ok { color: #5eead4; background: rgba(45, 212, 191, 0.1); border: 1px solid rgba(45, 212, 191, 0.3); }

.story {
  list-style: none;
  margin: 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid rgba(103, 232, 249, 0.12);
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.story li { position: relative; margin: 0; padding-left: 1.1rem; }
.story li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-deep);
}
.story li:last-child::before { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.story-title { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 0.2rem; }

.shift-foot {
  margin: 3rem auto 0;
  max-width: 60ch;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.08rem;
}

/* ---------- Five questions (HUD) ---------- */

.questions { overflow: hidden; }
.questions-head h2 { font-size: clamp(2.1rem, 5.6vw, 3.8rem); }

.hud {
  position: relative;
  display: grid;
  gap: 1rem;
  counter-reset: q;
}
@media (min-width: 720px) { .hud { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) {
  .hud {
    grid-template-columns: 1fr 330px 1fr;
    grid-template-areas:
      "q1 core q3"
      "q2 core q4"
      "q5 q5 q5";
    gap: 1.25rem 1.5rem;
    align-items: center;
  }
  .q1 { grid-area: q1; } .q2 { grid-area: q2; } .q3 { grid-area: q3; } .q4 { grid-area: q4; }
  .q5 { grid-area: q5; max-width: 560px; justify-self: center; width: 100%; }
  .hud-core { grid-area: core; }
}

.hud-core { display: none; }
@media (min-width: 1080px) { .hud-core { display: block; } }
.hud-core svg { width: 100%; height: auto; overflow: visible; }

.q {
  position: relative;
  padding: 1.5rem 1.5rem 1.4rem;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.q::before {
  /* animated scan sheen across the card */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(103, 232, 249, 0.09) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: sheen 7s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  pointer-events: none;
}
@keyframes sheen { 0%, 60% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.q:hover { border-color: rgba(103, 232, 249, 0.4); box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.15), 0 20px 50px -20px rgba(34, 211, 238, 0.45); }

.q-num {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.q-num::after { content: ""; width: 40px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.q h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.22;
  margin-bottom: 0.7rem;
}
.q p { margin: 0; color: var(--text-muted); font-size: 0.97rem; }
.q svg.q-icon { position: absolute; right: 1.1rem; top: 1.1rem; width: 30px; height: 30px; color: rgba(103, 232, 249, 0.55); }

/* ---------- Example: phone + dots ---------- */

.example { overflow: hidden; }
.example-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) { .example-grid { grid-template-columns: 400px 1fr; gap: 4rem; } }
@media (max-width: 959px) { .example-grid > figure { order: 1; } }

.phone {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(160deg, #1f2c45, #0b1220 60%);
  border: 1px solid rgba(103, 232, 249, 0.22);
  box-shadow:
    0 0 0 6px rgba(10, 16, 30, 0.9),
    0 0 0 7px rgba(103, 232, 249, 0.14),
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 90px -20px rgba(34, 211, 238, 0.35);
}
.phone-screen {
  position: relative;
  min-height: 600px;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(400px 260px at 50% 0%, rgba(34, 211, 238, 0.14), transparent 70%),
    #08101e;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  width: 110px;
  height: 28px;
  margin: 10px auto 0;
  border-radius: 20px;
  background: #02050b;
}
.phone-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(103, 232, 249, 0.1);
}
.phone-bar svg { width: 30px; height: 30px; flex: none; }
.phone-bar b { display: block; font-size: 0.9rem; color: #f5f9ff; font-weight: 600; }
.phone-bar small { display: block; font-size: 0.72rem; color: var(--teal); }
.phone-bar .tag-example { margin-left: auto; }

.chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 0.85rem 1.1rem;
  font-size: 0.86rem;
  line-height: 1.45;
}
.msg {
  max-width: 88%;
  padding: 0.6rem 0.8rem;
  border-radius: 16px;
}
.msg.me {
  align-self: flex-end;
  background: linear-gradient(135deg, #22d3ee, #0ea5c4);
  color: #03121a;
  font-weight: 500;
  border-bottom-right-radius: 5px;
}
.msg.ai {
  align-self: flex-start;
  background: rgba(30, 44, 70, 0.85);
  border: 1px solid rgba(103, 232, 249, 0.14);
  color: var(--text);
  border-bottom-left-radius: 5px;
}
.msg.ai p { margin: 0 0 0.45rem; }
.msg.ai p:last-child { margin: 0; }
.msg .who { display: block; margin-bottom: 0.2rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.mini-ro {
  margin: 0.45rem 0;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  background: rgba(8, 14, 26, 0.6);
  border-left: 3px solid var(--danger);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.mini-ro.warn { border-left-color: var(--warn); }
.mini-ro.ok { border-left-color: var(--teal); }
.mini-ro b { display: block; color: #f5f9ff; font-weight: 600; }

.typing {
  align-self: flex-start;
  display: none;
  gap: 4px;
  padding: 0.7rem 0.85rem;
  border-radius: 16px;
  background: rgba(30, 44, 70, 0.85);
}
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: typing 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: 0.4; } }

/* Sequenced chat: only hidden once story.js opts in (has-seq) */
.has-seq [data-seq] .seq:not(.on) { display: none; }
.has-seq [data-seq] .seq.on { animation: msg-in 0.5s var(--ease-out); }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } }
.has-seq [data-seq] .typing.on { display: inline-flex; }

.example-copy h2 { font-size: clamp(2rem, 5vw, 3.3rem); }

/* Connect-the-dots */
.dots {
  display: grid;
  gap: 0;
  margin-top: 2rem;
}
.dot-step {
  position: relative;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  font-size: 0.95rem;
}
.dot-step .step-k {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.dot-step p { margin: 0; color: var(--text); }
.dot-step .quote { font-style: italic; color: #dbeafe; }
.dot-step.alert { border-color: rgba(251, 113, 133, 0.35); background: linear-gradient(160deg, rgba(60, 22, 40, 0.5), rgba(18, 20, 36, 0.55)); }
.dot-step.alert .step-k { color: #fda4af; }
.dot-link {
  position: relative;
  height: 34px;
  width: 2px;
  margin-left: 2rem;
  background: repeating-linear-gradient(180deg, var(--accent) 0 5px, transparent 5px 10px);
  background-size: 2px 20px;
  animation: dash-v 0.8s linear infinite;
  opacity: 0.8;
}
.dot-link::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -3px;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
@keyframes dash-v { to { background-position: 0 20px; } }

/* ---------- Voice ---------- */

.voice {
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 15% 50%, rgba(34, 211, 238, 0.10), transparent 70%),
    rgba(8, 14, 26, 0.35);
  border-top: 1px solid rgba(34, 211, 238, 0.12);
  border-bottom: 1px solid rgba(34, 211, 238, 0.12);
}
.voice-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .voice-grid { grid-template-columns: 1fr 400px; gap: 4rem; } }
.voice-copy h2 { font-size: clamp(2rem, 5vw, 3.3rem); }

.voice-points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .voice-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.voice-points li {
  margin: 0;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  color: var(--text-muted);
  font-size: 0.97rem;
}
.voice-points svg { width: 26px; height: 26px; margin-bottom: 0.6rem; color: var(--accent); }
.voice-points strong { display: block; margin-bottom: 0.2rem; font-size: 1.02rem; }

.listen {
  margin: 1.25rem 0.85rem 0.5rem;
  padding: 1.1rem 1rem 1rem;
  border-radius: 20px;
  background: rgba(14, 24, 42, 0.85);
  border: 1px solid rgba(103, 232, 249, 0.18);
  text-align: center;
}
.listen-k {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.listen-k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 10px var(--danger); animation: blink 1.2s ease-in-out infinite; }

.wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 64px;
  margin: 0.8rem 0 0.6rem;
}
.wave i {
  display: block;
  width: 4px;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent-deep));
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.5);
  transform: scaleY(var(--h, 0.4));
  animation: wave 1.1s ease-in-out infinite;
  animation-delay: var(--w, 0s);
}
@keyframes wave {
  0%, 100% { transform: scaleY(var(--h, 0.4)); }
  50% { transform: scaleY(calc(var(--h, 0.4) * 0.3 + 0.08)); }
}
.transcript { margin: 0; font-size: 0.9rem; color: #e6f7fb; line-height: 1.5; }
.transcript::before { content: "\201C"; color: var(--accent); }
.transcript::after { content: "\201D"; color: var(--accent); }

.mic {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: auto auto 1.4rem;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--accent-strong), var(--accent-deep));
  color: #03121a;
  box-shadow: 0 0 0 8px rgba(34, 211, 238, 0.12), 0 0 0 16px rgba(34, 211, 238, 0.06), 0 0 30px rgba(34, 211, 238, 0.6);
  animation: mic 2.4s ease-in-out infinite;
}
.mic svg { width: 28px; height: 28px; }
@keyframes mic {
  50% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0.16), 0 0 0 24px rgba(34, 211, 238, 0.05), 0 0 40px rgba(34, 211, 238, 0.7); }
}

.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.45rem; }
.chips span {
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #b9f3fc;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.22);
}
.chips span.hot { color: #fcd34d; background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); }

/* ---------- Origin + privacy ---------- */

.origin-card {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 1.75rem;
  border-radius: 22px;
  text-align: center;
}
@media (min-width: 768px) { .origin-card { padding: 4rem 3rem; } }
.origin-card svg.origin-art { width: 92px; height: 92px; margin: 0 auto 1.5rem; }
.origin-card h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); max-width: 22ch; margin-left: auto; margin-right: auto; }
.origin-card p { max-width: 58ch; margin-left: auto; margin-right: auto; color: var(--text-muted); font-size: 1.1rem; }
.origin-card .eyebrow { justify-content: center; }

.privacy-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .privacy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.privacy-grid article { padding: 1.6rem; border-radius: var(--radius); }
.privacy-grid svg { width: 40px; height: 40px; margin-bottom: 1rem; color: var(--accent); }
.privacy-grid h3 { margin-bottom: 0.45rem; }
.privacy-grid p { margin: 0; color: var(--text-muted); }
.privacy-more { margin: 1.75rem 0 0; color: var(--text-muted); }

/* ---------- Vision ---------- */

.vision {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 7rem;
  text-align: center;
  isolation: isolate;
}
@media (min-width: 768px) { .vision { padding: 9rem 0 10rem; } }
.vision-ring {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(820px, 150vw);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  opacity: 0.55;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, #000 45%, transparent 68%);
  mask-image: radial-gradient(circle, #000 45%, transparent 68%);
}
.vision-ring svg { width: 100%; height: 100%; }
.vision h2 {
  font-size: clamp(2.4rem, 7.4vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin: 0 auto 0.5em;
}
.vision .lead { margin: 0 auto 2.25rem; }
.vision .eyebrow { justify-content: center; }
.vision .btn-row { justify-content: center; }
.vision .coming-soon { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 3rem 0 2.5rem;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.95rem;
}
main + .site-footer { margin-top: 2rem; }
.story-page main + .site-footer { margin-top: 0; }
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand p { margin: 0.9rem 0 0; max-width: 40ch; }
.site-footer h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }
