/* ═════════════════════════════════════════════════════════ */
/*       INTERACTIVE AI CHAT  (the hero is a live demo)      */
/* ═════════════════════════════════════════════════════════ */

.ai-chat {
  margin: 56px auto 0;
  max-width: 1080px;
  perspective: 1600px;
  text-align: left;
}
.ai-chat-frame {
  position: relative;
  border-radius: 24px;
  background:
    radial-gradient(700px 240px at 50% -10%, rgba(167,139,250,0.20), transparent 70%),
    linear-gradient(180deg, #14141a 0%, #0a0a0d 100%);
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 60px 140px -30px rgba(0,0,0,0.85),
    0 0 0 1px rgba(167,139,250,0.06),
    0 30px 80px -20px rgba(167,139,250,0.20);
  transform: rotateX(2deg);
  transition: box-shadow 400ms cubic-bezier(0.22,1,0.36,1);
}
.ai-chat-frame::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(167,139,250,0.40) 0%,
    rgba(34,211,238,0.20) 50%,
    rgba(244,114,182,0.18) 100%);
  -webkit-mask:
    linear-gradient(#000,#000) content-box,
    linear-gradient(#000,#000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.5;
}
.ai-chat.is-thinking .ai-chat-frame {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 60px 140px -30px rgba(0,0,0,0.85),
    0 0 0 1px rgba(167,139,250,0.20),
    0 30px 100px -10px rgba(167,139,250,0.45);
}

/* top bar */
.ai-chat-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.015);
}
.ai-chat-bar .dots span {
  display: inline-block;
  width: 11px; height: 11px; border-radius: 50%;
  margin-right: 5px;
}
.ai-chat-bar .dots span:nth-child(1) { background: #ff5f57; }
.ai-chat-bar .dots span:nth-child(2) { background: #febc2e; }
.ai-chat-bar .dots span:nth-child(3) { background: #28c840; }
.ai-chat-bar .title {
  color: var(--fg-dim);
  font-size: 12.5px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 4px;
}
.ai-chat-bar .pill {
  margin-left: auto;
  padding: 4px 12px;
  background: rgba(34,211,238,0.10);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 999px;
  border: 1px solid rgba(34,211,238,0.30);
  font-family: "Space Grotesk", "Inter", sans-serif;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.ai-chat-bar .pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 6px var(--accent-2);
}
.ai-chat.is-thinking .ai-chat-bar .pill {
  background: rgba(167,139,250,0.12);
  color: var(--accent-1);
  border-color: rgba(167,139,250,0.35);
}
.ai-chat.is-thinking .ai-chat-bar .pill::before {
  background: var(--accent-1);
  box-shadow: 0 0 8px var(--accent-1);
  animation: chat-pulse 1.2s ease-in-out infinite;
}
@keyframes chat-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.4); }
}

/* input area */
.ai-chat-input-wrap {
  padding: 36px 32px 28px;
  display: grid; gap: 18px;
  transition: opacity 320ms var(--ease), transform 320ms var(--ease),
              padding 320ms var(--ease), max-height 320ms var(--ease);
  max-height: 600px;
  overflow: hidden;
}
.ai-chat.is-responded .ai-chat-input-wrap {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}
.ai-chat-hint {
  font-size: 13px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
  text-align: center;
  font-family: "Space Grotesk", "Inter", sans-serif;
}
.ai-chat-input {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease),
              background 240ms var(--ease);
}
.ai-chat-input:focus-within {
  border-color: rgba(167,139,250,0.55);
  background: rgba(167,139,250,0.06);
  box-shadow:
    0 0 0 4px rgba(167,139,250,0.10),
    0 8px 30px -10px rgba(167,139,250,0.35);
}
.ai-chat-mini-orb {
  flex: 0 0 30px;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  filter: drop-shadow(0 0 8px rgba(167,139,250,0.55));
}
.ai-chat-input input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 12px 4px;
  color: var(--fg);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  letter-spacing: -0.01em;
  min-width: 0;
}
.ai-chat-input input::placeholder { color: var(--fg-mute); }
.ai-chat-input input::selection { background: var(--accent-1); color: #0a0a0c; }
.ai-chat-kbd {
  font-family: "Space Grotesk", "Inter", monospace;
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--fg-dim);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.ai-chat-send {
  flex: 0 0 40px;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #0a0a0c;
  cursor: pointer;
  transition: transform 200ms var(--ease), filter 200ms var(--ease);
  font: inherit;
}
.ai-chat-send:hover { transform: translateY(-1px) scale(1.05); filter: brightness(1.1); }
.ai-chat-send:active { transform: translateY(0) scale(0.98); }
.ai-chat-send:disabled { opacity: 0.6; cursor: wait; }

/* suggestion chips */
.ai-chat-chips {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.ai-chip {
  padding: 9px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  color: var(--fg-dim);
  font-size: 13px;
  font-family: "Inter", system-ui, sans-serif;
  cursor: pointer;
  transition: all 200ms var(--ease);
}
.ai-chip:hover {
  background: rgba(167,139,250,0.10);
  border-color: rgba(167,139,250,0.40);
  color: var(--fg);
  transform: translateY(-1px);
}

/* response area */
.ai-chat-response {
  display: none;
  padding: 28px 32px 32px;
}
.ai-chat.is-responded .ai-chat-response {
  display: block;
  animation: chat-response-in 480ms cubic-bezier(0.22,1,0.36,1);
}
@keyframes chat-response-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.ai-chat-q {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ai-chat-q .av {
  flex: 0 0 32px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2a32, #14141a);
  border: 1px solid rgba(255,255,255,0.10);
  display: grid; place-items: center;
  font-size: 9px;
  font-family: "Space Grotesk", monospace;
  font-weight: 600;
  color: var(--fg-dim);
  letter-spacing: 0.10em;
}
.ai-chat-q p {
  margin: 4px 0 0;
  font-size: 16px;
  color: var(--fg);
  line-height: 1.5;
  font-weight: 500;
}

.ai-chat-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.ai-chat-cols .stream-col {
  padding: 18px 18px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 0;
}
.ai-chat-cols .stream-col header {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
  font-family: "Space Grotesk", "Inter", sans-serif;
}
.ai-chat-cols .stream-col header::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px var(--c);
}
.ai-chat-cols .stream-col[data-c="violet"] { --c: #a78bfa; }
.ai-chat-cols .stream-col[data-c="cyan"]   { --c: #22d3ee; }
.ai-chat-cols .stream-col[data-c="pink"]   { --c: #f472b6; }
.ai-chat-cols .stream-col p {
  margin: 0;
  font-size: 13.5px;
  color: var(--fg-dim);
  line-height: 1.65;
  min-height: 6em;
}
.ai-chat-cols .stream-col p.typing::after {
  content: "▍";
  display: inline-block;
  margin-left: 2px;
  color: var(--c);
  animation: caret 1s steps(1) infinite;
}

.ai-chat-synth {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(167,139,250,0.10), rgba(34,211,238,0.04));
  border: 1px solid rgba(167,139,250,0.30);
  border-radius: 14px;
  margin-bottom: 18px;
}
.ai-chat-synth .syn-ico {
  flex: 0 0 32px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  filter: drop-shadow(0 0 6px rgba(167,139,250,0.6));
}
.ai-chat-synth .syn-body { flex: 1; }
.ai-chat-synth .syn-body b {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 6px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
}
.ai-chat-synth .syn-body p {
  margin: 0;
  font-size: 14.5px;
  color: var(--fg);
  line-height: 1.6;
}
.ai-chat-synth .syn-body p.typing::after {
  content: "▍";
  display: inline-block;
  margin-left: 2px;
  color: var(--accent-1);
  animation: caret 1s steps(1) infinite;
}

.ai-chat-reset {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--fg-dim);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms var(--ease);
}
.ai-chat-reset:hover {
  color: var(--fg);
  border-color: var(--fg-dim);
  transform: translateY(-1px);
}

.ai-chat-footnote {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--fg-mute);
  letter-spacing: 0.02em;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

/* ───────────── cursor companion orb (mouse-follower) ───────────── */
.cursor-orb {
  position: fixed;
  width: 26px; height: 26px;
  pointer-events: none;
  z-index: 60;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 8px rgba(167,139,250,0.5));
  transition: opacity 300ms var(--ease), transform 100ms var(--ease);
  opacity: 0;
}
.cursor-orb.on { opacity: 0.9; }
@media (hover: none) { .cursor-orb { display: none; } }

/* ───────────── command palette (Cmd+K) ───────────── */
.cmdk-backdrop {
  position: fixed; inset: 0;
  z-index: 90;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 14vh 20px 0;
}
.cmdk-backdrop.on { display: flex; animation: cmdk-fade 200ms var(--ease); }
@keyframes cmdk-fade { from { opacity: 0; } to { opacity: 1; } }
.cmdk-panel {
  width: 100%;
  max-width: 580px;
  background: linear-gradient(180deg, #16161b 0%, #0c0c10 100%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 50px 120px -20px rgba(0,0,0,0.85),
    0 0 0 1px rgba(167,139,250,0.10);
  animation: cmdk-rise 220ms var(--ease);
}
@keyframes cmdk-rise {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: none; }
}
.cmdk-input {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.cmdk-input::before {
  content: "⌘";
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  color: var(--accent-1);
  font-weight: 600;
}
.cmdk-input input {
  flex: 1;
  background: transparent; border: 0; outline: 0;
  color: var(--fg);
  font-size: 16px;
  font-family: "Inter", sans-serif;
}
.cmdk-input input::placeholder { color: var(--fg-mute); }
.cmdk-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  max-height: 56vh;
  overflow: auto;
}
.cmdk-list li a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--fg);
  font-size: 14.5px;
  cursor: pointer;
  transition: background 160ms var(--ease);
}
.cmdk-list li a:hover, .cmdk-list li.is-sel a {
  background: rgba(167,139,250,0.12);
}
.cmdk-list li .k {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--fg-mute);
  font-family: "Space Grotesk", monospace;
}
.cmdk-list li.is-section {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-mute);
  padding: 12px 14px 6px;
  font-weight: 600;
}
.cmdk-hint {
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  color: var(--fg-mute);
  font-size: 11.5px;
  display: flex; gap: 14px;
  background: rgba(255,255,255,0.015);
}
.cmdk-hint kbd {
  font-family: "Space Grotesk", monospace;
  font-size: 10.5px;
  padding: 2px 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--fg-dim);
  margin-right: 4px;
}

/* responsive */
@media (max-width: 700px) {
  .ai-chat-cols { grid-template-columns: 1fr; }
  .ai-chat-input-wrap { padding: 24px 18px 22px; }
  .ai-chat-response { padding: 22px 18px 24px; }
  .ai-chat-kbd { display: none; }
}

/* ───────────────────── ORA — design tokens ───────────────────── */
:root {
  --bg: #000;
  --bg-1: #0a0a0c;
  --bg-2: #111114;
  --fg: #f5f5f7;
  --fg-dim: #a1a1a8;
  --fg-mute: #6b6b73;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --accent-1: #a78bfa;
  --accent-2: #22d3ee;
  --accent-3: #f472b6;
  --accent-grad: linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 30px 80px -20px rgba(167, 139, 250, 0.25);
  --container: 1180px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-feature-settings: "ss01", "ss02", "cv11", "cv12";
}

/* ───────────────────── reset ───────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); color: var(--fg); overflow-x: hidden; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}
@supports (font-variation-settings: normal) {
  body { font-family: "Inter var", "Inter", system-ui, sans-serif; }
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Global keyboard focus ring — visible in both themes. Uses :where() so component
   focus styles can still override it. Fixes WCAG 2.4.7 across nav, CTAs, chips, etc. */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent-1);
  outline-offset: 3px;
  border-radius: 5px;
}

::selection { background: var(--accent-1); color: #0a0a0c; }

/* ChatGPT-style scrollbars: thin, quiet, and trackless across the site. */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 245, 247, 0.28) transparent;
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 245, 247, 0.24) transparent;
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track {
  background: transparent !important;
  box-shadow: none !important;
}
*::-webkit-scrollbar-thumb {
  min-height: 44px;
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(245, 245, 247, 0.24);
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 245, 247, 0.38);
  background-clip: padding-box;
}
*::-webkit-scrollbar-corner {
  background: transparent;
}
html[data-theme="light"],
html[data-theme="light"] * {
  scrollbar-color: rgba(24, 24, 27, 0.24) transparent;
}
html[data-theme="light"] *::-webkit-scrollbar-track {
  background: transparent !important;
  box-shadow: none !important;
}
html[data-theme="light"] *::-webkit-scrollbar-thumb {
  background: rgba(24, 24, 27, 0.24);
  background-clip: padding-box;
}
html[data-theme="light"] *::-webkit-scrollbar-thumb:hover {
  background: rgba(24, 24, 27, 0.38);
  background-clip: padding-box;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--fg); color: var(--bg);
  padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 16px; top: 16px; z-index: 100; }

/* ───────────────────── reading progress bar ───────────────────── */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 110;
  background: transparent;
  pointer-events: none;
}
.reading-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--accent-grad);
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.6);
  transform-origin: left;
  transition: width 80ms linear;
}

/* ───────────────────── back to top ───────────────────── */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  color: var(--fg);
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 320ms var(--ease), transform 320ms var(--ease),
    visibility 320ms, border-color 200ms ease, background 200ms ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  border-color: var(--accent-1);
  background: rgba(30, 30, 38, 0.9);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--accent-1);
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .back-to-top { right: 16px; bottom: 16px; width: 40px; height: 40px; }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Large screens / TVs: the fixed 1180px container becomes a tiny island on
      1440p+ and 4K displays. Scale the whole page up proportionally (px text
      included) so it fills the screen and stays legible from couch distance.
      Conservative thresholds — ordinary ≤1920px desktops/laptops are untouched. ── */
@media (min-width: 2000px) {
  :root { --container: 1320px; }
  html { zoom: 1.18; }
}
@media (min-width: 2560px) {
  :root { --container: 1480px; }
  html { zoom: 1.4; }
}
@media (min-width: 3400px) {
  html { zoom: 1.85; } /* 4K / 8K TVs viewed from a distance */
}

/* ───────────────────── typography ───────────────────── */
/* Apple-grade typography — SF Pro Display chain, Semibold (not Bold) on display,
   tight negative tracking on large text, generous tracking on small caps. */
.eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Inter", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--fg-dim);
  margin: 0 0 20px;
  font-weight: 590;
  font-feature-settings: "ss01", "cv11";
}
.display {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Inter var", "Inter", system-ui, sans-serif;
  font-size: clamp(48px, 8.6vw, 120px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  font-weight: 600;
  margin: 0 0 28px;
  background: linear-gradient(180deg, #ffffff 0%, #c9c9d1 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-feature-settings: "ss01", "cv11", "kern";
  text-wrap: balance;
}
.display-sm {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Inter var", "Inter", system-ui, sans-serif;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  font-weight: 600;
  margin: 0 0 22px;
  font-feature-settings: "ss01";
  text-wrap: balance;
}
.h2 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Inter var", "Inter", system-ui, sans-serif;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.07;
  letter-spacing: -0.022em;
  font-weight: 600;
  margin: 0 0 22px;
  font-feature-settings: "ss01";
  text-wrap: balance;
}
.h2.center { text-align: center; }
.body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Inter var", "Inter", system-ui, sans-serif;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.003em;
  color: var(--fg-dim);
  max-width: 60ch;
  margin: 0 0 28px;
  font-weight: 400;
}
.body.center { margin-left: auto; margin-right: auto; text-align: center; }
.lede {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Inter var", "Inter", system-ui, sans-serif;
  font-size: clamp(19px, 1.65vw, 25px);
  line-height: 1.4;
  letter-spacing: -0.011em;
  color: var(--fg-dim);
  max-width: 60ch;
  margin: 0 0 36px;
  font-weight: 400;
}
.lede-tight { max-width: 56ch; }
.micro { color: var(--fg-mute); font-size: 13px; margin: 22px 0 0; }
.micro a { color: var(--fg-dim); text-decoration: underline; text-underline-offset: 3px; }

/* ───────────────────── nav ───────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 50;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.nav.is-scrolled {
  background: rgba(0, 0, 0, 0.78);
  border-bottom-color: var(--line);
}
.nav-inner {
  height: 100%;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(22px, 4vw, 56px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(20px, 3vw, 44px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  /* Brand book: thin SF Pro Display, wider tracking — "ORA" reads like the lockup */
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Inter", system-ui, sans-serif;
  font-weight: 300; letter-spacing: 0.18em; font-size: 16px;
  text-transform: uppercase;
}
.brand-logo-img {
  display: block;
  width: 126px;
  height: auto;
  flex: 0 0 auto;
  filter:
    drop-shadow(0 0 8px rgba(124, 58, 237, 0.32))
    drop-shadow(0 0 14px rgba(34, 211, 238, 0.20));
  transition: filter 180ms var(--ease), transform 180ms var(--ease);
}
/* Per-theme logo, toggled purely in CSS (no JS swap → no refresh flash).
   data-theme is set before first paint, so the correct logo is the only one ever painted. */
.brand-logo--light { display: none; }
html[data-theme="light"] .brand-logo--dark { display: none; }
html[data-theme="light"] .brand-logo--light { display: block; }
/* the light SVG is already dark-inked for white nav — drop the dark-mode glow */
html[data-theme="light"] .brand-logo-img {
  filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.18));
}
.brand-lockup:hover .brand-logo-img,
.brand-lockup:focus-visible .brand-logo-img {
  transform: translateY(-1px);
  filter:
    drop-shadow(0 0 16px rgba(124, 58, 237, 0.86))
    drop-shadow(0 0 30px rgba(34, 211, 238, 0.58))
    drop-shadow(0 0 54px rgba(34, 211, 238, 0.30));
}
.brand-logo-mark {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  height: 40px;
  margin-right: 12px;
}
.brand-o {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: 0 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 27% 21%, rgba(255, 255, 255, 0.28) 0 4%, transparent 12%),
    radial-gradient(circle at 46% 86%, rgba(34, 211, 238, 0.95) 0 11%, transparent 28%),
    conic-gradient(from 226deg, #6d28d9 0deg, #8b5cf6 30deg, #d946ef 58deg, #d8c8ff 84deg, #8b5cf6 118deg, #2563eb 204deg, #22d3ee 286deg, #06b6d4 318deg, #6d28d9 360deg);
  filter:
    drop-shadow(0 0 10px rgba(124, 58, 237, 0.82))
    drop-shadow(0 0 19px rgba(34, 211, 238, 0.48));
  box-shadow:
    inset 3px 4px 7px rgba(255, 255, 255, 0.42),
    inset -7px -7px 12px rgba(2, 7, 18, 0.72),
    inset 0 -5px 9px rgba(34, 211, 238, 0.30),
    0 0 20px rgba(124, 58, 237, 0.52),
    0 0 30px rgba(34, 211, 238, 0.24);
  transform: translateZ(0);
}
.brand-o::before {
  content: "";
  position: absolute;
  inset: 8.5px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 34% 25%, rgba(31, 20, 76, 0.48), transparent 44%),
    radial-gradient(circle at 60% 76%, rgba(34, 211, 238, 0.10), transparent 42%),
    #040713;
  box-shadow:
    inset 0 0 11px rgba(0, 0, 0, 0.96),
    inset 2px 2px 6px rgba(124, 58, 237, 0.12),
    0 0 4px rgba(255, 255, 255, 0.22);
  z-index: 1;
}
.brand-o::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: none;
  border: 2px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.66);
  border-left-color: rgba(255, 255, 255, 0.20);
  border-right-color: rgba(34, 211, 238, 0.24);
  mix-blend-mode: screen;
  opacity: 0.68;
  z-index: 2;
  animation: logo-ring-spin 6.8s linear infinite;
}
.brand-mark-letters {
  display: block;
  width: 78px;
  height: auto;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.18));
}
.brand-lockup:hover .brand-o,
.brand-lockup:focus-visible .brand-o {
  filter:
    drop-shadow(0 0 12px rgba(124, 58, 237, 0.95))
    drop-shadow(0 0 24px rgba(34, 211, 238, 0.62))
    drop-shadow(0 0 42px rgba(34, 211, 238, 0.30));
}
.footer-logo .brand-logo-img {
  width: 108px;
  filter:
    drop-shadow(0 0 12px rgba(124, 58, 237, 0.40))
    drop-shadow(0 0 22px rgba(34, 211, 238, 0.24));
}
.footer-logo .brand-logo-mark { height: 34px; margin-right: 0; }
.footer-logo .brand-o {
  width: 34px;
  height: 34px;
}
.footer-logo .brand-mark-letters {
  width: 66px;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 2.4vw, 34px);
  margin-left: 0;
  font-size: 14px;
  color: var(--fg-dim);
  min-width: 0;
}
.nav-actions {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.nav-links a { transition: color 150ms var(--ease); }
.nav-links a:hover { color: var(--fg); }

/* ───────────────────── buttons ───────────────────── */
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  background: var(--fg);
  color: #0a0a0c;
  border: 0;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease),
    background 200ms var(--ease);
  white-space: nowrap;
}
.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px -10px rgba(255, 255, 255, 0.25);
}
.cta-sm { padding: 9px 16px; font-size: 13.5px; }
.cta-lg { padding: 18px 32px; font-size: 16px; }
.cta-block { display: flex; justify-content: center; width: 100%; }
.cta:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}
.pay-stack {
  display: grid;
  gap: 10px;
  margin: 12px -6px -6px;
  padding: 6px;
  border-radius: 28px;
  cursor: pointer;
}
.pay-stack button { width: 100%; }
.micro-link {
  display: inline-flex;
  justify-content: center;
  color: var(--fg-dim);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.checkout-status {
  width: min(680px, 100%);
  margin: 16px auto 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(167,139,250,.26);
  background: rgba(14,18,32,.72);
  color: var(--fg-dim);
  font-size: 14px;
  text-align: center;
}
.checkout-status[data-kind="success"] {
  border-color: rgba(52,211,153,.38);
  color: #bbf7d0;
  background: rgba(52,211,153,.10);
}
.checkout-status[data-kind="warn"] {
  border-color: rgba(251,191,36,.38);
  color: #fde68a;
  background: rgba(251,191,36,.10);
}
.checkout-status[data-kind="error"] {
  border-color: rgba(248,113,113,.38);
  color: #fecaca;
  background: rgba(248,113,113,.10);
}
.ora-modal-open { overflow: hidden; }
.ora-checkout-modal[hidden] { display: none !important; }
.ora-checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.ora-checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(18px);
}
.ora-checkout-sheet {
  position: relative;
  --fg: #f8fafc;
  --fg-dim: rgba(235, 239, 255, .72);
  --fg-mute: rgba(235, 239, 255, .52);
  color: var(--fg);
  width: min(620px, 100%);
  max-height: min(780px, calc(100dvh - 32px));
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(245, 245, 247, .26) transparent;
  border: 1px solid rgba(167, 139, 250, .28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 14% 4%, rgba(167, 139, 250, .25), transparent 34%),
    radial-gradient(circle at 100% 16%, rgba(34, 211, 238, .15), transparent 34%),
    linear-gradient(145deg, rgba(18, 21, 36, .98), rgba(9, 12, 22, .98));
  box-shadow: 0 36px 100px rgba(0, 0, 0, .56), inset 0 1px 0 rgba(255,255,255,.08);
  padding: 28px;
}
.ora-checkout-sheet::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.ora-checkout-sheet::-webkit-scrollbar-track {
  background: transparent !important;
}
.ora-checkout-sheet::-webkit-scrollbar-thumb {
  min-height: 42px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(245, 245, 247, .24);
  background-clip: padding-box;
}
.ora-checkout-sheet::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 245, 247, .38);
  background-clip: padding-box;
}
.ora-checkout-x {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--fg);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.ora-checkout-copy { padding-right: 44px; }
.ora-checkout-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34,211,238,.10);
  border: 1px solid rgba(34,211,238,.22);
  color: #67e8f9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.ora-checkout-copy h2 {
  margin: 14px 0 8px;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -.04em;
}
.ora-checkout-copy p,
.ora-checkout-footnote {
  margin: 0;
  color: var(--fg-dim);
  line-height: 1.55;
}
.ora-checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
}
.ora-checkout-summary span,
.ora-checkout-form label > span {
  display: block;
  color: var(--fg-mute);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.ora-checkout-summary b {
  display: block;
  margin-top: 5px;
  color: var(--fg);
  font-size: 18px;
}
.ora-checkout-summary small {
  display: block;
  margin-top: 5px;
  color: var(--fg-dim);
  font-size: 12px;
  line-height: 1.35;
}
.ora-checkout-summary strong {
  flex: 0 0 auto;
  font-size: 22px;
  letter-spacing: -.03em;
  color: #e0f2fe;
}
.ora-checkout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ora-checkout-form label { min-width: 0; }
.ora-checkout-form label > span b { color: #67e8f9; }
.ora-checkout-form input[type="email"],
.ora-checkout-form input[type="text"] {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background: rgba(6, 8, 16, .54);
  color: var(--fg);
  font: inherit;
  outline: none;
}
.ora-checkout-form input:focus {
  border-color: rgba(34,211,238,.44);
  box-shadow: 0 0 0 4px rgba(34,211,238,.09);
}
.ora-checkout-consent,
.ora-checkout-error,
.ora-checkout-actions,
.ora-checkout-footnote {
  grid-column: 1 / -1;
}
.ora-checkout-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}
.ora-checkout-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #22d3ee;
}
.ora-checkout-consent span {
  color: var(--fg-dim);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}
