/* =========================================================
   FGGJTNBGNCR LLC — design system
   Dark, product-led, high contrast. Pure CSS, no JavaScript.
   ========================================================= */
:root {
  --bg: #06070b;
  --bg-2: #090b12;
  --surface: #0e111a;
  --surface-2: #141826;
  --surface-3: #1b2033;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.15);
  --text: #eef1f8;
  --muted: #a3acbf;
  --dim: #7d879d;
  --violet: #a78bfa;
  --indigo: #818cf8;
  --blue: #60a5fa;
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;
  --link: #b4bcff;
  --grad: linear-gradient(92deg, #ddd2ff 0%, #a5b4fc 30%, #7dd3fc 64%, #5eead4 100%);
  --radius: 16px;
  --max: 1200px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: dark; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(1100px 560px at 50% -220px, rgba(129, 140, 248, 0.16), transparent 70%);
}
::selection { background: rgba(129, 140, 248, 0.4); color: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: #e0e4ff; }
p a, li a, td a, dd a { text-decoration: underline; text-decoration-color: rgba(180, 188, 255, 0.35); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 640; color: var(--text); }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.9rem, 3.9vw, 3.05rem); line-height: 1.08; letter-spacing: -0.035em; }
h3 { font-size: 1.18rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }
h4 { font-size: 1rem; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.container { width: min(100% - 48px, var(--max)); margin-inline: auto; position: relative; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); font-size: 0.9em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 200; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes line-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes flow { to { background-position: -200% 0; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.35); } 50% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); } }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -18px, 0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 7, 11, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-mark {
  position: relative; flex: none; width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 40%, #22d3ee 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 6px 20px rgba(99, 102, 241, 0.45);
}
.brand-mark::after { content: ""; position: absolute; inset: 8px; border: 2px solid rgba(255, 255, 255, 0.95); border-radius: 3px; }
.brand-mark::before { content: ""; position: absolute; width: 5px; height: 5px; right: 5px; top: 5px; border-radius: 1px; background: #fff; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; letter-spacing: 0.06em; font-size: 0.93rem; }
.brand-sub { font-weight: 500; font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--muted); font-size: 0.9rem; padding: 7px 13px; border-radius: 999px; white-space: nowrap; text-decoration: none; transition: color 0.15s ease, background 0.15s ease; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.nav a.nav-cta { margin-left: 10px; background: #fff; color: #07080c; font-weight: 600; }
.nav a.nav-cta:hover { background: #e6e8ff; }
.nav a.nav-cta[aria-current="page"] { box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.45); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; max-width: 100%; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; text-decoration: none; overflow-wrap: anywhere;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: #07080c; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 10px 34px rgba(129, 140, 248, 0.35); }
.btn-primary:hover { background: #eceeff; color: #07080c; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 14px 44px rgba(129, 140, 248, 0.5); }
.btn-ghost { color: var(--text); border-color: var(--border-2); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.07); }
.btn-arrow::after { content: "→"; content: "→" / ""; transition: transform 0.15s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: flex; width: fit-content; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: #b9c0ff;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--muted); max-width: 64ch; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: 112px 0 0; text-align: center; overflow: hidden; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  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: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%);
}
.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: float 12s ease-in-out infinite; }
.orb-1 { width: 420px; height: 420px; left: 8%; top: 60px; background: radial-gradient(circle, rgba(139, 92, 246, 0.55), transparent 70%); }
.orb-2 { width: 380px; height: 380px; right: 6%; top: 140px; background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 70%); animation-delay: -6s; }
.announce {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px; padding: 5px 6px 5px 16px;
  border-radius: 999px; border: 1px solid var(--border-2); background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem; color: var(--muted); text-decoration: none; animation: fade-up 0.6s ease both;
}
.announce:hover { border-color: rgba(167, 139, 250, 0.6); color: var(--text); }
.announce b { color: var(--text); font-weight: 600; }
.pill-arrow { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--text); }
.hero h1 { max-width: 20ch; margin: 0 auto 24px; animation: fade-up 0.7s 0.05s ease both; }
.hero .lead { margin: 0 auto; max-width: 660px; font-size: 1.18rem; animation: fade-up 0.7s 0.12s ease both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; animation: fade-up 0.7s 0.18s ease both; }
.hero .hero-actions { justify-content: center; }
.hero-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 30px 0 0; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--dim); animation: fade-up 0.7s 0.24s ease both; }
.hero-proof span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); vertical-align: 1px; }

