:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --muted-strong: #475569;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #eff6ff;
  --sky: #38bdf8;
  --green: #059669;
  --green-soft: #ecfdf5;
  --amber: #d97706;
  --amber-soft: #fffbeb;
  --violet: #7c3aed;
  --violet-soft: #f5f3ff;
  --teal: #0f766e;
  --teal-soft: #f0fdfa;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --code: #172033;
  --focus: #f59e0b;
  --max-width: 1200px;
  --header-height: 68px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 9px 14px;
  color: #fff;
  background: var(--text);
  border-radius: 8px;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(248, 250, 252, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img { width: 34px; height: 34px; }
.brand span { display: none; }

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-links { margin-left: auto; gap: 6px; }
.nav-actions { gap: 9px; }

.nav-links a,
.language-toggle {
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-links a {
  padding: 8px 11px;
  border-radius: 8px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-links .nav-cta {
  margin-left: 5px;
  padding-inline: 16px;
  color: #fff;
  background: var(--text);
}

.nav-links .nav-api {
  position: relative;
  margin-left: 14px;
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-links .nav-api::before {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: -11px;
  width: 1px;
  background: var(--border-strong);
  content: "";
}

.nav-links .nav-api:hover { color: #fff; background: var(--accent); }

.nav-links .nav-cta:hover {
  color: #fff;
  background: var(--accent);
}

.language-toggle,
.menu-toggle,
.copy-button,
.filter-button {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  cursor: pointer;
}

.language-toggle {
  min-width: 56px;
  padding: 6px 10px;
  border-radius: 8px;
}

.language-toggle:hover { color: var(--accent); border-color: var(--accent); }

.menu-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 8px;
  color: var(--text);
}

.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Type and common sections */
main { display: block; }
.section { padding: 100px 0; }
.section-tight { padding: 64px 0; }
.band { border-block: 1px solid var(--border); background: var(--surface-alt); }
.band-white { border-block: 1px solid var(--border); background: var(--surface); }
.band-dark { color: #fff; background: var(--text); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.025em; }
h1 { font-size: clamp(2.65rem, 5.6vw, 4.25rem); line-height: 1.07; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.13; }
h3 { font-size: 1.2rem; line-height: 1.3; }

.eyebrow,
.hero-badge,
.status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  font-weight: 700;
}

.eyebrow {
  gap: 7px;
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow.green { color: var(--green); }
.eyebrow.amber { color: var(--amber); }
.eyebrow.violet { color: var(--violet); }
.eyebrow.teal { color: var(--teal); }

.hero-badge,
.status {
  gap: 7px;
  margin-bottom: 18px;
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--accent-hover);
  background: var(--accent-soft);
  font-size: 0.76rem;
  letter-spacing: 0.015em;
}

.hero-badge::before,
.status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status { margin-bottom: 10px; padding: 4px 10px; font-size: 0.7rem; }
.status.green { color: #047857; background: var(--green-soft); }
.status.amber { color: #b45309; background: var(--amber-soft); }
.status.violet { color: #6d28d9; background: var(--violet-soft); }
.status.teal { color: #0f766e; background: var(--teal-soft); }
.status.slate { color: #475569; background: #f1f5f9; }

.gradient-text {
  color: var(--accent);
  background: linear-gradient(130deg, #2563eb 5%, #38bdf8 88%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede,
.section-lede {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.72;
}

.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 16px; }
.section-heading p { max-width: 680px; margin-bottom: 0; }

.legal-name { margin: 0 0 28px; color: var(--muted); font-size: 0.85rem; font-weight: 600; }

/* Buttons */
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.actions-spaced { margin-top: 28px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  gap: 8px;
  border: 1px solid var(--text);
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
  transform: translateY(-2px);
}

.button.secondary { color: var(--text); background: var(--surface); border-color: var(--border-strong); }
.button.secondary:hover { color: var(--accent); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.button.light { color: var(--text); background: #fff; border-color: #fff; }
.button.light:hover { color: var(--accent); }
.button.ghost-dark { color: #fff; background: transparent; border-color: rgba(255,255,255,.3); }
.button.ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.button svg { width: 17px; height: 17px; flex: 0 0 auto; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Home hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(740px, calc(100vh - var(--header-height)));
  padding: 94px 0 86px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  position: absolute;
  top: -360px;
  right: -280px;
  width: 850px;
  height: 850px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1), rgba(56, 189, 248, 0.025) 48%, transparent 70%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 72px;
}

.hero h1 { max-width: 730px; margin-bottom: 22px; }
.hero .lede { max-width: 640px; margin-bottom: 28px; }

.hero-visual {
  position: relative;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
}

.preview-window {
  overflow: hidden;
  border-radius: 12px;
  color: #dbeafe;
  background: var(--code);
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 17px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  color: #94a3b8;
  font-size: 0.72rem;
}

.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #475569; }
.window-dots i:nth-child(1) { background: #fb7185; }
.window-dots i:nth-child(2) { background: #fbbf24; }
.window-dots i:nth-child(3) { background: #34d399; }

.preview-content { padding: 18px; }
.preview-label { margin: 0 0 12px; color: #64748b; font: 0.72rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }

.preview-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
}

.preview-row + .preview-row { margin-top: 9px; }
.preview-row img { width: 38px; height: 38px; border-radius: 9px; }
.workflow-index { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(125,211,252,.25); border-radius: 9px; color: #7dd3fc !important; background: rgba(56,189,248,.08); font: 700 .7rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.preview-row strong { display: block; color: #f8fafc; font-size: 0.87rem; letter-spacing: -0.01em; }
.preview-row span { color: #94a3b8; font-size: 0.73rem; }
.preview-row .signal { width: 7px; height: 7px; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12); }

.preview-command {
  margin: 14px 0 0;
  padding: 13px 15px;
  border-radius: 9px;
  color: #a7f3d0;
  background: #0f172a;
  font: 0.76rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.preview-command .prompt { color: #7dd3fc; }

.hero-note {
  position: absolute;
  right: -24px;
  bottom: -24px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
  font-weight: 700;
}
.hero-note::before { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px #d1fae5; content: ""; }

/* Home sections */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.metric { padding: 24px 28px; }
.metric + .metric { border-left: 1px solid var(--border); }
.metric strong { display: block; font-size: 1.35rem; letter-spacing: -0.03em; }
.metric span { color: var(--muted); font-size: 0.8rem; }

.path-heading { margin-bottom: 32px; }
.company-principles { margin-top: 6px; }
.path-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.path-choice-card { position: relative; display: flex; flex-direction: column; min-height: 310px; padding: 28px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.path-choice-card:hover { border-color: #bfdbfe; box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.path-choice-card::after { position: absolute; right: -46px; bottom: -58px; width: 170px; height: 170px; border: 28px solid rgba(37,99,235,.05); border-radius: 50%; content: ""; }
.path-choice-card.enterprise-choice::after { border-color: rgba(5,150,105,.055); }
.path-choice-card.api-choice::after { border-color: rgba(124,58,237,.055); }
.choice-number { position: absolute; top: 28px; right: 28px; color: #94a3b8; font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.path-choice-card h3 { margin: 5px 0 10px; font-size: 1.35rem; }
.path-choice-card p { color: var(--muted); font-size: .9rem; }
.path-choice-card .text-link { position: relative; z-index: 1; margin-top: auto; }

.api-showcase { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 54px; }
.api-showcase-mark { display: grid; place-items: center; width: 180px; height: 180px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.api-showcase-mark img { width: 96px; height: 96px; border-radius: 22px; }
.api-showcase h2 { max-width: 760px; margin-bottom: 16px; }
.api-showcase .section-lede { max-width: 780px; margin-bottom: 0; }

.product-grid,
.platform-grid,
.repo-tease-grid,
.feature-grid,
.service-grid,
.value-grid,
.repo-grid {
  display: grid;
  gap: 22px;
}

.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.repo-tease-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.product-card,
.platform-panel,
.repo-tease,
.repo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover,
.platform-panel:hover,
.repo-tease:hover,
.repo-card:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.product-card { display: flex; flex-direction: column; min-height: 380px; padding: 30px; }
.product-card::after,
.platform-panel::after {
  position: absolute;
  right: -54px;
  bottom: -62px;
  width: 190px;
  height: 190px;
  border: 30px solid rgba(37, 99, 235, 0.055);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.card-icon { width: 58px; height: 58px; margin-bottom: 24px; border-radius: 14px; }
.product-card h3, .platform-panel h3 { margin-bottom: 10px; }
.product-card p, .platform-panel p, .repo-tease p, .repo-card p { color: var(--muted); }
.product-card .text-link { position: relative; z-index: 2; margin-top: auto; }

.card-paths { display: flex; gap: 8px; margin: 6px 0 22px; flex-wrap: wrap; }
.path-pill { padding: 4px 9px; border-radius: 999px; color: var(--muted-strong); background: var(--surface-alt); font-size: 0.7rem; font-weight: 700; }

.platform-panel { min-height: 330px; padding: 34px; }
.platform-header { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.platform-header img { width: 58px; height: 58px; border-radius: 14px; }
.platform-header h3 { margin: 0; }
.platform-panel .text-link { position: relative; z-index: 2; margin-top: 12px; }
.platform-actions { position: relative; z-index: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }
.platform-actions .text-link { margin-top: 0; }

.split-layout,
.principles {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 78px;
}

.path-list,
.principle-list { border-top: 1px solid var(--border-strong); }
.path-item,
.principle-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.path-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
.path-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--accent); background: var(--accent-soft); font-size: 0.78rem; font-weight: 800; }
.path-item h3, .principle-item h3 { margin-bottom: 6px; }
.path-item p, .principle-item p { margin-bottom: 0; color: var(--muted); }

.repo-tease { min-height: 220px; padding: 24px; }
.repo-tease h3 { margin: 18px 0 8px; font-size: 1rem; }
.repo-tease p { margin: 0; font-size: 0.86rem; }
.repo-symbol { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--accent); background: var(--accent-soft); }
.repo-symbol svg { width: 20px; height: 20px; }
.section-footer { display: flex; justify-content: center; margin-top: 34px; }

/* Product pages */
.product-hero {
  position: relative;
  padding: 92px 0 82px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.product-hero::before {
  position: absolute;
  top: -280px;
  right: -230px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .09), transparent 68%);
  content: "";
}

.product-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  align-items: center;
  gap: 78px;
}

.breadcrumb { margin-bottom: 26px; color: var(--muted); font-size: .8rem; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.product-hero h1 { max-width: 780px; margin-bottom: 20px; }
.product-hero .lede { max-width: 720px; margin-bottom: 28px; }

.product-mark-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.product-mark-stage::before,
.product-mark-stage::after {
  position: absolute;
  border: 1px solid #bfdbfe;
  border-radius: 50%;
  content: "";
}
.product-mark-stage::before { width: 238px; height: 238px; }
.product-mark-stage::after { width: 292px; height: 292px; border-style: dashed; }
.product-mark-stage img { position: relative; z-index: 1; width: 148px; height: 148px; border-radius: 33px; box-shadow: var(--shadow); }

.feature-item,
.service-item,
.value-item {
  position: relative;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.feature-item::before,
.service-item::before,
.value-item::before {
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 20px;
  border-radius: 99px;
  background: var(--border-strong);
  content: "";
}
.feature-item.blue::before { background: var(--accent); }
.feature-item.green::before { background: var(--green); }
.feature-item.amber::before { background: var(--amber); }
.feature-item.violet::before { background: var(--violet); }
.feature-item.teal::before { background: var(--teal); }
.feature-item.no-accent::before, .service-item.no-accent::before, .value-item.no-accent::before { display: none; }
.feature-item h3, .service-item h3, .value-item h3 { margin-bottom: 8px; }
.feature-item p, .service-item p, .value-item p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }

.comparison {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.comparison-head,
.comparison-row { display: grid; grid-template-columns: minmax(160px, .65fr) minmax(0, 1fr) minmax(0, 1fr); }
.comparison-head { color: #fff; background: var(--text); font-weight: 700; }
.comparison-head > div, .comparison-row > div { padding: 18px 22px; }
.comparison-head > div + div, .comparison-row > div + div { border-left: 1px solid var(--border); }
.comparison-row + .comparison-row { border-top: 1px solid var(--border); }
.comparison-row .label { font-weight: 700; }
.comparison-row div:not(.label) { color: var(--muted); }

.command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 720px;
  padding: 14px 14px 14px 22px;
  gap: 20px;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  color: #e2e8f0;
  background: var(--code);
  box-shadow: var(--shadow-sm);
}
.command code { overflow-wrap: anywhere; color: #a7f3d0; font-size: .92rem; }
.copy-button { padding: 7px 11px; border-color: #475569; border-radius: 6px; color: #dbeafe; background: #1e293b; font-size: .74rem; }
.copy-button:hover { border-color: var(--sky); color: #fff; }

.relationship-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.relationship-item { padding: 21px; border-radius: 10px; background: var(--surface-alt); }
.relationship-item::before { display: block; width: 24px; height: 3px; margin-bottom: 16px; border-radius: 99px; background: var(--accent); content: ""; }
.relationship-item h3 { margin-bottom: 6px; font-size: 1rem; }
.relationship-item p { margin: 0; color: var(--muted); font-size: .82rem; }

.notice { margin: 26px 0 0; padding: 16px 18px; border-left: 4px solid var(--amber); border-radius: 0 8px 8px 0; color: #713f12; background: var(--amber-soft); font-size: .88rem; }

/* Repository directory */
.directory-hero { padding-bottom: 68px; }
.directory-hero .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; }
.repo-count-card { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.repo-count-card strong { display: block; margin-bottom: 4px; font-size: 4rem; line-height: 1; letter-spacing: -.06em; }
.repo-count-card > span { color: var(--muted); }
.repo-count-list { display: grid; gap: 9px; margin-top: 24px; }
.repo-count-list div { display: flex; justify-content: space-between; padding-top: 9px; border-top: 1px solid var(--border); color: var(--muted-strong); font-size: .83rem; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter-button { padding: 8px 14px; border-radius: 999px; color: var(--muted-strong); font-size: .8rem; font-weight: 700; }
.filter-button:hover, .filter-button[aria-pressed="true"] { color: #fff; border-color: var(--accent); background: var(--accent); }

.repo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.repo-card { display: flex; flex-direction: column; min-height: 270px; padding: 27px; }
.repo-card[hidden] { display: none; }
.repo-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.repo-card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: var(--accent); background: var(--accent-soft); }
.repo-card-icon svg { width: 21px; height: 21px; }
.repo-card h2 { margin-bottom: 9px; font-size: 1.18rem; overflow-wrap: anywhere; }
.repo-card p { margin-bottom: 24px; font-size: .9rem; }
.repo-card .text-link { margin-top: auto; }
.directory-note { margin-top: 30px; color: var(--muted); font-size: .82rem; }

/* CTA and footer */
.cta-box {
  position: relative;
  padding: 62px 48px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background: var(--text);
  text-align: center;
}
.cta-box::after { position: absolute; right: -100px; bottom: -180px; width: 430px; height: 430px; border: 70px solid rgba(56,189,248,.07); border-radius: 50%; content: ""; }
.cta-box h2, .cta-box p, .cta-box .actions { position: relative; z-index: 1; }
.cta-box h2 { margin-bottom: 12px; }
.cta-box p { margin-bottom: 26px; color: #aab8ca; }
.cta-box .actions { justify-content: center; }

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: 54px 0;
}
.cta-band h2 { max-width: 720px; margin-bottom: 10px; }
.cta-band p { margin-bottom: 0; color: #b9c6d8; }

.site-footer { padding: 58px 0 24px; color: #cbd5e1; background: #0b1220; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 52px; }
.footer-brand p { max-width: 330px; margin-top: 18px; color: #94a3b8; font-size: .86rem; }
.footer-column h3 { color: #fff; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-column a { display: block; margin: 9px 0; color: #aab8ca; font-size: .86rem; text-decoration: none; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 22px; border-top: 1px solid #233047; color: #8290a4; font-size: .76rem; }
.footer-bottom a { color: #aab8ca; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .brand { color: #fff; }

@media (max-width: 1020px) {
  .hero-grid, .product-hero-grid { grid-template-columns: 1fr .85fr; gap: 42px; }
  .repo-tease-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-grid .footer-column:last-child { grid-column: 2; }
}

@media (max-width: 860px) {
  :root { --header-height: 64px; }
  .container { width: min(calc(100% - 32px), var(--max-width)); }
  .menu-toggle { display: grid; }
  .nav-actions { margin-left: auto; }
  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: none;
    align-items: stretch;
    padding: 15px 16px 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 30px rgba(15, 23, 42, .12);
  }
  .nav-links.open { display: flex; flex-direction: column; }
  .nav-links a { padding: 12px; }
  .nav-links .nav-cta { margin: 5px 0 0; text-align: center; }
  .nav-links .nav-api { margin-left: 0; }
  .nav-links .nav-api::before { display: none; }
  .hero { min-height: auto; padding: 72px 0 66px; }
  .hero-grid, .product-hero-grid, .directory-hero .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(100%, 620px); }
  .hero-note { right: 14px; }
  .product-hero { padding: 62px 0; }
  .product-mark-stage { min-height: 290px; }
  .product-grid { grid-template-columns: 1fr; }
  .path-choice-grid { grid-template-columns: 1fr; }
  .path-choice-card { min-height: 250px; }
  .api-showcase { grid-template-columns: 130px minmax(0, 1fr); gap: 30px; }
  .api-showcase-mark { width: 130px; height: 130px; }
  .product-card { min-height: auto; }
  .split-layout, .principles { grid-template-columns: 1fr; gap: 38px; }
  .feature-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .relationship-map { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .footer-grid .footer-column:last-child { grid-column: auto; }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .section-tight { padding: 48px 0; }
  h1 { font-size: 2.55rem; }
  h2 { font-size: 2rem; }
  .brand { font-size: .95rem; }
  .brand img { width: 31px; height: 31px; }
  .brand span { display: none; }
  .language-toggle { min-width: 48px; padding-inline: 8px; }
  .hero { padding-top: 58px; }
  .hero-grid { gap: 38px; }
  .hero .lede, .product-hero .lede { font-size: 1rem; }
  .actions { align-items: stretch; }
  .actions .button { flex: 1 1 100%; }
  .hero-visual { padding: 9px; }
  .preview-content { padding: 12px; }
  .preview-row { grid-template-columns: 34px minmax(0, 1fr) auto; padding: 10px; }
  .preview-row img { width: 34px; height: 34px; }
  .preview-row span { display: none; }
  .preview-row .workflow-index { display: grid; width: 34px; height: 34px; }
  .hero-note { position: static; width: max-content; margin: 12px 0 0 auto; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .metric { padding: 20px; }
  .metric + .metric { border-left: 0; }
  .metric:nth-child(even) { border-left: 1px solid var(--border); }
  .metric:nth-child(n+3) { border-top: 1px solid var(--border); }
  .platform-grid, .feature-grid, .service-grid, .value-grid, .repo-grid, .repo-tease-grid { grid-template-columns: 1fr; }
  .api-showcase { grid-template-columns: 1fr; }
  .api-showcase-mark { width: 112px; height: 112px; }
  .api-showcase-mark img { width: 70px; height: 70px; border-radius: 16px; }
  .platform-panel { min-height: auto; padding: 27px 23px; }
  .repo-tease { min-height: auto; }
  .product-hero-grid { gap: 34px; }
  .product-mark-stage { min-height: 250px; }
  .product-mark-stage::before { width: 190px; height: 190px; }
  .product-mark-stage::after { width: 226px; height: 226px; }
  .product-mark-stage img { width: 126px; height: 126px; border-radius: 28px; }
  .comparison { overflow-x: auto; }
  .comparison-head, .comparison-row { min-width: 640px; }
  .relationship-map { grid-template-columns: 1fr; padding: 16px; }
  .command { align-items: stretch; flex-direction: column; }
  .copy-button { align-self: flex-start; }
  .repo-count-card strong { font-size: 3.4rem; }
  .cta-box { padding: 46px 22px; }
  .cta-band { grid-template-columns: 1fr; gap: 25px; }
  .cta-band .actions { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}

/* Inference Engine benchmark styles */
.benchmark-hero {
  position: relative;
  padding: 92px 0 82px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.benchmark-hero::before {
  position: absolute;
  top: -280px;
  right: -230px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, .09), transparent 68%);
  content: "";
}

.benchmark-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  align-items: center;
  gap: 78px;
}

.benchmark-hero h1 { max-width: 780px; margin-bottom: 20px; }
.benchmark-hero .lede { max-width: 720px; margin-bottom: 28px; }

/* GPU spec cards */
.gpu-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gpu-spec-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gpu-spec-card:hover {
  border-color: #99f6e4;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.gpu-spec-card::after {
  position: absolute;
  right: -54px;
  bottom: -62px;
  width: 190px;
  height: 190px;
  border: 30px solid rgba(15, 118, 110, 0.055);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.gpu-spec-card .gpu-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gpu-badge.hopper { color: #b45309; background: var(--amber-soft); }
.gpu-badge.blackwell { color: #0f766e; background: var(--teal-soft); }
.gpu-badge.blackwell-pro { color: #6d28d9; background: var(--violet-soft); }

.gpu-spec-card h3 { margin-bottom: 4px; font-size: 1.15rem; }
.gpu-spec-card .gpu-sub { margin-bottom: 18px; color: var(--muted); font-size: 0.8rem; }

.gpu-metrics { display: grid; gap: 10px; }
.gpu-metric { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--border); }
.gpu-metric:last-child { border-bottom: 0; }
.gpu-metric .metric-label { color: var(--muted); font-size: 0.78rem; }
.gpu-metric .metric-value { font-weight: 800; font-size: 0.92rem; letter-spacing: -0.02em; }
.gpu-metric .metric-value.highlight { color: var(--teal); }

/* Benchmark table - InferenceX style */
.benchmark-section { overflow: hidden; }

.benchmark-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.benchmark-controls .control-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.benchmark-tab {
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--muted-strong);
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 160ms ease;
}

.benchmark-tab:hover { border-color: var(--teal); color: var(--teal); }
.benchmark-tab.active { color: #fff; border-color: var(--teal); background: var(--teal); }

.benchmark-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.benchmark-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.benchmark-table thead {
  color: #fff;
  background: var(--text);
}

.benchmark-table thead th {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.78rem;
  text-align: left;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.benchmark-table thead th:not(:first-child) { text-align: right; }

.benchmark-table tbody tr {
  border-top: 1px solid var(--border);
  transition: background-color 120ms ease;
}

.benchmark-table tbody tr:hover { background: var(--surface-alt); }

.benchmark-table tbody tr.highlight-row { background: var(--teal-soft); }
.benchmark-table tbody tr.highlight-row:hover { background: #d9f0ec; }

.benchmark-table td {
  padding: 14px 20px;
  white-space: nowrap;
}

.benchmark-table td:not(:first-child) { text-align: right; }

.benchmark-table .model-name {
  font-weight: 700;
  font-size: 0.88rem;
}

.benchmark-table .model-params {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
}

.benchmark-table .chip-name {
  font-weight: 600;
}

.benchmark-table .value-best {
  color: var(--teal);
  font-weight: 800;
}

.benchmark-table .value-good {
  color: var(--accent);
  font-weight: 700;
}

.benchmark-table .value-muted {
  color: var(--muted);
}

.benchmark-table .precision-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.precision-badge.fp4 { color: #0f766e; background: #ccfbf1; }
.precision-badge.fp8 { color: #1e40af; background: #dbeafe; }

/* Bar chart - InferenceX style */
.benchmark-chart {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.chart-title {
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.chart-subtitle {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.8rem;
}

.chart-bars { display: grid; gap: 18px; }

.chart-bar-group { display: grid; gap: 6px; }

.chart-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.chart-bar-label .bar-model {
  font-weight: 700;
  font-size: 0.85rem;
}

.chart-bar-label .bar-value {
  color: var(--teal);
  font-weight: 800;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.chart-bar-track {
  position: relative;
  height: 36px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-alt);
}

.chart-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 8px;
  transition: width 600ms ease;
}

.chart-bar-fill.teal { background: linear-gradient(90deg, #0f766e, #14b8a6); }
.chart-bar-fill.blue { background: linear-gradient(90deg, #1d4ed8, #3b82f6); }
.chart-bar-fill.violet { background: linear-gradient(90deg, #6d28d9, #8b5cf6); }
.chart-bar-fill.slate { background: linear-gradient(90deg, #475569, #64748b); }
.chart-bar-fill.amber { background: linear-gradient(90deg, #b45309, #d97706); }

.chart-bar-fill .bar-text {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.chart-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 600;
}

.chart-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

/* Comparison highlight cards */
.comparison-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.comparison-highlight {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.comparison-highlight .highlight-number {
  display: block;
  margin-bottom: 6px;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.comparison-highlight .highlight-number.teal { color: var(--teal); }
.comparison-highlight .highlight-number.blue { color: var(--accent); }
.comparison-highlight .highlight-number.violet { color: var(--violet); }

.comparison-highlight .highlight-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.comparison-highlight .highlight-detail {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
}

/* Architecture diagram */
.arch-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.arch-flow-item {
  padding: 21px;
  border-radius: 10px;
  background: var(--surface-alt);
  text-align: center;
}

.arch-flow-item::before {
  display: block;
  width: 24px;
  height: 3px;
  margin: 0 auto 16px;
  border-radius: 99px;
  background: var(--teal);
  content: "";
}

.arch-flow-item h3 { margin-bottom: 6px; font-size: 0.95rem; }
.arch-flow-item p { margin: 0; color: var(--muted); font-size: 0.78rem; }

/* Throughput-per-dollar strip */
.efficiency-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.efficiency-metric {
  padding: 24px 28px;
  text-align: center;
}

.efficiency-metric + .efficiency-metric { border-left: 1px solid var(--border); }
.efficiency-metric strong { display: block; font-size: 1.5rem; letter-spacing: -0.03em; }
.efficiency-metric strong.teal { color: var(--teal); }
.efficiency-metric span { color: var(--muted); font-size: 0.78rem; }

/* Serving footprint expandables */
.serve-list { display: grid; gap: 8px; margin-top: 14px; border-top: 1px solid var(--border); padding-top: 14px; }
.serve-item { border: 1px solid var(--border); border-radius: 8px; background: var(--surface-alt); }
.serve-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.serve-item summary::-webkit-details-marker { display: none; }
.serve-item summary::after { color: var(--muted); content: "+"; font-size: 1rem; transition: transform 160ms ease; }
.serve-item[open] summary::after { transform: rotate(45deg); }
.serve-item[open] summary { color: var(--teal); }
.serve-configs { padding: 4px 14px 12px; }
.serve-configs div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px dashed var(--border); color: var(--muted); font-size: 0.76rem; }
.serve-configs strong { color: var(--text); font-weight: 700; white-space: nowrap; }

.benchmark-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.evidence-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.evidence-item {
  display: grid;
  gap: 8px;
  min-height: 78px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  background: var(--surface);
  transition: border-color 160ms ease, transform 160ms ease;
}

.evidence-item:hover { border-color: var(--teal); transform: translateY(-2px); }
.evidence-item span { color: var(--muted); font-size: 0.76rem; line-height: 1.35; }
.evidence-item strong { font-size: 0.82rem; line-height: 1.35; }

/* DeepAgent IE customer-facing performance page */
.ie-sales-hero {
  padding: 86px 0 78px;
  background:
    linear-gradient(180deg, rgba(240, 253, 250, .86), rgba(248, 250, 252, .96)),
    var(--surface-alt);
}

.ie-sales-hero .benchmark-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: 72px;
}

.ie-sales-hero h1 {
  margin: 16px 0 4px;
  font-size: 4.75rem;
  letter-spacing: 0;
  line-height: 1;
}

.ie-hero-kicker {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
}

.ie-live-panel {
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(15, 23, 42, .12);
}

.ie-live-head {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  color: #fff;
  background: #111827;
}

.ie-live-head img { border-radius: 8px; }
.ie-live-head strong { display: block; font-size: 1rem; letter-spacing: 0; }
.ie-live-head span { display: block; margin-top: 3px; color: #94a3b8; font-size: .75rem; }

.ie-live-dot {
  width: 9px;
  height: 9px;
  margin: 0 !important;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 5px rgba(52, 211, 153, .12);
}

.ie-live-model {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(95px, .55fr) minmax(100px, .65fr);
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px 24px;
  border-top: 1px solid var(--border);
}

.ie-live-model > span { color: var(--muted-strong); font-size: .82rem; font-weight: 700; }
.ie-live-model strong { color: var(--text); font-size: 1.45rem; letter-spacing: 0; }
.ie-live-model strong small { color: var(--muted); font-size: .68rem; font-weight: 700; }
.ie-live-model em { color: var(--teal); font-size: .78rem; font-style: normal; font-weight: 800; text-align: right; }

.ie-proof-strip {
  padding: 48px 0 96px;
}

.ie-proof-panel {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.ie-proof-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 30px 16px;
  border-bottom: 1px solid var(--border);
}

.ie-proof-tag {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ie-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ie-proof-grid > div {
  min-height: 128px;
  padding: 28px 30px;
}

.ie-proof-grid > div + div { border-left: 1px solid var(--border); }
.ie-proof-grid strong { display: block; margin-bottom: 7px; color: var(--teal); font-size: 1.8rem; letter-spacing: 0; }
.ie-proof-grid span { color: var(--muted); font-size: .77rem; line-height: 1.5; }

.hardware-adaptation-band {
  color: #fff;
  background: #0f766e;
}

.hardware-adaptation-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-height: 220px;
  padding-top: 42px;
  padding-bottom: 42px;
}

.hardware-adaptation-inner > div { max-width: 850px; }
.hardware-adaptation-inner .eyebrow { color: #99f6e4; }
.hardware-adaptation-inner h2 { margin: 10px 0 12px; color: #fff; font-size: 1.85rem; line-height: 1.25; letter-spacing: 0; }
.hardware-adaptation-inner p:last-child { margin: 0; color: #ccfbf1; font-size: .88rem; line-height: 1.7; }
.hardware-adaptation-inner .button { flex: 0 0 auto; }

.flash-heading h2 {
  margin-top: 8px;
  font-size: 2.65rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.model-section-tagline {
  margin: 14px 0 10px;
  color: var(--teal);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0;
}

.equal-cost-section { background: #fff; }

.equal-cost-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
}

.equal-cost-card {
  min-height: 330px;
  padding: 26px;
}

.equal-cost-card + .equal-cost-card { border-left: 1px solid var(--border); }
.equal-cost-card.baseline { box-shadow: inset 0 4px 0 #ea580c; }
.equal-cost-card.best { color: #fff; background: #0f766e; }
.equal-cost-card.spark { box-shadow: inset 0 4px 0 #2563eb; }
.cost-target-tag { color: var(--muted); font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.equal-cost-card.best .cost-target-tag { color: #99f6e4; }
.equal-cost-card h3 { margin: 28px 0 8px; font-size: 1rem; letter-spacing: 0; }
.equal-cost-card > strong { display: block; color: var(--teal); font-size: 2.15rem; line-height: 1; letter-spacing: 0; }
.equal-cost-card.baseline > strong { color: #ea580c; }
.equal-cost-card.best > strong { color: #fff; }
.equal-cost-card dl { margin: 30px 0 0; }
.equal-cost-card dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); }
.equal-cost-card.best dl > div { border-top-color: rgba(255, 255, 255, .2); }
.equal-cost-card dt { color: var(--muted); font-size: .7rem; }
.equal-cost-card.best dt { color: #ccfbf1; }
.equal-cost-card dd { margin: 0; font-size: .72rem; font-weight: 850; text-align: right; }

.customer-metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
}

.customer-metric {
  min-height: 188px;
  padding: 24px 22px;
}

.customer-metric + .customer-metric { border-left: 1px solid var(--border); }
.customer-metric > span { display: block; margin-bottom: 28px; color: var(--teal); font-size: .75rem; font-weight: 800; }
.customer-metric h3 { margin-bottom: 9px; font-size: .94rem; letter-spacing: 0; }
.customer-metric p { margin: 0; color: var(--muted); font-size: .77rem; line-height: 1.55; }

.customer-table-wrap { border-radius: 8px; }
.customer-benchmark-table { min-width: 1160px; font-variant-numeric: tabular-nums; }
.customer-benchmark-table thead th { padding: 15px 14px; font-size: .7rem; letter-spacing: 0; text-transform: none; }
.customer-benchmark-table td { padding: 15px 14px; }
.customer-benchmark-table .model-name { font-size: .82rem; }
.customer-benchmark-table .cost-index { color: #0f766e; font-weight: 900; }
.customer-benchmark-table .delivery-row { background: #eff6ff; }
.customer-benchmark-table .delivery-row:hover { background: #e0efff; }
.customer-benchmark-table .h200-row { background: #fff7ed; }
.customer-benchmark-table .h200-row:hover { background: #ffedd5; }
.customer-benchmark-table .h200-unavailable { color: #9a3412; font-size: .78rem; font-weight: 700; text-align: center !important; }

.model-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.model-service-card {
  padding: 26px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
}
.model-service-card.featured { box-shadow: inset 0 4px 0 var(--teal); }
.model-service-card.delivery-card { box-shadow: inset 0 4px 0 #2563eb; }
.model-service-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; min-height: 82px; }
.model-service-head h3 { margin-top: 8px; font-size: 1rem; line-height: 1.3; letter-spacing: 0; }
.model-service-head > strong { color: var(--teal); font-size: 2rem; letter-spacing: 0; }
.service-tag { display: inline-flex; padding: 4px 7px; border-radius: 4px; color: #0f766e; background: #ccfbf1; font-size: .66rem; font-weight: 800; }
.service-tag.hopper-tag { color: #9a3412; background: #ffedd5; }
.service-tag.delivery-tag { color: #1d4ed8; background: #dbeafe; }
.service-context { min-height: 46px; margin: 0 0 14px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.service-metrics { margin: 0; }
.service-metrics > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border); }
.service-metrics dt { color: var(--muted); font-size: .72rem; }
.service-metrics dd { margin: 0; color: var(--text); font-size: .75rem; font-weight: 800; text-align: right; }
.teal-text { color: var(--teal) !important; }

.context-capacity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.context-capacity-grid article {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
}

.context-capacity-grid article:nth-child(2) { border-top-color: #60a5fa; }
.context-capacity-grid article:nth-child(3) { border-top-color: #f59e0b; }
.context-model { display: block; min-height: 42px; color: var(--muted-strong); font-size: .78rem; font-weight: 800; }
.context-capacity-grid strong { display: block; margin: 18px 0 4px; color: var(--teal); font-size: 3.2rem; line-height: 1; letter-spacing: 0; }
.context-capacity-grid h3 { font-size: .8rem; letter-spacing: 0; }
.context-capacity-grid p { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .8rem; line-height: 1.65; }

.cost-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cost-index-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
}

.cost-index-card span { color: var(--muted-strong); font-size: .8rem; font-weight: 700; }
.cost-index-card strong { color: var(--teal); font-size: 1.45rem; letter-spacing: 0; }
.cost-index-card.baseline strong { color: #9a3412; }
.cost-index-bar { grid-column: 1 / -1; height: 7px; overflow: hidden; border-radius: 4px; background: #e2e8f0; }
.cost-index-bar i { display: block; height: 100%; border-radius: 4px; background: var(--teal); }
.cost-index-card.baseline .cost-index-bar i { background: #ea580c; }
.cost-index-card.spark .cost-index-bar i { min-width: 9px; background: #2563eb; }
.center-note { text-align: center; }

.reference-section { padding-top: 62px; }

.reference-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
}

.reference-card h2 { margin: 8px 0 10px; font-size: 1.2rem; letter-spacing: 0; }
.reference-card p { max-width: 760px; margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.reference-link { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; color: var(--teal); font-size: .78rem; font-weight: 800; text-decoration: none; }
.reference-link span { font-size: 1rem; }
.reference-link:hover { color: var(--text); }

.purchase-disclaimer {
  margin: 18px 0 0;
  color: #64748b;
  font-size: .67rem;
  line-height: 1.6;
  text-align: center;
}

.deployment-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
}

.deployment-guide-grid article { position: relative; min-height: 340px; padding: 26px; }
.deployment-guide-grid article + article { border-left: 1px solid var(--border); }
.deployment-guide-grid article.recommended { color: #fff; background: #0f766e; }
.guide-number { display: block; margin-bottom: 34px; color: var(--muted); font-size: .7rem; font-weight: 800; }
.recommended .guide-number { color: #99f6e4; }
.guide-badge { position: absolute; top: 22px; right: 22px; padding: 4px 7px; border-radius: 4px; color: #0f766e; background: #fff; font-size: .65rem; font-weight: 900; }
.deployment-guide-grid h3 { margin-bottom: 8px; font-size: .95rem; letter-spacing: 0; }
.deployment-guide-grid article > strong { display: block; min-height: 52px; color: var(--teal); font-size: 1.18rem; line-height: 1.35; letter-spacing: 0; }
.deployment-guide-grid .recommended > strong { color: #fff; }
.deployment-guide-grid dl { margin: 20px 0 0; }
.deployment-guide-grid dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.recommended dl > div { border-top-color: rgba(255, 255, 255, .2); }
.deployment-guide-grid dt { color: var(--muted); font-size: .7rem; }
.recommended dt { color: #ccfbf1; }
.deployment-guide-grid dd { margin: 0; font-size: .72rem; font-weight: 800; text-align: right; }

.source-drawer {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
}

.source-drawer summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
}

.source-drawer summary::-webkit-details-marker { display: none; }
.source-drawer summary > span:first-child { display: grid; gap: 4px; }
.source-drawer summary small { color: var(--teal); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.source-drawer summary strong { font-size: 1.25rem; letter-spacing: 0; }
.source-drawer summary > span:last-child { color: var(--muted); font-size: .76rem; font-weight: 800; }
.source-drawer summary > span:last-child::after { display: inline-block; margin-left: 10px; content: "+"; font-size: 1rem; }
.source-drawer[open] summary > span:last-child::after { transform: rotate(45deg); }
.source-drawer-body { padding: 0 28px 28px; border-top: 1px solid var(--border); }
.source-drawer-body > p { margin: 22px 0; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.expanded-evidence { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Responsive */
@media (max-width: 1020px) {
  .gpu-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .arch-flow { grid-template-columns: repeat(2, 1fr); }
  .evidence-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ie-sales-hero .benchmark-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .ie-live-panel { max-width: 720px; }
  .hardware-adaptation-inner { align-items: flex-start; flex-direction: column; gap: 24px; }
  .equal-cost-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equal-cost-card:nth-child(3) { border-top: 1px solid var(--border); border-left: 0; }
  .equal-cost-card:nth-child(4) { border-top: 1px solid var(--border); }
  .customer-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .customer-metric:nth-child(4) { border-left: 0; border-top: 1px solid var(--border); }
  .customer-metric:nth-child(5) { border-top: 1px solid var(--border); }
  .model-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deployment-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deployment-guide-grid article:nth-child(3) { border-top: 1px solid var(--border); border-left: 0; }
  .deployment-guide-grid article:nth-child(4) { border-top: 1px solid var(--border); }
  .expanded-evidence { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .benchmark-hero-grid { grid-template-columns: 1fr; }
  .benchmark-hero { padding: 62px 0; }
  .gpu-spec-grid { grid-template-columns: 1fr; }
  .comparison-highlight-grid { grid-template-columns: 1fr; }
  .arch-flow { grid-template-columns: 1fr; }
  .evidence-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .efficiency-strip { grid-template-columns: repeat(2, 1fr); }
  .efficiency-metric + .efficiency-metric { border-left: 0; }
  .efficiency-metric:nth-child(even) { border-left: 1px solid var(--border); }
  .efficiency-metric:nth-child(n+3) { border-top: 1px solid var(--border); }
  .benchmark-controls { gap: 6px; }
  .benchmark-tab { padding: 6px 12px; font-size: 0.72rem; }
  .ie-sales-hero h1 { font-size: 3.8rem; }
  .flash-heading h2 { font-size: 2.25rem; }
  .ie-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ie-proof-grid > div:nth-child(3) { border-top: 1px solid var(--border); border-left: 0; }
.ie-proof-grid > div:nth-child(4) { border-top: 1px solid var(--border); }
  .context-capacity-grid { grid-template-columns: 1fr; }
  .cost-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .benchmark-chart { padding: 20px; }
  .chart-bar-track { height: 30px; }
  .comparison-highlight .highlight-number { font-size: 2.2rem; }
  .evidence-list { grid-template-columns: 1fr; }
  .efficiency-strip { grid-template-columns: 1fr; }
  .efficiency-metric + .efficiency-metric { border-left: 0; border-top: 1px solid var(--border); }
  .efficiency-metric:nth-child(even) { border-left: 0; }
  .efficiency-metric:nth-child(n+3) { border-top: 1px solid var(--border); }
  .ie-sales-hero { padding: 58px 0 52px; }
  .ie-sales-hero h1 { font-size: 3.1rem; }
  .ie-hero-kicker { font-size: 1.05rem; }
  .hardware-adaptation-inner { min-height: auto; padding-top: 36px; padding-bottom: 36px; }
  .hardware-adaptation-inner h2 { font-size: 1.45rem; }
  .hardware-adaptation-inner .button { width: 100%; }
  .flash-heading h2 { font-size: 1.9rem; }
  .equal-cost-grid { grid-template-columns: 1fr; }
  .equal-cost-card { min-height: auto; }
  .equal-cost-card + .equal-cost-card,
  .equal-cost-card:nth-child(3),
  .equal-cost-card:nth-child(4) { border-top: 1px solid var(--border); border-left: 0; }
  .ie-live-head { grid-template-columns: 52px 1fr auto; padding: 18px; }
  .ie-live-head img { width: 52px; height: 52px; }
  .ie-live-model { grid-template-columns: 1fr auto; min-height: 96px; padding: 16px 18px; }
  .ie-live-model em { grid-column: 1 / -1; text-align: left; }
  .ie-proof-grid { grid-template-columns: 1fr; }
  .ie-proof-grid > div + div { border-top: 1px solid var(--border); border-left: 0; }
  .customer-metric-grid { grid-template-columns: 1fr; }
  .customer-metric { min-height: auto; }
  .customer-metric + .customer-metric,
  .customer-metric:nth-child(4),
  .customer-metric:nth-child(5) { border-top: 1px solid var(--border); border-left: 0; }
  .customer-metric > span { margin-bottom: 14px; }
  .model-service-grid { grid-template-columns: 1fr; }
  .cost-index-grid { grid-template-columns: 1fr; }
  .deployment-guide-grid { grid-template-columns: 1fr; }
  .deployment-guide-grid article + article,
  .deployment-guide-grid article:nth-child(3),
  .deployment-guide-grid article:nth-child(4) { border-top: 1px solid var(--border); border-left: 0; }
  .source-drawer summary { padding: 20px; }
  .source-drawer-body { padding: 0 20px 20px; }
  .expanded-evidence { grid-template-columns: 1fr; }
  .reference-card { align-items: flex-start; flex-direction: column; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .chart-bar-fill { transition: none; }
}

/* ===== Contact form & process steps (2026-09 rebuild) ===== */

.contact-form {
  max-width: 780px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-full {
  margin-bottom: 20px;
}

.form-field label {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.form-required {
  color: var(--accent);
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--surface);
  font-size: 0.92rem;
  line-height: 1.5;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* Four-card feature grid modifier (POC steps, team cards, agreement overview) */
.feature-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.process-step {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.process-step:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.process-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 10px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .feature-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}