.ora-checkout-error {
  margin: 0;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(248,113,113,.34);
  background: rgba(248,113,113,.10);
  color: #fecaca;
  font-size: 13px;
}
.ora-checkout-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 2px;
}
.ora-checkout-footnote {
  font-size: 12px;
  text-align: center;
}
@media (max-width: 640px) {
  .ora-checkout-modal { align-items: end; padding: 10px; }
  .ora-checkout-sheet {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 24px;
    padding: 22px;
  }
  .ora-checkout-copy { padding-right: 38px; }
  .ora-checkout-summary {
    align-items: flex-start;
    flex-direction: column;
  }
  .ora-checkout-summary strong { font-size: 20px; }
  .ora-checkout-form { grid-template-columns: 1fr; }
  .ora-checkout-actions {
    flex-direction: column-reverse;
  }
  .ora-checkout-actions .cta {
    width: 100%;
    justify-content: center;
  }
}
.cta.ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-2);
}
.cta.ghost:hover { background: rgba(255, 255, 255, 0.05); box-shadow: none; }
.ghost-block { background: transparent !important; color: var(--fg) !important;
  border: 1px solid var(--line-2); }
.ghost {
  color: var(--fg-dim);
  font-size: 15px;
  font-weight: 500;
  transition: color 150ms var(--ease);
}
.ghost:hover { color: var(--fg); }
.cta-glyph {
  display: inline-block; width: 14px; height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 3v12m0 0l-5-5m5 5l5-5M5 21h14'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 3v12m0 0l-5-5m5 5l5-5M5 21h14'/></svg>") center/contain no-repeat;
}

/* ───────────────────── hero ───────────────────── */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
}
.orb-1 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, #a78bfa 0%, transparent 60%);
  top: -180px; left: -120px;
}
.orb-2 {
  width: 720px; height: 720px;
  background: radial-gradient(circle, #22d3ee 0%, transparent 60%);
  top: -120px; right: -200px;
  opacity: 0.45;
}
.hero-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, transparent 0%, var(--bg) 90%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 80px);
}
.hero-inner { position: relative; text-align: center; }
.hero h1 {
  text-align: center;
  margin-inline: auto;
  max-width: 900px;
  font-size: clamp(48px, 7.4vw, 104px);
}
.hero .lede { margin-inline: auto; }
.hero-cta {
  display: flex; gap: 18px; justify-content: center; align-items: center;
  margin-bottom: 60px; flex-wrap: wrap;
}

.brand-proof {
  position: relative;
  padding: 28px 0 92px;
  background:
    radial-gradient(circle at 18% 10%, rgba(167, 139, 250, 0.14), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.10), transparent 30%),
    var(--bg);
}
.brand-proof-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 38px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brand-proof h2 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  color: var(--fg);
}
.brand-proof p {
  max-width: 680px;
  margin: 0;
  color: var(--fg-dim);
  font-size: 1rem;
  line-height: 1.7;
}
.brand-proof-grid {
  display: grid;
  gap: 10px;
}
.brand-proof-link {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  color: var(--fg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 160ms var(--ease), border-color 160ms var(--ease), background 160ms var(--ease);
}
.brand-proof-link:hover,
.brand-proof-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.42);
  background: linear-gradient(135deg, rgba(167,139,250,0.14), rgba(34,211,238,0.08));
}
.brand-proof-link span {
  color: var(--fg-mute);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand-proof-link strong {
  color: var(--fg);
  font-size: 1rem;
}

@media (max-width: 860px) {
  .brand-proof {
    padding: 18px 0 68px;
  }
  .brand-proof-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .brand-proof h2 {
    font-size: clamp(28px, 9vw, 38px);
  }
  .brand-proof-link {
    padding: 14px 15px;
  }
}

.hero-shot {
  margin: 40px auto 0;
  max-width: 1080px;
  perspective: 1400px;
}
.hero-shot-frame {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #16161a 0%, #0c0c0f 100%);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-1),
    0 80px 160px -40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transform: rotateX(2deg);
}
.hero-shot-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.hero-shot-titlebar span {
  width: 12px; height: 12px; border-radius: 50%;
  background: #2c2c33;
}
.hero-shot-titlebar span:nth-child(1) { background: #ff5f57; }
.hero-shot-titlebar span:nth-child(2) { background: #febc2e; }
.hero-shot-titlebar span:nth-child(3) { background: #28c840; }
.hero-shot-titlebar em {
  margin-left: 14px; font-style: normal; color: var(--fg-mute); font-size: 13px;
}
.hero-shot-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 480px;
}
.shot-sidebar {
  border-right: 1px solid var(--line);
  padding: 18px 12px;
  background: rgba(255, 255, 255, 0.015);
}
.shot-row {
  padding: 10px 14px; border-radius: 10px;
  color: var(--fg-dim); font-size: 13.5px;
  margin-bottom: 4px;
}
.shot-row.active {
  background: linear-gradient(135deg, rgba(167,139,250,0.18), rgba(34,211,238,0.12));
  color: var(--fg);
}
.shot-main { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.shot-bubble {
  align-self: flex-end;
  background: var(--fg);
  color: #0a0a0c;
  padding: 12px 18px;
  border-radius: 18px 18px 4px 18px;
  font-size: 14.5px;
  max-width: 75%;
}
.shot-providers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.shot-prov {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px 16px;
  font-size: 13px;
  color: var(--fg-dim);
  position: relative;
  overflow: hidden;
}
.shot-prov::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--c, var(--accent-1));
}
.shot-prov[data-c="#a78bfa"]::before { background: #a78bfa; }
.shot-prov[data-c="#22d3ee"]::before { background: #22d3ee; }
.shot-prov[data-c="#f472b6"]::before { background: #f472b6; }
.shot-prov b { display: block; color: var(--fg); font-size: 13px; margin-bottom: 6px; }
.shot-input {
  margin-top: auto;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--fg-mute);
  font-size: 14px;
}
.shot-input span { flex: 1; }
.shot-input kbd {
  font-family: inherit; font-size: 11px;
  background: rgba(255, 255, 255, 0.07);
  padding: 3px 7px;
  border-radius: 6px;
  color: var(--fg-dim);
}

/* ───────────────────── marquee ───────────────────── */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
  background: var(--bg-1);
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  gap: 36px;
  animation: marquee 40s linear infinite;
  color: var(--fg-mute);
  font-size: 18px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.marquee-track span:nth-child(odd) { color: var(--fg-dim); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ───────────────────── feature sections ───────────────────── */
.feature {
  padding: 140px 0;
  position: relative;
}
.feature-dark { background: var(--bg-1); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col.reverse .col-text { order: 2; }
.two-col.reverse .col-art { order: 1; }
.col-text { max-width: 540px; }

.ticks {
  list-style: none; padding: 0; margin: 28px 0 0;
}
.ticks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--fg);
  font-size: 16px;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px;
  background: var(--accent-grad);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M20.285 6.708l-11.04 11.04-5.53-5.53 1.415-1.415 4.115 4.116 9.625-9.626z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M20.285 6.708l-11.04 11.04-5.53-5.53 1.415-1.415 4.115 4.116 9.625-9.626z'/></svg>") center/contain no-repeat;
}

/* art cards (shared shell) */
.art-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #15151a 0%, #0b0b0e 100%);
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.7);
  padding: 22px;
  overflow: hidden;
}
.art-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(800px 300px at 50% -10%,
    rgba(167, 139, 250, 0.18), transparent 60%);
  pointer-events: none;
}

/* federated art */
.art-federated .federated-prompt {
  color: var(--fg-dim);
  font-size: 13.5px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.federated-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.fed-col {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 15px;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  transition: transform 280ms var(--ease), border-color 280ms var(--ease),
    box-shadow 280ms var(--ease);
}
/* soft brand wash so each card reads as "its" model, not flat grey */
.fed-col::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(120% 80% at 0% 0%,
    color-mix(in srgb, var(--c) 14%, transparent), transparent 60%);
  pointer-events: none;
}
.fed-col:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow: 0 14px 32px -18px color-mix(in srgb, var(--c) 60%, transparent);
}
.fed-col::before {
  content: ""; position: absolute; z-index: 2;
  left: 0; right: 0; top: 0; height: 2.5px;
  background: linear-gradient(90deg, var(--c),
    color-mix(in srgb, var(--c) 35%, transparent));
}
.fed-col header {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--fg); font-weight: 650; margin-bottom: 7px;
  position: relative; z-index: 1;
}
.fed-col header .fed-logo {
  width: 15px; height: 15px; flex: 0 0 auto;
  fill: var(--c);
}
.fed-col p { margin: 0; font-size: 12.5px; color: var(--fg-dim); line-height: 1.5; position: relative; z-index: 1; }
.federated-synth {
  border-radius: 14px;
  padding: 15px 17px;
  background: linear-gradient(135deg, rgba(167,139,250,0.18), rgba(34,211,238,0.13));
  border: 1px solid rgba(167, 139, 250, 0.30);
  box-shadow: 0 0 0 1px rgba(167,139,250,0.04),
    0 18px 40px -24px rgba(167, 139, 250, 0.45);
}
.federated-synth b {
  display: flex; align-items: center; gap: 7px;
  font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-1); margin-bottom: 6px;
}
.federated-synth .synth-spark {
  width: 14px; height: 14px; flex: 0 0 auto;
  fill: var(--accent-1);
  filter: drop-shadow(0 0 5px rgba(167, 139, 250, 0.6));
  animation: synth-twinkle 3.2s ease-in-out infinite;
}
@keyframes synth-twinkle {
  0%, 100% { opacity: 0.65; transform: scale(0.9) rotate(0deg); }
  50%      { opacity: 1;    transform: scale(1.1) rotate(90deg); }
}
.federated-synth p { margin: 0; font-size: 13.5px; color: var(--fg); }

/* browser art */
.art-browser { padding: 0; }
.art-browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.art-browser-bar span {
  width: 10px; height: 10px; border-radius: 50%; background: #2c2c33;
}
.art-browser-bar span:nth-child(1) { background: #ff5f57; }
.art-browser-bar span:nth-child(2) { background: #febc2e; }
.art-browser-bar span:nth-child(3) { background: #28c840; }
.art-browser-url {
  margin-left: 10px;
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--fg-dim);
}
.art-browser-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  min-height: 320px;
}
.art-browser-page {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}
.art-browser-page h3 {
  font-size: 24px; margin: 0 0 12px; letter-spacing: -0.02em;
}
.art-browser-page p {
  color: var(--fg-dim); font-size: 14px; margin: 0 0 10px; line-height: 1.6;
}
.art-browser-highlight {
  background: linear-gradient(90deg, rgba(167,139,250,0.25), rgba(34,211,238,0.08));
  border-radius: 6px;
  padding: 4px 8px;
  display: inline-block;
  color: var(--fg) !important;
}
.art-browser-ai {
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.015);
}
.art-browser-ai header {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent-1); margin-bottom: 12px; font-weight: 600;
}
.art-browser-ai p { margin: 0 0 10px; font-size: 13.5px; color: var(--fg); }
.art-browser-ai p.dim { color: var(--fg-dim); font-size: 12.5px; }

/* local art */
.art-local { padding: 22px 24px; }
.local-query {
  font-size: 14px; color: var(--fg);
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.18);
  margin-bottom: 16px;
}
.local-results { list-style: none; padding: 0; margin: 0; }
.local-results li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.local-results li:last-child { border-bottom: 0; }
.local-results b {
  grid-column: 1;
  font-size: 13.5px; color: var(--fg); font-weight: 600;
}
.local-results span {
  grid-column: 2; align-self: center;
  font-size: 12px; color: var(--fg-mute); text-align: right;
}
.local-results em {
  grid-column: 1 / -1;
  font-style: normal; font-size: 13px; color: var(--fg-dim);
  margin-top: 6px; line-height: 1.5;
}

/* ───────────────────── privacy grid ───────────────────── */
.centered { text-align: center; }
.privacy-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.priv {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 250ms var(--ease), border-color 250ms var(--ease);
}
.priv:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.priv-ico { font-size: 28px; margin-bottom: 14px; }
.priv h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.priv p { margin: 0; color: var(--fg-dim); font-size: 14px; line-height: 1.55; }

/* ───────────────────── pricing ───────────────────── */
.pricing-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 880px;
  margin-left: auto; margin-right: auto;
}
.pricing-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
  gap: 16px;
}
.pricing-grid-3 .price-card {
  padding: 32px 28px;
}

/* ─── tier accents ─── */
.price-card.tier-free {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 260px at 18% -18%, rgba(34, 211, 238, 0.13), transparent 62%),
    radial-gradient(520px 220px at 84% 8%, rgba(167, 139, 250, 0.10), transparent 64%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018) 58%, rgba(34, 211, 238, 0.028)),
    #101116;
  border-color: rgba(236, 244, 255, 0.15);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 28px 74px -42px rgba(34, 211, 238, 0.30),
    0 22px 62px -44px rgba(167, 139, 250, 0.45);
}
.price-card.tier-free::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), transparent 28%),
    linear-gradient(90deg, rgba(34, 211, 238, 0.42), transparent 34%, rgba(167, 139, 250, 0.28) 72%, transparent);
  opacity: 0.42;
  mask: linear-gradient(#000 0 0) top/100% 1px no-repeat,
    linear-gradient(#000 0 0) left/1px 100% no-repeat;
}
.price-card.tier-free > * {
  position: relative;
  z-index: 1;
}
.price-card.tier-free h3 {
  color: #f7f7fb;
}
.price-card.tier-free .micro,
.price-card.tier-free .price small {
  color: rgba(236, 244, 255, 0.68);
}
.price-card.tier-free ul li {
  border-bottom-color: rgba(236, 244, 255, 0.085);
}
.price-card.tier-popular {
  position: relative;
  background: linear-gradient(160deg, rgba(167,139,250,0.14), rgba(34,211,238,0.06));
  border-color: rgba(167, 139, 250, 0.42);
  box-shadow: 0 30px 80px -28px rgba(167, 139, 250, 0.35);
  transform: translateY(-6px);
}
.price-card.tier-enterprise {
  background:
    radial-gradient(800px 220px at 50% -10%, rgba(34, 211, 238, 0.12), transparent 60%),
    linear-gradient(160deg, rgba(34, 211, 238, 0.05), rgba(167, 139, 250, 0.03));
  border-color: rgba(34, 211, 238, 0.30);
}
.price-card.tier-founders {
  background:
    radial-gradient(800px 200px at 50% -10%, rgba(34,211,238,0.14), transparent 60%),
    linear-gradient(160deg, rgba(34,211,238,0.06), rgba(167,139,250,0.03));
  border-color: rgba(34, 211, 238, 0.32);
}
.price-card .ribbon {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  background: var(--accent-grad);
  color: #0a0a0c;
  white-space: nowrap;
}

/* ─── reverse-trial banner ─── */
.trial-banner {
  margin-top: 32px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: var(--fg);
  font-size: 14px;
  max-width: 720px;
  margin-inline: auto;
  flex-wrap: wrap;
}
.trial-banner .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 12px #22d3ee;
  animation: trialPulse 2.4s ease-in-out infinite;
}
@keyframes trialPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.trial-banner b { color: var(--fg); }
.trial-banner span.sep { color: var(--fg-mute); }

.pricing-page .page-hero {
  padding-bottom: 54px;
}
.pricing-page #plans {
  padding-top: 46px;
}
.pricing-page .pricing-grid {
  margin-top: 42px;
}
.pricing-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1060px;
  margin: 0 auto 30px;
}
.pricing-proof-strip div {
  min-height: 92px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.022)),
    radial-gradient(320px 130px at 50% -50%, rgba(34, 211, 238, 0.14), transparent 70%);
  box-shadow: 0 18px 48px -34px rgba(0, 0, 0, 0.72);
}
.pricing-proof-strip b {
  display: block;
  color: var(--fg);
  font-size: 0.93rem;
  line-height: 1.2;
  margin-bottom: 7px;
}
.pricing-proof-strip span {
  display: block;
  color: var(--fg-dim);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* ─── monthly/annual toggle ─── */
.price-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.02);
  margin: 0 auto 8px;
  font-size: 13.5px;
}
.price-toggle button {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--fg-dim);
  cursor: pointer;
  transition: color 200ms var(--ease), background 200ms var(--ease);
  font-weight: 500;
}
.price-toggle button.on {
  background: var(--fg);
  color: #0a0a0c;
  font-weight: 600;
}
.price-toggle .save {
  font-size: 10.5px;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.20);
  color: #22d3ee;
  letter-spacing: 0.06em;
  font-weight: 700;
  vertical-align: middle;
}

/* ─── scarcity counter ─── */
.scarcity {
  display: flex; align-items: center; gap: 10px;
  margin: 6px 0 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
}
.scarcity .bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.scarcity .bar > i {
  display: block;
  height: 100%;
  background: var(--accent-grad);
  border-radius: 999px;
  width: 0;
  animation: scarcityFill 1.4s var(--ease) forwards;
}
@keyframes scarcityFill {
  to { width: var(--pct, 24%); }
}

/* ─── tier price line ─── */
.price-card .price.dual {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price-card .price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-dim);
  letter-spacing: 0;
}
.price-card .price .usd {
  font-size: 14px;
  color: var(--fg-mute);
  font-weight: 500;
}

/* ─── feature list refinements for new tiers ─── */
.price-card ul.with-cats li.cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-mute);
  padding: 14px 0 6px;
  border-bottom: 0;
  font-weight: 600;
}
.price-card ul.with-cats li.cat:first-child { padding-top: 0; }
.price-card ul li .strike {
  color: var(--fg-mute);
  text-decoration: line-through;
  text-decoration-color: var(--fg-mute);
}

@media (max-width: 960px) {
  .pricing-grid-3 { grid-template-columns: 1fr; }
  .price-card.tier-popular { transform: none; }
}
.price-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column;
}
.price-card-feature {
  background: linear-gradient(160deg, rgba(167,139,250,0.10), rgba(34,211,238,0.05));
  border-color: rgba(167, 139, 250, 0.30);
}
.price-card header { margin-bottom: 24px; }
.price-card h3 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.price-card .price {
  font-size: 42px; font-weight: 700; letter-spacing: -0.025em;
  margin: 0;
}
.price-card .price span {
  font-size: 14px; font-weight: 400; color: var(--fg-dim); margin-left: 6px;
}
.price-card .badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(167, 139, 250, 0.18);
  color: var(--accent-1);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.price-card ul {
  list-style: none; padding: 0; margin: 0 0 28px;
  flex: 1;
}
.price-card ul li {
  font-size: 14.5px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
}
.price-card ul li:last-child { border-bottom: 0; }

