/* ==========================================================================
   Enclave Servers — site design system
   Dark, precise, aerospace-inspired. No framework dependency.
   ========================================================================== */

:root {
  --bg: #07080b;
  --bg-2: #0b0d12;
  --surface: #10131a;
  --surface-2: #151924;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f6;
  --text-2: #a9b1c1;
  --text-3: #6f7889;
  --accent: #7aa2ff;
  --accent-2: #a78bfa;
  --accent-ink: #0b1020;
  --go: #4ade80;
  --warn: #fbbf24;
  --stop: #f87171;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --container: 1200px;
  --nav-h: 68px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(122, 162, 255, 0.35); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(48px, 7vw, 80px) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-2); font-size: 1.12rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.7; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-2); line-height: 1.55; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.mono { font-family: var(--font-mono); }
.gradient-text {
  background: linear-gradient(100deg, #fff 10%, var(--accent) 55%, var(--accent-2) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.small { font-size: 0.88rem; }
.center { text-align: center; }

/* Background decorations */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; pointer-events: none; z-index: 0; }
.glow-a { width: 520px; height: 520px; background: #3b5bdb; top: -160px; right: -120px; }
.glow-b { width: 420px; height: 420px; background: #6d28d9; bottom: -200px; left: -160px; opacity: 0.22; }
.rel { position: relative; z-index: 1; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  text-decoration: none !important; white-space: nowrap; font-family: var(--font-body); line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--text); color: #05060a; box-shadow: 0 8px 30px -8px rgba(122,162,255,0.55); }
.btn-primary:hover { transform: translateY(-1px); background: #fff; box-shadow: 0 12px 36px -8px rgba(122,162,255,0.75); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.03);
  font-size: 0.82rem; color: var(--text-2); white-space: nowrap;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--go); box-shadow: 0 0 10px var(--go); }
.chip-accent { border-color: rgba(122,162,255,0.4); color: #c7d6ff; background: rgba(122,162,255,0.08); }
.tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: rgba(255,255,255,0.06); color: var(--text-2); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center; transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav.open { background: rgba(7, 8, 11, 0.78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-color: var(--line); }
.nav .container { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text) !important; text-decoration: none !important; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.02em; }
.brand img { height: 30px; width: auto; }
.brand small { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-3); letter-spacing: 0.18em; display: block; line-height: 1; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links > a, .nav-drop > button {
  color: var(--text-2); font-size: 0.94rem; padding: 8px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none !important;
}
.nav-links > a:hover, .nav-drop > button:hover, .nav-links > a.active { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 10px 18px; font-size: 0.92rem; }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-drop[data-open="true"] > button svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px); min-width: 520px;
  background: rgba(16, 19, 26, 0.96); backdrop-filter: blur(16px); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-drop[data-open="true"] .nav-menu, .nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
@media (hover: hover) { .nav-drop:hover .nav-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); } }
.nav-menu a { display: flex; gap: 12px; padding: 12px; border-radius: 10px; color: var(--text); text-decoration: none !important; }
.nav-menu a:hover { background: rgba(255,255,255,0.05); }
.nav-menu .ico { flex: 0 0 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(122,162,255,0.1); color: var(--accent); }
.nav-menu .ico svg { width: 18px; height: 18px; }
.nav-menu strong { display: block; font-size: 0.92rem; font-weight: 600; color: var(--text); }
.nav-menu span { display: block; }
.nav-menu strong + span { font-size: 0.8rem; color: var(--text-2); line-height: 1.35; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); color: var(--text); width: 42px; height: 42px; border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .25s ease, opacity .2s ease; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(7, 8, 11, 0.98); padding: 16px 20px 32px; overflow-y: auto; margin: 0;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links > a, .nav-drop > button { font-size: 1.1rem; padding: 14px 8px; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-menu { position: static; transform: none !important; min-width: 0; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; box-shadow: none; background: transparent; border: 0; padding: 4px 0 8px; }
  .nav-drop[data-open="true"] .nav-menu { display: grid; }
  .nav-cta { margin: 20px 0 0; }
  .nav-cta .btn { width: 100%; padding: 14px; font-size: 1rem; }
  body.nav-locked { overflow: hidden; }
  /* backdrop-filter would make the fixed menu panel position relative to the 68px bar */
  .nav.open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #07080b; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero-center { max-width: 1060px; margin: 0 auto; text-align: center; }
.hero-center h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); text-wrap: balance; }
.hero-center h1 br { display: none; }
@media (min-width: 900px) { .hero-center h1 br { display: inline; } }
.hero-center .lead { margin-left: auto; margin-right: auto; max-width: 680px; }
.hero-center .btn-row, .hero-center .hero-chips { justify-content: center; }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(48px, 7vw, 88px)) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 900px; }
.page-hero .lead { max-width: 720px; }
.page-hero.center h1, .page-hero.center .lead { margin-left: auto; margin-right: auto; text-align: center; }
.page-hero.center .btn-row { justify-content: center; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-3); margin-bottom: 18px; letter-spacing: 0.04em; }
.breadcrumb a { color: var(--text-2); }

