/* Evora website. One stylesheet, no build step, no outside requests.
   Colours come from the Evora logo: violet to pink to amber on top, indigo to
   blue to cyan below. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/inter-latin-800-normal.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #07060d;
  --bg-2: #0c0b14;
  --surface: #12101c;
  --surface-2: #181525;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f4fb;
  --muted: #b2aec6;
  --subtle: #8c88a3;
  --violet: #7c5cff;
  --violet-2: #a63cff;
  --pink: #ef67a8;
  --amber: #ff9d5c;
  --blue: #2a62ff;
  --cyan: #00e4ff;
  --green: #3ddc97;
  --grad-warm: linear-gradient(100deg, #6b46ff 0%, #a63cff 38%, #ef67a8 70%, #ff9d5c 100%);
  --grad-cool: linear-gradient(100deg, #4b2bf5 0%, #2a62ff 50%, #00e4ff 100%);
  --grad-brand: linear-gradient(100deg, #7c5cff 0%, #a63cff 30%, #ef67a8 62%, #ff9d5c 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--line);
  --max: 1200px;
  --gutter: 24px;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 750; }
code, kbd { font-family: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, Consolas, monospace; font-size: 0.9em; }

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

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

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

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

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Section labels. A gradient rule sits beside the words (both sides when the
   heading is centred); --draw lets the script draw the rules in. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: clamp(15px, 1.6vw, 19px); font-weight: 700; line-height: 1.2;
  letter-spacing: 0.2em; text-transform: uppercase;
  background: linear-gradient(90deg, #cbbcff, #f2a6cf); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 22px;
}
.eyebrow::before, .section-head .eyebrow::after {
  content: ''; flex: none; width: 48px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(166, 60, 255, 0), #a63cff 45%, #ef67a8);
  transform: scaleX(var(--draw, 1)); transform-origin: 100% 50%;
}
.section-head .eyebrow::after {
  margin-left: -0.2em; /* the tracking after the last letter */
  background: linear-gradient(90deg, #ef67a8, #ff9d5c 55%, rgba(255, 157, 92, 0));
  transform-origin: 0 50%;
}
.feature-copy .eyebrow { font-size: clamp(14px, 1.3vw, 16px); }
.feature-copy .eyebrow::before { width: 36px; transform-origin: 0 50%; background: var(--grad-warm); }
.feature.flip .feature-copy .eyebrow::before { background: var(--grad-cool); }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(7, 6, 13, 0.6);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 6, 13, 0.82); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a {
  text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: 10px; transition: color 0.15s ease, background-color 0.15s ease;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; color: var(--muted);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.icon-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.icon-link svg { width: 22px; height: 22px; }

.menu-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

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

.btn {
  --btn-pad: 14px 22px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-pad); border-radius: 14px;
  font: inherit; font-size: 16px; font-weight: 650; line-height: 1.2; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; border: 0; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, #6a43ff 0%, #8f3cff 55%, #b23ce8 100%);
  box-shadow: 0 10px 30px -8px rgba(124, 92, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  opacity: 0; transition: opacity 0.18s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -10px rgba(166, 60, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-primary:hover::after { opacity: 1; }

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn-sm { --btn-pad: 9px 16px; font-size: 14.5px; border-radius: 11px; }
.btn-sm svg { width: 17px; height: 17px; }
.btn-lg { --btn-pad: 18px 30px; font-size: 18px; border-radius: 16px; }
.btn-lg svg { width: 22px; height: 22px; }

.btn-label { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.btn-label small { font-size: 12.5px; font-weight: 500; opacity: 0.82; letter-spacing: 0; }

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

.hero {
  overflow-x: clip;
  position: relative;
  padding: 72px 0 40px;
  isolation: isolate;
}
.hero::before {
  /* The glow behind the hero. */
  content: ''; position: absolute; inset: -120px 0 auto; height: 900px; z-index: -2;
  background:
    radial-gradient(600px 380px at 22% 18%, rgba(124, 92, 255, 0.32), transparent 70%),
    radial-gradient(520px 360px at 80% 12%, rgba(239, 103, 168, 0.22), transparent 70%),
    radial-gradient(700px 420px at 55% 70%, rgba(42, 98, 255, 0.22), transparent 70%);
  pointer-events: none;
}
.hero::after {
  /* A faint design grid, fading out. */
  content: ''; position: absolute; inset: -68px 0 auto; height: 760px; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-copy { text-align: center; max-width: 900px; margin: 0 auto; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none;
  margin-bottom: 28px; transition: background-color 0.15s ease;
}
.pill:hover { background: rgba(255, 255, 255, 0.08); }
.pill b {
  color: #fff; font-weight: 650; font-size: 12.5px; padding: 3px 10px; border-radius: 999px;
  background: var(--grad-warm);
}
.pill svg { width: 15px; height: 15px; }

.hero h1 {
  font-size: clamp(42px, 7.2vw, 84px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 24px;
}
.hero-lede {
  font-size: clamp(18px, 2.1vw, 21px);
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.hero-lede strong { color: var(--text); font-weight: 600; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }

.download-meta {
  margin-top: 18px; font-size: 14px; color: var(--subtle);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px;
}
.download-meta span { display: inline-flex; align-items: center; gap: 6px; }
.download-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.platform-note { max-width: 560px; margin: 16px auto 0; font-size: 14.5px; line-height: 1.55; color: var(--subtle); min-height: 1.55em; text-wrap: balance; }
.platform-note a { color: #c9b8ff; }

.hero-shot { position: relative; margin: 64px auto 0; max-width: 1160px; }
.hero-shot::before {
  content: ''; position: absolute; inset: 6% 4% -4%; z-index: -1;
  background: var(--grad-brand); filter: blur(70px); opacity: 0.38; border-radius: 40px;
}

.window {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow);
}
.window-bar {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  background: linear-gradient(#1a1726, #141220); border-bottom: 1px solid var(--line);
}
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3650; }
.window-bar span { margin-left: 10px; font-size: 12.5px; color: var(--subtle); font-weight: 500; }
.window img { width: 100%; }

.chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted);
  background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line);
}
.chip svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- Stats ---------- */

.stats {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius); overflow: hidden;
  background: var(--line); gap: 1px;
  box-shadow: 0 0 0 1px var(--line);
}
.stat { background: var(--bg-2); padding: 28px 24px; text-align: center; }
.stat strong {
  display: block; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1;
  margin-bottom: 6px;
}
.stat span { color: var(--muted); font-size: 15px; }

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

.section { padding: 136px 0 0; }
.section-head { max-width: 820px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.06; margin-bottom: 20px; letter-spacing: -0.045em; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 19px; max-width: 660px; margin: 0 auto; text-wrap: pretty; }

/* Benefit cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 30px 28px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-strong), 0 24px 50px -24px rgba(124, 92, 255, 0.45); }
.card h3 { font-size: 21px; margin: 20px 0 10px; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }

.icon-badge {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  background: var(--grad-warm);
  box-shadow: 0 10px 24px -10px rgba(166, 60, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.icon-badge.cool { background: var(--grad-cool); box-shadow: 0 10px 24px -10px rgba(42, 98, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.icon-badge svg { width: 24px; height: 24px; }

/* Feature rows */
.feature {
  display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 64px;
  padding: 56px 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip { grid-template-columns: 1.25fr 1fr; }
.feature.flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.035em; margin-bottom: 16px; }
.feature-copy > p { color: var(--muted); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: #dcd9ea; font-size: 16px; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--green); }
.feature-media { position: relative; }
.feature-media::before {
  content: ''; position: absolute; inset: 12% 8%; z-index: -1; filter: blur(60px); opacity: 0.3; border-radius: 40px;
  background: var(--grad-cool);
}
.feature.warm .feature-media::before { background: var(--grad-warm); }
.feature-media .window { border-radius: 14px; }

/* Small feature grid */
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.mini {
  padding: 22px; border-radius: var(--radius-sm);
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
}
.mini svg { width: 22px; height: 22px; color: #c9b8ff; margin-bottom: 14px; }
.mini h4 { font-size: 16.5px; margin-bottom: 6px; letter-spacing: -0.01em; }
.mini p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- Comparison ---------- */

.compare-wrap {
  border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line);
  background: var(--bg-2);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.compare { width: 100%; border-collapse: collapse; min-width: 900px; font-size: 15px; }
/* On narrow screens the feature names stay in view while the products scroll sideways. */
.compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--bg-2); }
.compare tbody th { width: 24%; min-width: 180px; }
.compare caption { text-align: left; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 15px; font-weight: 650; color: var(--muted); padding-top: 22px; padding-bottom: 18px; }
.compare thead th.us { color: var(--text); }
.compare thead th.us span { display: inline-flex; align-items: center; gap: 8px; }
.compare thead th.us img { width: 22px; height: 22px; }
.compare tbody th { font-weight: 550; color: #e7e5f2; }
.compare td.us { background: rgba(124, 92, 255, 0.08); }
.compare thead th.us { background: rgba(124, 92, 255, 0.12); border-radius: 0; }
.compare td { color: var(--muted); }
.compare td .v { display: inline-flex; align-items: center; gap: 8px; }
.compare td .v svg { width: 18px; height: 18px; flex: none; }
.compare .yes svg { color: var(--green); }
.compare .no svg { color: #ff6b8b; }
.compare .part svg { color: var(--amber); }
.compare td.us .v { color: var(--text); font-weight: 550; }
.compare-note { margin-top: 18px; font-size: 13.5px; color: var(--subtle); text-align: center; max-width: 860px; margin-left: auto; margin-right: auto; }

/* ---------- Self-host ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.panel {
  border-radius: var(--radius); padding: 40px;
  background:
    radial-gradient(500px 260px at 0% 0%, rgba(124, 92, 255, 0.22), transparent 70%),
    radial-gradient(500px 260px at 100% 100%, rgba(0, 228, 255, 0.12), transparent 70%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.panel h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.035em; margin-bottom: 14px; }
.panel > p { color: var(--muted); font-size: 17px; }

.terminal {
  border-radius: 14px; overflow: hidden; background: #0a0912; box-shadow: var(--shadow);
  font-family: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, Consolas, monospace; font-size: 14.5px;
}
.terminal .window-bar { background: #141220; }
.terminal { position: relative; }
.terminal::before {
  content: ''; position: absolute; inset: -30px 0; z-index: -1; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(61, 220, 151, 0.16), transparent), radial-gradient(closest-side at 30% 30%, rgba(124, 92, 255, 0.25), transparent);
  filter: blur(30px);
}
.term-body { padding: 22px 24px 26px; min-height: 270px; line-height: 1.75; color: #d8d5e8; }
.term-body .line { white-space: pre-wrap; overflow-wrap: anywhere; }
.term-body .cmd { color: #f5f4fb; margin-top: 2px; padding-left: 1.3em; text-indent: -1.3em; }
.term-body .cmd + .line:not(.cmd) { margin-top: 6px; }
.term-body .c { color: #7f7b96; }
.term-body .p { color: #c9b8ff; user-select: none; margin-right: 0.7em; }
.term-body .ok { color: var(--green); }
.term-body .line.is-hidden { visibility: hidden; }
.term-body .line.is-new { animation: term-in 0.35s ease both; }
.cursor {
  display: inline-block; width: 8px; height: 1.15em; margin-left: 1px; vertical-align: -0.2em;
  background: #c9b8ff; border-radius: 1px; animation: blink 1.05s steps(1) infinite;
}
.is-typing .cursor { animation: none; }
.term-replay {
  margin-left: auto; font: inherit; font-size: 12px; font-weight: 600; color: var(--muted);
  background: rgba(255, 255, 255, 0.06); border: 0; border-radius: 7px; padding: 4px 10px; cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.term-replay:hover { color: var(--text); background: rgba(255, 255, 255, 0.12); }
@keyframes blink { 50% { opacity: 0; } }
@keyframes term-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- Download ---------- */

.download-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; padding: 72px 56px 56px; text-align: center;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.download-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(124, 92, 255, 0.38), transparent 70%),
    radial-gradient(600px 300px at 85% 0%, rgba(239, 103, 168, 0.26), transparent 70%),
    radial-gradient(700px 300px at 50% 110%, rgba(42, 98, 255, 0.3), transparent 70%);
}
.download-card .app-icon {
  width: 96px; height: 96px; margin: 0 auto 26px; padding: 18px; border-radius: 26px;
  background: linear-gradient(180deg, #1d1a2c, #12101c);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 20px 50px -16px rgba(124, 92, 255, 0.7);
}
.download-card h2 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.04em; margin-bottom: 14px; }
.download-card h2 + p { color: var(--muted); font-size: 19px; max-width: 620px; margin: 0 auto 36px; text-wrap: balance; }
.download-card .platform-note { margin-top: 18px; }
.download-alt {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px;
  margin: 36px 0 0; font-size: 15px; color: var(--muted);
}
.download-alt .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.download-alt a { color: #c9b8ff; text-underline-offset: 3px; }

.reqs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 44px auto 0; max-width: 820px;
  background: var(--line); border-radius: var(--radius-sm); overflow: hidden; text-align: left;
  box-shadow: 0 0 0 1px var(--line);
}
.reqs div { background: rgba(12, 11, 20, 0.85); padding: 18px 20px; }
.reqs dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--subtle); font-weight: 600; margin-bottom: 4px; }
.reqs dd { margin: 0; font-size: 15.5px; color: var(--text); font-weight: 550; }

.notice {
  display: flex; gap: 14px; text-align: left; align-items: flex-start;
  max-width: 820px; margin: 28px auto 0; padding: 20px 22px; border-radius: var(--radius-sm);
  background: rgba(255, 157, 92, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 157, 92, 0.22);
  font-size: 15px; color: #e9dccf;
}
.notice svg { width: 22px; height: 22px; flex: none; color: var(--amber); margin-top: 1px; }
.notice p { margin: 0; }
.notice strong, .notice b { color: #fff; }
.notice-steps { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.notice code { font-size: 13px; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: #f3e6d8; overflow-wrap: anywhere; }

/* One card per system; the visitor's own is lit. */
.platforms {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  max-width: 980px; margin: 48px auto 0; text-align: left;
}
.platform {
  display: flex; flex-direction: column; padding: 22px 20px 20px; border-radius: var(--radius);
  background: rgba(12, 11, 20, 0.85); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow 0.2s ease;
}
.platform.is-current {
  box-shadow: inset 0 0 0 1px rgba(166, 60, 255, 0.65), 0 18px 50px -26px rgba(166, 60, 255, 0.9);
}
.platform-head { display: flex; align-items: center; gap: 10px; }
.platform-head svg { width: 24px; height: 24px; flex: none; color: #fff; }
.platform h3 { margin: 0; font-size: 19px; letter-spacing: -0.02em; }
.platform-badge {
  margin-left: auto; padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 650; color: #fff; background: var(--grad-warm); white-space: nowrap;
}
.platform-badge[hidden] { display: none; }
.platform-req { margin: 6px 0 16px; font-size: 14px; color: var(--subtle); }
.platform-files { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 8px; }
.platform-files a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 11px;
  color: var(--text); text-decoration: none;
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.platform-files a:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line-strong); }
.platform-files a:focus-visible { outline: 2px solid #c9b8ff; outline-offset: 2px; }
.platform-files a > svg { width: 18px; height: 18px; flex: none; color: #c9b8ff; transition: transform 0.2s ease; }
.platform-files a:hover > svg { transform: translateY(1px); }
.platform-files .file { display: flex; flex-direction: column; min-width: 0; }
.platform-files .file b { font-size: 15px; font-weight: 600; }
.platform-files .file small { font-size: 12.5px; color: var(--subtle); }

/* AI agents: the MCP server, under the three systems. */
.agent-dl {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px 32px; align-items: center;
  max-width: 980px; margin: 14px auto 0; padding: 24px 22px; border-radius: var(--radius); text-align: left;
  background: linear-gradient(100deg, rgba(124, 92, 255, 0.14), rgba(42, 98, 255, 0.07)), rgba(12, 11, 20, 0.85);
  box-shadow: inset 0 0 0 1px rgba(124, 92, 255, 0.4);
}
.agent-head { display: flex; gap: 14px; align-items: flex-start; }
.agent-head > svg { width: 26px; height: 26px; flex: none; color: #c9b8ff; margin-top: 1px; }
.agent-dl h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.02em; }
.agent-dl p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.agent-actions { display: grid; gap: 10px; min-width: 0; }
.agent-actions .platform-files { margin: 0; }
.agent-cmd {
  display: block; padding: 10px 12px; border-radius: 11px; line-height: 1.6; overflow-wrap: anywhere;
  background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: #e4dcff;
}
.agent-cmd span { white-space: nowrap; }
.agent-guide { font-size: 14px; color: #c9b8ff; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius-sm); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.faq details[open] { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--subtle); border-bottom: 2px solid var(--subtle);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer a { color: #c9b8ff; }

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

.site-footer { position: relative; margin-top: 160px; padding: 80px 0 40px; background: var(--bg-2); }
.site-footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(166, 60, 255, 0.7) 30%, rgba(239, 103, 168, 0.7) 60%, transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--subtle); margin-bottom: 14px; font-weight: 650; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-grid a:hover { color: var(--text); }
.footer-brand .brand { gap: 16px; font-size: clamp(32px, 3.2vw, 40px); font-weight: 800; letter-spacing: -0.045em; }
.footer-brand .brand img { width: 64px; height: 64px; }
.footer-brand p { color: var(--muted); font-size: 16px; max-width: 340px; margin-top: 20px; }
.legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--subtle); display: grid; gap: 6px; }
.legal p { margin: 0; }

/* ---------- Motion ---------- */

/* Gradient headlines drift slowly through the logo's colours. */
.gradient-text {
  background-image: linear-gradient(100deg, #7c5cff 0%, #a63cff 17%, #ef67a8 34%, #ff9d5c 50%, #ef67a8 66%, #a63cff 83%, #7c5cff 100%);
  background-size: 200% auto;
  animation: hue-drift 9s linear infinite;
}
@keyframes hue-drift { to { background-position: -200% center; } }

/* The hero's glow breathes and the design grid slides slowly. */
.hero::before { animation: glow-drift 18s ease-in-out infinite alternate; }
.hero::after { animation: grid-slide 30s linear infinite; }
@keyframes glow-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(3%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(-3%, -1%, 0) scale(1.02); }
}
@keyframes grid-slide { to { background-position: 56px 56px, 56px 56px; } }

/* Hero text rises in, one line after another. */
.js:not(.motion) .hero-copy > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js:not(.motion) .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.js:not(.motion) .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.js:not(.motion) .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.js:not(.motion) .hero-copy > :nth-child(5) { animation-delay: 0.32s; }
.js:not(.motion) .hero-copy > :nth-child(6) { animation-delay: 0.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* The "New" badge pulses gently. */
.pill b { position: relative; }
.pill b::after {
  content: ''; position: absolute; inset: -3px; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(239, 103, 168, 0.55); animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(239, 103, 168, 0.5); } 80%, 100% { box-shadow: 0 0 0 9px rgba(239, 103, 168, 0); } }

/* The big download buttons catch the light now and then. */
.btn-lg.btn-primary { overflow: hidden; }
.btn-lg.btn-primary::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg); animation: shine 5s ease-in-out 1.5s infinite;
}
@keyframes shine { 0% { left: -60%; } 22%, 100% { left: 130%; } }
.btn svg { transition: transform 0.2s ease; }
.btn:hover svg { transform: translateY(1px); }
.btn-ghost:hover svg, .pill:hover svg { transform: translateX(3px); }
.pill svg { transition: transform 0.2s ease; }

/* The hero screenshot tilts up into place, then floats. */
.js:not(.motion) .hero-shot.reveal {
  opacity: 0; transform: perspective(1800px) rotateX(18deg) translateY(60px) scale(0.94);
  transform-origin: 50% 0;
  transition: opacity 1.1s ease, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.js:not(.motion) .hero-shot.reveal.is-visible { opacity: 1; transform: none; }
.js:not(.motion) .hero-shot.is-visible .window { animation: float 8s ease-in-out 1.6s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-shot::before { animation: glow-pulse 6s ease-in-out infinite alternate; }
@keyframes glow-pulse { from { opacity: 0.28; } to { opacity: 0.48; } }

/* GSAP runs the hero: hidden until its timeline starts (site.js), and the
   screenshot's own reveal and float step aside for the scroll tilt. */
.motion .hero-copy > *, .motion .hero-shot, .motion .chips .chip { visibility: hidden; }
.motion .hero-shot.reveal { opacity: 1; transform: none; transition: none; }

/* Chips arrive one by one. */
.js:not(.motion) .chips .chip { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js:not(.motion) .chips .chip:nth-child(1) { animation-delay: 0.5s; }
.js:not(.motion) .chips .chip:nth-child(2) { animation-delay: 0.6s; }
.js:not(.motion) .chips .chip:nth-child(3) { animation-delay: 0.7s; }
.js:not(.motion) .chips .chip:nth-child(4) { animation-delay: 0.8s; }

/* Cards and tiles: a spotlight follows the pointer, icons lift. */
.card, .mini, .stat { position: relative; overflow: hidden; }
.card::after, .mini::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 255, 0.16), transparent 45%);
}
.card:hover::after, .mini:hover::after { opacity: 1; }
.icon-badge { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover .icon-badge { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.mini { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.mini:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-strong); }
.mini svg { transition: transform 0.3s ease, color 0.3s ease; }
.mini:hover svg { transform: scale(1.15); color: #fff; }

/* Feature screenshots lift and zoom a touch on hover. */
.feature-media .window { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s ease; }
.feature-media .window img { transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.feature-media:hover .window { transform: translateY(-6px); box-shadow: 0 40px 90px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line-strong); }
.feature-media:hover .window img { transform: scale(1.025); }
.js .feature-media.reveal { transform: translateY(30px) scale(0.97); }
.js .feature-media.reveal.is-visible { transform: none; }

/* Ticks pop in after their heading. */
.js .reveal .ticks li { opacity: 0; transform: translateX(-10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.is-visible .ticks li { opacity: 1; transform: none; }
.js .reveal.is-visible .ticks li:nth-child(1) { transition-delay: 0.25s; }
.js .reveal.is-visible .ticks li:nth-child(2) { transition-delay: 0.35s; }
.js .reveal.is-visible .ticks li:nth-child(3) { transition-delay: 0.45s; }
.js .reveal.is-visible .ticks li:nth-child(4) { transition-delay: 0.55s; }

/* Comparison rows light up under the pointer; Evora's column shimmers once. */
.compare tbody tr { transition: background-color 0.2s ease; }
.compare tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.compare-wrap.is-visible td.us { animation: col-glow 1.6s ease 0.3s both; }
@keyframes col-glow { 0% { background: rgba(124, 92, 255, 0.08); } 40% { background: rgba(124, 92, 255, 0.22); } 100% { background: rgba(124, 92, 255, 0.08); } }

/* The download card's icon floats and its glow turns. */
.download-card .app-icon { animation: float 6s ease-in-out infinite; }
.download-card::before { animation: glow-drift 16s ease-in-out infinite alternate; }

/* FAQ answers slide open. */
.faq details[open] .answer { animation: rise-small 0.35s ease both; }
@keyframes rise-small { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* The brand mark turns a little on hover. */
.brand img { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }

/* ---------- Reveal on scroll (only when scripts run) ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .js .reveal, .js .hero-shot.reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .feature-copy { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .platforms { grid-template-columns: 1fr; max-width: 520px; }
  .agent-dl { grid-template-columns: 1fr; max-width: 520px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .nav, .header-actions .icon-link, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.menu-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    margin: 0; padding: 12px var(--gutter) 20px;
    background: rgba(7, 6, 13, 0.97); border-bottom: 1px solid var(--line);
  }
  .site-header.menu-open .nav a { padding: 12px 8px; font-size: 17px; }
  .site-header.menu-open .nav .nav-download { display: block; margin-top: 8px; text-align: center; color: #fff; background: var(--violet); }
}

@media (min-width: 901px) { .nav .nav-download { display: none; } }

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero { padding-top: 48px; }
  .hero-shot { margin-top: 44px; }
  .section { padding-top: 96px; }
  .section-head { margin-bottom: 44px; }
  .eyebrow { gap: 10px; letter-spacing: 0.14em; margin-bottom: 18px; }
  .eyebrow::before, .section-head .eyebrow::after { width: 24px; }
  .section-head p { font-size: 17px; }
  .cards, .mini-grid { grid-template-columns: 1fr; }
  .stat { padding: 22px 14px; }
  .btn-lg { --btn-pad: 16px 22px; font-size: 17px; width: 100%; }
  .cta-row .btn { width: 100%; }
  .panel { padding: 28px 22px; }
  .download-card { padding: 48px 20px 36px; border-radius: 22px; }
  .download-alt { gap: 6px 12px; font-size: 14px; }
  .reqs { grid-template-columns: 1fr; }
  .notice { padding: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .site-footer { margin-top: 120px; padding-top: 64px; }
  .footer-brand .brand img { width: 52px; height: 52px; }
  .window-bar { height: 30px; }
  .window-bar i { width: 9px; height: 9px; }
  .window-bar span { display: none; }
}