/* ───────────────────── final CTA ───────────────────── */
.cta-section {
  padding: 160px 0 140px;
  position: relative;
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(167,139,250,0.18), transparent 70%),
    var(--bg);
}
.cta-section .display-sm {
  background: linear-gradient(180deg, #fff 0%, #b8b8c2 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.download-row {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-top: 8px;
}

/* ───────────────────── footer ───────────────────── */
.foot {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  background: var(--bg);
}
.foot-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.foot-brand p { color: var(--fg-dim); margin: 12px 0 0; font-size: 14px; }
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.foot-cols h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--fg-mute); margin: 0 0 14px; font-weight: 600;
}
.foot-cols a {
  display: block; color: var(--fg-dim); font-size: 14px;
  padding: 5px 0; transition: color 150ms var(--ease);
}
.foot-cols a:hover { color: var(--fg); }
.foot-bottom {
  display: flex; justify-content: space-between;
  padding-top: 24px;
  color: var(--fg-mute); font-size: 13px;
}

/* ───────────────────── SEO intent pages / search hub ───────────────────── */
.seo-hero .lede {
  max-width: 820px;
}
.seo-intent-section {
  background:
    radial-gradient(circle at 18% 24%, rgba(167, 139, 250, 0.16), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(34, 211, 238, 0.12), transparent 32%),
    rgba(255, 255, 255, 0.015);
}
.seo-intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.seo-intent-card {
  display: grid;
  min-height: 184px;
  align-content: space-between;
  gap: 14px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  color: var(--fg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}
.seo-intent-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.34);
  background: linear-gradient(135deg, rgba(167,139,250,0.16), rgba(34,211,238,0.08));
}
.seo-intent-card span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.11);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.seo-intent-card strong {
  display: block;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.08;
  letter-spacing: 0;
}
.seo-intent-card em {
  color: var(--fg-dim);
  font-style: normal;
  line-height: 1.45;
}
.seo-pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.seo-pill-row a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
  color: var(--fg-dim);
  font-size: 14px;
}
.seo-pill-row a:hover {
  color: var(--fg);
  border-color: rgba(34, 211, 238, 0.32);
}

/* ───────────────────── reveal animation ───────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ═════════════════════════════════════════════════════════ */
/*            PREMIUM UPGRADE — display font + mesh          */
/* ═════════════════════════════════════════════════════════ */

/* Apple-grade display chain — SF Pro Display first, Inter as cross-platform fallback.
   Note: heading-specific font-weights / tracking are set per-class above; this is the family stack. */
.display, .display-sm, .h2, .page-hero h1,
.bento-cell h3, .feature-card h3, .price-card h3,
.dl-card h3, .stat .n, .deep-head h2 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Inter var", "Inter", system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11", "kern";
}

/* ───────────────────── 4-color mesh gradient (replaces aurora orbs visually) ─── */
.mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: #000;
}
.mesh::before,
.mesh::after,
.mesh > .m3,
.mesh > .m4 {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  will-change: transform;
}
.mesh::before {
  width: 900px; height: 900px;
  background: radial-gradient(circle, #843eb4 0%, transparent 60%);
  top: -200px; left: -150px;
  opacity: 0.55;
  animation: m1 30s ease-in-out infinite alternate;
}
.mesh::after {
  width: 800px; height: 800px;
  background: radial-gradient(circle, #2279ec 0%, transparent 60%);
  top: -100px; right: -250px;
  opacity: 0.50;
  animation: m2 34s ease-in-out infinite alternate;
}
.mesh .m3 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #dc3cb9 0%, transparent 60%);
  bottom: -300px; left: 25%;
  opacity: 0.35;
  animation: m3 38s ease-in-out infinite alternate;
}
.mesh .m4 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #eea940 0%, transparent 60%);
  bottom: -200px; right: 10%;
  opacity: 0.22;
  animation: m4 42s ease-in-out infinite alternate;
}
@keyframes m1 {
  0%   { transform: translate(0, 0)        scale(1); }
  100% { transform: translate(80px, 120px)  scale(1.15); }
}
@keyframes m2 {
  0%   { transform: translate(0, 0)         scale(1); }
  100% { transform: translate(-120px, 80px) scale(1.1); }
}
@keyframes m3 {
  0%   { transform: translate(0, 0)         scale(1); }
  100% { transform: translate(160px, -100px) scale(1.2); }
}
@keyframes m4 {
  0%   { transform: translate(0, 0)         scale(1); }
  100% { transform: translate(-90px, -60px)  scale(1.1); }
}

/* fine noise overlay for premium grain */
.mesh::before, .mesh::after { mix-blend-mode: screen; }
.grain {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* ───────────────────── federation section ─────────────────────── */
.federation {
  padding: 140px 0 160px;
  position: relative;
  overflow: hidden;
}
.federation::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 500px at 50% 60%,
    rgba(167, 139, 250, 0.12), transparent 60%);
  pointer-events: none;
}

/* ───────────────────── orbital hero (federated metaphor) ─────────────── */
.orbit {
  position: relative;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 1;
  margin: 60px auto 0;
}
.orbit-core {
  position: absolute;
  left: 50%; top: 50%;
  width: 180px; height: 180px;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  z-index: 3;
  filter: drop-shadow(0 0 26px rgba(167, 139, 250, 0.50))
          drop-shadow(0 0 60px rgba(34, 211, 238, 0.25));
  animation: pulse-core 5s ease-in-out infinite;
}
@keyframes pulse-core {
  0%, 100% {
    filter: drop-shadow(0 0 26px rgba(167, 139, 250, 0.50))
            drop-shadow(0 0 60px rgba(34, 211, 238, 0.25));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(167, 139, 250, 0.75))
            drop-shadow(0 0 90px rgba(34, 211, 238, 0.40));
  }
}
.orbit-core .glass-orb { width: 100%; height: 100%; display: block; overflow: visible; }
.orbit-core span {
  position: absolute;
  bottom: -42px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.36em;
  color: var(--fg);
  font-weight: 600;
  white-space: nowrap;
}

/* ───────────── tiny floating lights inside the small brand orb (nav/footer) ───────────── */
.orb-light {
  filter: drop-shadow(0 0 1.5px currentColor);
  animation: orb-light-twinkle 3.6s ease-in-out infinite;
}
.orb-light.l1 { animation-delay: 0s; }
.orb-light.l2 { animation-delay: -1.3s; }
.orb-light.l3 { animation-delay: -2.4s; }
@keyframes orb-light-twinkle {
  0%, 100% { opacity: 0.30; transform: translate(0, 0); }
  50%      { opacity: 1;    transform: translate(0.4px, -0.4px); }
}

/* ───────────── fireflies + caustics inside the (big) glass orb ───────────── */
.firefly {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}
@keyframes firefly-pulse {
  0%, 100% { opacity: 0.25; }
  50%      { opacity: 1; }
}

/* slow caustic swirls that simulate liquid light behind the fireflies */
.caustic {
  transform-box: fill-box;
  transform-origin: center;
  mix-blend-mode: screen;
  opacity: 0.7;
  will-change: transform;
}
.caustic.c1 { animation: caustic-1 24s ease-in-out infinite; }
.caustic.c2 { animation: caustic-2 32s ease-in-out infinite; animation-delay: -6s; opacity: 0.55; }
@keyframes caustic-1 {
  0%, 100% { transform: translate(-12px, -8px) scale(1);   }
  33%      { transform: translate( 10px, -6px) scale(1.1); }
  66%      { transform: translate(  4px, 12px) scale(0.95);}
}
@keyframes caustic-2 {
  0%, 100% { transform: translate( 14px,  4px) scale(1);   }
  50%      { transform: translate(-16px, -12px) scale(1.15); }
}
@keyframes drift-1 {
  0%   { transform: translate(-28px, -22px); }
  25%  { transform: translate(14px, -32px); }
  50%  { transform: translate(28px,  10px); }
  75%  { transform: translate(-12px, 24px); }
  100% { transform: translate(-28px, -22px); }
}
@keyframes drift-2 {
  0%   { transform: translate( 22px,  18px); }
  33%  { transform: translate(-24px,  26px); }
  66%  { transform: translate(-18px, -22px); }
  100% { transform: translate( 22px,  18px); }
}
@keyframes drift-3 {
  0%   { transform: translate( 30px, -10px); }
  50%  { transform: translate(-30px,  18px); }
  100% { transform: translate( 30px, -10px); }
}
@keyframes drift-4 {
  0%   { transform: translate(-18px,  28px); }
  25%  { transform: translate( 26px,  16px); }
  50%  { transform: translate( 18px, -28px); }
  75%  { transform: translate(-26px, -12px); }
  100% { transform: translate(-18px,  28px); }
}
@keyframes drift-5 {
  0%   { transform: translate( 12px,  30px); }
  33%  { transform: translate(-28px,   4px); }
  66%  { transform: translate( 20px, -26px); }
  100% { transform: translate( 12px,  30px); }
}
@keyframes drift-6 {
  0%   { transform: translate(-32px,  -8px); }
  50%  { transform: translate( 32px,   8px); }
  100% { transform: translate(-32px,  -8px); }
}
@keyframes drift-7 {
  0%   { transform: translate(  8px, -30px); }
  25%  { transform: translate(-22px, -10px); }
  50%  { transform: translate(-12px,  26px); }
  75%  { transform: translate( 24px,  14px); }
  100% { transform: translate(  8px, -30px); }
}
@keyframes drift-8 {
  0%   { transform: translate(-22px,  14px); }
  33%  { transform: translate(  4px, -28px); }
  66%  { transform: translate( 28px,  10px); }
  100% { transform: translate(-22px,  14px); }
}
.firefly.f1 { animation: drift-1 16s ease-in-out infinite, firefly-pulse 5.0s ease-in-out infinite; }
.firefly.f2 { animation: drift-2 19s ease-in-out infinite, firefly-pulse 6.0s ease-in-out infinite; animation-delay: -2s, -1s; }
.firefly.f3 { animation: drift-3 14s ease-in-out infinite, firefly-pulse 5.5s ease-in-out infinite; animation-delay: -4s, -2s; }
.firefly.f4 { animation: drift-4 18s ease-in-out infinite, firefly-pulse 4.0s ease-in-out infinite; animation-delay: -1s, -0.5s; }
.firefly.f5 { animation: drift-5 22s ease-in-out infinite, firefly-pulse 7.0s ease-in-out infinite; animation-delay: -5s, -3s; }
.firefly.f6 { animation: drift-6 15s ease-in-out infinite, firefly-pulse 5.0s ease-in-out infinite; animation-delay: -3s, -1.5s; }
.firefly.f7 { animation: drift-7 13s ease-in-out infinite, firefly-pulse 4.5s ease-in-out infinite; animation-delay: -2s, -2.5s; }
.firefly.f8 { animation: drift-8 17s ease-in-out infinite, firefly-pulse 6.0s ease-in-out infinite; animation-delay: -6s, -1s; }

/* Brand orb container — anywhere it appears (nav, footer, favicon) */
.brand svg use, .foot-brand svg use { filter: none; }

/* Concentric rings (visual orbit guides) */
.orbit-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  pointer-events: none;
  animation: ring-pulse 6s ease-in-out infinite;
}
.orbit-ring.r2 { border-color: rgba(255, 255, 255, 0.06); animation-delay: -2s; }
.orbit-ring.r3 { border-color: rgba(255, 255, 255, 0.04); animation-delay: -4s; }
@keyframes ring-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.6; }
}

/* Each chip is positioned via polar coords; text stays upright */
.orbit-chip {
  position: absolute;
  left: 50%; top: 50%;
  /* place at angle --a, distance --r — final counter-rotate keeps text upright */
  transform: translate(-50%, -50%)
             rotate(var(--a))
             translate(var(--r), 0)
             rotate(calc(-1 * var(--a)));
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: rgba(20, 20, 24, 0.85);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
  z-index: 2;
  transition: transform 280ms var(--ease), border-color 280ms var(--ease),
    box-shadow 280ms var(--ease);
  animation: chip-bob 6s ease-in-out infinite;
}
.orbit-chip::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c, var(--accent-1));
  box-shadow: 0 0 10px var(--c, var(--accent-1));
}
.orbit-chip:hover {
  border-color: var(--c, var(--accent-1));
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.30);
  z-index: 4;
}
/* Subtle vertical "breathing" so the orbital feels alive */
@keyframes chip-bob {
  0%, 100% { transform: translate(-50%, -50%) rotate(var(--a)) translate(var(--r), 0) rotate(calc(-1 * var(--a))); }
  50%      { transform: translate(-50%, -50%) rotate(var(--a)) translate(var(--r), -4px) rotate(calc(-1 * var(--a))); }
}

/* Connecting lines from core to inner chips (subtle gradient spokes) */
.orbit-line {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--r);
  height: 1px;
  transform-origin: 0 0;
  transform: rotate(var(--a));
  background: linear-gradient(to right,
    rgba(167, 139, 250, 0.40) 0%,
    rgba(167, 139, 250, 0.08) 50%,
    transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* ───────────────────── 3D tilt on cards ───────────────────── */
[data-tilt] {
  transform-style: preserve-3d;
  transition: transform 280ms var(--ease);
  will-change: transform;
}

/* ───────────────────── gradient section divider ───────────────────── */
.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(167, 139, 250, 0.40) 30%,
    rgba(34, 211, 238, 0.40) 70%,
    transparent 100%);
  margin: 0;
}

/* ───────────────────── glow chip (eyebrows on dark) ───────────────────── */
.glow-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--fg-dim);
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.glow-chip::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 10px var(--accent-1);
  animation: ping 2.4s ease-in-out infinite;
}
.glow-chip b {
  color: var(--fg);
  font-weight: 600;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes ping {
  0%, 100% { box-shadow: 0 0 10px var(--accent-1); }
  50%      { box-shadow: 0 0 18px var(--accent-1), 0 0 28px var(--accent-1); }
}

/* ───────────────────── kbd chips (premium keyboard tags) ───────────────────── */
kbd {
  font-family: "Space Grotesk", "Inter", monospace;
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--fg);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ═════════════════════════════════════════════════════════ */
/*               ADVANCED VISUAL LAYER (2026)                */
/* ═════════════════════════════════════════════════════════ */

/* ───────────────────── aurora background ───────────────────── */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.45;
  will-change: transform;
}
.aurora::before {
  width: 900px; height: 900px;
  background: radial-gradient(circle, #a78bfa 0%, transparent 60%);
  top: -300px; left: -200px;
  animation: aurora-1 28s ease-in-out infinite alternate;
}
.aurora::after {
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, #22d3ee 0%, transparent 60%);
  top: -200px; right: -300px;
  animation: aurora-2 32s ease-in-out infinite alternate;
}
.aurora-3 {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  filter: blur(140px);
  background: radial-gradient(circle, #f472b6 0%, transparent 60%);
  bottom: -300px; left: 30%;
  opacity: 0.30;
  animation: aurora-3 36s ease-in-out infinite alternate;
}
@keyframes aurora-1 {
  0%   { transform: translate(0, 0)       scale(1);   opacity: 0.45; }
  50%  { transform: translate(100px, 80px) scale(1.1); opacity: 0.55; }
  100% { transform: translate(-60px, 120px) scale(0.95); opacity: 0.40; }
}
@keyframes aurora-2 {
  0%   { transform: translate(0, 0)        scale(1);   opacity: 0.45; }
  50%  { transform: translate(-120px, 100px) scale(1.05); opacity: 0.35; }
  100% { transform: translate(80px, 60px)   scale(1.1);  opacity: 0.50; }
}
@keyframes aurora-3 {
  0%   { transform: translate(0, 0)        scale(1);   }
  100% { transform: translate(-200px, -80px) scale(1.2); }
}

/* ───────────────────── cursor spotlight (pointer-tracked) ─────────────── */
.spotlight {
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(167, 139, 250, 0.18) 0%,
    rgba(167, 139, 250, 0.06) 30%,
    transparent 60%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 200ms var(--ease);
  opacity: 0;
  mix-blend-mode: screen;
}
.spotlight.on { opacity: 1; }
@media (hover: none) { .spotlight { display: none; } }

/* ───────────────────── magnetic button (CSS-only baseline) ───────────── */
.cta, .ghost {
  position: relative;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute; inset: -2px;
  border-radius: inherit;
  background: var(--accent-grad);
  z-index: -1;
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
.cta:hover::before { opacity: 0.5; filter: blur(12px); }

/* ───────────────────── streaming text (typewriter cursor) ───────────── */
.stream {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--accent-1);
  animation: caret 1s steps(1) infinite;
  max-width: 100%;
}
.stream.done { border-right-color: transparent; }
@keyframes caret { 50% { border-right-color: transparent; } }

/* ───────────────────── bento grid (Apple iPad-style) ───────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 14px;
}
.bento-cell {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 32px;
  overflow: hidden;
  transition: transform 320ms var(--ease), border-color 320ms var(--ease);
}
.bento-cell:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
}
.bento-cell::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 200px at var(--mx, 50%) var(--my, -10%),
    rgba(167, 139, 250, 0.10), transparent 65%);
  opacity: 0;
  transition: opacity 240ms var(--ease);
  pointer-events: none;
}
.bento-cell:hover::after { opacity: 1; }
.bento-cell h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.bento-cell p {
  margin: 0;
  color: var(--fg-dim);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 42ch;
}
.bento-cell .label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 14px;
  font-weight: 600;
}

/* bento spans */
.bento-a { grid-column: span 4; grid-row: span 2; }
.bento-b { grid-column: span 2; grid-row: span 2; }
.bento-c { grid-column: span 2; }
.bento-d { grid-column: span 2; }
.bento-e { grid-column: span 2; }
.bento-f { grid-column: span 3; grid-row: span 2; }
.bento-g { grid-column: span 3; }
.bento-h { grid-column: span 3; }

/* ── Mobile: reflow the 6-col bento to a single column, and turn the fixed-radius
      orbit into a wrapped chip cloud so nothing overflows/clips on a phone. ── */
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
  .bento > [class*="bento-"] { grid-column: auto; grid-row: auto; }
}
@media (max-width: 640px) {
  .orbit {
    max-width: 100%;
    aspect-ratio: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
  }
  .orbit-ring, .orbit-line { display: none; }
  .orbit-core {
    position: static;
    transform: none;
    order: -1;
    flex: 0 0 100%;
    width: 150px;
    height: 150px;
    margin: 0 auto 18px;
  }
  .orbit-chip {
    position: static;
    transform: none;
    animation: none;
  }
}

/* ═══════════ THE REAL ORA — real screenshots in tilted app frames ═══════════ */
.realora-stage {
  position: relative;
  max-width: 1040px;
  margin: 52px auto 0;
  perspective: 1800px;
  animation: realora-float 9s ease-in-out infinite;
}
@keyframes realora-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.realora-shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b0f1a;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 50px 120px -30px rgba(0, 0, 0, 0.85),
    0 30px 80px -30px rgba(167, 139, 250, 0.35);
}
.realora-shot img { width: 100%; height: auto; display: block; }
.realora-shot figcaption {
  position: absolute; left: 14px; bottom: 12px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(10, 10, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--fg); font-size: 12.5px; font-weight: 500;
  font-family: "Space Grotesk", "Inter", sans-serif;
}
.realora-shot--front {
  position: relative; z-index: 2;
  transform: rotateX(4deg) rotateY(-7deg) rotateZ(0.4deg);
  transition: transform 600ms var(--ease);
}
.realora-shot--back {
  position: absolute; top: -8%; right: -5%;
  width: 60%; z-index: 1; opacity: 0.95;
  transform: rotateX(5deg) rotateY(-9deg);
}
.realora-stage:hover .realora-shot--front { transform: rotateX(0deg) rotateY(0deg); }
.realora-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  max-width: 1040px; margin: 56px auto 0;
}
.realora-facts article {
  padding: 22px 22px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-2);
}
.realora-facts b {
  display: block; color: var(--fg); font-size: 16.5px; letter-spacing: -0.01em;
  margin-bottom: 8px; font-family: "Space Grotesk", "Inter", sans-serif;
}
.realora-facts p { color: var(--fg-dim); font-size: 14.5px; line-height: 1.5; margin: 0; }
.realora-note {
  max-width: 720px; margin: 30px auto 0; text-align: center;
  color: var(--fg-mute); font-size: 14px; line-height: 1.6;
}
.realora-note b { color: var(--accent-1); }
@media (max-width: 860px) {
  .realora-stage { animation: none; }
  .realora-shot--front { transform: none; }
  .realora-shot--back { display: none; }
  .realora-facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .realora-stage { animation: none; }
}

/* Two-tier pricing grid (Free + Pro) — centered */
.pricing-grid-2 {
  grid-template-columns: repeat(2, minmax(260px, 400px));
  justify-content: center;
}
@media (max-width: 720px) {
  .pricing-grid-2 { grid-template-columns: 1fr; }
}

