:root {
  --navy: #0f172a;
  --navy-2: #1e3a8a;
  --blue: #2563eb;
  --blue-light: #dbeafe;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --surface: #f8fafc;
  --white: #fff;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
a:hover { color: var(--navy-2); }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}
.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo {
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}
.logo span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: #475569; font-size: 14px; font-weight: 600; text-decoration: none; }
.nav-links a[aria-current="page"], .nav-links a:hover { color: var(--blue); }
.nav-cta {
  padding: 9px 15px;
  border-radius: 9px;
  color: var(--white) !important;
  background: var(--blue);
}

.hero {
  padding: 88px 0 76px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(59, 130, 246, .34), transparent 28%),
    linear-gradient(145deg, #0f172a, #1e3a8a 68%, #1d4ed8);
}
.hero-inner { max-width: 850px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
h1, h2, h3 { color: var(--navy); line-height: 1.18; letter-spacing: -.035em; }
.hero h1 { margin: 0 0 22px; color: var(--white); font-size: clamp(38px, 6vw, 62px); }
.hero p { max-width: 760px; margin: 0; color: #dbeafe; font-size: clamp(17px, 2vw, 20px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-block;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
}
.button-primary { color: var(--navy) !important; background: var(--white); }
.button-secondary { color: var(--white) !important; border-color: rgba(255,255,255,.4); }

.section { padding: 76px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-label { margin-bottom: 8px; color: var(--blue); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
h2 { margin: 0 0 15px; font-size: clamp(28px, 4vw, 42px); }
h3 { margin: 0 0 9px; font-size: 21px; }
.lead { color: var(--muted); font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}
.card p { margin: 0; color: var(--muted); }
.number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-light);
  font-weight: 800;
}
.content { max-width: 820px; }
.content h2 { margin-top: 54px; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 30px; }
.content p { margin: 0 0 18px; }
.content ul { margin: 0 0 22px; padding-left: 23px; }
.content li { margin: 7px 0; }
.callout {
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #eff6ff;
}
.callout strong { color: var(--navy); }
.scope-note {
  margin: 0 0 34px;
  padding: 18px 20px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  color: #1e3a8a;
  background: #eff6ff;
  font-size: 14px;
}
.scope-note strong { color: var(--navy); }
.formula-box {
  margin: 24px 0;
  padding: 22px 24px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.formula-box p { margin: 0; }
.formula-box p + p { margin-top: 12px; }
.formula {
  display: inline-block;
  max-width: 100%;
  color: var(--navy-2);
  font-family: "Cambria Math", Cambria, Georgia, serif;
  font-size: 1.08em;
  font-weight: 700;
}
mjx-container[jax="SVG"] { color: var(--navy-2); }
mjx-container[jax="SVG"][display="true"] {
  max-width: 100%;
  margin: .25em 0;
  overflow-x: auto;
  overflow-y: hidden;
}
mjx-container[jax="SVG"] > svg { max-width: none; }
.technical-note {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid #f59e0b;
  border-radius: 0 12px 12px 0;
  background: #fffbeb;
}
.technical-note strong { color: #78350f; }
.data-table { width: 100%; margin: 20px 0 28px; border-collapse: collapse; font-size: 15px; }
.data-table th, .data-table td { padding: 11px 13px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.data-table th { color: var(--navy); background: var(--surface); }
.data-table td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.status-item { padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.status-item strong { display: block; color: var(--navy); font-size: 20px; }
.status-item span { color: var(--muted); font-size: 13px; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { position: absolute; left: 0; content: "✓"; color: var(--blue); font-weight: 900; }
.next-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.next-link { padding: 20px; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; }
.next-link strong { display: block; color: var(--navy); }
.next-link span { color: var(--muted); font-size: 14px; }
.demo-media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.demo-media-grid.single { grid-template-columns: 1fr; }
.demo-shot { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--white); box-shadow: 0 16px 45px rgba(15, 23, 42, .11); }
.demo-shot a { display: block; }
.demo-shot img { width: 100%; height: auto; display: block; }
.demo-shot figcaption { padding: 13px 16px; color: var(--muted); font-size: 12px; }
.demo-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; font-weight: 750; text-decoration: none; }

.cta { padding: 60px 0; color: var(--white); background: var(--navy); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { margin: 0 0 8px; color: var(--white); font-size: 30px; }
.cta p { margin: 0; color: #cbd5e1; }
.footer { padding: 34px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }

@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .grid, .grid-2 { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: 1fr; }
  .demo-media-grid { grid-template-columns: 1fr; }
  .cta-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .hero { padding: 64px 0 58px; }
  .section { padding: 56px 0; }
  .next-links { grid-template-columns: 1fr; }
}