/* product window */
.showcase { position: relative; max-width: 1080px; margin: 72px auto 0; text-align: left; animation: fade-up 0.9s 0.3s ease both; }
.showcase-glow { position: absolute; left: 10%; right: 10%; top: -60px; height: 280px; z-index: -1; background: radial-gradient(closest-side, rgba(129, 140, 248, 0.5), transparent); filter: blur(40px); }
.window {
  position: relative; border-radius: 18px 18px 0 0; overflow: hidden;
  background: linear-gradient(180deg, #0f1220 0%, #0a0c14 100%);
  border: 1px solid var(--border-2); border-bottom: 0;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08) inset, 0 50px 120px rgba(0, 0, 0, 0.6);
}
.window--closed { border-radius: 18px; border-bottom: 1px solid var(--border-2); }
.window-bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); }
.dots { display: flex; gap: 7px; flex: none; }
.dots i { display: block; width: 11px; height: 11px; border-radius: 50%; background: #3a3f52; }
.dots i:nth-child(1) { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.window-tabs { display: flex; gap: 4px; font-family: var(--mono); font-size: 0.74rem; overflow: hidden; }
.window-tabs span { padding: 5px 10px; border-radius: 6px; color: var(--dim); white-space: nowrap; }
.window-tabs .on { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.window-meta { margin-left: auto; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.window-body { display: grid; grid-template-columns: 1.4fr 1fr; min-height: 380px; }
.window-body--single { grid-template-columns: 1fr; min-height: 0; }
.term { padding: 22px 24px 26px; font-family: var(--mono); font-size: 0.79rem; line-height: 1.9; color: #cdd5e6; border-right: 1px solid var(--border); overflow: hidden; }
.window-body--single .term { border-right: 0; }
.term .l { display: block; white-space: pre-wrap; animation: line-in 0.35s ease both; animation-delay: calc(var(--d, 0) * 160ms + 700ms); }
.t-p { color: var(--violet); } .t-ok { color: var(--green); } .t-dim { color: var(--dim); } .t-acc { color: #7dd3fc; } .t-warn { color: var(--amber); }
.cursor { display: inline-block; width: 8px; height: 1.05em; margin-left: 4px; vertical-align: -2px; background: var(--text); animation: blink 1s steps(1) infinite; }
.evidence { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.ev-title { margin: 0 0 4px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.ev-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border); }
.ev-item b { display: block; font-size: 0.86rem; font-weight: 600; }
.ev-item small { display: block; font-family: var(--mono); font-size: 0.69rem; color: var(--dim); }
.st { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; font-size: 0.66rem; font-weight: 700; background: rgba(52, 211, 153, 0.15); color: var(--green); }
.st--wait { background: rgba(251, 191, 36, 0.15); color: var(--amber); }
.approve { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.approve span { flex: 1; padding: 9px; border-radius: 8px; text-align: center; font-size: 0.8rem; font-weight: 600; }
.approve .yes { background: #fff; color: #07080c; }
.approve .no { border: 1px solid var(--border-2); color: var(--muted); }

/* marquee */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--border); background: rgba(255, 255, 255, 0.015); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; gap: 12px; padding-right: 12px; list-style: none; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); font-family: var(--mono); font-size: 0.76rem; color: var(--muted); white-space: nowrap; }
.tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); }
.tag i.c2 { background: var(--cyan); } .tag i.c3 { background: var(--green); } .tag i.c4 { background: var(--amber); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 104px 0 84px; border-bottom: 1px solid var(--border); }
.page-hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -120px; top: -260px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 65%); filter: blur(30px); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); max-width: 20ch; animation: fade-up 0.6s ease both; }
.page-hero .lead { animation: fade-up 0.6s 0.08s ease both; }
.crumbs { display: block; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 22px; }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { margin: 0 8px; opacity: 0.6; }
.crumbs [aria-current] { color: var(--muted); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.toc a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); color: var(--muted); font-size: 0.85rem; text-decoration: none; }
.toc a:hover { color: var(--text); border-color: var(--border-2); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; }
.section + .section { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.section--paper { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section--dark { background: radial-gradient(900px 400px at 15% 0%, rgba(99, 102, 241, 0.1), transparent 60%), var(--bg); }
.section--tight { padding: 88px 0; }
.section:not(.section--paper):not(.section--dark) + .section--tight { padding-top: 0; border-top: 0; }
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead, .section-head--center p { margin-inline: auto; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 720px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: start; }

/* cards */
.card {
  position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border); transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--border-2); }