/* ═══════════ FUTURISTIC "ORA CORE" SCI-FI SCENE ═══════════ */
.scifi {
  position: relative;
  max-width: 1000px;
  margin: 44px auto 0;
  aspect-ratio: 1200 / 680;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(760px 440px at 50% 38%, rgba(124, 58, 237, 0.26), transparent 62%),
    radial-gradient(600px 420px at 50% 112%, rgba(34, 211, 238, 0.15), transparent 70%),
    #05050c;
}
.scifi-grid {
  position: absolute; left: 50%; bottom: -4%;
  width: 200%; height: 54%;
  transform: translateX(-50%) perspective(420px) rotateX(68deg);
  background-image:
    linear-gradient(rgba(124, 120, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 220, 255, 0.30) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 85%);
          mask-image: linear-gradient(to top, #000, transparent 85%);
  opacity: 0.5;
}
.scifi > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-rot { transform-box: fill-box; transform-origin: center; }
.sc-r1 { animation: sc-spin 26s linear infinite; }
.sc-r2 { animation: sc-spin 18s linear infinite reverse; }
.sc-r3 { animation: sc-spin 40s linear infinite; }
.sc-halo { transform-box: fill-box; transform-origin: center; animation: sc-pulse 5s ease-in-out infinite; }
.sc-stream { stroke-dasharray: 6 10; animation: sc-dash 3s linear infinite; }
@keyframes sc-spin { to { transform: rotate(360deg); } }
@keyframes sc-pulse { 0%, 100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes sc-dash { to { stroke-dashoffset: -400; } }
@keyframes sc-float1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes sc-float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
.sc-panel {
  position: absolute;
  width: clamp(148px, 16.5%, 200px);
  padding: 14px 15px 13px;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(22, 26, 52, 0.82), rgba(10, 12, 28, 0.55));
  border: 1px solid rgba(150, 190, 255, 0.28);
  box-shadow: 0 0 32px rgba(80, 120, 255, 0.18), inset 0 0 24px rgba(90, 160, 255, 0.06);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sc-panel .sc-glyph {
  display: block;
  font-size: 18px;
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.9;
}
.sc-panel .sc-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f0f4ff;
  font-family: "Space Grotesk", "Inter", sans-serif;
}
.sc-panel .sc-tag {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(180, 200, 255, 0.72);
}
.sc-panel .sc-bars { margin-top: 10px; display: grid; gap: 5px; }
.sc-panel .sc-bars span {
  display: block; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, rgba(180, 200, 255, 0.5), rgba(180, 200, 255, 0.06));
}
.sc-panel .sc-bars span.s { width: 58%; }
.sc-p1 { left: 3%;  top: 14%;    border-color: rgba(167, 139, 250, 0.38); animation: sc-float1 7s ease-in-out infinite; }
.sc-p1 .sc-glyph { color: #a78bfa; text-shadow: 0 0 12px #a78bfa; }
.sc-p2 { right: 3%; top: 11%;    border-color: rgba(34, 211, 238, 0.35); animation: sc-float2 8s ease-in-out infinite; }
.sc-p2 .sc-glyph { color: #22d3ee; text-shadow: 0 0 12px #22d3ee; }
.sc-p3 { left: 6%;  bottom: 18%; border-color: rgba(244, 114, 182, 0.35); animation: sc-float2 9s ease-in-out infinite; }
.sc-p3 .sc-glyph { color: #f472b6; text-shadow: 0 0 12px #f472b6; }
.sc-p4 { right: 5%; bottom: 15%; border-color: rgba(52, 211, 153, 0.35); animation: sc-float1 7.5s ease-in-out infinite; }
.sc-p4 .sc-glyph { color: #34d399; text-shadow: 0 0 12px #34d399; }
.sc-scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
@media (max-width: 900px) {
  .sc-panel { width: clamp(120px, 22vw, 168px); padding: 11px 12px; }
  .sc-panel .sc-tag { font-size: 10px; }
}
@media (max-width: 760px) {
  .scifi { aspect-ratio: 1 / 1.12; min-height: 380px; }
  .scifi-grid { opacity: 0.35; }
  .sc-panel {
    width: clamp(108px, 30vw, 140px);
    padding: 9px 10px;
  }
  .sc-panel .sc-tag { display: none; }
  .sc-panel .sc-bars { margin-top: 7px; }
  .sc-p1 { left: 2%; top: 12%; }
  .sc-p2 { right: 2%; top: 10%; }
  .sc-p3 { left: 4%; bottom: 14%; }
  .sc-p4 { right: 3%; bottom: 12%; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-r1, .sc-r2, .sc-r3, .sc-halo, .sc-stream, .sc-panel { animation: none; }
}

/* bento visuals */
.bento-art {
  position: relative;
  flex: 1;
  margin-top: 22px;
  min-height: 180px;
}
.bento-cell.has-art {
  display: flex; flex-direction: column;
}

/* federated demo inside bento */
.demo-fed {
  position: absolute; left: 0; right: 0; bottom: -10px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.demo-fed-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 11.5px;
  color: var(--fg-dim);
  position: relative;
}
.demo-fed-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--c, var(--accent-1));
}
.demo-fed-card b { color: var(--fg); display: block; font-size: 11px; margin-bottom: 4px; font-weight: 600; }

/* browser frame inside bento */
.demo-brow {
  margin-top: 20px;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.demo-brow-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.demo-brow-bar span {
  width: 7px; height: 7px; border-radius: 50%; background: #2c2c33;
}
.demo-brow-bar span:nth-child(1) { background: #ff5f57; }
.demo-brow-bar span:nth-child(2) { background: #febc2e; }
.demo-brow-bar span:nth-child(3) { background: #28c840; }
.demo-brow-bar small {
  margin-left: 6px;
  font-size: 10px; color: var(--fg-mute);
  background: rgba(255,255,255,0.04);
  padding: 2px 8px;
  border-radius: 999px;
}
.demo-brow-body {
  padding: 14px;
  font-size: 12px;
  color: var(--fg-dim);
  line-height: 1.5;
}
.demo-brow-body mark {
  background: linear-gradient(90deg, rgba(167,139,250,0.30), rgba(34,211,238,0.15));
  color: var(--fg);
  padding: 2px 6px;
  border-radius: 4px;
}

/* search demo */
.demo-search {
  margin-top: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.demo-search-input {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-dim);
}
.demo-search-input::before {
  content: "🔍";
  margin-right: 8px;
  filter: grayscale(1);
}
.demo-search-list {
  list-style: none; padding: 4px 0; margin: 0;
}
.demo-search-list li {
  padding: 7px 14px;
  font-size: 11.5px;
  color: var(--fg-dim);
  display: flex; justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.demo-search-list li:last-child { border-bottom: 0; }
.demo-search-list li b { color: var(--fg); font-weight: 500; }
.demo-search-list li em {
  font-style: normal; color: var(--fg-mute); font-size: 10.5px;
}

/* keychain demo */
.demo-key {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.demo-key-pill {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11.5px;
  color: var(--fg-dim);
  display: flex; align-items: center; gap: 8px;
}
.demo-key-pill::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 8px var(--accent-1);
}

/* approval demo */
.demo-approve {
  margin-top: 18px;
  background: var(--bg-2);
  border: 1px solid rgba(244, 114, 182, 0.30);
  border-radius: 12px;
  padding: 14px;
}
.demo-approve b { color: var(--accent-3); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.demo-approve p { margin: 8px 0 12px; font-size: 13px; color: var(--fg); }
.demo-approve-btns { display: flex; gap: 8px; }
.demo-approve-btns span {
  font-size: 11.5px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--fg-dim);
}
.demo-approve-btns span:first-child {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

/* automation demo */
.demo-auto {
  margin-top: 18px;
  display: grid; gap: 6px;
}
.demo-auto-step {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 11.5px;
  color: var(--fg-dim);
}
.demo-auto-step::before {
  content: counter(s);
  counter-increment: s;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
}
.demo-auto { counter-reset: s; }

/* model logo cloud */
.logo-cloud {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.logo-chip {
  padding: 18px 22px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg-dim);
  transition: color 240ms var(--ease), border-color 240ms var(--ease),
    background 240ms var(--ease);
}
.logo-chip:hover {
  color: var(--fg);
  border-color: rgba(167, 139, 250, 0.30);
  background: linear-gradient(135deg, rgba(167,139,250,0.08), rgba(34,211,238,0.04));
}
.logo-chip small { display: block; font-size: 11px; color: var(--fg-mute); margin-top: 4px; font-weight: 400; }

/* ───────────────────── number ticker (CSS counter approx) ─────────── */
.ticker {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ───────────────────── animated provider rail ────────────────────── */
.rail {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.rail-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-mute);
  font-weight: 600;
}
.rail-track {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  contain: paint;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.rail-strip {
  display: inline-flex;
  gap: 56px;
  white-space: nowrap;
  animation: rail 35s linear infinite;
}
.rail-strip span {
  font-size: 20px;
  font-weight: 500;
  color: var(--fg-dim);
  letter-spacing: -0.01em;
}
@keyframes rail {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────── streaming chat demo (hero) ────────────────────── */
.stream-demo {
  margin: 60px auto 0;
  max-width: 1100px;
  perspective: 1600px;
}
.stream-frame {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #16161b 0%, #0a0a0d 100%);
  border: 1px solid var(--line-2);
  overflow: hidden;
  box-shadow: var(--shadow-1),
    0 80px 200px -50px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(167, 139, 250, 0.10),
    0 30px 80px -20px rgba(167, 139, 250, 0.20);
  transform: rotateX(2deg);
}
.stream-frame::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(167, 139, 250, 0.40),
    rgba(34, 211, 238, 0.20),
    rgba(244, 114, 182, 0.20));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.stream-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.stream-bar .dots span {
  display: inline-block;
  width: 11px; height: 11px; border-radius: 50%;
  margin-right: 5px;
}
.stream-bar .dots span:nth-child(1) { background: #ff5f57; }
.stream-bar .dots span:nth-child(2) { background: #febc2e; }
.stream-bar .dots span:nth-child(3) { background: #28c840; }
.stream-bar .title {
  color: var(--fg-mute); font-size: 12.5px;
  display: flex; align-items: center; gap: 10px;
}
.stream-bar .title::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--accent-1);
  position: relative;
}
.stream-bar .pill {
  margin-left: auto;
  padding: 4px 10px;
  background: rgba(34, 211, 238, 0.10);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.30);
}
.stream-prompt {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  display: flex; gap: 14px; align-items: flex-start;
}
.stream-prompt .av {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #555, #222);
  flex: 0 0 28px;
}
.stream-prompt p {
  margin: 0; font-size: 15px; color: var(--fg);
  line-height: 1.5;
}
.stream-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stream-col {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  min-height: 200px;
}
.stream-col:last-child { border-right: 0; }
.stream-col header {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--fg);
}
.stream-col header::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px var(--c);
}
.stream-col[data-c="violet"]  { --c: #a78bfa; }
.stream-col[data-c="cyan"]    { --c: #22d3ee; }
.stream-col[data-c="pink"]    { --c: #f472b6; }
.stream-col p {
  margin: 0; font-size: 13.5px;
  color: var(--fg-dim);
  line-height: 1.65;
  font-variant-ligatures: none;
}
.stream-col .typing::after {
  content: "▍";
  display: inline-block;
  color: var(--c);
  animation: caret 1s steps(1) infinite;
  margin-left: 2px;
}
.stream-synth {
  padding: 22px 26px;
  background: linear-gradient(180deg, rgba(167,139,250,0.06), transparent);
  border-top: 1px solid var(--line);
  display: flex; gap: 16px; align-items: flex-start;
}
.stream-synth .syn-ico {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  flex: 0 0 32px;
  display: grid; place-items: center;
  font-size: 14px; color: #fff;
}
.stream-synth .syn-body { flex: 1; }
.stream-synth .syn-body b {
  display: block; font-size: 11.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-1); margin-bottom: 6px;
}
.stream-synth .syn-body p {
  margin: 0; font-size: 14px; color: var(--fg); line-height: 1.6;
}

/* ═════════════════════════════════════════════════════════ */
/*                   MULTI-PAGE TEMPLATES                    */
/* ═════════════════════════════════════════════════════════ */

/* ───────────────────── page hero (non-home) ───────────────────── */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 120px) 0 100px;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 30% 0%, rgba(167,139,250,0.20), transparent 70%),
    radial-gradient(600px 300px at 70% 0%, rgba(34,211,238,0.16), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  font-weight: 600;
  margin: 0 0 24px;
  background: linear-gradient(180deg, #ffffff 0%, #c9c9d1 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}
.page-hero .lede {
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: 0;
}

/* ───────────────────── feature deep-dive ───────────────────── */
.deep {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.deep:first-of-type { border-top: 0; }
.deep-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.deep-head .eyebrow { margin-bottom: 14px; }
.deep-head h2 {
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 0 0 18px;
  font-weight: 600;
}
.deep-head p { color: var(--fg-dim); font-size: 17px; margin: 0; }

/* feature cards grid (3-up, 4-up) */
.feature-grid {
  display: grid;
  gap: 18px;
}
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 280ms var(--ease), border-color 280ms var(--ease);
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.feature-card-accent {
  background:
    linear-gradient(145deg, rgba(167, 139, 250, 0.12), rgba(34, 211, 238, 0.06)),
    var(--bg-1);
  border-color: rgba(167, 139, 250, 0.32);
}
.feature-card .fc-ico {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(167,139,250,0.20), rgba(34,211,238,0.12));
  border: 1px solid rgba(167, 139, 250, 0.30);
  margin-bottom: 18px;
  font-size: 20px;
}
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.feature-card p {
  margin: 0;
  color: var(--fg-dim);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ───────────────────── ORA Code showcase ───────────────────── */
.ora-code-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.ora-code-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.022em;
}

.ora-code-copy > p {
  margin: 0 0 22px;
  color: var(--fg-dim);
  font-size: 17px;
  line-height: 1.7;
}

.ora-code-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 28px;
}

.ora-code-points span {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
  line-height: 1.35;
}

.ora-code-points span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-right: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.5);
}

.ora-code-panel {
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 0%, rgba(167, 139, 250, 0.16), transparent 36%),
    rgba(12, 15, 24, 0.9);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.36);
}

.ora-code-bar,
.ora-code-tabs,
.ora-code-change,
.ora-code-chat {
  border-bottom: 1px solid var(--line);
}

.ora-code-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.035);
}

.ora-code-bar span {
  font-weight: 700;
}

.ora-code-bar strong {
  color: #7dd3fc;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
}

.ora-code-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  color: var(--fg-mute);
  font-size: 12px;
}

.ora-code-tabs span {
  padding: 7px 9px;
  border-radius: 8px;
}

.ora-code-tabs .active {
  color: var(--fg);
  background: rgba(167, 139, 250, 0.18);
}

.ora-code-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.ora-code-chat,
.ora-code-change {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.ora-code-chat {
  padding: 14px;
}

.ora-code-chat b,
.ora-code-change b {
  display: block;
  color: var(--fg);
  margin-bottom: 4px;
}

.ora-code-chat p {
  margin: 0;
  color: var(--fg-dim);
}

.ora-code-change {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.ora-code-change span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #07111f;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
}

.ora-code-change small {
  color: var(--fg-dim);
}

.ora-code-change.approve {
  border-color: rgba(34, 211, 238, 0.34);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.14), rgba(34, 211, 238, 0.09));
}

/* ───────────────────── Train ORA showcase ───────────────────── */
.train-ora-showcase {
  display: grid;
  grid-template-columns: minmax(460px, 1fr) minmax(0, 0.95fr);
  gap: 34px;
  align-items: center;
}

.train-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.022em;
}

.train-copy > p {
  margin: 0 0 22px;
  color: var(--fg-dim);
  font-size: 17px;
  line-height: 1.7;
}

.train-panel {
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 0% 20%, rgba(34, 211, 238, 0.14), transparent 34%),
    radial-gradient(circle at 85% 5%, rgba(124, 58, 237, 0.18), transparent 38%),
    rgba(12, 15, 24, 0.88);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.train-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.train-panel-head span {
  font-weight: 800;
  color: var(--fg);
}

.train-panel-head strong {
  color: #a7f3d0;
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
}

.train-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.train-metrics div {
  padding: 18px 14px;
  background: rgba(10, 14, 24, 0.92);
}

.train-metrics b,
.train-metrics span {
  display: block;
}

.train-metrics b {
  font-size: 24px;
  color: var(--fg);
  margin-bottom: 4px;
}

.train-metrics span {
  color: var(--fg-mute);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.train-flow {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.train-flow div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.train-flow span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #07111f;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, #a78bfa, #22d3ee);
}

.train-flow p {
  margin: 0;
  color: var(--fg-dim);
  line-height: 1.45;
}

.train-flow b {
  color: var(--fg);
}

.train-live-panel {
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(25, 19, 48, 0.90)),
    radial-gradient(520px 320px at 90% -10%, rgba(124, 58, 237, 0.28), transparent 70%),
    radial-gradient(420px 260px at 0% 18%, rgba(34, 211, 238, 0.18), transparent 68%);
  border-color: rgba(148, 163, 184, 0.20);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.train-live-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(124, 58, 237, 0.16)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.train-live-kicker,
.train-live-card > span {
  display: block;
  color: rgba(226, 232, 240, 0.58);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.train-live-hero h3 {
  margin: 8px 0 6px;
  color: #f8fafc;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.train-live-hero p {
  margin: 0;
  max-width: 42ch;
  color: rgba(226, 232, 240, 0.70);
  line-height: 1.55;
}

.train-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.24);
  font-size: 12px;
}

.train-live-pill i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 14px #22c55e;
  animation: train-live-pulse 1.2s ease-in-out infinite;
}

.train-live-grid,
.train-live-bottom {
  display: grid;
  gap: 14px;
}

.train-live-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.train-live-bottom {
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 14px;
}

.train-live-card {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  padding: 16px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024)),
    rgba(15, 23, 42, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.train-live-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 28%, rgba(255, 255, 255, 0.10) 42%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: train-scan 4.8s ease-in-out infinite;
}

.train-live-card b {
  display: block;
  margin-top: 8px;
  color: #f8fafc;
  font-size: 17px;
  line-height: 1.2;
}

.train-score-ring {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #171923 0 48%, transparent 49%),
    conic-gradient(from 0deg, #7c3aed 0 78%, rgba(148, 163, 184, 0.20) 78% 100%);
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.24);
  animation: train-ring-breathe 2.6s ease-in-out infinite;
}

.train-score-ring em,
.train-score-ring small {
  position: absolute;
  color: #f8fafc;
  font-style: normal;
}

.train-score-ring em {
  margin-top: -8px;
  font-size: 22px;
  font-weight: 800;
}

.train-score-ring small {
  margin-top: 24px;
  color: rgba(226, 232, 240, 0.58);
  font-size: 10px;
  text-transform: uppercase;
}

.train-wave {
  position: absolute;
  inset: auto 14px 16px 14px;
  height: 58px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.12), rgba(34, 211, 238, 0.02));
}

.train-wave svg {
  width: 100%;
  height: 100%;
}

.train-wave path {
  fill: none;
  stroke: #22d3ee;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 8 10;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.55));
  animation: train-wave-run 1.6s linear infinite;
}

.train-compute-bars {
  position: absolute;
  right: 18px;
  bottom: 20px;
  display: flex;
  align-items: end;
  gap: 7px;
  height: 70px;
}

.train-compute-bars i {
  width: 13px;
  height: 34px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #22d3ee, #7c3aed);
  animation: train-bar-bounce 1.15s ease-in-out infinite;
}

.train-compute-bars i:nth-child(2) { height: 46px; animation-delay: -0.2s; }
.train-compute-bars i:nth-child(3) { height: 31px; animation-delay: -0.4s; }
.train-compute-bars i:nth-child(4) { height: 54px; animation-delay: -0.6s; }
.train-compute-bars i:nth-child(5) { height: 66px; opacity: 0.28; animation-delay: -0.8s; }
.train-compute-bars i:nth-child(6) { height: 42px; opacity: 0.22; animation-delay: -1s; }

.train-monitor,
.train-forecast {
  min-height: 230px;
}

.train-monitor-row {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.train-monitor-row b,
.train-monitor-row em {
  color: rgba(226, 232, 240, 0.76);
  font-size: 12px;
  font-style: normal;
}

.train-monitor-row div,
.train-progress {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
}

.train-monitor-row i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #22d3ee, #f59e0b);
  animation: train-meter 2.4s ease-in-out infinite;
}

.train-forecast b {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 14px;
  color: rgba(226, 232, 240, 0.76);
  font-size: 12px;
  font-weight: 600;
}

.train-forecast b strong {
  color: #8b5cf6;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 0.9;
}

.train-progress {
  height: 12px;
}

.train-progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, #8b5cf6 0 28%, #22d3ee 28% 72%, #10b981 72% 88%, #f59e0b 88% 100%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  background-size: 100% 100%, 60px 100%;
  animation: train-progress-run 2.2s linear infinite;
}

.train-forecast small {
  display: block;
  margin-top: 12px;
  color: rgba(226, 232, 240, 0.56);
  font-size: 11px;
}

@keyframes train-live-pulse {
  0%, 100% { opacity: 0.72; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.45); }
}

@keyframes train-scan {
  0%, 56% { transform: translateX(-120%); opacity: 0; }
  68% { opacity: 0.65; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes train-ring-breathe {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.045); filter: brightness(1.16); }
}

@keyframes train-wave-run {
  to { stroke-dashoffset: -72; }
}

@keyframes train-bar-bounce {
  0%, 100% { transform: scaleY(0.72); filter: brightness(0.92); }
  50% { transform: scaleY(1.05); filter: brightness(1.18); }
}

@keyframes train-meter {
  0%, 100% { filter: saturate(1); }
  50% { filter: saturate(1.35) brightness(1.12); }
}

@keyframes train-progress-run {
  from { background-position: 0 0, -80px 0; }
  to { background-position: 0 0, 420px 0; }
}

.train-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 28px;
}

.train-benefits article {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.train-benefits b,
.train-benefits span {
  display: block;
}

.train-benefits b {
  margin-bottom: 6px;
  color: var(--fg);
}

.train-benefits span {
  color: var(--fg-dim);
  font-size: 13.5px;
  line-height: 1.5;
}

/* ───────────────────── stats strip ───────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  text-align: center;
  padding: 36px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat .n {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 8px;
}
.stat .k { color: var(--fg-dim); font-size: 13px; letter-spacing: 0.02em; }

/* ───────────────────── trust strip ───────────────────── */
.trust { padding: 34px 0; border-bottom: 1px solid var(--line); }
.trust-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 38px;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; letter-spacing: 0.02em;
  color: var(--fg-mute);
  white-space: nowrap;
}
.trust-item svg { width: 17px; height: 17px; color: var(--accent-1); opacity: 0.85; flex: 0 0 auto; }
@media (max-width: 700px) {
  .trust-row { gap: 12px 22px; }
  .trust-item { font-size: 12px; }
}

/* ───────────────────── pull quote ───────────────────── */
.pull {
  padding: 140px 0;
  text-align: center;
}
.pull blockquote {
  margin: 0 auto;
  max-width: 880px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--fg);
}
.pull blockquote::before {
  content: "\201C";
  display: block;
  font-size: 80px;
  line-height: 0.5;
  margin-bottom: 24px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pull cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-size: 14px;
  color: var(--fg-dim);
  letter-spacing: 0.02em;
}

/* ───────────────────── FAQ accordion ───────────────────── */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq details[open] { padding-bottom: 26px; }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--fg-dim);
  transition: transform 200ms var(--ease);
}
.faq details[open] summary::after {
  content: "−";
  color: var(--accent-1);
}
.faq details p {
  margin: 14px 0 0;
  color: var(--fg-dim);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 68ch;
}