/* ---------- Logo / trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.015); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px 22px; display: flex; gap: 14px; align-items: flex-start; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.trust-item strong { display: block; font-size: 0.98rem; }
.trust-item span { display: block; font-size: 0.85rem; color: var(--text-3); line-height: 1.4; }
@media (max-width: 900px) { .trust-row { grid-template-columns: 1fr 1fr; } .trust-item:nth-child(2) { border-right: 0; } .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .trust-row { grid-template-columns: 1fr; } .trust-item { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Cards ---------- */
.card {
  position: relative; background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card:hover { border-color: var(--line-strong); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(122,162,255,0.1); color: var(--accent); margin-bottom: 18px; border: 1px solid rgba(122,162,255,0.2); }
.card .icon svg { width: 22px; height: 22px; }
a.card { display: block; color: inherit; text-decoration: none !important; }
a.card:hover { transform: translateY(-3px); background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--accent); font-weight: 600; font-size: 0.92rem; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s ease; }
a.card:hover .more svg { transform: translateX(3px); }

/* Stat cards */
.stat { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.02); }
.stat .num { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-bottom: 12px; }
.stat p { color: var(--text-2); font-size: 0.95rem; margin: 0; }
.stat .src { display: block; margin-top: 12px; font-size: 0.75rem; color: var(--text-3); font-family: var(--font-mono); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }
@media (max-width: 980px) { .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 3; } }
@media (max-width: 680px) { .bento { grid-template-columns: 1fr; } .bento > *, .bento .span-3, .bento .span-4, .bento .span-6 { grid-column: auto; } }
.mini-ui { margin-top: 20px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,0.3); padding: 14px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-2); }
.mini-ui .row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.mini-ui .row:last-child { border-bottom: 0; }
.mini-ui .ok { color: var(--go); }
.mini-ui .flag { color: var(--warn); }
.mini-ui .hl { background: rgba(251,191,36,0.15); color: #fde68a; padding: 0 4px; border-radius: 4px; }

/* ---------- Steps / timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.1em; display: block; margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--text-2); font-size: 0.95rem; margin: 0; }
.step .when { display: inline-block; margin-top: 14px; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Data-flow diagram ---------- */
.flow { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px); background: radial-gradient(ellipse at 30% 20%, rgba(122,162,255,0.07), transparent 60%), rgba(255,255,255,0.015); }
.flow svg { width: 100%; height: auto; }
.flow .lbl { font-family: var(--font-body); font-size: 13px; fill: var(--text); }
.flow .sub { font-family: var(--font-mono); font-size: 10px; fill: var(--text-3); letter-spacing: 0.06em; }
.flow .box { fill: #121620; stroke: rgba(255,255,255,0.16); }
.flow .box-accent { fill: rgba(122,162,255,0.1); stroke: rgba(122,162,255,0.55); }
.flow .boundary { fill: none; stroke: rgba(74,222,128,0.5); stroke-dasharray: 6 6; }
.flow .bnd-lbl { font-family: var(--font-mono); font-size: 10px; fill: #86efac; letter-spacing: 0.12em; }
.flow .arrow { stroke: var(--accent); stroke-width: 1.6; fill: none; marker-end: url(#arrowhead); }
.flow .dash { stroke-dasharray: 5 5; animation: dash 1.2s linear infinite; }
.flow .blocked { stroke: rgba(248,113,113,0.7); stroke-width: 1.6; fill: none; stroke-dasharray: 4 5; }
.flow .x { stroke: var(--stop); stroke-width: 2.4; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.flow-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: 0.85rem; color: var(--text-2); }
.flow-legend i { display: inline-block; width: 22px; height: 0; border-top: 2px solid; vertical-align: middle; margin-right: 8px; }

/* ---------- Tabs (industries) ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 26px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.02); width: fit-content; max-width: 100%; }
.tab { padding: 10px 16px; border-radius: 10px; border: 0; background: none; color: var(--text-2); cursor: pointer; font-weight: 600; font-size: 0.92rem; font-family: inherit; display: inline-flex; align-items: center; gap: 8px; }
.tab svg { width: 16px; height: 16px; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--text); color: #05060a; }
.tab-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.checklist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--text-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px; background: rgba(74,222,128,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; border: 1px solid rgba(74,222,128,0.3); }
.prompt-list { display: grid; gap: 10px; }
.prompt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,0.25); font-size: 0.93rem; color: #dfe4ee; }
.prompt svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
@media (max-width: 860px) { .tab-panel { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)); }
.price-card.featured { border-color: rgba(122,162,255,0.55); background: linear-gradient(180deg, rgba(122,162,255,0.12), rgba(122,162,255,0.02) 60%); box-shadow: 0 30px 80px -30px rgba(122,162,255,0.45); }
.price-card .badge { position: absolute; top: -12px; left: 30px; background: var(--accent); color: var(--accent-ink); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.price-card .tier-label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.price-card h3 { font-size: 1.5rem; margin: 6px 0 8px; }
.price-card .tagline { color: var(--text-2); font-size: 0.95rem; min-height: 3em; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 18px 0 4px; }
.price .from { flex-basis: 100%; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.price .amt { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; letter-spacing: -0.03em; }
.price .per { color: var(--text-3); font-size: 0.9rem; }
.price-card .team { font-size: 0.88rem; color: var(--text-2); margin-bottom: 20px; }
.spec-list { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.spec-list li span:first-child { color: var(--text-3); font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px; }
.spec-list li span:last-child { text-align: right; color: var(--text); min-width: 0; }
.spec-list li span:first-child { flex: 0 0 auto; }
.price-card .btn { margin-top: auto; }
.price-note { text-align: center; color: var(--text-3); font-size: 0.86rem; margin-top: 22px; }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .price-card.featured { order: -1; } }

.includes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px 28px; list-style: none; padding: 0; margin: 0; }
.includes li { position: relative; padding-left: 30px; color: var(--text-2); }
.includes li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px; background: rgba(122,162,255,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237aa2ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; border: 1px solid rgba(122,162,255,0.3); }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.calc-in { padding: clamp(24px, 4vw, 40px); border-right: 1px solid var(--line); }
.calc-out { padding: clamp(24px, 4vw, 40px); background: radial-gradient(ellipse at 80% 0%, rgba(122,162,255,0.1), transparent 60%); }
.field { margin-bottom: 26px; }
.field label, .field .label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; }
.field output { font-family: var(--font-display); font-size: 1.4rem; color: var(--text); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--fill, 30%), #262b38 var(--fill, 30%)); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px rgba(122,162,255,0.25), 0 3px 8px rgba(0,0,0,0.5); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px rgba(122,162,255,0.25); cursor: pointer; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,0.25); }
.seg button { padding: 10px 8px; border-radius: 8px; border: 0; background: none; color: var(--text-2); font-weight: 600; cursor: pointer; font-family: inherit; font-size: 0.86rem; line-height: 1.25; }
.seg button small { display: block; font-weight: 400; font-size: 0.74rem; color: var(--text-3); }
.seg button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-strong) inset; }
.seg button[aria-pressed="true"] small { color: var(--text-2); }
.result-big { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin: 6px 0 4px; }
.result-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--text-2); }
.result-row b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.bars { margin-top: 24px; display: grid; gap: 14px; }
.bar-row .bar-lbl { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-2); margin-bottom: 6px; }
.bar-row .bar-lbl b { color: var(--text); font-variant-numeric: tabular-nums; }
.bar { height: 12px; border-radius: 999px; background: rgba(255,255,255,0.05); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.bar .b-us { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.bar .b-them { background: #4b5568; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } .seg button { font-size: 0.8rem; padding: 9px 4px; } .calc-in { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Pilot timeline ---------- */
.pilot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.pilot::before { content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--accent), var(--go)); opacity: 0.6; }
.pilot-step { text-align: center; padding: 0 14px; position: relative; }
.pilot-step .node { width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--accent); font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); position: relative; z-index: 1; }
.pilot-step:last-child .node { border-color: var(--go); color: var(--go); }
.pilot-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.pilot-step p { color: var(--text-2); font-size: 0.92rem; margin: 0; }
@media (max-width: 760px) { .pilot { grid-template-columns: 1fr; gap: 22px; } .pilot::before { top: 0; bottom: 0; left: 22px; right: auto; width: 2px; height: auto; } .pilot-step { text-align: left; padding-left: 66px; } .pilot-step .node { position: absolute; left: 0; top: 0; margin: 0; } }

