:root {
  --bg: #0b0d12;
  --bg-2: #10131a;
  --surface: #151923;
  --surface-2: #1b2030;
  --border: #262c3d;
  --text: #e8ebf2;
  --muted: #9aa3b8;
  --brand: #f6821f;
  --accent: var(--brand);
  --radius: 14px;
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

[data-v="ztna"] { --accent: #f6821f; }
[data-v="ai"] { --accent: #a78bfa; }
[data-v="appsec"] { --accent: #34d399; }
[data-v="developers"] { --accent: #60a5fa; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--brand); color: #000; padding: 8px 12px; border-radius: 8px; }

.icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; flex: none;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.icon svg { width: 22px; height: 22px; }
.icon-lg { width: 56px; height: 56px; border-radius: 14px; }
.icon-lg svg { width: 30px; height: 30px; }

.eyebrow { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand-mark { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #f6821f, #fbad41); }
.brand-suffix { color: var(--muted); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current] { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.nav .nav-cta { color: #111; background: var(--brand); margin-left: 8px; }
.nav .nav-cta:hover { color: #111; background: #ff9a45; }
.nav .lang { font-family: var(--mono); font-size: 13px; border: 1px solid var(--border); }
.menu-toggle { display: none; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 8px 14px; font: inherit; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px;
  text-decoration: none; font-weight: 600; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #111; }
.btn-primary:hover { background: #ff9a45; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-lg { padding: 16px 24px; font-size: 17px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 112px 0 88px; border-bottom: 1px solid var(--border); }
.hero-grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .35;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 0%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; width: 720px; height: 720px; right: -200px; top: -380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,130,31,.28), transparent 65%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; max-width: 920px; }
.hero .lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.stats { display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 56px 0 0; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { margin: 0; font-size: 32px; font-weight: 800; font-family: var(--mono); color: var(--text); }
.stats dt { color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 96px 0; border-bottom: 1px solid var(--border); }
.section h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.section-lead { color: var(--muted); margin-top: 14px; font-size: 18px; max-width: 680px; }

/* Overview */
.overview { background: var(--bg-2); }
.overview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.ov-card { display: flex; flex-direction: column; gap: 16px; padding: 28px; text-decoration: none; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); border-top: 3px solid var(--accent);
  transition: transform .2s, border-color .2s, box-shadow .2s; }
.ov-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--accent) 45%, transparent); }
.ov-head { display: flex; align-items: center; gap: 14px; }
.ov-label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.ov-card h3 { font-size: 22px; }
.ov-card > p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.ov-more { margin-top: auto; font-weight: 600; color: var(--accent); font-size: 15px; }

/* Vertical */
.vertical { position: relative; }
.vertical::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 320px; pointer-events: none;
  background: radial-gradient(ellipse 50% 100% at 15% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent); }
.vertical .container { position: relative; }
.v-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.v-title { display: flex; align-items: center; gap: 18px; position: relative; }
.v-index { color: var(--muted); }
.v-title .eyebrow { margin-bottom: 6px; }
.v-intro { display: flex; flex-direction: column; gap: 16px; color: var(--muted); font-size: 17px; }
.v-tagline { color: var(--text); font-size: 21px; font-weight: 600; line-height: 1.4; }
.replaces { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.replaces strong { color: var(--text); font-weight: 600; margin-right: 4px; }
.replaces span { padding: 3px 10px; border-radius: 6px; background: var(--surface); border: 1px dashed var(--border); text-decoration: line-through;
  text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); }

.sub { display: flex; align-items: center; gap: 10px; margin: 56px 0 20px; font-size: 14px; font-family: var(--mono);
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; }
.sub::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.count { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); padding: 1px 8px; border-radius: 999px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s, background .2s; }
.feature:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); background: var(--surface-2); }
.feature h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.feature h4::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); flex: none; }
.feature p { color: var(--muted); font-size: 15px; }

.usecases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.usecases li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); }
.usecases .icon { width: 28px; height: 28px; border-radius: 8px; }
.usecases .icon svg { width: 16px; height: 16px; }

/* Why */
.why { background: var(--bg-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--mono); color: var(--brand); margin-bottom: 14px; }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Contact */
.contact-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.contact-box > div { max-width: 640px; }

/* Footer */
.site-footer { padding: 40px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
.footer-inner .muted { color: var(--muted); max-width: 640px; }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--text); }

.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: 40px; margin-bottom: 28px; }

/* Responsive */
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .v-head { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .hero { padding: 72px 0 64px; }
  .section { padding: 72px 0; }
  .overview-grid, .features, .usecases, .steps { grid-template-columns: 1fr; }
  .brand-suffix { display: none; }
  .stats { gap: 20px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