/* ───────────────────── pricing comparison table ───────────────────── */
.compare {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-top: 20px;
}
.compare col:first-child { width: 48%; }
.compare col:nth-child(2),
.compare col:nth-child(3) { width: 26%; }
.compare th,
.compare td {
  height: 56px;
  padding: 0 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  vertical-align: middle;
}
.compare thead th {
  height: 52px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-mute);
  font-weight: 600;
  border-bottom: 1px solid var(--line-2);
}
.compare th:first-child,
.compare td:first-child {
  color: var(--fg);
  font-weight: 600;
  padding-left: 18px;
}
.compare th:not(:first-child),
.compare td:not(:first-child) {
  color: var(--fg-dim);
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}
.compare td .yes,
.compare td .no {
  display: inline-flex;
  min-width: 72px;
  justify-content: center;
  align-items: center;
  line-height: 1;
}
.compare td .yes { color: var(--accent-1); font-weight: 700; }
.compare td .no { color: var(--fg-mute); }
.compare tbody tr:hover { background: rgba(255, 255, 255, 0.02); }

/* ───────────────────── download big cards ───────────────────── */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.dl-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex; flex-direction: column;
  transition: transform 280ms var(--ease), border-color 280ms var(--ease);
}
.dl-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.dl-card .dl-os {
  margin-bottom: 18px;
  line-height: 0;
}
.dl-card .dl-os svg {
  width: 42px;
  height: 42px;
  display: block;
  transition: transform 320ms var(--ease);
}
.dl-card:hover .dl-os svg { transform: scale(1.06); }
.dl-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.dl-card .dl-meta {
  color: var(--fg-mute);
  font-size: 13px;
  margin: 0 0 28px;
}
.dl-card ul {
  list-style: none; padding: 0; margin: 0 0 28px;
  flex: 1;
}
.dl-card ul li {
  font-size: 13.5px;
  color: var(--fg-dim);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.dl-card ul li:last-child { border-bottom: 0; }
.dl-card.coming { opacity: 0.7; }
.dl-card.coming .badge {
  position: absolute; top: 22px; right: 22px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ───────────────────── about / story blocks ───────────────────── */
.story {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.story-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.story-grid h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-mute);
  font-weight: 600;
  margin: 0;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.story-grid .story-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg);
  max-width: 64ch;
}
.story-grid .story-body p {
  margin: 0 0 18px;
}
.story-grid .story-body p:first-child {
  font-size: 22px;
  line-height: 1.45;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.story-grid .story-body p:not(:first-child) {
  color: var(--fg-dim);
}

/* ───────────────────── contact card ───────────────────── */
.contact-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}
.contact-card h3 {
  margin: 0 0 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-mute);
  font-weight: 600;
}
.contact-card a, .contact-card span {
  display: block;
  font-size: 17px;
  color: var(--fg);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.contact-card a:hover { color: var(--accent-1); }
.contact-card p { margin: 6px 0 0; color: var(--fg-dim); font-size: 14px; }

/* ───────────────────── breadcrumb / page tag ───────────────────── */
.page-tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 24px;
}

/* ───────────────────── timeline (changelog-ish) ───────────────────── */
.timeline {
  position: relative;
  padding-left: 28px;
  margin-top: 40px;
}
.timeline::before {
  content: "";
  position: absolute; left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-1), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 28px;
}
.timeline-item::before {
  content: "";
  position: absolute; left: -28px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent-1);
}
.timeline-item time {
  display: block;
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.timeline-item h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}
.timeline-item p { margin: 0; color: var(--fg-dim); font-size: 14px; }

/* ═════════════════════════════════════════════════════════ */
/*                      LEGAL PAGES                          */
/* ═════════════════════════════════════════════════════════ */
.legal-wrap {
  padding: 40px 0 120px;
}
.legal-meta {
  display: flex; flex-wrap: wrap; gap: 16px 28px;
  padding: 18px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
  font-size: 13px;
  color: var(--fg-dim);
}
.legal-meta b { color: var(--fg); font-weight: 600; }
.legal-meta .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.02);
  color: var(--fg);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.legal {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  align-self: start;
  max-height: calc(100vh - var(--nav-h) - 48px);
  overflow-y: auto;
  padding-right: 8px;
}
.legal-toc h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-mute);
  margin: 0 0 14px;
  font-weight: 600;
}
.legal-toc ol {
  list-style: none; padding: 0; margin: 0;
  counter-reset: toc;
}
.legal-toc li { margin: 0; }
.legal-toc a {
  display: flex; align-items: baseline; gap: 10px;
  color: var(--fg-dim);
  font-size: 13px;
  padding: 6px 0;
  line-height: 1.4;
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -12px;
  transition: color 150ms var(--ease), border-color 150ms var(--ease);
}
.legal-toc a::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
  color: var(--fg-mute);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.legal-toc a:hover { color: var(--fg); }
.legal-toc a.active {
  color: var(--accent-1);
  border-left-color: var(--accent-1);
}

.legal-body section {
  padding: 0 0 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.legal-body section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.legal-body h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.018em;
  margin: 0 0 18px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
}
.legal-body h2 .num {
  color: var(--fg-mute);
  margin-right: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-size: 0.7em;
  letter-spacing: 0.04em;
  vertical-align: 0.18em;
}
.legal-body h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 28px 0 10px;
  color: var(--fg);
}
.legal-body p {
  font-size: 16px;
  line-height: 1.72;
  color: var(--fg-dim);
  margin: 0 0 14px;
  max-width: 70ch;
}
.legal-body p strong, .legal-body p b { color: var(--fg); font-weight: 600; }
.legal-body ul, .legal-body ol.legal-list {
  color: var(--fg-dim);
  font-size: 16px;
  line-height: 1.7;
  padding-left: 22px;
  margin: 0 0 16px;
  max-width: 68ch;
}
.legal-body li { margin-bottom: 8px; }
.legal-body li strong, .legal-body li b { color: var(--fg); }
.legal-body code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(255,255,255,0.06);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--fg);
}
.legal-body a { color: var(--accent-1); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: #c4b5fd; }

/* Plain-language summary callout */
.plain {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(167, 139, 250, 0.04));
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 0 0 22px;
  max-width: 70ch;
}
.plain b.label {
  display: inline-block;
  color: #22d3ee;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  margin-bottom: 6px;
}
.plain p {
  color: var(--fg) !important;
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

/* Defined-term style */
.term {
  font-weight: 600;
  color: var(--fg);
}

/* Definition list for "Definitions" section */
.legal-body dl {
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px 28px;
  max-width: 80ch;
}
.legal-body dt {
  color: var(--fg);
  font-weight: 600;
  font-size: 15px;
}
.legal-body dd {
  margin: 0;
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.6;
}

/* Note block (yellow-ish) */
.note {
  background: rgba(250, 204, 21, 0.06);
  border: 1px solid rgba(250, 204, 21, 0.22);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 0 0 22px;
  max-width: 70ch;
}
.note b.label {
  display: inline-block;
  color: #facc15;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  margin-bottom: 6px;
}
.note p { color: var(--fg) !important; font-size: 15px; margin: 0; line-height: 1.6; }

@media (max-width: 960px) {
  .legal { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc {
    position: static;
    max-height: none;
    border-bottom: 1px solid var(--line);
    padding: 0 0 20px;
  }
  .legal-toc ol {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 16px;
  }
  .legal-body dl { grid-template-columns: 1fr; gap: 4px; }
  .legal-body dl dt { margin-top: 12px; }
}

/* ───────────────────── responsive ───────────────────── */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .two-col.reverse .col-text,
  .two-col.reverse .col-art { order: 0; }
  .privacy-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; gap: 36px; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .seo-intent-grid { grid-template-columns: 1fr 1fr; }
  .hero-shot-body { grid-template-columns: 1fr; }
  .shot-sidebar { display: none; }
  .shot-providers { grid-template-columns: 1fr; }
  .feature { padding: 100px 0; }
  .art-browser-body { grid-template-columns: 1fr; }
  .art-browser-page { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .privacy-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .seo-intent-grid { grid-template-columns: 1fr; }
  .download-row .cta { width: 100%; justify-content: center; }
  .container { padding: 0 20px; }
}
@media (max-width: 900px) {
  .nav-inner {
    padding-inline: 20px;
    column-gap: 18px;
  }
  .nav .brand-logo-img {
    width: 116px;
  }
  .nav-links {
    gap: 18px;
    font-size: 13.5px;
  }
  .nav-actions {
    gap: 10px;
  }
  .nav-actions .cta-sm {
    padding: 8px 14px;
  }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ═════════════════════════════════════════════════════════ */
/*           INTERACTIVE AI HERO — type, route, stream       */
/* ═════════════════════════════════════════════════════════ */
.ai-chat {
  margin: 56px auto 0;
  max-width: 980px;
  perspective: 1600px;
}
.ai-chat-frame {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(24,24,30,0.72) 0%, rgba(10,10,14,0.88) 100%);
  border: 1px solid var(--line-2);
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    0 80px 200px -50px rgba(0,0,0,0.85),
    0 0 0 1px rgba(167,139,250,0.10),
    0 30px 100px -20px rgba(167,139,250,0.22),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transform: rotateX(1.5deg);
}
.ai-chat-frame::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(167,139,250,0.55), rgba(34,211,238,0.25), rgba(244,114,182,0.20));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.ai-chat-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.ai-chat-bar .dots span {
  display: inline-block;
  width: 10px; height: 10px; border-radius: 50%;
  margin-right: 5px;
}
.ai-chat-bar .dots span:nth-child(1){background:#ff5f57}
.ai-chat-bar .dots span:nth-child(2){background:#febc2e}
.ai-chat-bar .dots span:nth-child(3){background:#28c840}
.ai-chat-bar .title {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--fg-mute);
  font-size: 13px;
  font-family: "Space Grotesk","Inter",sans-serif;
  font-weight: 500;
}
.ai-chat-bar .pill {
  margin-left: auto;
  padding: 4px 12px;
  background: rgba(34,211,238,0.10);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 999px;
  border: 1px solid rgba(34,211,238,0.30);
  text-transform: uppercase;
  position: relative;
  padding-left: 22px;
}
.ai-chat-bar .pill::before {
  content: "";
  position: absolute;
  left: 9px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
  animation: pill-pulse 1.6s ease-in-out infinite;
}
@keyframes pill-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.ai-chat-bar .pill[data-state="thinking"] {
  background: rgba(167,139,250,0.10);
  color: var(--accent-1);
  border-color: rgba(167,139,250,0.30);
}
.ai-chat-bar .pill[data-state="thinking"]::before { background: var(--accent-1); box-shadow: 0 0 10px var(--accent-1); }

/* ─────── INPUT STATE ─────── */
.ai-chat-input-wrap {
  padding: 36px 32px 28px;
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}
.ai-chat-hint {
  text-align: center;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--fg-dim);
  margin-bottom: 18px;
}
.ai-chat-input {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 6px 6px 14px;
  background: rgba(16,16,20,0.85);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  transition: border-color 260ms var(--ease), box-shadow 260ms var(--ease);
  position: relative;
}
.ai-chat-input:focus-within {
  border-color: rgba(167,139,250,0.55);
  box-shadow:
    0 0 0 4px rgba(167,139,250,0.10),
    0 20px 60px -20px rgba(167,139,250,0.35);
}
.ai-chat-mini-orb {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  filter: drop-shadow(0 0 10px rgba(167,139,250,0.45));
  animation: mini-orb-pulse 3.4s ease-in-out infinite;
}
@keyframes mini-orb-pulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(167,139,250,0.45)); }
  50%      { filter: drop-shadow(0 0 18px rgba(167,139,250,0.75)); }
}
.ai-chat-input input {
  flex: 1;
  background: transparent;
  border: 0; outline: 0;
  color: var(--fg);
  font: 500 16px "Inter",system-ui,sans-serif;
  letter-spacing: -0.01em;
  padding: 16px 4px;
}
.ai-chat-input input::placeholder { color: var(--fg-mute); }
.ai-chat-input input:focus { outline: 0; }
.ai-chat-kbd {
  font: 600 11px "Space Grotesk","Inter",sans-serif;
  padding: 4px 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}
.ai-chat-send {
  width: 44px; height: 44px;
  border: 0; border-radius: 12px;
  background: var(--accent-grad);
  color: #0a0a0c;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.ai-chat-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -10px rgba(167,139,250,0.55);
}
.ai-chat-send:active { transform: translateY(0); }
.ai-chat-send svg { stroke: #0a0a0c; }

.ai-chat-chips {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
}
.ai-chip {
  padding: 8px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-dim);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 200ms var(--ease);
}
.ai-chip:hover {
  background: rgba(167,139,250,0.10);
  border-color: rgba(167,139,250,0.40);
  color: var(--fg);
  transform: translateY(-1px);
}

/* ─────── RESPONSE STATE (hidden by default) ─────── */
.ai-chat-response {
  display: none;
  padding: 0;
}
.ai-chat.responded .ai-chat-response { display: block; animation: fade-up 480ms var(--ease) both; }
.ai-chat.responded .ai-chat-input-wrap { display: none; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.ai-chat-q {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.ai-chat-q .av {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  flex: 0 0 30px;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
}
.ai-chat-q p {
  margin: 0;
  font-size: 16px;
  color: var(--fg);
  font-weight: 500;
  line-height: 1.45;
}
.ai-chat-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.ai-chat-cols .stream-col {
  padding: 22px 22px;
  border-right: 1px solid var(--line);
  min-height: 200px;
}
.ai-chat-cols .stream-col:last-child { border-right: 0; }
.ai-chat-synth {
  padding: 22px 28px;
  background: linear-gradient(180deg, rgba(167,139,250,0.10), transparent);
  border-top: 1px solid var(--line);
  display: flex; gap: 14px; align-items: flex-start;
}
.ai-chat-synth .syn-ico {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  flex: 0 0 36px;
  filter: drop-shadow(0 0 8px rgba(167,139,250,0.50));
}
.ai-chat-synth .syn-body { flex: 1; }
.ai-chat-synth b {
  display: block; font-size: 11.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-1);
  font-family: "Space Grotesk","Inter",sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
}
.ai-chat-synth p { margin: 0; font-size: 14.5px; color: var(--fg); line-height: 1.6; }

.ai-chat-reset {
  margin: 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--fg-dim);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms var(--ease);
  /* center via parent: we'll handle with a wrapping div */
}
.ai-chat-response > .ai-chat-reset {
  display: flex; margin: 18px auto 22px;
}
.ai-chat-reset:hover {
  border-color: rgba(167,139,250,0.45);
  color: var(--fg);
}

.ai-chat-footnote {
  margin: 18px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--fg-mute);
}

/* ─────── caret while typing ─────── */
.ai-chat-cols .stream-col p.typing::after,
.ai-chat-synth p.typing::after {
  content: "▍";
  display: inline-block;
  color: var(--c, var(--accent-1));
  animation: caret 1s steps(1) infinite;
  margin-left: 2px;
}

/* ─────── responsive ─────── */
@media (max-width: 860px) {
  .ai-chat-cols { grid-template-columns: 1fr; }
  .ai-chat-cols .stream-col { border-right: 0; border-bottom: 1px solid var(--line); }
  .ai-chat-cols .stream-col:last-child { border-bottom: 0; }
  .ai-chat-input-wrap { padding: 28px 18px 22px; }
}
@media (max-width: 540px) {
  .ai-chat-input { padding-left: 10px; gap: 8px; }
  .ai-chat-kbd { display: none; }
  .ai-chat-send { width: 40px; height: 40px; }
}

/* ─────── floating AI-orb cursor companion ─────── */
.cursor-orb {
  position: fixed;
  width: 14px; height: 14px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.95), rgba(167,139,250,0.85) 45%, rgba(109,40,217,0.0) 75%);
  box-shadow: 0 0 14px rgba(167,139,250,0.55), 0 0 28px rgba(34,211,238,0.30);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 240ms var(--ease);
  mix-blend-mode: screen;
}
.cursor-orb.on { opacity: 1; }
@media (hover: none) { .cursor-orb { display: none; } }

/* ─────── command palette (Cmd+K) ─────── */
.cmdk-backdrop {
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start; justify-content: center;
  padding-top: 14vh;
  animation: cmdk-fade 200ms var(--ease) both;
}
.cmdk-backdrop.open { display: flex; }
@keyframes cmdk-fade { from { opacity: 0; } to { opacity: 1; } }
.cmdk {
  width: 100%;
  max-width: 560px;
  background: linear-gradient(180deg, #16161b 0%, #0a0a0d 100%);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: 0 60px 160px -30px rgba(0,0,0,0.85), 0 0 0 1px rgba(167,139,250,0.20);
  overflow: hidden;
  animation: cmdk-pop 240ms var(--ease) both;
}
@keyframes cmdk-pop {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.cmdk-input-row {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.cmdk-input-row svg { color: var(--fg-mute); }
.cmdk-input {
  flex: 1;
  background: transparent; border: 0; outline: 0;
  color: var(--fg);
  font-size: 16px;
}
.cmdk-input::placeholder { color: var(--fg-mute); }
.cmdk-kbd {
  font: 600 10.5px "Space Grotesk", monospace;
  padding: 3px 7px; border-radius: 5px;
  background: rgba(255,255,255,0.06);
  color: var(--fg-mute);
}
.cmdk-list {
  list-style: none; margin: 0; padding: 6px;
  max-height: 50vh; overflow-y: auto;
}
.cmdk-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--fg);
  cursor: pointer;
}
.cmdk-list li.is-active,
.cmdk-list li:hover {
  background: linear-gradient(135deg, rgba(167,139,250,0.18), rgba(34,211,238,0.10));
}
.cmdk-list li small {
  margin-left: auto;
  color: var(--fg-mute);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.cmdk-list li .ico {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  font-size: 13px;
}
.cmdk-foot {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  display: flex; gap: 14px;
  color: var(--fg-mute);
  font-size: 11.5px;
}
.cmdk-foot span { display: inline-flex; align-items: center; gap: 6px; }

/* tiny chip in nav showing "Press ⌘K" */
.cmdk-hint {
  display: inline-flex; align-items: center; gap: 6px;
  margin-right: 4px;
  padding: 5px 10px 5px 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-mute);
  font-size: 12px;
  cursor: pointer;
  transition: all 200ms var(--ease);
}
.cmdk-hint:hover { border-color: var(--line-2); color: var(--fg-dim); }
.cmdk-hint kbd {
  font: 600 10px "Space Grotesk", monospace;
  padding: 2px 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  border: 0;
}
@media (max-width: 720px) { .cmdk-hint { display: none; } }

/* ═════════════════════════════════════════════════════════ */
/*       BRAND LOCKUP — ring + ORA wordmark + tagline        */
/*       Auto-adapts to light / dark via CSS variables       */
/* ═════════════════════════════════════════════════════════ */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  padding: clamp(20px, 3vw, 36px) clamp(24px, 4vw, 56px);
  margin-inline: auto;
}
.brand-lockup-ring {
  width: clamp(72px, 9vw, 128px);
  height: clamp(72px, 9vw, 128px);
  flex: 0 0 auto;
  filter: drop-shadow(0 0 18px rgba(167, 139, 250, 0.35))
          drop-shadow(0 0 40px rgba(34, 211, 238, 0.20));
  animation: lockup-breathe 5s ease-in-out infinite;
}
@keyframes lockup-breathe {
  0%, 100% {
    filter: drop-shadow(0 0 18px rgba(167, 139, 250, 0.35))
            drop-shadow(0 0 40px rgba(34, 211, 238, 0.20));
  }
  50% {
    filter: drop-shadow(0 0 28px rgba(167, 139, 250, 0.55))
            drop-shadow(0 0 60px rgba(34, 211, 238, 0.30));
  }
}
.brand-lockup-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.brand-lockup-word {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Inter", system-ui, sans-serif;
  font-weight: 200;
  font-size: clamp(40px, 6.5vw, 96px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0;
  line-height: 0.95;
}
.brand-lockup-tagline {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Inter", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(11px, 1.1vw, 16px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--fg);
  margin-top: clamp(10px, 1.4vw, 18px);
  white-space: nowrap;
}
.brand-lockup-tagline em {
  font-style: normal;
  background: linear-gradient(90deg, #7C3AED 0%, #d946ef 50%, #22D3EE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* compact variant for nav / footer / smaller surfaces */
.brand-lockup-sm {
  gap: 10px;
  padding: 0;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.brand-lockup-sm::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 55% 58%, rgba(34, 211, 238, 0.40), transparent 46%),
    radial-gradient(circle at 34% 35%, rgba(124, 58, 237, 0.54), transparent 52%),
    radial-gradient(circle, rgba(217, 70, 239, 0.18), transparent 64%);
  opacity: 0.42;
  transform: translateY(-50%) scale(0.78);
  filter: blur(13px) saturate(120%);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), filter 180ms var(--ease);
  pointer-events: none;
  animation: logo-orb-bloom 4.8s ease-in-out infinite;
}
.brand-lockup-sm::after {
  content: none;
}
.brand-lockup-sm:hover::before,
.brand-lockup-sm:focus-visible::before {
  opacity: 1;
  transform: translateY(-50%) scale(1.22);
  filter: blur(18px) saturate(180%);
}
@keyframes logo-orb-bloom {
  0%, 100% { opacity: 0.34; transform: translateY(-50%) scale(0.76); }
  50% { opacity: 0.56; transform: translateY(-50%) scale(0.88); }
}
@keyframes brand-o-breathe {
  0%, 100% { opacity: 0.58; transform: scale(0.94); }
  50% { opacity: 0.9; transform: scale(1.05); }
}
@keyframes logo-ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.brand-lockup-sm .brand-logo-img {
  position: relative;
  z-index: 1;
}
.brand-lockup-sm .brand-lockup-ring {
  width: 34px; height: 34px;
  animation: none;
  filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.35));
  flex: 0 0 auto;
}
.brand-lockup-sm .brand-lockup-text {
  align-items: flex-start;
  line-height: 1;
}
.brand-lockup-sm .brand-lockup-word {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Inter", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.16em;
  line-height: 1;
}
.brand-lockup-sm .brand-lockup-tagline {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Inter", system-ui, sans-serif;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  margin-top: 4px;
  line-height: 1;
  white-space: nowrap;
}
/* Hide tagline below 1100px so the nav doesn't crowd */
@media (max-width: 1100px) {
  .nav .brand-lockup-tagline { display: none; }
  .nav .brand-lockup-sm .brand-lockup-text { justify-content: center; }
  .ora-code-showcase { grid-template-columns: 1fr; }
  .ora-code-panel { max-width: 760px; width: 100%; }
  .train-ora-showcase { grid-template-columns: 1fr; }
  .train-panel { max-width: 760px; width: 100%; }
  .train-live-grid,
  .train-live-bottom { grid-template-columns: 1fr; }
}
/* Keep nav lockup horizontal on every viewport (override the global stack rule) */
@media (max-width: 520px) {
  .nav .brand-lockup { flex-direction: row; gap: 8px; }
  .nav .brand-lockup-sm .brand-lockup-word { font-size: 15px; letter-spacing: 0.14em; }
  .nav .brand-lockup-sm .brand-lockup-ring { width: 28px; height: 28px; }
  .nav .brand-logo-img { width: 116px; }
  .ora-code-points { grid-template-columns: 1fr; }
  .ora-code-tabs { overflow-x: auto; }
  .ora-code-bar { flex-direction: column; }
  .train-benefits,
  .train-metrics { grid-template-columns: 1fr; }
  .train-panel-head { flex-direction: column; }
  .train-live-hero { flex-direction: column; }
  .train-live-card { min-height: 132px; }
  .train-monitor-row { grid-template-columns: 62px 1fr; }
  .train-monitor-row em { grid-column: 2; }
}