.card p:not(.card-kicker) { color: var(--muted); }
.card > :last-child { margin-bottom: 0; }
.card-kicker { margin-bottom: 14px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #b9c0ff; }
.kicker-rose { color: #fda4af; }
.card-link { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 0.93rem; color: #c7cdff; text-decoration: none; }
.card-link::after { content: " →"; content: " →" / ""; }
.feature { padding-top: 22px; border-top: 1px solid var(--border-2); }
.feature .n { display: block; margin-bottom: 14px; font-family: var(--mono); font-size: 0.74rem; color: var(--cyan); letter-spacing: 0.12em; }
.feature p { color: var(--muted); margin: 0; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 26px; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--border);
  background: radial-gradient(420px 220px at 0% 0%, rgba(129, 140, 248, 0.1), transparent 60%), linear-gradient(180deg, #10131e, #0a0c14);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.bento-card:hover { border-color: rgba(167, 139, 250, 0.4); transform: translateY(-2px); }
.b-span-2 { grid-column: span 2; } .b-span-3 { grid-column: span 3; } .b-span-4 { grid-column: span 4; } .b-span-6 { grid-column: span 6; }
.bento-card h3 { margin-bottom: 8px; }
.bento-card p:not(.card-kicker) { margin: 0; color: var(--muted); font-size: 0.95rem; }
.bento-card .card-link { padding-top: 14px; margin-top: 0; }
.bento-card .card-kicker { margin-bottom: 8px; }

/* mini visualizations */
.viz { position: relative; flex: 1; min-height: 150px; margin-bottom: 24px; border-radius: 12px; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.viz-files { display: flex; flex-direction: column; gap: 6px; padding: 14px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border); }
.vf-head { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 8px; margin-bottom: 2px; border-bottom: 1px solid var(--border); color: var(--dim); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; }
.vf-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.025); }
.vf-path { color: #d5dbea; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vf-tag { flex: none; padding: 2px 8px; border-radius: 999px; font-size: 0.64rem; }
.vf-tag.mod { color: #c4b5fd; background: rgba(167, 139, 250, 0.14); }
.vf-tag.aff { color: #fcd34d; background: rgba(251, 191, 36, 0.12); }
.vf-tag.ok { color: #6ee7b7; background: rgba(52, 211, 153, 0.12); }

.viz-doc { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; padding: 10px 0; }
.vd-page { position: relative; display: flex; flex-direction: column; gap: 9px; padding: 18px 16px 30px; border-radius: 8px; background: #e9ecf3; transform: rotate(-3deg); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45); }
.vd-line { display: block; height: 6px; width: var(--w, 80%); border-radius: 3px; background: #c4c9d6; }
.vd-hl { background: linear-gradient(90deg, #a78bfa, #22d3ee); box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.25); }
.vd-pg { position: absolute; right: 12px; bottom: 8px; font-size: 0.6rem; color: #4b5563; }
.vd-finding { position: relative; z-index: 1; margin-left: -18px; padding: 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid rgba(167, 139, 250, 0.45); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); font-family: var(--font); }
.vd-finding b { display: block; margin: 6px 0 4px; font-size: 0.82rem; color: var(--text); line-height: 1.3; }
.vd-finding small { display: block; font-family: var(--mono); font-size: 0.64rem; color: var(--dim); }
.vd-cite { display: inline-block; padding: 2px 8px; border-radius: 999px; font-family: var(--mono); font-size: 0.62rem; color: #c4b5fd; background: rgba(167, 139, 250, 0.15); }

.viz-dag { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 22px 18px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--border); }
.dag { display: flex; align-items: flex-start; }
.dag-node { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 76px; text-align: center; font-family: var(--font); }
.dag-node i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--border-2); background: var(--surface-2); font-style: normal; font-size: 0.8rem; }
.dag-node span { font-size: 0.82rem; color: var(--text); font-weight: 600; }
.dag-node small { font-family: var(--mono); font-size: 0.62rem; color: var(--dim); margin-top: -6px; }
.dag-node.done i { border-color: var(--green); background: rgba(52, 211, 153, 0.12); }
.dag-node.done i::after { content: "✓"; color: var(--green); }
.dag-node.active i { border-color: var(--cyan); background: rgba(34, 211, 238, 0.12); animation: pulse 2s ease-in-out infinite; }
.dag-node.active i::after { content: "◐"; color: var(--cyan); }
.dag-node.gate i { border-color: var(--amber); border-radius: 9px; background: rgba(251, 191, 36, 0.1); }
.dag-node.gate i::after { content: "◆"; color: var(--amber); font-size: 0.7rem; }
.dag-edge { flex: 1; min-width: 18px; height: 2px; margin-top: 17px; background: var(--border-2); }
.dag-edge.done { background: var(--green); }
.dag-edge.active { background: linear-gradient(90deg, var(--green), var(--cyan), var(--green)); background-size: 200% 100%; animation: flow 1.6s linear infinite; }
.dag-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.dag-tools span { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); font-size: 0.66rem; }

.viz-scope { display: flex; flex-direction: column; gap: 14px; padding: 16px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--border); }
.vs-user { display: flex; align-items: center; gap: 10px; font-family: var(--font); }
.vs-user b { display: block; font-size: 0.82rem; color: var(--text); }
.vs-user small { display: block; font-family: var(--mono); font-size: 0.64rem; color: var(--dim); }
.avatar { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, #22d3ee); color: #fff; font-weight: 700; font-family: var(--font); font-size: 0.8rem; }
.vs-grants { display: flex; flex-wrap: wrap; gap: 6px; }
.g { padding: 3px 9px; border-radius: 6px; font-size: 0.66rem; border: 1px solid; }
.g.ok { color: #6ee7b7; border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.08); }
.g.no { color: #fda4af; border-color: rgba(251, 113, 133, 0.3); background: rgba(251, 113, 133, 0.06); text-decoration: line-through; }
.vs-ttl { color: var(--dim); font-size: 0.64rem; }

.viz-log { display: flex; flex-direction: column; padding: 10px 0; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border); overflow: hidden; }
.vl-row { display: grid; grid-template-columns: 64px 128px 1fr; gap: 10px; padding: 6px 14px; white-space: nowrap; }
.vl-row:nth-child(odd) { background: rgba(255, 255, 255, 0.02); }
.vl-row .t { color: var(--dim); }
.vl-row .e { color: #a5b4fc; }
.vl-row .e.ok { color: var(--green); }
.vl-row .d { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }

.viz-eval { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--border); }
.ve-row { display: grid; grid-template-columns: 1fr 70px 36px; align-items: center; gap: 10px; }
.ve-row .bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.ve-row .bar i { display: block; height: 100%; width: var(--v, 50%); border-radius: 3px; background: linear-gradient(90deg, #818cf8, #22d3ee); }
.ve-row .pass { color: var(--green); font-size: 0.64rem; text-align: right; }
.ve-gate { margin-top: 4px; padding: 7px 10px; border-radius: 8px; text-align: center; color: #6ee7b7; background: rgba(52, 211, 153, 0.08); border: 1px dashed rgba(52, 211, 153, 0.4); font-size: 0.66rem; }

.viz-meter { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 16px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--border); }
.vm-head { display: flex; justify-content: space-between; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); }
.vm-head .ok { color: var(--green); }
.vm-bar { position: relative; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); }
.vm-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v, 50%); border-radius: 5px; background: linear-gradient(90deg, #818cf8, #22d3ee); }
.vm-cap { position: absolute; right: 12%; top: -5px; bottom: -5px; width: 2px; background: var(--amber); }
.vm-stack { display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 2px; }
.vm-stack i { width: var(--v); }
.c1 { background: #818cf8; } .c2 { background: #22d3ee; } .c3 { background: #34d399; }
.vm-split { display: flex; flex-direction: column; gap: 4px; font-size: 0.64rem; }
.vm-split i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

.viz-rel { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 16px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--border); }
.vr-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.025); }
.vr-k { color: var(--dim); }
.vr-s { font-size: 0.66rem; padding: 2px 8px; border-radius: 999px; text-align: right; }
.vr-s.ok { color: #6ee7b7; background: rgba(52, 211, 153, 0.1); }
.vr-s.bad { color: #fda4af; background: rgba(251, 113, 133, 0.1); }

/* code block */
.code { border-radius: 14px; overflow: hidden; background: #0a0c14; border: 1px solid var(--border-2); font-family: var(--mono); font-size: 0.8rem; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); color: var(--dim); font-size: 0.72rem; }
.code pre { margin: 0; padding: 18px 20px; line-height: 1.8; color: #cfd6e6; overflow-x: auto; }
.code .k { color: #c4b5fd; } .code .s { color: #86efac; } .code .c { color: var(--dim); } .code .n { color: #7dd3fc; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { padding: 0 22px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); transition: border-color 0.2s ease; }
.faq details[open] { border-color: var(--border-2); background: rgba(255, 255, 255, 0.035); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; content: "+" / ""; flex: none; font-family: var(--mono); color: var(--dim); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }


.ico, .ico--light { display: inline-grid; place-items: center; min-width: 46px; height: 30px; padding: 0 10px; border-radius: 8px; font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; color: #c7cdff; background: rgba(129, 140, 248, 0.14); border: 1px solid rgba(129, 140, 248, 0.38); width: max-content; }

/* lifecycle strip */
.strip { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.strip li { position: relative; padding: 26px 22px; border-right: 1px solid var(--border); }
.strip li:last-child { border-right: 0; }
.strip li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, #818cf8, #22d3ee); opacity: 0.25; }
.strip li:hover::before { opacity: 1; }
.strip .n { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--cyan); }
.strip h3 { font-size: 1rem; margin-bottom: 6px; }
.strip p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* numbered commitments */
.commit { list-style: none; display: grid; }
.commit li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--border); }
.commit li:last-child { border-bottom: 1px solid var(--border); }
.commit .n { padding-top: 3px; font-family: var(--mono); font-size: 0.8rem; color: var(--cyan); }
.commit h3 { font-size: 1.05rem; margin-bottom: 4px; }
.commit p { margin: 0; color: var(--muted); }

/* lists */
.check { list-style: none; display: grid; gap: 12px; }
.check li { position: relative; padding-left: 28px; color: var(--muted); }
.check li strong { color: var(--text); font-weight: 600; }
.check li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.cross li::before { width: 12px; height: 2px; top: 0.75em; border: 0; transform: none; background: var(--rose); }
.numbered { list-style: none; counter-reset: n; display: grid; gap: 14px; }
.numbered li { counter-increment: n; position: relative; padding-left: 40px; color: var(--muted); }
.numbered li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-family: var(--mono); font-size: 0.78rem; color: var(--cyan); }
.numbered li strong { color: var(--text); }
.note { padding: 18px 22px; border-radius: 0 12px 12px 0; border-left: 2px solid var(--cyan); background: rgba(255, 255, 255, 0.03); color: var(--muted); font-size: 0.96rem; }
.note strong { color: var(--text); }

/* ---------- Workloads page ---------- */
.workload { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.workload-num { display: block; margin-bottom: 14px; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.workload h3.sub { font-size: 1rem; margin: 28px 0 12px; }
.pipeline { padding: 28px 28px 6px; border-radius: 18px; border: 1px solid var(--border); background: linear-gradient(180deg, #10131e, #0a0c14); }
.pipeline-title { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin: 0 0 20px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.stage { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding-bottom: 22px; }
.stage::before { content: ""; position: absolute; left: 16px; top: 36px; bottom: 2px; width: 2px; background: linear-gradient(#818cf8, rgba(129, 140, 248, 0.05)); }
.stage:last-child::before { display: none; }
.stage-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-family: var(--mono); font-size: 0.78rem; font-weight: 700; color: #c7cdff; background: rgba(129, 140, 248, 0.14); border: 1px solid rgba(129, 140, 248, 0.4); }
.stage h4 { margin: 5px 0 4px; }
.stage p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.stage--gate .stage-n { color: #fcd34d; background: rgba(251, 191, 36, 0.12); border-color: rgba(251, 191, 36, 0.45); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.fact { padding-top: 16px; border-top: 2px solid var(--indigo); }
.fact:nth-child(2) { border-top-color: var(--violet); } .fact:nth-child(3) { border-top-color: var(--cyan); } .fact:nth-child(4) { border-top-color: var(--amber); }
.fact h3, .fact h4 { margin-bottom: 12px; font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.fact ul { list-style: none; display: grid; gap: 8px; font-size: 0.93rem; color: #d5dbea; }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.94rem; }
.table th, .table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table thead th { background: rgba(255, 255, 255, 0.03); font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.table tbody th { width: 24%; font-weight: 600; color: var(--text); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.table td { color: var(--muted); overflow-wrap: anywhere; }
.table--compact { min-width: 0; }

/* ---------- Control-plane diagram ---------- */
.cp-wrap { max-width: 980px; margin: 0 auto; }
.cp {
  position: relative; padding: 24px; border-radius: 20px; border: 1px solid var(--border-2);
  background: radial-gradient(600px 260px at 50% 0%, rgba(129, 140, 248, 0.14), transparent 65%), linear-gradient(180deg, #0f1220, #0a0c14);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}
.cp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.cp-tag { padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(34, 211, 238, 0.4); color: #67e8f9; white-space: nowrap; }
.cp-body { display: grid; grid-template-columns: 1fr 34px 1.15fr 34px 1fr; align-items: stretch; gap: 6px; }
.cp-col { display: grid; grid-template-rows: auto repeat(3, 1fr); gap: 8px; }
.cp-label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.cp-node { padding: 10px 12px; border-radius: 10px; font-size: 0.82rem; line-height: 1.3; color: #e3e8f5; background: var(--surface-2); border: 1px solid var(--border); }
.cp-node small { display: block; margin-top: 3px; font-family: var(--mono); font-size: 0.64rem; color: var(--dim); }
.cp-node--accent { border-color: rgba(167, 139, 250, 0.7); background: rgba(139, 92, 246, 0.16); animation: pulse 3s ease-in-out infinite; }
.cp-loop { display: grid; place-items: center; padding: 8px 10px; border-radius: 10px; text-align: center; border: 1px dashed rgba(34, 211, 238, 0.6); color: #67e8f9; font-family: var(--mono); font-size: 0.7rem; }
.cp-arrow { position: relative; align-self: center; height: 2px; background: linear-gradient(90deg, rgba(34, 211, 238, 0.1), #22d3ee, rgba(34, 211, 238, 0.1)); background-size: 200% 100%; animation: flow 2s linear infinite; }
.cp-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border-left: 7px solid var(--cyan); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.cp-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.cp-rail span { padding: 7px 4px; border-radius: 8px; text-align: center; font-family: var(--mono); font-size: 0.66rem; color: #a5f3fc; background: rgba(34, 211, 238, 0.06); border: 1px solid rgba(34, 211, 238, 0.25); }
.cp-foot { margin-top: 10px; text-align: center; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }

/* ---------- Platform architecture ---------- */
.arch {
  display: grid; grid-template-columns: 1fr 250px; gap: 22px; padding: 28px; border-radius: 22px; color: var(--text);
  background: radial-gradient(700px 300px at 20% 0%, rgba(129, 140, 248, 0.16), transparent 60%), linear-gradient(180deg, #0f1220, #090b12);
  border: 1px solid var(--border-2); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}
.arch-head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.arch-main { display: flex; flex-direction: column; }
.arch-layer { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border); }
.arch-layer + .arch-layer { margin-top: 26px; }
.arch-layer + .arch-layer::before { content: ""; position: absolute; left: 50%; top: -26px; width: 2px; height: 20px; background: linear-gradient(180deg, rgba(34, 211, 238, 0.15), var(--cyan)); }
.arch-layer + .arch-layer::after { content: ""; position: absolute; left: calc(50% - 4px); top: -8px; border-top: 7px solid var(--cyan); border-left: 5px solid transparent; border-right: 5px solid transparent; }
.arch-layer--core { border-color: rgba(167, 139, 250, 0.55); background: rgba(139, 92, 246, 0.1); box-shadow: 0 0 40px rgba(139, 92, 246, 0.12); }
.arch-label { font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.arch-label span { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.arch-nodes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.arch-node { padding: 10px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-size: 0.84rem; line-height: 1.3; color: #e2e7f4; }
.arch-node small { display: block; margin-top: 3px; font-family: var(--mono); font-size: 0.64rem; color: var(--dim); }
.arch-rail { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; border: 1px dashed rgba(34, 211, 238, 0.5); background: rgba(34, 211, 238, 0.03); }
.arch-rail-label { margin-bottom: 4px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.arch-rail a { flex: 1 1 0; display: flex; flex-direction: column; justify-content: center; padding: 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid rgba(34, 211, 238, 0.22); color: #e2e7f4; font-size: 0.86rem; font-weight: 600; text-decoration: none; }
.arch-rail a small { display: block; margin-top: 2px; font-weight: 400; font-size: 0.76rem; color: var(--dim); }
.arch-rail a:hover { border-color: var(--cyan); }
.arch-rail-foot { margin-top: auto; font-family: var(--mono); font-size: 0.66rem; line-height: 1.5; color: var(--dim); }

.control { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; padding: 64px 0; border-top: 1px solid var(--border); }
.control:first-child { border-top: 0; padding-top: 0; }
.control:last-child { padding-bottom: 0; }
.control h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin-top: 18px; }
.control > div > p { color: var(--muted); }
.control .check { align-content: start; }
.signals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.signals span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); font-family: var(--mono); font-size: 0.7rem; color: #d5dbea; }
.signals .signals-label { width: 100%; padding: 0; border: 0; background: none; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }

/* ---------- Operating model ---------- */
.steps { list-style: none; border-top: 1px solid var(--border); }
.step { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 40px; padding: 34px 0; border-bottom: 1px solid var(--border); }
.step-n { font-family: var(--mono); font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }
.step-out { padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); font-size: 0.93rem; color: var(--muted); }
.step-out strong { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: start; }
.mail-card { position: relative; overflow: hidden; padding: 40px; border-radius: 22px; border: 1px solid var(--border-2); background: radial-gradient(500px 260px at 100% 0%, rgba(139, 92, 246, 0.28), transparent 60%), linear-gradient(180deg, #10131e, #0a0c14); }
.mail-big { display: inline-block; margin: 6px 0 22px; font-size: clamp(1.3rem, 2.8vw, 2rem); font-weight: 650; letter-spacing: -0.02em; color: var(--text); word-break: break-all; text-decoration: none; }
.mail-big:hover { color: #fff; }
.mail-card p:not(.eyebrow) { color: var(--muted); }
.inquiries { list-style: none; position: relative; z-index: 1; margin-top: 28px; border-top: 1px solid var(--border); }
.inquiries a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.inquiries a:hover strong { color: #c7cdff; }
.inquiries strong { font-weight: 600; }
.inquiries span { grid-column: 1; font-size: 0.9rem; color: var(--muted); }
.inquiries a::after { content: "→"; content: "→" / ""; grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--cyan); transition: transform 0.15s ease; }
.inquiries a:hover::after { transform: translateX(3px); }
.side-stack { display: grid; gap: 20px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; margin: 0; font-size: 0.94rem; }
.kv dt { padding-top: 3px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.kv dd { margin: 0; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: 56px; border-radius: 24px; border: 1px solid var(--border-2);
  background: radial-gradient(600px 300px at 100% 0%, rgba(34, 211, 238, 0.18), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(139, 92, 246, 0.28), transparent 60%), #0b0d16;
}
.cta h2 { max-width: 22ch; margin-bottom: 10px; }
.cta p:not(.eyebrow) { margin: 0; max-width: 56ch; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-xl { flex-direction: column; justify-content: center; text-align: center; padding: 96px 40px; }
.cta-xl h2 { max-width: 18ch; font-size: clamp(2rem, 4.6vw, 3.6rem); }
.cta-xl p:not(.eyebrow) { margin: 0 auto; }
.cta-xl .cta-actions { justify-content: center; margin-top: 18px; }
.cta-xl::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); }
.cta > * { position: relative; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding: 80px 0 32px; border-top: 1px solid var(--border); background: #040509; color: var(--muted); font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.footer-brand p { margin: 20px 0 0; max-width: 36ch; line-height: 1.6; }
.footer-brand .footer-mail { margin-top: 18px; }
.footer-brand .footer-mail a { color: var(--text); font-weight: 600; text-decoration: none; }
.footer-col h2 { margin: 6px 0 18px; font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--text); }
.footer-wordmark { margin: 64px 0 0; font-size: clamp(2.6rem, 12.4vw, 10.8rem); font-weight: 800; line-height: 0.85; letter-spacing: -0.06em; white-space: nowrap; text-align: center; user-select: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--dim); }
.footer-bottom a { color: var(--dim); text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .arch { grid-template-columns: 1fr; }
  .arch-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .arch-rail-label, .arch-rail-foot { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip li { border-bottom: 1px solid var(--border); }
  .strip li:nth-child(3n) { border-right: 0; }
  .strip li:nth-last-child(-n+3) { border-bottom: 0; }
  .bento .b-span-2 { grid-column: span 3; }
  .bento .b-span-4 { grid-column: span 6; }
}
@media (max-width: 960px) {
  .site-header .container { flex-wrap: wrap; gap: 6px 16px; padding: 12px 0 10px; }
  .nav { width: 100%; flex-wrap: wrap; gap: 4px; }
  .nav a.nav-cta { margin-left: auto; }
  html { scroll-padding-top: 124px; }
  .hero { padding-top: 80px; }
  .window-body { grid-template-columns: 1fr; }
  .term { border-right: 0; border-bottom: 1px solid var(--border); }
  .split, .workload, .control, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr; }
  .strip li, .strip li:nth-last-child(-n+3) { border-right: 0; border-bottom: 1px solid var(--border); }
  .strip li:last-child { border-bottom: 0; }
  .bento .b-span-2, .bento .b-span-3 { grid-column: span 3; }
  .arch { grid-template-columns: 1fr; }
  .arch-layer { grid-template-columns: 1fr; gap: 12px; }
  .arch-nodes { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); }
  .arch-rail { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 70px 1fr; gap: 16px 24px; }
  .step-out { grid-column: 2; }
  .section { padding: 88px 0; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 36px, var(--max)); }
  .nav a { padding: 6px 10px; font-size: 0.86rem; }
  .nav a.nav-cta { margin-left: 0; }
  html { scroll-padding-top: 150px; }
  .brand-sub { display: none; }
  .hero { padding-top: 64px; }
  .announce-more { display: none; }
  .hero .lead { font-size: 1.06rem; }
  .hero-actions .btn { width: 100%; }
  .showcase { margin-top: 52px; }
  .window-tabs span:not(.on) { display: none; }
  .term { padding: 18px 16px; font-size: 0.72rem; }
  .grid-2, .grid-3, .facts { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento .b-span-2, .bento .b-span-3, .bento .b-span-4, .bento .b-span-6 { grid-column: auto; }
  .bento-card { min-height: 0; }
  .viz-doc { grid-template-columns: 1fr; gap: 0; }
  .vd-finding { margin: -14px 0 0 24px; }
  .dag { flex-direction: column; align-items: flex-start; }
  .dag-node { flex-direction: row; gap: 12px; min-width: 0; text-align: left; }
  .dag-node small { margin-top: 0; }
  .dag-edge { flex: none; width: 2px; height: 16px; min-width: 0; margin: 0 0 0 16px; }
  .vl-row { grid-template-columns: 58px 1fr; }
  .vl-row .d { grid-column: 2; }
  .cp-head { flex-wrap: wrap; }
  .cp-body { grid-template-columns: 1fr; gap: 10px; }
  .cp-arrow { width: 2px; height: 20px; margin: 0 auto; background: linear-gradient(180deg, rgba(34, 211, 238, 0.15), var(--cyan)); animation: none; }
  .cp-arrow::after { right: auto; left: -4px; top: auto; bottom: -6px; border-top: 7px solid var(--cyan); border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 0; }
  .cp-rail { grid-template-columns: repeat(6, 1fr); }
  .cp-rail span { grid-column: span 2; }
  .cp-rail span:nth-child(n+4) { grid-column: span 3; }
  .arch-rail { grid-template-columns: 1fr; }
  .cta { padding: 40px 24px; }
  .cta-xl { padding: 64px 22px; }
  .mail-card { padding: 30px 22px; }
  .step { grid-template-columns: 1fr; }
  .step-out { grid-column: 1; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dd { margin-bottom: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}