.guarantee { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); border: 1px solid rgba(74,222,128,0.3); background: radial-gradient(ellipse at 0% 50%, rgba(74,222,128,0.1), transparent 60%), rgba(255,255,255,0.02); }
.guarantee .seal { width: 92px; height: 92px; }
.guarantee h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 6px; }
.guarantee p { color: var(--text-2); margin: 0; }
@media (max-width: 820px) { .guarantee { grid-template-columns: 1fr; text-align: left; } }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.94rem; }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); font-weight: 500; background: rgba(255,255,255,0.02); }
.compare thead th.us { color: var(--accent); }
.compare td.us { background: rgba(122,162,255,0.06); color: var(--text); font-weight: 500; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td { color: var(--text-2); }
.compare td:first-child { color: var(--text); font-weight: 500; }
.yes { color: var(--go); } .no { color: var(--stop); } .meh { color: var(--warn); }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder-photo { aspect-ratio: 4/5; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: radial-gradient(circle at 50% 35%, rgba(122,162,255,0.25), transparent 60%), linear-gradient(160deg, #1a2030, #0b0d12); display: grid; place-items: center; overflow: hidden; position: relative; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .initials { font-family: var(--font-display); font-size: 5rem; font-weight: 600; color: rgba(255,255,255,0.85); letter-spacing: -0.04em; }
.founder-photo .cap { position: absolute; bottom: 12px; left: 12px; right: 12px; text-align: center; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-3); letter-spacing: 0.08em; }
.founder blockquote { margin: 0 0 22px; font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--text); }
.founder .creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder-photo { max-width: 260px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.02); transition: border-color .2s ease, background .2s ease; }
.faq details[open] { border-color: var(--line-strong); background: rgba(255,255,255,0.035); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--text-2); transform: translate(-50%, -50%); transition: transform .25s ease; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 22px 22px; color: var(--text-2); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); padding: clamp(36px, 6vw, 72px); background: radial-gradient(ellipse at 15% 0%, rgba(122,162,255,0.22), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(167,139,250,0.18), transparent 50%), var(--surface); }
.cta-band h2 { max-width: 760px; }
.cta-band p { color: var(--text-2); max-width: 640px; font-size: 1.1rem; }
.cta-band .contact-line { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.95rem; color: var(--text-2); }
.cta-band .contact-line a { color: var(--text); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--text-2); margin-bottom: 7px; }
.form-field label .opt { font-weight: 400; color: var(--text-3); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(0,0,0,0.35);
  color: var(--text); font: inherit; font-size: 0.98rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9b1c1' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
.form-field select option { background: #10131a; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #566074; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(122,162,255,0.15); }
.form-field .err { color: #fca5a5; font-size: 0.82rem; margin-top: 6px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.radio-cards label { position: relative; margin: 0; }
.radio-cards input { position: absolute; opacity: 0; }
.radio-cards span { display: block; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line-strong); font-size: 0.86rem; color: var(--text-2); cursor: pointer; text-align: center; transition: all .15s ease; font-weight: 500; height: 100%; }
.radio-cards input:checked + span { border-color: var(--accent); background: rgba(122,162,255,0.12); color: var(--text); }
.radio-cards input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 600px) { .radio-cards { grid-template-columns: 1fr 1fr; } }

.alert { padding: 14px 18px; border-radius: 12px; border: 1px solid; margin: 0 0 20px; font-size: 0.95rem; }
.alert-error { border-color: rgba(248,113,113,0.4); background: rgba(248,113,113,0.08); color: #fecaca; }
.alert-success { border-color: rgba(74,222,128,0.4); background: rgba(74,222,128,0.08); color: #bbf7d0; }
.alert-info, .alert-warning { border-color: rgba(122,162,255,0.4); background: rgba(122,162,255,0.08); color: #c7d6ff; }
.flash-wrap { padding-top: calc(var(--nav-h) + 16px); }

.success-panel { text-align: center; padding: clamp(32px, 6vw, 64px) 24px; }
.success-panel .check { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(74,222,128,0.12); border: 1px solid rgba(74,222,128,0.4); color: var(--go); }
.success-panel .check svg { width: 34px; height: 34px; }

/* ---------- Video ---------- */
.video-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Prose / legal ---------- */
.prose { color: var(--text-2); }
.prose h2, .prose .h5 { font-family: var(--font-display); color: var(--text); font-size: 1.25rem; margin: 0 0 12px; font-weight: 600; }
.prose h3, .prose .h6 { font-family: var(--font-display); color: var(--text); font-size: 1.05rem; margin: 18px 0 8px; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose .card { margin-bottom: 18px; }
.prose .card:hover { border-color: var(--line); }
.prose .card-body p:last-child { margin-bottom: 0; }
.prose header { text-align: center; margin-bottom: 32px; }
.prose header h1, .prose .display-5 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--text); }
.prose .lead { margin-bottom: 4px; }
.prose .text-muted { color: var(--text-3); }
.prose .mb-0 { margin-bottom: 0; }
.prose .text-center { text-align: center; }
.prose code { font-family: var(--font-mono); font-size: 0.86em; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,0.07); color: #dfe4ee; }

/* Code / domain lists */
.code-block { font-family: var(--font-mono); font-size: 0.86rem; line-height: 1.7; padding: 18px 20px; border-radius: 12px; background: #05060a; border: 1px solid var(--line); color: #c7d6ff; overflow-x: auto; position: relative; }
.copy-btn { position: absolute; top: 10px; right: 10px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2); font-size: 0.76rem; cursor: pointer; font-family: var(--font-body); }
.copy-btn:hover { color: var(--text); }
.check-step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.check-step:last-child { border-bottom: 0; }
.check-step .n { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-mono); color: var(--accent); border: 1px solid rgba(122,162,255,0.35); background: rgba(122,162,255,0.08); }
.check-step h3 { margin-bottom: 6px; }
.check-step .time { font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 560px) { .check-step { grid-template-columns: 1fr; gap: 12px; } }
.verdicts { display: grid; gap: 12px; }
.verdict { display: grid; grid-template-columns: 14px 1fr; gap: 14px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.verdict i { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; margin-top: 0; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer h4 { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); font-weight: 500; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--text-2); font-size: 0.94rem; }
.footer a:hover { color: var(--text); }
.footer .about-col p { color: var(--text-3); font-size: 0.92rem; max-width: 340px; margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.85rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer .about-col { grid-column: 1 / -1; } }

/* Mobile sticky CTA */
.mobile-cta { display: none; }
@media (max-width: 680px) {
  .mobile-cta { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; padding: 8px; border-radius: 16px; background: rgba(16,19,26,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-strong); box-shadow: var(--shadow); transform: translateY(140%); transition: transform .3s ease; }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { flex: 1; padding: 12px 10px; font-size: 0.92rem; }
  .footer { padding-bottom: 100px; }
}

/* ---------- Error pages ---------- */
.error-page-container { min-height: 78vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--nav-h) + 40px) 24px 40px; }
.error-anim svg { width: 360px; max-width: 80vw; height: auto; }
.error-svg-text { font-family: var(--font-display); font-size: 6rem; font-weight: 600; fill: transparent; stroke: rgba(122,162,255,0.8); stroke-width: 1.5; }
.error-glow { display: none; }
.error-title { font-size: 2rem; }
.error-desc { color: var(--text-2); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Utility spacing */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mt-5 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 40px; }
.divider { height: 1px; background: var(--line); margin: 48px 0; }
