:root {
  --bg: #f7f7f4;
  --bg-alt: #efefea;
  --surface: #ffffff;
  --ink: #0e1116;
  --ink-2: #2a313c;
  --muted: #5b6270;
  --line: #e2e2dc;
  --accent: #2546f0;
  --accent-ink: #1a34c0;
  --accent-soft: #e8ecff;

  --dark: #0b0f17;
  --dark-2: #111827;
  --dark-3: #151d2e;
  --dark-line: #243044;
  --dark-text: #e6e9ef;
  --dark-muted: #98a2b3;
  --dark-accent: #7c9bff;
  --ok: #3ddc97;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14, 17, 22, .04), 0 12px 32px rgba(14, 17, 22, .08);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }

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

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; color: #fff; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 900px; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font);
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 17px 26px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(180deg, #3557ff, var(--accent));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 24px rgba(37, 70, 240, .35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 30px rgba(37, 70, 240, .5); transform: translateY(-1px); }
.btn-ghost { color: var(--dark-text); border-color: var(--dark-line); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { color: #fff; border-color: #3a4a66; background: rgba(255, 255, 255, .06); }
.btn-outline { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn-outline:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 23, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.site-header.scrolled { background: rgba(11, 15, 23, .9); border-bottom-color: rgba(255, 255, 255, .07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.brand b { font-weight: 800; color: var(--dark-accent); letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; color: var(--accent); filter: drop-shadow(0 4px 12px rgba(37, 70, 240, .45)); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--dark-muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: #fff; }
.nav a.nav-cta { color: #fff; margin-left: 4px; }

.menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--dark-line); border-radius: 10px;
  background: transparent; cursor: pointer; position: relative;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .2s, top .2s;
}
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: -70px;
  padding: 160px 0 112px;
  background-color: var(--dark);
  color: var(--dark-text);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -220px; top: -360px;
  background: radial-gradient(closest-side, rgba(76, 125, 255, .28), rgba(76, 125, 255, .08) 55%, transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; margin-bottom: 26px;
  font: 500 13px/1.3 var(--font); color: var(--dark-text);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); border-radius: 999px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 220, 151, .15); }

.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); font-weight: 800; color: #fff; letter-spacing: -0.035em; line-height: 1.05; }
.grad {
  background: linear-gradient(92deg, #a9bcff 0%, #6f95ff 45%, #64e3b4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin-top: 24px; font-size: 18.5px; line-height: 1.65; color: var(--dark-muted); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 36px 0 0;
  font: 400 13px/1.4 var(--mono); color: var(--dark-muted);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(61, 220, 151, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2L10 5' fill='none' stroke='%233ddc97' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* diagram */
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 10% 5% -5%; z-index: -1;
  background: radial-gradient(closest-side, rgba(76, 125, 255, .35), transparent);
  filter: blur(30px);
}
.hero-diagram {
  margin: 0;
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #121a2a, #0c111b) padding-box,
    linear-gradient(140deg, rgba(124, 155, 255, .7), rgba(255, 255, 255, .06) 38%, rgba(255, 255, 255, .04) 62%, rgba(61, 220, 151, .45)) border-box;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .3);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transition: transform .8s var(--ease);
}
.hero-diagram:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
@media (prefers-reduced-motion: reduce) { .hero-diagram, .hero-diagram:hover { transform: none; } }

.diagram-head {
  display: flex; align-items: center; gap: 6px; padding: 13px 16px;
  border-bottom: 1px solid var(--dark-line); background: rgba(255, 255, 255, .02);
}
.diagram-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #2a3446; }
.diagram-head .dot:nth-child(1) { background: #ff5f57; opacity: .85; }
.diagram-head .dot:nth-child(2) { background: #febc2e; opacity: .85; }
.diagram-head .dot:nth-child(3) { background: #28c840; opacity: .85; }
.diagram-title { margin-left: 10px; font: 400 12px var(--mono); color: var(--dark-muted); }
.diagram-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font: 500 11px var(--mono); color: var(--ok); text-transform: uppercase; letter-spacing: .08em;
}
.diagram-live span { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); } 50% { box-shadow: 0 0 0 5px rgba(61, 220, 151, 0); } }

.hero-diagram svg { width: 100%; height: auto; padding: 16px 16px 6px; }
.diagram-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
  padding: 12px 16px; border-top: 1px solid var(--dark-line); background: rgba(255, 255, 255, .02);
  font: 400 12px var(--mono); color: var(--dark-muted);
}
.diagram-foot span::before { content: "● "; color: var(--ok); }

.hero-diagram .flow path { fill: none; stroke: #2f3d57; stroke-width: 1.5; stroke-dasharray: 3 5; }
.hero-diagram .packets circle { fill: #8fb0ff; }
.hero-diagram .packets circle.ok { fill: var(--ok); }
.hero-diagram .model-glow { fill: #4c7dff; opacity: .55; }

.hero-diagram .node rect { fill: #121a29; stroke: #2a3851; stroke-width: 1; }
.hero-diagram .node text { font: 500 13px var(--font); fill: var(--dark-text); text-anchor: middle; }
.hero-diagram .node.core rect { fill: #142040; stroke: #3557c9; }
.hero-diagram .node.core rect.model { fill: url(#g-accent); stroke: rgba(255, 255, 255, .25); }
.hero-diagram .node.core rect.model + text.t { fill: #fff; }
.hero-diagram .node.core text.t { font-weight: 600; font-size: 14px; }
.hero-diagram .node.core text.s { font: 400 11px var(--mono); fill: var(--dark-muted); }
.hero-diagram .node.core rect.badge { fill: rgba(255, 255, 255, .2); stroke: none; }
.hero-diagram .node.core text.b { font: 500 10.5px var(--mono); fill: #fff; }
.hero-diagram .node.out rect { fill: #0e1f19; stroke: #1f5a43; }
.hero-diagram .node.out text.s2 { font: 400 11px var(--mono); fill: var(--dark-muted); }
.hero-diagram .col-label { font: 400 11px var(--mono); fill: #6b768a; text-anchor: middle; letter-spacing: .06em; text-transform: uppercase; }
.hero-diagram .check circle { fill: var(--ok); }
.hero-diagram .check path { fill: none; stroke: #0b0f17; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Icons ---------- */
.ico {
  flex: none; display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
}
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-dark { background: rgba(124, 155, 255, .12); color: var(--dark-accent); box-shadow: inset 0 0 0 1px rgba(124, 155, 255, .2); }

/* ---------- Trust strip ---------- */
.trust { position: relative; background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; padding: 30px 22px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin-top: 2px; }
.trust-item p { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
section[id] { scroll-margin-top: 70px; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; letter-spacing: -0.03em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.eyebrow-dark { color: var(--dark-accent); }
.lead { margin-top: 16px; font-size: 18.5px; color: var(--muted); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; color: var(--ink);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.card:hover { border-color: #cdd3ea; box-shadow: var(--shadow); transform: translateY(-3px); }
.card-wide { grid-column: span 2; }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-idx { font: 500 12.5px var(--mono); color: #a3a9b5; }
.card h3 { font-size: 21px; font-weight: 650; margin-top: 22px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; max-width: 560px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 20px 0 0; margin: auto 0 0; }
.tags li {
  font: 400 12px/1 var(--mono); color: var(--ink-2);
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px;
}

.card-dark {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(76, 125, 255, .22), transparent 60%),
    linear-gradient(180deg, #121a2a, #0c111b);
  border-color: #1d2738; color: var(--dark-text);
}
.card-dark:hover { border-color: #33415c; box-shadow: 0 20px 50px rgba(11, 15, 23, .25); }
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--dark-muted); }
.card-dark .card-idx { color: #59647a; }

.perimeter {
  position: relative; margin-top: auto; padding: 26px 16px 16px;
  border: 1.5px dashed rgba(124, 155, 255, .35); border-radius: 14px;
  background: rgba(124, 155, 255, .04);
}
.card-dark p + .perimeter { margin-top: 26px; }
.perimeter-label {
  position: absolute; top: -11px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 10px; border-radius: 999px; background: #121a2a;
  font: 500 11.5px/1.6 var(--mono); color: var(--dark-accent); text-transform: uppercase; letter-spacing: .06em;
}
.perimeter-label svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  font: 500 13px/1 var(--font); color: var(--dark-text);
  padding: 9px 12px; border-radius: 8px; background: #172133; border: 1px solid #26324a;
}
.chips .chip-model { background: linear-gradient(135deg, #4c7dff, #7c9bff); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(76, 125, 255, .35); }

.pipeline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin-top: auto; padding-top: 24px;
}
.pipeline span {
  font: 500 13.5px/1 var(--font); color: var(--ink-2);
  padding: 11px 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line);
}
.pipeline i { font-style: normal; color: #a3a9b5; }
.pipeline .pipeline-end { background: var(--accent-soft); border-color: #cdd6ff; color: var(--accent-ink); }

.card-cta {
  justify-content: space-between;
  background: linear-gradient(135deg, #2546f0, #4c6bff 60%, #6f8cff);
  border-color: transparent; color: #fff;
  box-shadow: 0 16px 40px rgba(37, 70, 240, .28);
}
.card-cta:hover { color: #fff; border-color: transparent; box-shadow: 0 22px 50px rgba(37, 70, 240, .4); }
.card-cta h3 { color: #fff; margin-top: 0; }
.card-cta p { color: rgba(255, 255, 255, .82); }
.cta-arrow { margin-top: 24px; font-weight: 600; display: inline-flex; gap: 8px; }
.card-cta:hover .cta-arrow span { transform: translateX(4px); }
.cta-arrow span { transition: transform .2s; }

/* ---------- Tabs + cases ---------- */
.tabs {
  display: inline-flex; gap: 4px; padding: 5px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; margin-bottom: 28px;
  box-shadow: 0 1px 2px rgba(14, 17, 22, .04);
}
.tab {
  font: 600 15px/1 var(--font); color: var(--muted); background: transparent;
  border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; transition: color .2s, background .2s;
}
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab:not([aria-selected="true"]):hover { color: var(--ink); }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tab-panel:not([hidden]) .case { animation: fadeUp .5s var(--ease) both; }
.tab-panel:not([hidden]) .case:nth-child(2) { animation-delay: .06s; }
.tab-panel:not([hidden]) .case:nth-child(3) { animation-delay: .12s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tab-panel:not([hidden]) .case { animation: none; } }

.case {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.case h3 { font-size: 19px; font-weight: 650; }
.case-block { margin-top: 18px; }
.case-block p:not(.case-label) { margin-top: 6px; font-size: 15.5px; color: var(--ink-2); }
.case-label { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.case-solution {
  position: relative; margin-top: auto; padding: 16px 16px 16px; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid #d5ddff;
}
.case-block + .case-solution { margin-top: 18px; }
.case-solution .case-label { color: var(--accent); }
.case-solution::before {
  content: ""; position: absolute; top: -13px; left: 18px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 6v10M7 12l4 4 4-4' fill='none' stroke='%232546f0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat;
  border: 1px solid #d5ddff;
}

/* ---------- Compare ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 2px rgba(14, 17, 22, .04); }
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 580px; }
.compare th, .compare td { padding: 17px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--bg); }
.compare thead th:last-child { color: var(--accent); background: #eef1ff; }
.compare tbody td:last-child { background: #f7f8ff; }
.compare tbody th { font-weight: 500; color: var(--ink); width: 44%; }
.mark { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; }
.mark::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background-position: center; background-repeat: no-repeat; background-size: 18px; }
.mark-yes { color: var(--ink); font-weight: 600; }
.mark-yes::before { background-color: rgba(61, 220, 151, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23149a62' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.mark-no { color: var(--muted); }
.mark-no::before { background-color: #eceef2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6.5 6.5l5 5M11.5 6.5l-5 5' fill='none' stroke='%239aa1ad' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E"); }
.mark-partial { color: var(--muted); }
.mark-partial::before { background-color: #fff3d6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9h7' fill='none' stroke='%23c98a00' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ---------- Timeline ---------- */
.timeline { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline::before {
  content: ""; position: absolute; top: 21px; left: 22px; right: calc((100% - 72px) / 4 - 22px); height: 2px;
  background: linear-gradient(90deg, var(--accent), #8ea3ff 60%, var(--ok));
  opacity: .5;
}
.step { position: relative; }
.step-dot {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  font: 600 16px var(--mono); color: #fff;
  background: linear-gradient(180deg, #3557ff, var(--accent));
  box-shadow: 0 0 0 6px var(--bg-alt), 0 8px 20px rgba(37, 70, 240, .35);
}
.step:last-child .step-dot { background: linear-gradient(180deg, #45e6a2, #1fbf7c); box-shadow: 0 0 0 6px var(--bg-alt), 0 8px 20px rgba(31, 191, 124, .35); }
.step-time { margin-top: 22px; font: 500 12.5px var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.step h3 { font-size: 20px; font-weight: 650; margin-top: 8px; }
.step p:last-child { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); }

/* ---------- Dark section (security) ---------- */
.section-dark {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--dark); color: var(--dark-text);
}
.section-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(76, 125, 255, .16), transparent 60%),
    radial-gradient(600px 400px at 100% 100%, rgba(61, 220, 151, .08), transparent 60%);
}
.section-dark h2 { color: #fff; }
.section-dark .lead { color: var(--dark-muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel {
  border-radius: var(--radius); padding: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--dark-line);
}
.panel-head { display: flex; align-items: center; gap: 14px; }
.panel h3 { font-size: 21px; font-weight: 650; color: #fff; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li {
  position: relative; padding: 13px 0 13px 32px; border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 15.5px; color: var(--dark-text);
}
.checks li:first-child { border-top: 0; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(61, 220, 151, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.7 2.7L14.2 7.4' fill='none' stroke='%233ddc97' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* ---------- Prices ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 34px 30px 30px;
  transition: box-shadow .25s, transform .25s var(--ease);
}
.price:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.price h3 { font-size: 17px; font-weight: 600; color: var(--muted); }
.amount { font-size: 40px; font-weight: 800; letter-spacing: -0.035em; margin: 10px 0 0; line-height: 1.1; }
.amount span { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-desc { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.price-list { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.price-list li {
  position: relative; padding: 6px 0 6px 28px; font-size: 15px; color: var(--ink-2);
}
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%232546f0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.price-note { margin-top: 14px; font: 400 12.5px var(--mono); color: var(--accent); }
.price .btn { margin-top: auto; }
.price-list + .btn, .price-note + .btn { margin-top: 28px; }
.price-list { margin-bottom: 0; }

.price-featured {
  color: #fff; border: 1px solid transparent;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(76, 125, 255, .3), transparent 60%) padding-box,
    linear-gradient(180deg, #121a2a, #0c111b) padding-box,
    linear-gradient(150deg, rgba(124, 155, 255, .9), rgba(255, 255, 255, .08) 45%, rgba(61, 220, 151, .5)) border-box;
  box-shadow: 0 30px 70px rgba(11, 15, 23, .3);
  transform: translateY(-8px);
}
.price-featured:hover { transform: translateY(-11px); box-shadow: 0 36px 80px rgba(11, 15, 23, .35); }
.price-featured h3 { color: var(--dark-muted); }
.price-featured .price-desc, .price-featured .amount span { color: var(--dark-muted); }
.price-featured .price-list { border-top-color: var(--dark-line); }
.price-featured .price-list li { color: var(--dark-text); }
.price-featured .price-list li::before {
  background-color: rgba(124, 155, 255, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%237c9bff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.price-badge {
  position: absolute; top: -13px; left: 30px;
  font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em;
  background: linear-gradient(90deg, #3557ff, #6f8cff); color: #fff; padding: 8px 12px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(37, 70, 240, .4);
}

/* ---------- FAQ ---------- */
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 28px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em; transition: color .2s;
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' fill='none' stroke='%235b6270' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/28px no-repeat;
  transition: transform .25s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); }
.faq details p { padding: 0 44px 22px 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; isolation: isolate; background: var(--dark); color: var(--dark-text); }
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 60%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 20% 60%, #000 20%, transparent 75%);
}
.contact::after {
  content: ""; position: absolute; z-index: -1; width: 800px; height: 800px; left: -300px; bottom: -400px;
  background: radial-gradient(closest-side, rgba(76, 125, 255, .25), transparent);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.contact .lead { color: var(--dark-muted); }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; }
.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--dark-line); font-size: 16px; }
.contact-list li span { width: 110px; flex: none; font: 400 12.5px/1.9 var(--mono); color: var(--dark-muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--dark-accent); }

.next-steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.next-steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--dark-text); }
.next-steps b {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex: none;
  font: 600 12px var(--mono); color: var(--dark-accent); background: rgba(124, 155, 255, .12); box-shadow: inset 0 0 0 1px rgba(124, 155, 255, .25);
}

.form {
  background: var(--surface); color: var(--ink); border-radius: 20px; padding: 34px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.5 var(--font); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #d92d20; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 4px 0 22px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.consent.invalid { color: #d92d20; }
.form-status { margin-top: 14px; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form-status.error { color: #d92d20; }

/* ---------- Footer ---------- */
.site-footer { background: #080b11; color: var(--dark-muted); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-head { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: #6b768a; margin-bottom: 4px; }
.brand-footer { font-size: 17px; }
.brand-footer .brand-mark { width: 28px; height: 28px; }
.footer-note { margin-top: 14px; max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 22px 0 32px; border-top: 1px solid #1a2231; }
.site-footer a { color: var(--dark-text); }
.site-footer a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11, 15, 23, .98); border-bottom: 1px solid var(--dark-line);
    padding: 8px 24px 22px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--dark-line); }
  .nav a.nav-cta { margin: 18px 0 0; border: 0; padding: 15px 16px; font-size: 15px; }
}

@media (max-width: 980px) {
  .hero { padding: 128px 0 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-diagram, .hero-diagram:hover { transform: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card-wide { grid-column: span 2; }
  .cases, .prices { gap: 14px; }
  .case, .price { padding: 24px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .cases, .prices { grid-template-columns: 1fr; }
  .price-featured, .price-featured:hover { transform: none; }
  .prices { gap: 28px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav { padding: 8px 16px 20px; }
  .hero { padding: 112px 0 72px; }
  .hero-lead, .lead { font-size: 16.5px; }
  .hero-actions .btn { width: 100%; }
  .hero-diagram svg { padding: 8px 2px 0; }
  .diagram-live { display: none; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 36px; }
  .bento, .split, .trust-grid, .timeline { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; }
  .trust-item:nth-child(2) { border-top: 1px solid var(--line); }
  .card, .panel { padding: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 22px; }
  .tabs { display: flex; }
  .tab { flex: 1; padding: 12px 10px; }
  .faq { padding: 2px 18px; }
  .faq summary { font-size: 16.5px; }
  .contact-list li span { width: 92px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}
