/* Shadow Technology — corporate stylesheet (static, no build step) */

:root {
  --navy-950: #070f1e;
  --navy-900: #0b1730;
  --navy-800: #12234a;
  --navy-700: #1b3263;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --surface: #f6f8fb;
  --white: #ffffff;
  --brand: #1e4fd8;
  --brand-hover: #173fb0;
  --brand-soft: #e8eefc;
  --accent: #38bdf8;
  --ok: #059669;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 80px -30px rgba(7, 15, 30, .45);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 650; }
p { margin: 0 0 1em; }
code { font: 0.9em var(--mono); background: var(--surface); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; color: var(--ink); }
.hero code, .section-dark code { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #e2e8f0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: 88px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-950); color: #94a3b8; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #cbd5e1; }
.topbar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 8px; vertical-align: 1px; animation: dot-pulse 1.8s ease-in-out infinite; }
@keyframes dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(5, 150, 105, .55); }
  50% { opacity: .35; box-shadow: 0 0 0 5px rgba(5, 150, 105, 0); }
}
@media (prefers-reduced-motion: reduce) { .topbar .dot { animation: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-weight: 750; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; }
.brand-sub { display: block; font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text); font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 8px; }
.nav a:hover { background: var(--surface); color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); }
.nav .btn { margin-left: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; color: var(--ink); }
.menu-btn svg { margin: auto; }


/* Research dropdown */
.nav-item { display: flex; align-items: center; }
.nav-item > a { padding-right: 6px; }
.nav-item > a.active { color: var(--brand); }
.nav-toggle { display: grid; place-items: center; width: 26px; height: 34px; margin-right: 6px; padding: 0; background: none; border: 0; border-radius: 6px; color: var(--muted); cursor: pointer; }
.nav-toggle:hover { color: var(--ink); background: var(--surface); }
.nav-toggle svg { transition: transform .2s ease; }
.has-menu.open .nav-toggle svg { transform: rotate(180deg); }
.nav-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.submenu { display: none; }
.has-menu.open .submenu { display: grid; }

@media (min-width: 921px) {
  .nav-item { position: relative; }
  .submenu { position: absolute; left: 0; top: calc(100% + 16px); z-index: 60; min-width: 250px; gap: 2px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
  .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
  .nav .submenu a { display: block; padding: 10px 14px; font-size: 14px; white-space: nowrap; }
  .nav .submenu a:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
  .has-menu:hover .submenu { display: grid; }
  .has-menu:hover .nav-toggle svg { transform: rotate(180deg); }
  .has-menu.open .submenu, .has-menu:hover .submenu { animation: submenu-in .16s ease-out; }
}
@keyframes submenu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .submenu, .nav-toggle svg { animation: none !important; transition: none; } }