/* responsive: stack on tiny screens */
@media (max-width: 520px) {
  .brand-lockup { flex-direction: column; gap: 14px; }
  .brand-lockup-text { align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-lockup-sm::before,
  .brand-lockup-sm::after,
  .brand-o::before,
  .brand-o::after {
    animation: none;
  }
}

/* ───────────────────── small brand orb — internal lights twinkle ───────────────────── */
.orb-light {
  opacity: 0.3;
  animation: orb-light 3.4s ease-in-out infinite;
  will-change: opacity;
}
.orb-light.l1 { animation-delay: 0s; }
.orb-light.l2 { animation-delay: -1.2s; }
.orb-light.l3 { animation-delay: -2.4s; }
@keyframes orb-light {
  0%, 100% { opacity: 0.30; }
  50%      { opacity: 1.00; }
}
@media (prefers-reduced-motion: reduce) {
  .orb-light { animation: none; opacity: 0.7; }
}

/* ───────────────────── light mode ───────────────────── */
/* ════════════════════════════════════════════════════════════════ */
/*   LIGHT THEME — manual, driven by [data-theme="light"] on <html>.  */
/*   theme-init.js sets it from the saved choice or the OS preference; */
/*   the nav toggle (script.js) flips + persists it.                  */
/* ════════════════════════════════════════════════════════════════ */
html[data-theme="light"] {
  /* cool off-white canvas (not clinical white) so white cards float above it */
  --bg: #f7f6fb;
  --bg-1: #eceaf4;
  --bg-2: #ffffff;
  --fg: #1d1d1f;
  --fg-dim: #4b4b52;
  --fg-mute: #86868b;
  --line: rgba(124, 58, 237, 0.10);
  --line-2: rgba(124, 58, 237, 0.18);
  /* deeper accents so the brand hues stay vivid + legible on the canvas */
  --accent-1: #7c3aed;
  --accent-2: #0891b2;
  --accent-3: #db2777;
  /* soft, warm, brand-tinted lift — gentle like a premium product page */
  --shadow-1: 0 1px 0 rgba(0, 0, 0, 0.02) inset,
    0 30px 80px -34px rgba(124, 58, 237, 0.16);
}

/* ── chrome ── */
html[data-theme="light"] .nav { background: rgba(255, 255, 255, 0.72); border-bottom-color: rgba(0, 0, 0, 0.06); }
html[data-theme="light"] .nav.is-scrolled { background: rgba(255, 255, 255, 0.9); }
html[data-theme="light"] .cta {
  background: #1d1d1f; color: #fff;
  box-shadow: 0 1px 2px rgba(33, 24, 64, 0.10), 0 12px 28px -14px rgba(33, 24, 64, 0.38);
}
html[data-theme="light"] .cta:hover {
  background: #000;
  box-shadow: 0 1px 2px rgba(33, 24, 64, 0.12), 0 16px 34px -14px rgba(124, 58, 237, 0.40);
}
html[data-theme="light"] .cta.ghost { background: transparent; color: #1d1d1f; }
html[data-theme="light"] .cta.ghost:hover { background: rgba(0, 0, 0, 0.05); }
html[data-theme="light"] .ghost { color: #1d1d1f; }
html[data-theme="light"] .ghost:hover { color: #000; }
html[data-theme="light"] .display,
html[data-theme="light"] .cta-section .display-sm {
  background: linear-gradient(180deg, #1d1d1f 0%, #4b4b52 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── hero ── */
html[data-theme="light"] .hero-orb { mix-blend-mode: multiply; opacity: 0.32; }
html[data-theme="light"] .hero-grid {
  background:
    linear-gradient(to bottom, transparent 0%, var(--bg) 92%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.018) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.018) 0 1px, transparent 1px 84px);
}
html[data-theme="light"] .glow-chip {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.20);
  color: #4b4b52;
}

/* ── ambient layers: soft brand color-blooms tinting the light canvas.
      screen-blend (great on black) does nothing on white, so light flips
      to multiply — that's what gives Apple/Linear-style depth on white.
      Hues are retinted to the ORA palette + kept low/pastel so text stays crisp. ── */
html[data-theme="light"] .mesh { background: transparent; }
html[data-theme="light"] .mesh::before,
html[data-theme="light"] .mesh::after,
html[data-theme="light"] .mesh > .m3,
html[data-theme="light"] .mesh > .m4 {
  mix-blend-mode: multiply;
}
html[data-theme="light"] .mesh::before {
  background: radial-gradient(circle, #7c3aed 0%, transparent 62%);
  opacity: 0.26;
}
html[data-theme="light"] .mesh::after {
  background: radial-gradient(circle, #0891b2 0%, transparent 62%);
  opacity: 0.21;
}
html[data-theme="light"] .mesh .m3 {
  background: radial-gradient(circle, #db2777 0%, transparent 62%);
  opacity: 0.15;
}
html[data-theme="light"] .mesh .m4 {
  background: radial-gradient(circle, #6366f1 0%, transparent 62%);
  opacity: 0.13;
}
html[data-theme="light"] .grain { opacity: 0.025; }

/* ── premium soft bloom behind page headlines (mirrors the dark hero's glow) ── */
html[data-theme="light"] .page-hero::before {
  background:
    radial-gradient(720px 360px at 50% -8%, rgba(124, 58, 237, 0.22), transparent 70%),
    radial-gradient(560px 320px at 18% 4%, rgba(99, 102, 241, 0.17), transparent 72%),
    radial-gradient(560px 320px at 82% 4%, rgba(8, 145, 178, 0.17), transparent 72%);
}

/* ── gradient-clipped headings: re-ink so they don't vanish on white ── */
html[data-theme="light"] .page-hero h1 {
  background: linear-gradient(180deg, #1d1d1f 0%, #3a3a40 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-theme="light"] .stat .n,
html[data-theme="light"] .glow-chip b {
  background: linear-gradient(135deg, #7c3aed 0%, #0891b2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── raised surfaces: white cards + soft realistic shadow ── */
html[data-theme="light"] .hero-shot-frame,
html[data-theme="light"] .art-card,
html[data-theme="light"] .price-card,
html[data-theme="light"] .priv,
html[data-theme="light"] .bento-cell,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .stat,
html[data-theme="light"] .ai-chat-frame,
html[data-theme="light"] .cmdk-panel {
  background: #ffffff;
  border-color: rgba(124, 58, 237, 0.08);
  box-shadow: 0 1px 2px rgba(33, 24, 64, 0.04), 0 18px 48px -28px rgba(33, 24, 64, 0.16);
  transition: transform 280ms var(--ease), border-color 280ms var(--ease),
    box-shadow 280ms var(--ease);
}
html[data-theme="light"] .bento-cell:hover,
html[data-theme="light"] .feature-card:hover {
  border-color: rgba(124, 58, 237, 0.24);
  box-shadow: 0 1px 2px rgba(33, 24, 64, 0.05), 0 28px 64px -28px rgba(124, 58, 237, 0.24);
  transform: translateY(-2px);
}
html[data-theme="light"] .price-card.tier-free {
  background:
    radial-gradient(620px 250px at 16% -18%, rgba(14, 165, 233, 0.14), transparent 65%),
    radial-gradient(520px 220px at 88% 4%, rgba(124, 58, 237, 0.11), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 255, 0.91));
  border-color: rgba(14, 165, 233, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.90) inset,
    0 22px 56px -34px rgba(14, 165, 233, 0.34),
    0 18px 50px -38px rgba(124, 58, 237, 0.35);
}
html[data-theme="light"] .price-card.tier-free::before {
  opacity: 0.34;
}
html[data-theme="light"] .price-card.tier-free h3 {
  color: #1d1d1f;
}
html[data-theme="light"] .price-card.tier-free .micro,
html[data-theme="light"] .price-card.tier-free .price small {
  color: #5f6472;
}
html[data-theme="light"] .price-card.tier-free ul li {
  border-bottom-color: rgba(30, 41, 59, 0.08);
}

/* ── alternating "dark" bands become soft grey in light ── */
html[data-theme="light"] .feature-dark,
html[data-theme="light"] .marquee,
html[data-theme="light"] .pull,
html[data-theme="light"] .federation,
html[data-theme="light"] .foot { background: #eceaf4; }
html[data-theme="light"] .foot { border-top-color: rgba(124, 58, 237, 0.08); }
html[data-theme="light"] .seo-intent-section { background: #f5f3fb; }
html[data-theme="light"] .seo-intent-card,
html[data-theme="light"] .seo-pill-row a {
  background: #ffffff;
  border-color: rgba(124, 58, 237, 0.10);
  box-shadow: 0 18px 50px -32px rgba(33, 24, 64, 0.22);
}
html[data-theme="light"] .marquee-track span:nth-child(odd) { color: #6b6b73; }
html[data-theme="light"] blockquote { color: #1d1d1f; }

/* ── inner panels / demos / chips: light fills instead of white-on-white glass ── */
html[data-theme="light"] .shot-sidebar,
html[data-theme="light"] .shot-prov,
html[data-theme="light"] .fed-col,
html[data-theme="light"] .ai-chat-bar,
html[data-theme="light"] .stream-col,
html[data-theme="light"] .ai-chat-synth,
html[data-theme="light"] .demo-fed-card,
html[data-theme="light"] .demo-brow,
html[data-theme="light"] .demo-brow-body,
html[data-theme="light"] .demo-search,
html[data-theme="light"] .demo-auto-step,
html[data-theme="light"] .demo-key-pill,
html[data-theme="light"] .demo-approve,
html[data-theme="light"] .local-results li,
html[data-theme="light"] .page-tag,
html[data-theme="light"] .compare tbody tr:hover {
  background: #f2f1f9;
  border-color: rgba(124, 58, 237, 0.08);
}
html[data-theme="light"] .ai-chat-input { background: #f2f1f9; border-color: rgba(124, 58, 237, 0.10); }
html[data-theme="light"] .ai-chat-input input { color: #1d1d1f; }

/* ── federated demo: cards float white on the art-card so each model's hue pops ── */
html[data-theme="light"] .fed-col { background: #ffffff; border-color: rgba(33, 24, 64, 0.07); }
html[data-theme="light"] .art-federated .federated-prompt {
  background: #ffffff; border-color: rgba(33, 24, 64, 0.08); color: var(--fg-dim);
}
html[data-theme="light"] .federated-synth {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(8, 145, 178, 0.10));
  border-color: rgba(124, 58, 237, 0.24);
  box-shadow: 0 18px 40px -26px rgba(124, 58, 237, 0.40);
}

/* ── icon tiles ── */
html[data-theme="light"] .fc-ico,
html[data-theme="light"] .feature-card .fc-ico {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(8, 145, 178, 0.10));
  color: #6d28d9;
  border-color: rgba(124, 58, 237, 0.18);
}

/* ── orbiting provider pills: dark glass → floating white pills on the canvas ── */
html[data-theme="light"] .orbit-chip {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(124, 58, 237, 0.14);
  color: #1d1d1f;
  box-shadow: 0 1px 2px rgba(33, 24, 64, 0.05), 0 12px 30px -16px rgba(33, 24, 64, 0.22);
}
html[data-theme="light"] .orbit-chip:hover {
  border-color: var(--c, var(--accent-1));
  box-shadow: 0 1px 2px rgba(33, 24, 64, 0.06),
    0 16px 36px -16px rgba(124, 58, 237, 0.30);
}

/* ── decorative rings/guides ── */
html[data-theme="light"] .orbit-ring { border-color: rgba(124, 58, 237, 0.08); }

html[data-theme="light"] code { background: rgba(0, 0, 0, 0.05); color: #1d1d1f; }
html[data-theme="light"] ::selection { background: var(--accent-1); color: #fff; }

/* Light-mode contrast fixes for controls that intentionally use dark glass. */
html[data-theme="light"] .price-toggle {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(124, 58, 237, 0.22);
  box-shadow: 0 10px 28px -18px rgba(33, 24, 64, 0.34);
}
html[data-theme="light"] .price-toggle button {
  color: #5b5b64;
}
html[data-theme="light"] .price-toggle button.on {
  background: #1d1d1f;
  color: #ffffff;
  box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.55);
}
html[data-theme="light"] .price-toggle button.on .save {
  background: rgba(34, 211, 238, 0.18);
  color: #67e8f9;
}
html[data-theme="light"] .pricing-proof-strip div {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.88)),
    radial-gradient(340px 130px at 50% -45%, rgba(14, 165, 233, 0.12), transparent 70%);
  border-color: rgba(124, 58, 237, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 18px 44px -34px rgba(33, 24, 64, 0.38);
}
html[data-theme="light"] .pricing-proof-strip b {
  color: #1d1d1f;
}
html[data-theme="light"] .pricing-proof-strip span {
  color: #5f6472;
}
html[data-theme="light"] .checkout-status {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(124, 58, 237, 0.18);
  color: #3f3f46;
  box-shadow: 0 16px 46px -32px rgba(33, 24, 64, 0.32);
}
html[data-theme="light"] .checkout-status[data-kind="success"] {
  background: rgba(236, 253, 245, 0.92);
  border-color: rgba(5, 150, 105, 0.34);
  color: #065f46;
}
html[data-theme="light"] .checkout-status[data-kind="warn"] {
  background: rgba(255, 251, 235, 0.94);
  border-color: rgba(217, 119, 6, 0.36);
  color: #92400e;
}
html[data-theme="light"] .checkout-status[data-kind="error"] {
  background: rgba(254, 242, 242, 0.94);
  border-color: rgba(220, 38, 38, 0.34);
  color: #991b1b;
}
html[data-theme="light"] .back-to-top {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(124, 58, 237, 0.26);
  color: #2f2f37;
  box-shadow: 0 16px 42px -22px rgba(33, 24, 64, 0.44);
}
html[data-theme="light"] .back-to-top:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(124, 58, 237, 0.46);
  color: #111114;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ─── firefly glow (per-color drop-shadow) — appended ─── */
.firefly {
  filter: drop-shadow(0 0 1.5px currentColor) drop-shadow(0 0 3px currentColor);
}
.firefly.f1 { color: #ffffff; }
.firefly.f2 { color: #c4b5fd; }
.firefly.f3 { color: #22d3ee; }
.firefly.f4 { color: #ffffff; }
.firefly.f5 { color: #f472b6; }
.firefly.f6 { color: #a78bfa; }
.firefly.f7 { color: #ffffff; }
.firefly.f8 { color: #22d3ee; }
@media (prefers-reduced-motion: reduce) {
  .firefly, .caustic, .orbit-core { animation: none !important; }
  .firefly { opacity: 0.55; }
}

/* ═════════════════════════════════════════════════════════════════ */
/*                       MOBILE NAV + POLISH                          */
/*  Append-only block — overrides earlier rules where needed.         */
/* ═════════════════════════════════════════════════════════════════ */

.nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.04); }
.nav-toggle:focus-visible { outline: 2px solid var(--accent-1); outline-offset: 2px; }
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--fg);
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}
.nav.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-actions .cmdk-hint { display: none; }
  .nav .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    padding: 8px 18px 24px;
    background: rgba(11, 15, 26, 0.96);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms var(--ease), transform 260ms var(--ease);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    z-index: 49;
  }
  .nav.nav-open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav .nav-links a {
    display: block;
    padding: 14px 4px;
    font-size: 16px;
    color: var(--fg);
    border-bottom: 1px solid var(--line);
  }
  .nav .nav-links a:last-child { border-bottom: 0; }
  .nav .nav-links a[aria-current="page"] { color: var(--accent-1); font-weight: 600; }
  html.nav-locked, html.nav-locked body { overflow: hidden; }
}

@media (max-width: 768px) {
  .compare {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
  }
  .compare thead, .compare tbody { display: table; min-width: 540px; width: 100%; }
  .compare th, .compare td {
    height: 48px;
    padding: 8px 14px;
    font-size: 13.5px;
    white-space: normal;
  }
}

@media (max-width: 760px) {
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="search"],
  input[type="tel"],
  input[type="url"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

@media (hover: none) and (pointer: coarse) {
  .cta { min-height: 44px; }
  .cta-sm { min-height: 40px; padding: 10px 18px; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
}

@media (max-width: 640px) {
  .hero-shot,
  .ai-chat,
  .stream-frame,
  .stream-demo { max-width: 100% !important; }
  .hero-shot-frame,
  .ai-chat-frame { transform: none !important; border-radius: 18px; }
  .stream-cols,
  .shot-providers,
  .federated-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
  .stream-prompt p { font-size: 14px !important; }
}

@media (max-width: 640px) {
  .page-hero { padding: calc(var(--nav-h) + 60px) 0 60px !important; }
  .page-hero h1 { font-size: clamp(32px, 8vw, 44px) !important; }
  .display { font-size: clamp(36px, 9vw, 56px) !important; line-height: 1.04 !important; }
  .display-sm { font-size: clamp(30px, 8vw, 44px) !important; }
  .h2 { font-size: clamp(26px, 7vw, 36px) !important; }
  .lede { font-size: 16px !important; }
}

@media (max-width: 640px) {
  .feature,
  .deep,
  .story,
  .pull { padding: 64px 0 !important; }
  .story-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  .story-grid h2 {
    position: static !important;
    top: auto !important;
    font-size: 12px !important;
    letter-spacing: 0.18em !important;
  }
  .story-grid .story-body {
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .story-grid .story-body p:first-child {
    font-size: 18px !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
  }
  .cta-section { padding: 88px 0 72px !important; }
}

@media (max-width: 700px) {
  .pricing-grid-3 { grid-template-columns: 1fr !important; max-width: 480px; }
  .pricing-grid-3 .price-card { padding: 28px 24px !important; }
  .price-card.tier-popular { transform: none !important; }
  .pricing-page .page-hero { padding-bottom: 36px !important; }
  .pricing-page #plans { padding-top: 32px !important; }
  .pricing-page .pricing-grid { margin-top: 30px !important; }
  .pricing-proof-strip { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
  .pricing-proof-strip div { min-height: 0; padding: 15px; border-radius: 16px; }
  .pricing-proof-strip span { font-size: 0.78rem; }
}

@media (max-width: 540px) {
  .legal-toc ol { grid-template-columns: 1fr !important; }
  .legal-meta { flex-direction: column; gap: 6px !important; }
  .pricing-proof-strip { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .foot-cols { grid-template-columns: 1fr !important; gap: 28px !important; }
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .seo-intent-card { min-height: 160px; padding: 20px; }
}

@media (max-width: 540px) {
  .founders-email-form { flex-direction: column !important; align-items: stretch !important; }
  .founders-email-form input,
  .founders-email-form .cta { width: 100%; min-width: 0 !important; }
}

@media (max-width: 640px) {
  .marquee-track { animation-duration: 28s !important; }
  .marquee-track span { font-size: 16px !important; }
}

@media (max-width: 380px) {
  .container { padding: 0 16px !important; }
}

/* ════════════════════════════════════════════════════════════════ */
/*   THEME TOGGLE — Apple-style sliding sun/moon switch (nav)         */
/*   Injected into .nav-actions by script.js on every page.          */
/* ════════════════════════════════════════════════════════════════ */
.theme-toggle {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 999px;
  line-height: 0;
}
.theme-toggle:focus-visible { outline: 2px solid var(--accent-1); outline-offset: 3px; }
.theme-toggle-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 56px;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.28);
  transition: background 260ms var(--ease), border-color 260ms var(--ease);
}
html[data-theme="light"] .theme-toggle-track {
  background: rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.10);
}
.theme-toggle-ico {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  display: block;
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.theme-toggle-ico-sun { color: #f59e0b; }
.theme-toggle-ico-moon { color: #a78bfa; }
/* dark theme active → moon lit, sun dim */
.theme-toggle-ico-sun { opacity: 0.42; }
.theme-toggle-ico-moon { opacity: 1; }
html[data-theme="light"] .theme-toggle-ico-sun { opacity: 1; }
html[data-theme="light"] .theme-toggle-ico-moon { opacity: 0.38; }
.theme-toggle-thumb {
  position: absolute;
  top: 50%;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #e7e7ec);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 0 0 0.5px rgba(0, 0, 0, 0.06);
  transform: translateY(-50%) translateX(28px); /* dark default → right (moon) */
  transition: transform 320ms var(--ease), background 260ms var(--ease);
}
html[data-theme="light"] .theme-toggle-thumb {
  transform: translateY(-50%) translateX(0); /* light → left (sun) */
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.22), 0 0 0 0.5px rgba(0, 0, 0, 0.06);
}
.theme-toggle:hover .theme-toggle-track { border-color: var(--accent-1); }
@media (prefers-reduced-motion: reduce) {
  .theme-toggle-thumb, .theme-toggle-ico, .theme-toggle-track { transition: none !important; }
}
@media (max-width: 760px) {
  /* keep the toggle visible on mobile, sit left of the hamburger */
  .theme-toggle { order: -1; }
}

/* ════════════════════════════════════════════════════════════════ */
/*   PROVIDER / CONNECTOR BRAND LOGOS                                 */
/* ════════════════════════════════════════════════════════════════ */
.brand-ico {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: -0.18em;
}
/* rail items: logo + label on one baseline */
.rail-strip span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* ── Connectors strip ── */
.connectors { padding: clamp(72px, 9vw, 120px) 0; }
.conn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.conn-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: transform 280ms var(--ease), border-color 280ms var(--ease),
    box-shadow 280ms var(--ease);
}
.conn-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: 0 24px 60px -30px rgba(124, 58, 237, 0.45);
}
.conn-card.is-live {
  border-color: rgba(34, 211, 238, 0.32);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(124, 58, 237, 0.06)),
    var(--bg-2);
}
html[data-theme="light"] .conn-card { background: #ffffff; border-color: rgba(0, 0, 0, 0.08); }
html[data-theme="light"] .conn-card.is-live {
  border-color: rgba(8, 145, 178, 0.30);
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.07), rgba(124, 58, 237, 0.05)), #ffffff;
}
.conn-logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
html[data-theme="light"] .conn-logo { background: #f5f6f8; border-color: rgba(0, 0, 0, 0.06); }
.conn-logo svg { width: 26px; height: 26px; display: block; }
.conn-logo--ora svg {
  width: 32px;
  height: 32px;
  filter:
    drop-shadow(0 0 8px rgba(124, 58, 237, 0.78))
    drop-shadow(0 0 12px rgba(34, 211, 238, 0.42));
}
.conn-meta {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.conn-meta b {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--fg);
  font-size: clamp(14px, 1.05vw, 15.5px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.conn-meta span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--fg-mute);
  font-size: 12.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.conn-status {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--fg-mute);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
html[data-theme="light"] .conn-status { background: rgba(0, 0, 0, 0.04); }
.conn-status.conn-live {
  color: #0b0f1a;
  background: linear-gradient(135deg, #22d3ee, #34d399);
  border-color: transparent;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.45);
}
@media (max-width: 880px) {
  .conn-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .conn-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════ */
/*   SHOWREEL — product video showcase (premium app-window frame)     */
/* ════════════════════════════════════════════════════════════════ */
.showreel { padding: clamp(80px, 10vw, 144px) 0; }
.showreel-frame {
  margin: clamp(40px, 5vw, 64px) auto 0;
  max-width: 1040px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #16161a 0%, #0c0c0f 100%);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-1), 0 80px 160px -50px rgba(0, 0, 0, 0.8);
}
html[data-theme="light"] .showreel-frame {
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 50px 120px -50px rgba(16, 24, 40, 0.32);
}
.showreel-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.showreel-bar span { width: 12px; height: 12px; border-radius: 50%; }
.showreel-bar span:nth-child(1) { background: #ff5f57; }
.showreel-bar span:nth-child(2) { background: #febc2e; }
.showreel-bar span:nth-child(3) { background: #28c840; }
.showreel-bar em { margin-left: 14px; font-style: normal; color: #8b93a7; font-size: 13px; }
.showreel-media { position: relative; aspect-ratio: 16 / 9; background: #0a0d16; overflow: hidden; }
.showreel-video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  user-select: none;
  -webkit-user-select: none;
}

/* ════════════════════════════════════════════════════════════════ */
/*   EFFICIENCY BENCHMARK — measured stats + token-compaction visual  */
/* ════════════════════════════════════════════════════════════════ */
.bench { padding: clamp(80px, 10vw, 144px) 0; }

.bench-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
  margin-top: clamp(40px, 5vw, 60px);
}

.bench-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.bench-tile {
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-2);
  transition: transform 280ms var(--ease), border-color 280ms var(--ease),
    box-shadow 280ms var(--ease);
}
.bench-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 24px 60px -30px rgba(124, 58, 237, 0.45);
}
.bench-num {
  margin: 0 0 6px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Inter var", "Inter", system-ui, sans-serif;
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bench-k {
  margin: 0 0 8px;
  color: var(--fg);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-family: "Space Grotesk", "Inter", sans-serif;
}
.bench-sub { margin: 0; color: var(--fg-dim); font-size: 13.5px; line-height: 1.55; }

/* ── token-compaction visual ── */
.bench-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(167, 139, 250, 0.07), rgba(34, 211, 238, 0.04)),
    var(--bg-1);
  border: 1px solid var(--line-2);
}
.tok-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tok-title {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--fg); font-size: 14px; font-weight: 600;
  font-family: "Space Grotesk", "Inter", sans-serif;
}
.tok-badge {
  font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 10px; border-radius: 999px;
  color: #0b0f1a;
  background: linear-gradient(135deg, #a78bfa, #22d3ee);
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.4);
}
.tok-bar {
  position: relative;
  height: 30px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.tok-fill-sum,
.tok-fill-live {
  position: absolute; top: 3px; bottom: 3px;
  border-radius: 999px;
}
.tok-fill-sum {
  left: 3px;
  width: 16%;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.85), rgba(139, 92, 246, 0.6));
}
.tok-fill-live {
  left: calc(16% + 8px);
  width: 34%;
  background: linear-gradient(135deg, #22d3ee, #34d399);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.45);
}
.tok-mark {
  position: absolute; top: 50%; left: 85%;
  transform: translate(-50%, -50%);
  font-size: 10.5px; font-weight: 600;
  color: var(--fg-mute);
  padding-left: 10px;
  border-left: 1.5px dashed rgba(255, 255, 255, 0.25);
  height: 100%;
  display: inline-flex; align-items: center;
}
/* fill animation — bar grows, then "compacts" (runs when .in lands via reveal) */
.bench-grid.in .tok-fill-sum { animation: tok-sum 6s var(--ease) infinite; }
.bench-grid.in .tok-fill-live { animation: tok-live 6s var(--ease) infinite; }
@keyframes tok-sum {
  0%   { width: 0%; opacity: 0; }
  52%  { width: 0%; opacity: 0; }
  62%  { width: 16%; opacity: 1; }
  100% { width: 16%; opacity: 1; }
}
@keyframes tok-live {
  0%   { left: 3px; width: 6%; }
  50%  { left: 3px; width: 79%; }   /* history piles up towards 85% */
  62%  { left: calc(16% + 8px); width: 34%; }  /* compaction: shrinks to summary + live turns */
  100% { left: calc(16% + 8px); width: 34%; }
}
.tok-rows { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.tok-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--fg-dim);
}
.tok-chip i {
  width: 10px; height: 10px; border-radius: 3px; display: inline-block;
}
.tok-chip-sum i { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.tok-chip-live i { background: linear-gradient(135deg, #22d3ee, #34d399); }
.tok-saved {
  margin-left: auto;
  font-size: 12.5px; font-weight: 600;
  color: var(--accent-2);
}
.tok-note {
  margin: 4px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--fg-mute); font-size: 13px; line-height: 1.55;
}

.bench-note {
  max-width: 720px; margin: 36px auto 0; text-align: center;
  color: var(--fg-mute); font-size: 14px; line-height: 1.6;
}
.bench-note b { color: var(--accent-1); }

/* light theme */
html[data-theme="light"] .bench-tile {
  background: #ffffff;
  border-color: rgba(124, 58, 237, 0.08);
  box-shadow: 0 1px 2px rgba(33, 24, 64, 0.04), 0 18px 48px -28px rgba(33, 24, 64, 0.16);
}
html[data-theme="light"] .bench-num {
  background: linear-gradient(135deg, #7c3aed 0%, #0891b2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-theme="light"] .bench-visual {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(8, 145, 178, 0.03)), #ffffff;
  border-color: rgba(124, 58, 237, 0.10);
}
html[data-theme="light"] .tok-bar { background: #f2f1f7; }
html[data-theme="light"] .tok-mark { border-left-color: rgba(0, 0, 0, 0.18); }

@media (max-width: 960px) {
  .bench-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bench-tiles { grid-template-columns: 1fr; }
  .tok-saved { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .bench-grid.in .tok-fill-sum,
  .bench-grid.in .tok-fill-live { animation: none; }
}

/* ════════════════════════════════════════════════════════════════ */
/*   ENTERPRISE STRIP — on-prem / air-gapped pitch (homepage)         */
/* ════════════════════════════════════════════════════════════════ */
.ent-strip { padding: clamp(64px, 8vw, 110px) 0; }
.ent-card {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 36px;
  align-items: center;
  padding: clamp(32px, 4.5vw, 56px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(900px 300px at 85% -20%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(700px 280px at 0% 120%, rgba(167, 139, 250, 0.12), transparent 60%),
    var(--bg-1);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -40px rgba(124, 58, 237, 0.35);
}
.ent-text h2 {
  margin: 10px 0 14px;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Inter var", "Inter", system-ui, sans-serif;
}
.ent-text p { margin: 0; color: var(--fg-dim); font-size: 16px; line-height: 1.65; max-width: 56ch; }
.ent-text p b { color: var(--fg); }
.ent-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.ent-actions .cta { justify-content: center; text-align: center; }
html[data-theme="light"] .ent-card {
  background:
    radial-gradient(900px 300px at 85% -20%, rgba(8, 145, 178, 0.08), transparent 60%),
    radial-gradient(700px 280px at 0% 120%, rgba(124, 58, 237, 0.07), transparent 60%),
    #ffffff;
  border-color: rgba(124, 58, 237, 0.10);
  box-shadow: 0 1px 2px rgba(33, 24, 64, 0.04), 0 30px 70px -40px rgba(33, 24, 64, 0.25);
}
@media (max-width: 860px) {
  .ent-card { grid-template-columns: 1fr; }
  .ent-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ════════════════════════════════════════════════════════════════ */
/*   ORA ASSIST — on-page sci-fi chatbot (assets/ora-bot.js)          */
/* ════════════════════════════════════════════════════════════════ */
.orabot { position: fixed; right: 24px; bottom: 84px; z-index: 90; isolation: isolate; }
html.orabot-locked, html.orabot-locked body { overflow: hidden; }

/* dim backdrop when chat is open */
.orabot-backdrop {
  position: fixed; inset: 0; z-index: 0;
  background: rgba(4, 4, 10, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 480ms var(--ease);
}
.orabot.open .orabot-backdrop,
.orabot.is-opening .orabot-backdrop {
  opacity: 1; pointer-events: auto;
}
.orabot.is-closing .orabot-backdrop {
  opacity: 0; pointer-events: none;
  transition-delay: 0ms;
}

/* ── morph shell: orb → chat panel ── */
.orabot-morph {
  position: relative; z-index: 1;
  width: 68px; height: 68px;
  border-radius: 50%;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  transition:
    width 560ms cubic-bezier(0.22, 1.12, 0.36, 1),
    height 560ms cubic-bezier(0.22, 1.12, 0.36, 1),
    border-radius 560ms cubic-bezier(0.22, 1.12, 0.36, 1),
    box-shadow 420ms var(--ease),
    border-color 420ms var(--ease),
    background 420ms var(--ease);
  transform-origin: bottom right;
  will-change: width, height, border-radius;
}
.orabot.open .orabot-morph,
.orabot.is-opening .orabot-morph {
  overflow: hidden;
  width: min(372px, calc(100vw - 32px));
  height: min(440px, calc(100vh - 110px));
  border-radius: 20px;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(167, 139, 250, 0.14), transparent 55%),
    linear-gradient(165deg, rgba(14, 12, 22, 0.98), rgba(6, 6, 12, 0.99));
  border: 1px solid rgba(167, 139, 250, 0.42);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 48px -6px rgba(124, 58, 237, 0.45),
    0 0 80px -20px rgba(34, 211, 238, 0.25),
    0 44px 100px -28px rgba(0, 0, 0, 0.9);
}

/* ── FAB: the ORA ring is the button ── */
.orabot-fab {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%;
  padding: 0; border: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  appearance: none;
  background: transparent;
  animation: orabot-float 4.5s ease-in-out infinite;
  transition: opacity 340ms var(--ease), transform 440ms cubic-bezier(0.22, 1.12, 0.36, 1);
}
.orabot-fab:hover:not(:disabled) {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.06);
}
.orabot-fab:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 8px;
}
.orabot.open .orabot-fab,
.orabot.is-opening .orabot-fab {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5);
  animation: none;
}
.orabot.is-closing .orabot-fab {
  opacity: 1;
  transform: scale(1);
  transition-delay: 220ms;
}

/* click burst — energy expands on open */
.orabot-fab-burst {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.55) 0%, rgba(167, 139, 250, 0.2) 40%, transparent 70%);
  opacity: 0; pointer-events: none; z-index: 4;
}
.orabot.is-opening .orabot-fab-burst {
  animation: orabot-burst 560ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes orabot-burst {
  0%   { opacity: 0.85; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(2.8); }
}

@keyframes orabot-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* ambient halo — soft chromatic bloom behind the ring */
.orabot-fab-halo {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.38) 0%,
    rgba(168, 85, 247, 0.22) 28%,
    rgba(34, 211, 238, 0.14) 52%,
    transparent 72%
  );
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
  animation: orabot-halo-breathe 3.6s ease-in-out infinite;
}
@keyframes orabot-halo-breathe {
  0%, 100% { opacity: 0.72; transform: scale(0.94); }
  50%      { opacity: 1; transform: scale(1.06); }
}

/* brand ring SVG — the hero */
.orabot-fab-ring {
  position: relative;
  z-index: 1;
  display: block;
  width: 68px;
  height: 68px;
  overflow: visible;
  filter:
    drop-shadow(0 0 6px rgba(139, 92, 246, 0.55))
    drop-shadow(0 0 18px rgba(168, 85, 247, 0.35))
    drop-shadow(0 0 32px rgba(34, 211, 238, 0.22));
  transition: filter 360ms var(--ease), transform 360ms cubic-bezier(0.22, 1.12, 0.36, 1);
}
.orabot-fab:hover .orabot-fab-ring {
  filter:
    drop-shadow(0 0 8px rgba(139, 92, 246, 0.7))
    drop-shadow(0 0 24px rgba(217, 70, 239, 0.45))
    drop-shadow(0 0 44px rgba(34, 211, 238, 0.35));
  transform: scale(1.04);
}

/* hover label pill */
.orabot-fab-label {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--fg);
  background: rgba(12, 12, 18, 0.92);
  border: 1px solid rgba(167, 139, 250, 0.35);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px -8px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.orabot-fab:hover .orabot-fab-label,
.orabot-fab:focus-visible .orabot-fab-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* chat body — revealed inside morph */
.orabot-body {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transition: opacity 220ms var(--ease);
}
.orabot.is-opening .orabot-body,
.orabot.open .orabot-body {
  opacity: 1; pointer-events: auto;
}
.orabot.is-closing .orabot-body {
  opacity: 0; pointer-events: none;
  transition-delay: 0ms;
}

/* staggered content reveal (skip decorative scanline) */
.orabot-body > *:not(.orabot-scan) {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 280ms var(--ease), transform 280ms cubic-bezier(0.22, 1.12, 0.36, 1);
}
.orabot.is-opening .orabot-head,
.orabot.open .orabot-head  { opacity: 1; transform: none; transition-delay: 80ms; }
.orabot.is-opening .orabot-log,
.orabot.open .orabot-log   { opacity: 1; transform: none; transition-delay: 140ms; }
.orabot.is-opening .orabot-chips,
.orabot.open .orabot-chips { opacity: 1; transform: none; transition-delay: 200ms; }
.orabot.is-opening .orabot-form,
.orabot.open .orabot-form  { opacity: 1; transform: none; transition-delay: 260ms; }
.orabot.is-opening .orabot-scan,
.orabot.open .orabot-scan  { opacity: 0.55; }
.orabot.is-closing .orabot-body > *:not(.orabot-scan) {
  opacity: 0; transform: translateY(6px); transition-delay: 0ms;
}
.orabot.is-closing .orabot-scan { opacity: 0; }

.orabot.is-closing .orabot-morph { overflow: hidden; }
/* thin scanline sweep — pure decoration */
.orabot-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.8), transparent);
  opacity: 0.55;
  animation: orabot-scan 4.5s linear infinite;
  pointer-events: none;
}
@keyframes orabot-scan {
  0% { top: 0; } 100% { top: 100%; }
}

.orabot-head {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(167, 139, 250, 0.18);
}
.orabot-orb {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(167, 139, 250, 0.10);
  border: 1px solid rgba(167, 139, 250, 0.25);
}
.orabot-title { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.orabot-title b {
  font-size: 14.5px; color: var(--fg); letter-spacing: 0.01em;
  font-family: "Space Grotesk", "Inter", sans-serif;
}
.orabot-brand {
  font-size: 15px;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, #e9d5ff 0%, #a78bfa 38%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.orabot-brand span { font-weight: 700; }
.orabot-title small {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--fg-mute); letter-spacing: 0.03em;
}
.orabot-status[data-tone="load"] { color: #a78bfa; }
.orabot-status[data-tone="ready"] { color: #34d399; }
.orabot-status[data-tone="warn"] { color: #fbbf24; }
.orabot-msg.orabot-think p.thinking {
  color: var(--fg-dim);
  font-style: italic;
  animation: orabot-pulse 1.2s ease-in-out infinite;
}
@keyframes orabot-pulse {
  50% { opacity: 0.55; }
}
.orabot-live {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 7px #34d399;
}
.orabot-close {
  margin-left: auto;
  appearance: none; border: 0; cursor: pointer;
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg-dim);
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.orabot-close:hover { background: rgba(255, 255, 255, 0.10); color: var(--fg); }

.orabot-log {
  display: flex; flex-direction: column; gap: 10px;
  flex: 1; min-height: 0;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.orabot-msg { display: flex; }
.orabot-msg p {
  margin: 0;
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13.5px; line-height: 1.55;
}
.orabot-msg.bot p {
  color: var(--fg);
  background: rgba(167, 139, 250, 0.10);
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-bottom-left-radius: 5px;
  white-space: pre-line;
}
.orabot-msg.user { justify-content: flex-end; }
.orabot-msg.user p {
  color: #0b0f1a;
  background: linear-gradient(135deg, #a78bfa, #22d3ee);
  border-bottom-right-radius: 5px;
  font-weight: 500;
}
.orabot-msg p a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.orabot-msg.bot p.typing::after {
  content: "▍";
  color: var(--accent-2);
  animation: orabot-caret 0.8s steps(1) infinite;
}
@keyframes orabot-caret { 50% { opacity: 0; } }

.orabot-chips {
  display: flex; flex-wrap: wrap; gap: 7px;
  padding: 0 16px 10px;
}
.orabot-chips:empty { display: none; }
.orabot-chip {
  appearance: none; cursor: pointer;
  font-size: 12px; color: var(--fg-dim);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(167, 139, 250, 0.25);
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
}
.orabot-chip:hover {
  color: var(--fg);
  border-color: var(--accent-2);
  background: rgba(34, 211, 238, 0.08);
}

.orabot-form {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(167, 139, 250, 0.18);
}
.orabot-form input {
  flex: 1; min-width: 0;
  appearance: none; border: 1px solid var(--line-2); outline: none;
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  font-size: 13.5px;
  padding: 10px 14px;
  border-radius: 12px;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.orabot-form input:focus {
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.14);
}
.orabot-form input::placeholder { color: var(--fg-mute); }
.orabot-form button {
  appearance: none; border: 0; cursor: pointer;
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  color: #0b0f1a;
  background: linear-gradient(135deg, #a78bfa, #22d3ee);
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.35);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.orabot-form button:hover { transform: scale(1.06); box-shadow: 0 0 22px rgba(34, 211, 238, 0.45); }

/* light theme */
html[data-theme="light"] .orabot-fab-halo {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, rgba(8, 145, 178, 0.08) 45%, transparent 70%);
}
html[data-theme="light"] .orabot-fab-label {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(124, 58, 237, 0.18);
  color: #1d1d1f;
}
html[data-theme="light"] .orabot.open .orabot-morph {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(124, 58, 237, 0.08), transparent 55%),
    linear-gradient(165deg, #ffffff, #f6f4fc);
  border-color: rgba(124, 58, 237, 0.20);
  box-shadow: 0 0 48px -6px rgba(124, 58, 237, 0.22), 0 44px 100px -28px rgba(33, 24, 64, 0.28);
}
html[data-theme="light"] .orabot-backdrop { background: rgba(240, 238, 248, 0.65); }
html[data-theme="light"] .orabot-msg.bot p {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.14);
}
html[data-theme="light"] .orabot-form input { background: rgba(0, 0, 0, 0.03); }
html[data-theme="light"] .orabot-chip { background: rgba(0, 0, 0, 0.02); }
html[data-theme="light"] .orabot-close { background: rgba(0, 0, 0, 0.05); }

/* mobile: full-width morph */
@media (max-width: 640px) {
  .orabot { right: 16px; bottom: 72px; }
  .orabot-morph { width: 64px; height: 64px; }
  .orabot.open .orabot-morph,
  .orabot.is-opening .orabot-morph {
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    width: auto;
    height: min(72vh, 520px);
    border-radius: 18px;
    transform-origin: bottom center;
  }
  .orabot-fab-ring { width: 64px; height: 64px; }
  .orabot-fab-halo { inset: -14px; }
  .orabot-fab-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .orabot-morph { transition-duration: 0.01ms !important; }
  .orabot-fab { animation: none; }
  .orabot-fab-halo { animation: none; }
  .orabot-fab-burst { animation: none !important; }
  .orabot-body > * { transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .orabot-scan { animation: none; opacity: 0; }
  .orabot-backdrop { transition-duration: 0.01ms; }
}

/* ═══ ORA Explore Hub ═══ */
.xp-hero { padding: calc(var(--nav-h) + 48px) 0 40px; position: relative; }
.xp-hero .lede { max-width: 720px; color: var(--fg-dim); font-size: 1.05rem; line-height: 1.65; }
.xp-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin: 12px 0 16px; }
.xp-hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; }
.xp-hub-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,0.03); border: 1px solid rgba(167,139,250,0.2); text-decoration: none; color: inherit; transition: border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.xp-hub-card:hover { border-color: rgba(34,211,238,0.45); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.xp-hub-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 0; }
.xp-hub-card p { color: var(--fg-dim); font-size: 0.9rem; margin: 0; flex: 1; }
.xp-hub-card .xp-hub-cta { font-size: 0.85rem; color: var(--accent-2); font-weight: 600; }
.xp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 32px 0; }
.xp-stat { padding: 20px 16px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); text-align: center; }
.xp-stat strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.xp-stat span { font-size: 0.8rem; color: var(--fg-mute); }
.xp-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 24px 0 40px; }
.xp-chart-card { padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,0.02); border: 1px solid var(--line); }
.xp-chart-card h4 { margin: 0 0 12px; font-size: 0.85rem; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.xp-chart-card canvas { width: 100%; height: 180px; display: block; }
.xp-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; padding: 16px; border-radius: var(--radius); background: rgba(255,255,255,0.02); border: 1px solid var(--line); position: sticky; top: calc(var(--nav-h) + 8px); z-index: 20; backdrop-filter: blur(12px); }
.xp-search { flex: 1; min-width: 200px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.04); color: var(--fg); font-size: 0.95rem; outline: none; }
.xp-search:focus { border-color: rgba(167,139,250,0.5); box-shadow: 0 0 0 3px rgba(167,139,250,0.12); }
.xp-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.xp-filter-btn { appearance: none; cursor: pointer; padding: 7px 14px; border-radius: 999px; font-size: 0.8rem; color: var(--fg-dim); background: transparent; border: 1px solid var(--line); transition: all 180ms var(--ease); }
.xp-filter-btn.is-active, .xp-filter-btn:hover { color: var(--fg); border-color: rgba(34,211,238,0.5); background: rgba(34,211,238,0.08); }
.xp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 60px; }
.xp-card { padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,0.025); border: 1px solid rgba(167,139,250,0.18); cursor: pointer; transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
.xp-card:hover { border-color: rgba(34,211,238,0.4); transform: translateY(-1px); }
.xp-card--skill, .xp-card--bp, .xp-card--learn { cursor: default; }
.xp-card-top { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.xp-card-title { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 4px; }
.xp-card-provider { font-size: 0.8rem; color: var(--fg-mute); margin: 0 0 10px; }
.xp-card-desc { font-size: 0.88rem; color: var(--fg-dim); line-height: 1.55; margin: 0 0 12px; }
.xp-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.xp-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.xp-card-ora { font-size: 0.75rem; color: var(--fg-mute); }
.xp-tag { font-size: 0.7rem; padding: 3px 8px; border-radius: 6px; background: rgba(167,139,250,0.12); color: var(--accent-1); text-transform: capitalize; }
.xp-badge { font-size: 0.68rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,0.06); color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.04em; }
.xp-badge--local { background: rgba(34,211,238,0.12); color: #22d3ee; }
.xp-badge--cloud { background: rgba(167,139,250,0.15); color: #a78bfa; }
.xp-badge--hybrid { background: rgba(244,114,182,0.12); color: #f472b6; }
.xp-badge--free { background: rgba(52,211,153,0.12); color: #34d399; }
.xp-badge--feat { background: rgba(251,191,36,0.12); color: #fbbf24; }
.xp-badge--basics { background: rgba(34,211,238,0.12); color: #22d3ee; }
.xp-badge--intermediate { background: rgba(167,139,250,0.15); color: #a78bfa; }
.xp-badge--advanced { background: rgba(244,114,182,0.12); color: #f472b6; }
.xp-badge--enterprise { background: rgba(251,191,36,0.12); color: #fbbf24; }
.xp-link-src { font-size: 0.78rem; color: var(--accent-2); text-decoration: none; font-weight: 600; }
.xp-link-src:hover { text-decoration: underline; }
.xp-micro { font-size: 0.8rem; color: var(--fg-mute); margin: 8px 0; }
.xp-empty { grid-column: 1 / -1; text-align: center; color: var(--fg-mute); padding: 40px; }
.xp-detail-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 90; display: none; }
body.xp-detail-open .xp-detail-backdrop { display: block; }
.xp-detail { position: fixed; top: 0; right: 0; width: min(520px, 100vw); height: 100vh; z-index: 100; overflow-y: auto; background: var(--bg-1); border-left: 1px solid rgba(167,139,250,0.25); box-shadow: -20px 0 60px rgba(0,0,0,0.4); transform: translateX(100%); transition: transform 280ms var(--ease); }
.xp-detail:not([hidden]) { transform: translateX(0); }
.xp-detail-inner { padding: 48px 28px 40px; }
.xp-detail-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: var(--fg); font-size: 1.4rem; cursor: pointer; line-height: 1; }
.xp-detail h2 { font-family: var(--font-display); margin: 12px 0 8px; }
.xp-detail h4 { margin: 20px 0 8px; font-size: 0.85rem; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.xp-detail-provider { color: var(--fg-mute); font-size: 0.9rem; }
.xp-list { margin: 0; padding-left: 18px; color: var(--fg-dim); font-size: 0.9rem; }
.xp-list li { margin-bottom: 4px; }
.xp-spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.xp-spec-grid div { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.xp-spec-grid span { display: block; font-size: 0.72rem; color: var(--fg-mute); margin-bottom: 4px; }
.xp-spec-grid strong { font-size: 0.85rem; }
.xp-bench-bars { display: flex; flex-direction: column; gap: 10px; }
.xp-bench-row { display: grid; grid-template-columns: 56px 1fr 32px; gap: 8px; align-items: center; font-size: 0.8rem; }
.xp-bench-track { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow: hidden; }
.xp-bench-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #a78bfa, #d946ef); }
.xp-bench-fill--cyan { background: linear-gradient(90deg, #22d3ee, #06b6d4); }
.xp-bench-row em { font-style: normal; color: var(--fg-dim); text-align: right; }
.xp-src-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.xp-src-btn { display: inline-block; padding: 8px 14px; border-radius: 10px; font-size: 0.82rem; font-weight: 600; text-decoration: none; color: var(--fg); background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.35); }
.xp-src-btn:hover { background: rgba(34,211,238,0.2); }
.xp-steps { margin: 12px 0; padding-left: 18px; font-size: 0.85rem; color: var(--fg-dim); }
.xp-read { font-size: 0.75rem; color: var(--fg-mute); float: right; }
.xp-read-more { appearance: none; cursor: pointer; border: 0; background: none; color: var(--accent-2); font-weight: 600; font-size: 0.85rem; padding: 0; }
.xp-learn-reader { margin: 32px 0 60px; padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,0.03); border: 1px solid rgba(167,139,250,0.25); position: relative; }
.xp-reader h2 { font-family: var(--font-display); margin: 12px 0; }
.xp-ora-tip { margin: 20px 0; padding: 14px 16px; border-radius: 12px; background: rgba(167,139,250,0.1); border: 1px solid rgba(167,139,250,0.25); font-size: 0.9rem; color: var(--fg-dim); }
.xp-banner { margin-top: 20px; padding: 14px 18px; border-radius: 14px; background: linear-gradient(135deg, rgba(167,139,250,0.12), rgba(34,211,238,0.08)); border: 1px solid rgba(167,139,250,0.3); font-size: 0.9rem; color: var(--fg-dim); }

/* Explore hub — cards always visible; tighter section rhythm */
[data-explore] .feature { padding: 32px 0 72px; }
[data-explore] .xp-hero .reveal,
[data-explore] .xp-hub-grid .reveal,
[data-explore] .xp-stats .reveal,
[data-explore] .xp-charts .reveal,
[data-explore] .xp-toolbar.reveal,
[data-explore] .xp-grid .xp-card,
[data-explore] .xp-grid.reveal { opacity: 1; transform: none; }
[data-explore] .xp-grid { min-height: 80px; }
[data-explore] main { position: relative; z-index: 1; }
.foot-bottom .ora-footer-copy { color: var(--fg-dim); flex-shrink: 0; }

@media (max-width: 640px) { .xp-toolbar { position: static; } .xp-detail { width: 100vw; } .xp-spec-grid { grid-template-columns: 1fr; } }

/* Blueprint layout + live guide chat */
.xp-bp-layout { display: grid; grid-template-columns: 1fr min(380px, 36vw); gap: 24px; align-items: start; }
.xp-bp-aside { position: sticky; top: calc(var(--nav-h) + 12px); }
.xp-bp-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.xp-bp-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.xp-bp-card-actions .cta { flex: 1; min-width: 120px; text-align: center; justify-content: center; }

.xp-bp-chat {
  display: flex; flex-direction: column;
  height: min(720px, calc(100vh - var(--nav-h) - 32px));
  border-radius: var(--radius);
  border: 1px solid rgba(167,139,250,0.28);
  background: rgba(8,10,18,0.85);
  backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
html[data-theme="light"] .xp-bp-chat { background: rgba(255,255,255,0.92); }
.xp-bp-chat-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.xp-bp-chat-head strong { display: block; font-family: var(--font-display); font-size: 0.95rem; }
.xp-bp-chat-head span { font-size: 0.72rem; color: #34d399; }
.xp-bp-chat-clear {
  appearance: none; cursor: pointer; border: 1px solid var(--line);
  background: transparent; color: var(--fg-dim); font-size: 0.75rem;
  padding: 4px 10px; border-radius: 8px;
}
.xp-bp-chat-msgs {
  flex: 1; overflow-y: auto; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.xp-bp-msg {
  max-width: 95%; padding: 10px 14px; border-radius: 14px;
  font-size: 0.86rem; line-height: 1.55; color: var(--fg-dim);
}
.xp-bp-msg--bot {
  align-self: flex-start;
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.22);
}
.xp-bp-msg--user {
  align-self: flex-end;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.25);
  color: var(--fg);
}
.xp-bp-msg strong { color: var(--fg); }
.xp-bp-typing-dots { opacity: 0.6; }
.xp-bp-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 12px 10px; max-height: 72px; overflow-y: auto;
}
.xp-bp-chip {
  appearance: none; cursor: pointer;
  font-size: 0.72rem; padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(167,139,250,0.3);
  background: rgba(255,255,255,0.03); color: var(--fg-dim);
}
.xp-bp-chip:hover { border-color: var(--accent-2); color: var(--fg); }
.xp-bp-chat-form {
  display: flex; gap: 8px; padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.xp-bp-chat-form input {
  flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.04);
  color: var(--fg); font-size: 0.88rem; outline: none;
}
.xp-bp-chat-form button {
  appearance: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, #a78bfa, #22d3ee);
  color: #0b0f1a; font-size: 1.1rem; font-weight: 700;
}
@media (max-width: 960px) {
  .xp-bp-layout { grid-template-columns: 1fr; }
  .xp-bp-aside { position: static; order: -1; }
  .xp-bp-chat { height: 420px; }
}

/* Live visitor pill — removed from UI */
.ora-live-pill { display: none !important; }

/* ORA comparison section */
.ora-cmp-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.ora-cmp-tab {
  appearance: none; cursor: pointer;
  padding: 8px 16px; border-radius: 999px;
  font-size: 0.82rem; color: var(--fg-dim);
  border: 1px solid var(--line); background: transparent;
  transition: all 200ms var(--ease);
}
.ora-cmp-tab.is-active, .ora-cmp-tab:hover {
  color: var(--fg); border-color: rgba(167,139,250,0.5);
  background: rgba(167,139,250,0.1);
}
.ora-cmp-table {
  border-radius: var(--radius);
  border: 1px solid rgba(167,139,250,0.22);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}
.ora-cmp-head, .ora-cmp-row {
  display: grid;
  grid-template-columns: 1.4fr 0.5fr 1fr;
  gap: 12px; padding: 14px 18px;
  align-items: center;
  font-size: 0.9rem;
}
.ora-cmp-head {
  background: rgba(167,139,250,0.08);
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--fg-dim);
}
.ora-cmp-row {
  border-top: 1px solid var(--line);
  opacity: 0; transform: translateX(-16px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
  transition-delay: calc(var(--cmp-i, 0) * 60ms);
}
.ora-cmp-row.ora-cmp-in { opacity: 1; transform: none; }
.ora-cmp-ora { color: #a78bfa; font-weight: 700; }
.ora-cmp-yes { color: #34d399; font-weight: 700; font-size: 1.1rem; }
.ora-cmp-no { color: var(--fg-mute); font-size: 0.85rem; }
.ora-cmp-partial { color: #fbbf24; font-size: 0.85rem; }
.ora-cmp-explainer {
  max-width: 720px; margin: 0 auto; padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(34,211,238,0.25);
  background: rgba(34,211,238,0.05);
}
.ora-cmp-explainer h3 { font-family: var(--font-display); margin: 0 0 12px; }
.ora-cmp-explainer p { margin: 0; color: var(--fg-dim); line-height: 1.65; }
@media (max-width: 640px) {
  .ora-cmp-head { display: none; }
  .ora-cmp-row { grid-template-columns: 1fr; gap: 6px; }
  .ora-live-pill { display: none; }
}

/* ════════════════════════════════════════════════════════════════ */
/*   MOBILE / ANDROID PERF — prevents GPU OOM & tab reload crashes   */
/* ════════════════════════════════════════════════════════════════ */
html[data-perf="lite"] .mesh::before,
html[data-perf="lite"] .mesh::after,
html[data-perf="lite"] .mesh > .m3,
html[data-perf="lite"] .mesh > .m4 {
  animation: none !important;
  filter: blur(56px);
  will-change: auto;
  opacity: 0.32;
}
@media (max-width: 768px) {
  .feature-grid,
  .feature-grid.cols-3,
  .feature-grid.cols-4 {
    grid-template-columns: 1fr;
  }
  .rail {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .rail-track {
    width: 100%;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .rail-strip {
    width: 100%;
    transform: none !important;
    animation: none !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    white-space: normal;
  }
  .rail-strip span {
    font-size: 14px;
    max-width: 100%;
  }
  .mesh::before,
  .mesh::after,
  .mesh > .m3,
  .mesh > .m4 {
    animation: none !important;
    filter: blur(56px);
    will-change: auto;
    opacity: 0.32;
  }
  .mesh::before,
  .mesh::after,
  .mesh > .m3,
  .mesh > .m4 {
    width: 360px !important;
    height: 360px !important;
  }
  .mesh::before { left: -160px; top: -140px; }
  .mesh::after { right: -170px; top: -110px; }
  .mesh > .m3 { left: -150px; right: auto; bottom: -140px; }
  .mesh > .m4 { right: -160px; left: auto; bottom: -120px; }
  .grain { display: none; }
  .spotlight { display: none !important; }
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
  }
  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0, 0, 0, 0.94);
  }
}
html[data-perf="lite"] .grain { display: none; }
html[data-perf="lite"] .spotlight { display: none !important; }
html[data-perf="lite"] .marquee-track {
  animation: none;
  flex-wrap: wrap;
  justify-content: center;
  white-space: normal;
}
html[data-perf="lite"] .nav {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(0, 0, 0, 0.94);
}
html[data-perf="lite"] .orbit-chip,
html[data-perf="lite"] .orbit-ring,
html[data-perf="lite"] .firefly,
html[data-perf="lite"] .scifi .sc-r1,
html[data-perf="lite"] .scifi .sc-r2,
html[data-perf="lite"] .scifi .sc-r3,
html[data-perf="lite"] .scifi .sc-halo,
html[data-perf="lite"] .scifi .sc-stream,
html[data-perf="lite"] .realora-stage,
html[data-perf="lite"] .hero-orb {
  animation: none !important;
}
html[data-perf="lite"] .orbit-chip {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-perf="lite"] .orabot-fab-halo {
  animation: none;
  opacity: 0.65;
  filter: blur(8px);
  inset: -14px;
}
html[data-perf="lite"] .orabot-fab-ring {
  display: block;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.55)) drop-shadow(0 0 16px rgba(34, 211, 238, 0.25));
}
html[data-perf="lite"] .orabot-fab {
  animation: none;
}
.showreel-static .showreel-video {
  object-fit: cover;
  background: #0a0d16;
}

/* Privacy consent — compact, first-party, mobile-safe. */
.cookie-banner {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(920px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(20, 18, 34, 0.94), rgba(7, 11, 20, 0.94)),
    rgba(10, 12, 20, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38), 0 0 34px rgba(34, 211, 238, 0.12);
  backdrop-filter: blur(18px);
}
.cookie-copy { min-width: 0; }
.cookie-copy strong {
  display: block;
  color: var(--fg);
  font-weight: 800;
  margin-bottom: 4px;
}
.cookie-copy p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.cookie-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #041018;
  font-weight: 800;
  background: linear-gradient(135deg, #9b8cff, #28d4f3);
  cursor: pointer;
}
.cookie-btn.ghost {
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.connect-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(440px, 0.8fr);
  gap: clamp(18px, 2.4vw, 30px);
  align-items: start;
  max-width: 1180px;
  margin: 34px auto 0;
}
.connect-form {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.26);
  border-radius: 26px;
  padding: clamp(22px, 3.2vw, 32px);
  background:
    radial-gradient(circle at 78% 18%, rgba(167, 139, 250, 0.18), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(34, 211, 238, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 90px rgba(0, 0, 0, 0.24);
}
.connect-form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 34%),
    radial-gradient(circle at 98% 0%, rgba(34, 211, 238, 0.18), transparent 26%);
  opacity: 0.7;
}
.connect-form > * {
  position: relative;
  z-index: 1;
}
.connect-form-head h3 {
  margin: 12px 0 6px;
  color: var(--fg);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}
.connect-form-head p { margin: 0 0 22px; color: var(--fg-dim); }
.connect-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.connect-fields label {
  display: grid;
  gap: 8px;
  color: var(--fg-dim);
  font-size: 13px;
  font-weight: 700;
}
.connect-fields .full { grid-column: 1 / -1; }
.connect-fields input,
.connect-fields select,
.connect-fields textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  padding: 13px 15px;
  background:
    linear-gradient(180deg, rgba(11, 13, 25, 0.78), rgba(5, 7, 14, 0.9));
  color: var(--fg);
  font: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 12px 30px rgba(0, 0, 0, 0.16);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}
.connect-fields input::placeholder,
.connect-fields textarea::placeholder { color: rgba(226, 232, 240, 0.42); }
.connect-fields select {
  appearance: auto;
  -webkit-appearance: menulist;
  cursor: pointer;
  padding-right: 15px;
  background-color: #080a14;
  background-image: none;
  color-scheme: dark;
}
.connect-fields select option {
  color: #f8fafc;
  background: #0d1222;
}
.connect-fields select option:checked {
  color: #ffffff;
  background: #24314b;
}
.connect-fields textarea { resize: vertical; line-height: 1.55; }
.connect-fields input:focus,
.connect-fields select:focus,
.connect-fields textarea:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.74);
  box-shadow:
    0 0 0 4px rgba(34, 211, 238, 0.12),
    0 16px 38px rgba(34, 211, 238, 0.12);
}
.connect-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.connect-actions p {
  margin: 0;
  color: var(--fg-mute);
  font-size: 13px;
}
.connect-actions p[data-state="ok"] { color: #34d399; }
.connect-actions p[data-state="error"] { color: #fca5a5; }
.connect-actions button:disabled { opacity: 0.62; cursor: progress; }
.bot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.connect-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: start;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at 94% 14%, rgba(34, 211, 238, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 70px rgba(0, 0, 0, 0.22);
}
.connect-side > div {
  min-width: 0;
  min-height: 156px;
  border-radius: 18px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.095);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}
.connect-side > div:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.28);
  background:
    linear-gradient(180deg, rgba(34, 211, 238, 0.08), rgba(255, 255, 255, 0.03));
}
.connect-side h3 {
  margin-bottom: 10px;
  color: rgba(226, 232, 240, 0.62);
}
.connect-side a {
  overflow-wrap: anywhere;
  font-size: 15.5px;
  line-height: 1.28;
}
.connect-side p {
  line-height: 1.48;
}

html[data-theme="light"] .connect-form {
  border-color: rgba(24, 24, 27, 0.10);
  background:
    radial-gradient(circle at 86% 8%, rgba(34, 211, 238, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}
html[data-theme="light"] .connect-fields input,
html[data-theme="light"] .connect-fields select,
html[data-theme="light"] .connect-fields textarea {
  background: rgba(255, 255, 255, 0.88);
  color: #1d1d1f;
  border-color: rgba(24, 24, 27, 0.14);
}
html[data-theme="light"] .connect-fields input::placeholder,
html[data-theme="light"] .connect-fields textarea::placeholder {
  color: #77717f;
  opacity: 1;
}
html[data-theme="light"] .connect-side > div {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(24, 24, 27, 0.10);
}
html[data-theme="light"] .connect-side h3 {
  color: #77717f;
}
html[data-theme="light"] .connect-side {
  border-color: rgba(24, 24, 27, 0.10);
  background:
    radial-gradient(circle at 94% 14%, rgba(34, 211, 238, 0.14), transparent 30%),
    rgba(255, 255, 255, 0.62);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}
html[data-theme="light"] .connect-fields select {
  background-color: #ffffff;
  background-image: none;
  color-scheme: light;
}
html[data-theme="light"] .connect-fields select option {
  color: #111827;
  background: #ffffff;
}
html[data-theme="light"] .cookie-banner {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(24, 24, 27, 0.12);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16), 0 0 30px rgba(34, 211, 238, 0.12);
}
html[data-theme="light"] .cookie-btn.ghost {
  color: #1d1d1f;
  border-color: rgba(24, 24, 27, 0.14);
  background: rgba(24, 24, 27, 0.05);
}

@media (max-width: 1060px) {
  .connect-grid {
    grid-template-columns: 1fr;
  }
  .connect-side {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .connect-grid,
  .connect-fields {
    grid-template-columns: 1fr;
  }
  .connect-grid { margin-top: 24px; }
  .connect-form { border-radius: 22px; }
  .connect-side {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding: 12px;
  }
  .connect-side > div { min-height: auto; }
  .connect-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .connect-actions .cta { width: 100%; }
  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    border-radius: 16px;
    padding: 14px;
  }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; padding: 0 12px; }
}
@media (max-width: 768px) {
  .hero {
    padding: calc(var(--nav-h) + 36px) 0 44px;
  }
  .hero .display {
    font-size: clamp(30px, 8.2vw, 42px) !important;
    line-height: 1.06 !important;
  }
  .hero .lede {
    font-size: 16px !important;
    margin-bottom: 24px;
  }
  .ai-chat {
    margin-top: 20px;
    max-width: 100%;
  }
  .ai-chat-frame {
    transform: none !important;
  }
  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-cta .cta,
  .hero-cta .ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .orabot-fab {
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.55);
  }
  .orabot-lite .orabot-fab::after {
    display: none;
  }
}