@media (max-width: 920px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; background: var(--white); border-bottom: 1px solid var(--line); padding: 12px 24px 20px; box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
  .nav { max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
  .nav-item { flex-wrap: wrap; }
  .nav-item > a { flex: 1; }
  .nav-toggle { width: 44px; height: 44px; margin: 0; border: 1px solid var(--line); border-radius: 8px; }
  .submenu { flex: 0 0 100%; margin: 4px 0 6px 8px; padding-left: 12px; border-left: 2px solid var(--line); }
  .nav .submenu a { font-size: 14px; }
}
  .topbar .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .topbar .wrap { justify-content: center; }
  .topbar .wrap > span:first-child { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--font); padding: 13px 22px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.nav a.btn-primary { padding: 10px 18px; color: #fff; }
.nav a.btn-primary:hover { background: var(--brand-hover); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, rgba(56, 189, 248, .16), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(30, 79, 216, .35), transparent 60%), var(--navy-900); color: #cbd5e1; }
.hero::before { content: ""; position: absolute; inset: 0; 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: 56px 56px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); pointer-events: none; }
.hero .wrap { position: relative; padding-top: 104px; padding-bottom: 112px; }
.hero h1 { color: #fff; max-width: 860px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 680px; color: #b6c2d4; margin-bottom: 36px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.hero .eyebrow { color: var(--accent); }

.hero-panel { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.hero-panel h2 { color: #fff; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.hero-panel ul { list-style: none; margin: 0; padding: 0; }
.hero-panel li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.hero-panel li:first-child { border-top: 0; padding-top: 0; }
.hero-panel strong { display: block; color: #fff; font-weight: 600; }
.hero-panel span { font-size: 14px; color: #94a3b8; }
.hero-panel .ico { flex: none; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: rgba(56, 189, 248, .12); color: var(--accent); }

/* Inner-page hero */
.page-hero { background: var(--navy-900); color: #b6c2d4; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, .18), transparent 70%); }
.page-hero .wrap { position: relative; padding-top: 72px; padding-bottom: 72px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 48px); max-width: 820px; }
.page-hero p { max-width: 720px; font-size: 18px; margin: 0; }
.page-hero .eyebrow { color: var(--accent); }
.crumbs { font-size: 13px; color: #94a3b8; margin-bottom: 22px; }
.crumbs a { color: #cbd5e1; }
.jump-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.jump-nav a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); text-decoration: none; transition: background .15s, border-color .15s; }
.jump-nav a:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.jump-nav span { font-size: 12px; color: var(--accent); }
.group-head { padding-bottom: 0; scroll-margin-top: 80px; }
.group-divider { border-top: 1px solid var(--line); }

/* ---------- Trust strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: var(--white); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 28px 24px; border-left: 1px solid var(--line); }
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-item strong { display: block; color: var(--ink); font-size: 16px; }
.strip-item span { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .strip-item { padding: 20px 16px; }
  .strip-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy-900); color: #b6c2d4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
.section-dark .section-head p { color: #94a3b8; }
.section-dark .eyebrow { color: var(--accent); }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-head { margin-bottom: 36px; } }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; transition: border-color .2s, box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.card p { color: var(--muted); }
.card .card-foot { margin-top: auto; padding-top: 16px; }
.repo-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.repo-link .ext { color: var(--muted); }
.repo-card .icon-box { background: var(--navy-900); color: #fff; }
.crumbs a:hover { color: #fff; }
.card-link { font-weight: 600; font-size: 15px; }
.card-link::after { content: " →"; }
.card .tag { align-self: flex-start; }
.icon-box { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 22px; }
.section-dark .card { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .1); }
.section-dark .card p { color: #94a3b8; }
.section-dark .icon-box { background: rgba(56, 189, 248, .12); color: var(--accent); }

.tag { display: inline-block; font: 600 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 7px 10px; border-radius: 999px; margin-bottom: 16px; }
.tag-soon { color: #92400e; background: #fef3c7; }
.tag-live { color: #065f46; background: #d1fae5; }

.checklist { list-style: none; margin: 0 0 8px; padding: 0; }
.checklist li { position: relative; padding-left: 28px; margin: 8px 0; color: var(--text); font-size: 15px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%231e4fd8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.deliverable { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; font-size: 14px; color: var(--muted); }
.deliverable strong { color: var(--ink); font-weight: 600; }

/* ---------- Service tiles (home) ---------- */
.tile { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s; }
.tile:hover { text-decoration: none; border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tile-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.tile h3 { font-size: 17px; margin-bottom: 6px; }
.tile h3::after { content: " →"; color: var(--brand); opacity: 0; transition: opacity .2s; }
.tile:hover h3::after { opacity: 1; }
.tile p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Recognition / hall of fame ---------- */
.name-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.name-grid li { display: grid; place-items: center; text-align: center; min-height: 84px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 650; font-size: 15px; letter-spacing: -0.01em; background: var(--white); }
.name-grid-wide { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 960px) { .name-grid-wide { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .name-grid, .name-grid-wide { grid-template-columns: repeat(2, 1fr); } }

.sev-summary { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); margin-bottom: 24px; }
.sev-summary div { padding: 20px 24px; border-left: 1px solid var(--line); }
.sev-summary div:first-child { border-left: 0; }
.sev-summary strong { display: block; font-size: 30px; line-height: 1.1; color: var(--ink); letter-spacing: -0.02em; }
.sev-summary span { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .sev-summary { grid-template-columns: 1fr 1fr; } .sev-summary div:nth-child(3) { border-left: 0; } .sev-summary div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.sev-critical-text { color: #b91c1c !important; }
.sev-high-text { color: #c2410c !important; }
.sev-medium-text { color: #a16207 !important; }

.cve-table table { min-width: 720px; }
.cve-table td:nth-child(n+2), .cve-table th:nth-child(n+2) { text-align: left; width: auto; }
.cve-table td { padding: 12px 20px; }
.cve-id { white-space: nowrap; font: 500 14px/1.4 var(--mono); }
.cve-note { display: block; font: 500 12px/1.4 var(--font); color: var(--muted); }
.sev { display: inline-block; white-space: nowrap; font: 600 12px/1 var(--font); padding: 6px 9px; border-radius: 999px; }
.sev-critical { color: #991b1b; background: #fee2e2; }
.sev-high { color: #9a3412; background: #ffedd5; }
.sev-medium { color: #854d0e; background: #fef9c3; }
.sev-low { color: #065f46; background: #d1fae5; }
.sev-none { color: var(--muted); background: var(--surface); }

.hof-tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.hof-tools input { flex: 1 1 280px; max-width: 420px; font: 15px/1.5 var(--font); color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: 8px; padding: 11px 14px; }
.hof-tools input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30, 79, 216, .15); }
.hof-count { font-size: 14px; color: var(--muted); }
.hof-letters { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 32px; }
.hof-letters a { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 6px; border-radius: 6px; font: 600 13px/1 var(--mono); color: var(--text); background: var(--white); border: 1px solid var(--line); }
.hof-letters a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.hof-list { column-count: 4; column-gap: 40px; }
.hof-group { break-inside: avoid; margin-bottom: 28px; }
.hof-group h3 { font: 700 13px/1 var(--mono); color: var(--brand); padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.hof-group ul { list-style: none; margin: 0; padding: 0; }
.hof-group li { padding: 4px 0; font-size: 15px; color: var(--ink); }
.hof-empty { color: var(--muted); }
@media (max-width: 960px) { .hof-list { column-count: 3; } }
@media (max-width: 640px) { .hof-list { column-count: 2; column-gap: 24px; } }

/* ---------- Product tiles (home, compact) ---------- */
.section-dark#products .section-head { margin-bottom: 36px; }
.tile-group-title { margin: 0 0 14px; font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #94a3b8; }
.tile-grid + .tile-group-title { margin-top: 30px; }
.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .1); text-decoration: none; transition: background .15s, border-color .15s; }
.tile:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .28); text-decoration: none; }
.tile img { width: 40px; height: 40px; flex: none; }
.tile > span { min-width: 0; }
.tile strong { display: block; color: #fff; font-size: 15px; line-height: 1.3; }
.tile span span { display: block; margin-top: 2px; color: #94a3b8; font-size: 13px; line-height: 1.4; }
@media (max-width: 1040px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tile-grid { grid-template-columns: 1fr; } }

/* ---------- AI models & datasets page ---------- */
.feature-hero { background: radial-gradient(900px 480px at 88% 0%, rgba(129, 140, 248, .22), transparent 62%), radial-gradient(700px 420px at 0% 100%, rgba(56, 189, 248, .14), transparent 60%), var(--navy-900); }
.feature-hero::after { display: none; }
.feature-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.grad-text { background: linear-gradient(90deg, #38bdf8, #818cf8 55%, #c084fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-net { width: 100%; height: auto; }
.ai-net-sig { opacity: 1; filter: drop-shadow(0 0 4px #7dd3fc); }
.ai-net-nodes circle { animation: ai-node 4.8s ease-in-out infinite; }
.ai-net-nodes .l1 { animation-delay: 1.2s; }
.ai-net-nodes .l2 { animation-delay: 2.4s; }
.ai-net-nodes .l3 { animation-delay: 3.6s; }
.ai-net-nodes .l4 { animation-delay: 4.8s; }
.ai-net-edges { animation: ai-edges 4.8s ease-in-out infinite; }
@keyframes ai-node { 0%, 22%, 100% { fill: #0b1730; stroke-width: 2; } 8% { fill: #6366f1; stroke-width: 3.5; } }
@keyframes ai-edges { 0%, 100% { opacity: .22; } 50% { opacity: .36; } }
@media (prefers-reduced-motion: reduce) { .ai-net-sig { display: none; } .ai-net-nodes circle, .ai-net-edges { animation: none; } }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-stats dt { font: 600 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #94a3b8; }
.hero-stats dd { margin: 8px 0 0; font: 600 28px/1 var(--mono); color: #fff; }
@media (max-width: 960px) { .feature-hero .wrap { grid-template-columns: 1fr; } .ai-net, .paper-art, .term, .hero-art { display: none; } }

.paper-art { width: 100%; height: auto; }
.paper-art { overflow: visible; }
.pa-front { animation: pa-float 7s ease-in-out infinite; }
.pa-back { transform-box: fill-box; transform-origin: 30% 100%; animation: pa-sway 7s ease-in-out infinite; }
.pa-lines rect { transform-box: fill-box; transform-origin: left center; animation: pa-write 9s cubic-bezier(.3, 0, .2, 1) infinite backwards; animation-delay: calc(var(--i) * .4s); }
.pa-caret { animation: pa-caret 9s steps(1) infinite; }
.pa-title { animation: pa-title 9s ease-in-out infinite; }
.pa-cites g { animation: pa-cite 9s ease-in-out infinite backwards; animation-delay: calc(3.8s + var(--i) * .5s); }
@keyframes pa-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pa-sway { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.6deg) translateY(4px); } }
@keyframes pa-write { 0% { transform: scaleX(0); opacity: 1; } 4.4% { transform: scaleX(1); opacity: 1; } 55% { transform: scaleX(1); opacity: 1; } 60%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes pa-caret { 0% { transform: translate(0, 0); opacity: 1; } 4.4% { transform: translate(150px, 0px); opacity: 1; } 8.8% { transform: translate(224px, 18px); opacity: 1; } 13.2% { transform: translate(204px, 36px); opacity: 1; } 17.6% { transform: translate(224px, 54px); opacity: 1; } 22.0% { transform: translate(120px, 72px); opacity: 1; } 26.4% { transform: translate(224px, 108px); opacity: 1; } 30.8% { transform: translate(190px, 126px); opacity: 1; } 35.2% { transform: translate(214px, 144px); opacity: 1; } 39.6% { transform: translate(90px, 162px); opacity: 1; } 44% { opacity: 0; } 48% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes pa-title { 0%, 60% { opacity: .9; } 80% { opacity: .55; } 100% { opacity: .9; } }
@keyframes pa-cite { 0% { opacity: .25; } 6%, 40% { opacity: 1; } 55%, 100% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .pa-front, .pa-back, .pa-lines rect, .pa-title, .pa-cites g { animation: none; } .pa-caret { display: none; } }
.term { border-radius: 12px; background: #070f1e; border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-lg); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.term-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.term-bar em { margin-left: auto; font: 500 12px/1 var(--mono); font-style: normal; color: #64748b; }
.term pre { margin: 0; padding: 18px 18px 22px; font: 500 13px/1.9 var(--mono); color: #e2e8f0; white-space: pre-wrap; overflow-wrap: anywhere; }
.term b { font-weight: 600; color: #818cf8; }
.term i { font-style: normal; color: #64748b; }
.term u { display: inline-block; width: 8px; height: 15px; vertical-align: -2px; background: #38bdf8; text-decoration: none; animation: term-blink 1.1s steps(1) infinite; }
@keyframes term-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .term u { animation: none; } }

.oss-feature { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px; border-radius: var(--radius-lg); color: #b6c2d4; background: radial-gradient(600px 300px at 100% 0%, rgba(129, 140, 248, .25), transparent 65%), var(--navy-900); overflow: hidden; }
.oss-feature::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #38bdf8, #818cf8 55%, #c084fc); }
.oss-feature h3 { margin: 16px 0 12px; font-size: 24px; color: #fff; }
.oss-feature p { margin: 0 0 24px; }
.oss-label { display: block; margin-bottom: 14px; font: 600 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #94a3b8; }
.chip.chip-dark { color: #e2e8f0; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); }
.repo-path { align-self: flex-start; font-size: 13px; }
.model-card .repo-link svg:first-child { color: var(--ink); }
@media (max-width: 860px) { .oss-feature { grid-template-columns: 1fr; gap: 28px; padding: 28px; } }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; font: 500 12px/1 var(--mono); padding: 6px 9px; border-radius: 6px; color: var(--text); background: var(--surface); border: 1px solid var(--line); white-space: nowrap; }
.chip-ai { color: #4338ca; background: #eef2ff; border-color: #e0e7ff; }
.chip-security { color: #1e40af; background: #dbeafe; border-color: #bfdbfe; }
.chip-blockchain { color: #92400e; background: #fef3c7; border-color: #fde68a; }
.chip-markets { color: #065f46; background: #d1fae5; border-color: #a7f3d0; }
.chip-vision { color: #6b21a8; background: #f3e8ff; border-color: #e9d5ff; }

.model-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.model-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #38bdf8, #818cf8 55%, #c084fc); }
.model-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.model-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.model-top h3 { margin: 0; font-size: 19px; }
.model-params strong { font: 600 40px/1 var(--mono); color: var(--ink); letter-spacing: -.02em; }
.model-params span { margin-left: 8px; font-size: 14px; color: var(--muted); }
.model-bar { height: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.model-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #38bdf8, #818cf8 55%, #c084fc); }
.model-card p { margin: 0; font-size: 15px; color: var(--muted); }
.model-specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.model-specs dt { font-size: 12px; color: var(--muted); }
.model-specs dd { margin: 4px 0 0; font: 600 14px/1.2 var(--mono); color: var(--ink); }
.model-card .repo-link { margin-top: auto; }

.ds-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ds-filter-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; font: 600 14px/1 var(--font); color: var(--text); background: var(--white); border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.ds-filter-btn span { font: 500 12px/1 var(--mono); color: var(--muted); }
.ds-filter-btn:hover { border-color: var(--ink); }
.ds-filter-btn[aria-pressed="true"] { color: #fff; background: var(--navy-900); border-color: var(--navy-900); }
.ds-filter-btn[aria-pressed="true"] span { color: #94a3b8; }
.ds-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ds-grid li[hidden] { display: none; }
.ds-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: border-color .15s, box-shadow .15s; }
.ds-card:hover { text-decoration: none; border-color: var(--brand); box-shadow: var(--shadow-sm); }
.ds-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ds-meta { font: 500 12px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.ds-card strong { color: var(--ink); font-size: 15px; line-height: 1.35; }
.ds-desc { font-size: 14px; line-height: 1.5; color: var(--muted); }
.book-group-title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px; font-size: 19px; }
.book-group-title span { font: 500 13px/1 var(--mono); color: var(--muted); }
.ds-grid + .book-group-title { margin-top: 44px; }
.book-card strong { font-size: 16px; }
.book-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; color: var(--brand); }
.book-cta .ext { color: var(--muted); }
@media (max-width: 960px) { .ds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ds-grid { grid-template-columns: 1fr; } }

/* ---------- Split / product showcase ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.reverse > :first-child { order: 0; } }

.product-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.product-head img { width: 64px; height: 64px; }
.product-head h2, .product-head h3 { margin: 0; }
.product-head p { margin: 0; color: var(--muted); font-size: 15px; }

.window { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); background: #1e1f23; }
.window img { width: 100%; height: auto; }
.section-dark .window { border-color: rgba(255, 255, 255, .12); }

.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; margin: 28px 0 32px; }
.spec-list div { border-left: 2px solid var(--brand); padding-left: 14px; }
.spec-list strong { display: block; color: var(--ink); font-size: 15px; }
.spec-list span { font-size: 14px; color: var(--muted); }
.section-dark .spec-list strong { color: #fff; }
.section-dark .spec-list span { color: #94a3b8; }
.section-dark .spec-list div { border-color: var(--accent); }
.grid-3 .card .spec-list { grid-template-columns: 1fr; gap: 14px; }
@media (max-width: 520px) { .spec-list { grid-template-columns: 1fr; } }

/* ---------- Standards ---------- */
.std { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
.std-code { font: 600 13px/1 var(--mono); color: var(--brand); letter-spacing: .04em; margin-bottom: 14px; display: block; }
.std p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { padding: 0 28px 0 0; position: relative; }
.step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 15px/1 var(--mono); color: var(--brand); background: var(--white); border: 2px solid var(--brand); position: relative; z-index: 1; margin-bottom: 22px; }
.step::before { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 2px; background: var(--line-strong); }
.step:last-child::before { display: none; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
.section-dark .step-num { background: var(--navy-900); color: var(--accent); border-color: var(--accent); }
.section-dark .step::before { background: rgba(255, 255, 255, .15); }
.section-dark .step p { color: #94a3b8; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { padding: 0 0 0 64px; }
  .step-num { position: absolute; left: 0; top: -6px; }
  .step::before { top: 44px; bottom: -34px; left: 21px; right: auto; width: 2px; height: auto; }
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
thead th { background: var(--surface); color: var(--ink); font-weight: 650; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
td:nth-child(n+2), th:nth-child(n+2) { text-align: center; width: 20%; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--line-strong); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-weight: 600; color: var(--ink); font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--font); color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 820px; }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(120deg, var(--navy-800), var(--brand) 140%); color: #cbd5e1; border-radius: 20px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 8px; font-size: clamp(24px, 3vw, 32px); }
.cta p { margin: 0; max-width: 560px; }
.cta .btn-primary { background: #fff; color: var(--navy-900); }
.cta .btn-primary:hover { background: #e2e8f0; }
@media (max-width: 640px) { .cta { padding: 36px 28px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { padding-top: 0; }
.info-list .icon-box { margin: 0; width: 44px; height: 44px; flex: none; }
.info-list strong { display: block; color: var(--ink); }
.info-list span, .info-list a { font-size: 15px; }
.info-list span { display: block; color: var(--muted); }

.map { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.map iframe { display: block; width: 100%; height: 460px; border: 0; filter: grayscale(1) contrast(1.08); }
.map figcaption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); background: var(--white); }
@media (max-width: 560px) { .map iframe { height: 340px; } }
.map-stack { display: grid; gap: 24px; }
.map-stack .map iframe { height: 280px; }
@media (max-width: 560px) { .map-stack .map iframe { height: 240px; } }

/* ---------- Legal / prose ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 22px; margin-top: 44px; padding-top: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: 104px; font-size: 14px; border-left: 2px solid var(--line); padding-left: 18px; }
.toc strong { display: block; color: var(--ink); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.toc a { display: block; color: var(--muted); padding: 5px 0; }
.toc a:hover { color: var(--brand); text-decoration: none; }
.toc a { position: relative; transition: color .15s; }
.toc a.active { color: var(--brand); font-weight: 600; }
.toc a.active::before { content: ""; position: absolute; left: -20px; top: 4px; bottom: 4px; width: 2px; background: linear-gradient(180deg, #38bdf8, #818cf8); }
.prose h2 { scroll-margin-top: 96px; }
.feature-hero .meta-line { font-family: var(--mono); font-size: 14px; }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; gap: 32px; } .toc { position: static; } }
.meta-line { font-size: 14px; color: #94a3b8; margin-top: 14px !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #94a3b8; font-size: 14px; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand-sub { color: #64748b; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 10px 0; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 13px; }

/* ---------- Reveal animation (only when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Device showcase (apps on iPhone, iPad and Mac) ---------- */
.device-stage { position: relative; max-width: 1040px; margin: 0 auto; }
.device-stage .hero-phone { position: absolute; right: -3%; bottom: 28px; width: 23%; height: auto; filter: drop-shadow(0 30px 40px rgba(2, 8, 23, .55)); }
.device-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.device-shots figure { margin: 0; }
.device-shots img { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow-md); }
.device-shots figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }
.device-tablet { max-width: 920px; margin: 56px auto 0; }
.device-tablet img { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(15, 23, 42, .22)); }
.device-tablet figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .device-shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .device-stage .hero-phone { right: 2%; bottom: 12px; width: 30%; } }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 96px 0; color: #b6c2d4; background: radial-gradient(900px 480px at 85% 0%, rgba(129, 140, 248, .22), transparent 62%), radial-gradient(700px 420px at 0% 100%, rgba(56, 189, 248, .14), transparent 60%), var(--navy-900); }
.notfound h1 { color: #fff; font-size: 32px; }
.notfound p { max-width: 480px; margin-left: auto; margin-right: auto; }
.nf-code { display: flex; justify-content: center; align-items: center; gap: .04em; margin-bottom: 20px; font: 700 clamp(96px, 20vw, 176px)/1 var(--mono); }
.nf-radar { width: .78em; height: .78em; flex: none; }
.nf-sweep { transform-origin: 60px 60px; animation: nf-sweep 3.2s linear infinite; }
@keyframes nf-sweep { to { transform: rotate(360deg); } }
.nf-blip { transform-box: fill-box; transform-origin: center; animation: nf-blip 3.2s ease-out infinite; }
@keyframes nf-blip { 0%, 4% { opacity: 0; transform: scale(.6); } 10% { opacity: 1; transform: scale(1.4); } 60%, 100% { opacity: 0; transform: scale(1); } }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.nf-links a { color: #cbd5e1; }
.nf-links a:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .nf-sweep, .nf-blip { animation: none; } .nf-blip { opacity: 1; } }
.notfound .code { font: 700 96px/1 var(--mono); color: var(--brand); margin-bottom: 12px; }

/* ---------- Modern accent layer: colour, gradient and depth only; no sizing or layout changes ---------- */
:root { --grad: linear-gradient(90deg, #38bdf8, #818cf8 55%, #c084fc); }
.hero { background: radial-gradient(1200px 600px at 85% -10%, rgba(129, 140, 248, .24), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(30, 79, 216, .35), transparent 60%), var(--navy-900); }
.page-hero { background: radial-gradient(900px 480px at 88% 0%, rgba(129, 140, 248, .22), transparent 62%), radial-gradient(700px 420px at 0% 100%, rgba(56, 189, 248, .14), transparent 60%), var(--navy-900); }
.page-hero::before { content: ""; position: absolute; inset: 0; 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: 56px 56px; mask-image: linear-gradient(180deg, #000 0%, transparent 90%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%); pointer-events: none; }
.page-hero::after { display: none; }
.section-dark { background: radial-gradient(900px 420px at 100% 0%, rgba(129, 140, 248, .16), transparent 62%), radial-gradient(700px 380px at 0% 100%, rgba(56, 189, 248, .1), transparent 60%), var(--navy-900); }
.eyebrow::before { background: var(--grad); }
.icon-box { background: linear-gradient(135deg, #e0f2fe, #ede9fe); }
.section-dark .icon-box { background: rgba(129, 140, 248, .16); }
.card, .std { position: relative; overflow: hidden; }
.card::before, .std::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); opacity: 0; transition: opacity .2s; }
.card:hover::before, .std:hover::before { opacity: 1; }
.std { transition: border-color .2s, box-shadow .2s; }
.std:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.std-code { color: #4f46e5; }
.step::before { background: linear-gradient(90deg, var(--brand), var(--line-strong)); }
.name-grid li { transition: background .15s, color .15s; }
.name-grid li:hover { background: var(--surface); color: var(--brand); }
.btn-primary { transition: background .15s, border-color .15s, color .15s, box-shadow .2s; }
.btn-primary:hover { box-shadow: 0 10px 24px -12px rgba(30, 79, 216, .8); }
.cta { background: radial-gradient(520px 280px at 100% 0%, rgba(192, 132, 252, .38), transparent 70%), linear-gradient(120deg, var(--navy-800), var(--brand) 140%); }
.window { transition: box-shadow .25s; }
.window:hover { box-shadow: 0 30px 80px -30px rgba(79, 70, 229, .55); }
.spec-list div { border-image: linear-gradient(180deg, #38bdf8, #818cf8) 1; }
.hero-panel { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-panel .ico { background: rgba(129, 140, 248, .16); }
.info-list li { transition: background .15s; border-radius: 0; }
.info-list .icon-box { transition: transform .2s; }
.info-list li:hover .icon-box { transform: translateY(-2px); }
.map { transition: box-shadow .25s, border-color .2s; position: relative; }
.map::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); z-index: 1; }
.map:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.map figcaption span { font-family: var(--mono); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .card::before, .std::before, .window, .btn-primary, .map, .info-list .icon-box { transition: none; } }

/* ---------- Animated hero illustrations ---------- */
.hero-art { width: 100%; height: auto; overflow: visible; }
.hero-art .static-only { display: none; }
.art-float { animation: art-float 7s ease-in-out infinite; }
.art-float-b { animation-duration: 8.5s; animation-delay: -3s; }
@keyframes art-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.plane-trail { animation: plane-trail 1.2s linear infinite; }
@keyframes plane-trail { to { stroke-dashoffset: -12; } }
.app-tile { transform-box: fill-box; transform-origin: center; animation: app-pop 8s cubic-bezier(.3, 1.4, .5, 1) infinite backwards; animation-delay: calc(var(--i) * .22s); }
@keyframes app-pop { 0% { transform: scale(.4); opacity: 0; } 6% { transform: scale(1); opacity: 1; } 72% { transform: scale(1); opacity: 1; } 80%, 100% { transform: scale(.85); opacity: 0; } }
.scan { animation: scan 3.6s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translateY(-30px); } to { transform: translateY(170px); } }
.shield-check { stroke-dasharray: 100; animation: shield-check 7.2s ease-in-out infinite; }
@keyframes shield-check { 0%, 45% { stroke-dashoffset: 100; opacity: 1; } 58%, 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.code-caret { animation: term-blink 1.1s steps(1) infinite; }
.pin-ring { transform-box: fill-box; transform-origin: center; animation: pin-ring 2.4s ease-out infinite; }
.pin-ring-b { animation-delay: 1.2s; }
@keyframes pin-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.globe-lon { transform-box: fill-box; transform-origin: center; animation: globe-lon 9s ease-in-out infinite alternate; }
.globe-lon-b { animation-delay: -4.5s; }
@keyframes globe-lon { from { transform: scaleX(.25); } to { transform: scaleX(1.6); } }

.lens { animation: lens 9s ease-in-out infinite; }
@keyframes lens { 0%, 100% { transform: translate(96px, 112px); } 14% { transform: translate(190px, 132px); } 30%, 62% { transform: translate(150px, 168px); } 80% { transform: translate(210px, 222px); } }
.vuln-line { animation: vuln 9s ease-in-out infinite; }
@keyframes vuln { 0%, 30% { fill: #fff; opacity: .25; } 36%, 88% { fill: #fbbf24; opacity: 1; } 96%, 100% { fill: #fff; opacity: .25; } }
.cve-card { transform-box: fill-box; transform-origin: center; animation: cve-card 9s cubic-bezier(.3, 1.3, .5, 1) infinite; }
@keyframes cve-card { 0%, 38% { transform: scale(.85); opacity: 0; } 44%, 90% { transform: scale(1); opacity: 1; } 97%, 100% { transform: scale(.95); opacity: 0; } }
.cvss-fill { transform-box: fill-box; transform-origin: left center; animation: cvss-fill 9s ease-out infinite; }
@keyframes cvss-fill { 0%, 46% { transform: scaleX(0); } 58%, 100% { transform: scaleX(1); } }
.steps circle { fill: #0b1730; stroke: #64748b; stroke-width: 2; animation: step-on 9s ease-in-out infinite; animation-delay: calc(var(--i) * .7s); }
@keyframes step-on { 0%, 58% { fill: #0b1730; stroke: #64748b; } 63%, 100% { fill: #34d399; stroke: #34d399; } }

.sig { stroke-dasharray: 100; animation: sig 8s ease-in-out infinite; }
@keyframes sig { 0%, 12% { stroke-dashoffset: 100; opacity: 1; } 42%, 90% { stroke-dashoffset: 0; opacity: 1; } 98%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.seal { transform-box: fill-box; transform-origin: center; animation: seal 8s cubic-bezier(.3, 1.5, .5, 1) infinite; }
@keyframes seal { 0%, 44% { transform: scale(1.5) rotate(-18deg); opacity: 0; } 52%, 90% { transform: scale(1) rotate(-8deg); opacity: 1; } 98%, 100% { transform: scale(1) rotate(-8deg); opacity: 0; } }
.shackle { animation: shackle 7s ease-in-out infinite; }
@keyframes shackle { 0%, 14% { transform: translateY(-20px); } 24%, 88% { transform: translateY(0); } 100% { transform: translateY(-20px); } }
.lock-ring { transform-box: fill-box; transform-origin: center; animation: lock-ring 7s ease-out infinite; }
@keyframes lock-ring { 0%, 24% { transform: scale(1); opacity: 0; } 26% { transform: scale(1); opacity: .9; } 50%, 100% { transform: scale(2.1); opacity: 0; } }
.data-links { animation: data-links 1.4s linear infinite; }
@keyframes data-links { to { stroke-dashoffset: -10; } }

/* Home hero panel: practice areas light up in turn */
.hero-panel { animation: art-float 8s ease-in-out infinite; }
.hero-panel li .ico { animation: ico-turn 10s ease-in-out infinite; }
.hero-panel li:nth-child(2) .ico { animation-delay: 2s; }
.hero-panel li:nth-child(3) .ico { animation-delay: 4s; }
.hero-panel li:nth-child(4) .ico { animation-delay: 6s; }
.hero-panel li:nth-child(5) .ico { animation-delay: 8s; }
@keyframes ico-turn { 0%, 20%, 100% { background: rgba(129, 140, 248, .16); color: var(--accent); box-shadow: none; } 6%, 14% { background: #6366f1; color: #fff; box-shadow: 0 0 0 5px rgba(99, 102, 241, .22), 0 0 22px rgba(129, 140, 248, .7); } }
@media (prefers-reduced-motion: reduce) {
  .hero-art *, .hero-panel, .hero-panel li .ico { animation: none !important; }
  .hero-art .motion-only { display: none; }
  .hero-art .static-only { display: inline; }
}

/* ---------- Product tour video ---------- */
.video-frame{max-width:1040px;margin:0 auto;padding:10px;border-radius:20px;background:linear-gradient(135deg,rgba(99,102,241,.35),rgba(16,185,129,.35));box-shadow:0 30px 60px -30px rgba(15,23,42,.45)}
.video-frame video{display:block;width:100%;height:auto;aspect-ratio:16/9;border-radius:12px;background:#0b1224}
.video-note{text-align:center;font-size:14px;color:#64748b;margin:16px 0 0}
@media (max-width:640px){.video-frame{padding:6px;border-radius:14px}.video-frame video{border-radius:9px}}
