@font-face {
  font-family: "Sora";
  src: url("/static/fonts/sora-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("/static/fonts/sora-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("/static/fonts/sora-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f8fb;
  --bg-alt: #eef2f7;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text-900: #0f1b2d;
  --text-700: #27374d;
  --text-500: #55677e;
  --text-400: #7f90a3;
  --brand-900: #05263f;
  --brand-800: #0a3a5c;
  --accent: #ea580c;
  --accent-ink: #ffffff;
  --accent-soft: #fff7ed;
  --success: #15803d;
  --success-bg: #e7f6ec;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.06), 0 1px 1px rgba(15, 27, 45, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 27, 45, 0.08), 0 1px 2px rgba(15, 27, 45, 0.06);
  --shadow-lg: 0 16px 40px rgba(15, 27, 45, 0.14);
  --container: 1240px;
  --header-h: 76px;
  --ink: var(--text-900);
  --muted: var(--text-500);
  --line: var(--border);
  --paper: var(--surface);
  --chip: var(--bg-alt);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-700);
  font: 400 1rem/1.6 Inter, "Segoe UI", system-ui, sans-serif;
}

img { max-width: 100%; height: auto; }
a { color: var(--brand-800); }
h1, h2, h3, h4 {
  font-family: Sora, "Segoe UI", system-ui, sans-serif;
  color: var(--text-900);
  line-height: 1.2;
  font-weight: 600;
  margin: 0;
}

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

.skip {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  transform: translateY(-150%);
  background: var(--surface);
  padding: 0.4rem 0.6rem;
  z-index: 20;
}
.skip:focus { transform: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-height: var(--header-h);
}

.brand {
  color: var(--brand-900);
  font-family: Sora, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-left: auto;
}

.site-nav > a {
  color: var(--text-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
}
.site-nav > a[aria-current="page"] { color: var(--brand-900); }

.nav-toggle,
.mega-toggle,
.search button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.35rem 0.7rem;
}

.nav-toggle { display: none; }

.mega { position: relative; display: flex; align-items: center; gap: 0.25rem; }
.mega > a {
  color: var(--text-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
}

.mega-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 16px 24px;
  width: min(760px, 80vw);
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.mega-panel[hidden] { display: none; }
.mega-col > a { font-weight: 600; text-decoration: none; color: var(--text-900); }
.mega-col ul { list-style: none; margin: 8px 0 0; padding: 0; }
.mega-col li { margin: 4px 0; }
.mega-col li a { color: var(--text-500); text-decoration: none; font-size: 0.9375rem; }
.mega-col li a:hover { color: var(--brand-800); }

.search { display: flex; gap: 6px; }
.search input {
  font: inherit;
  width: 9.5rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: inherit;
}
.search button { border-radius: 999px; }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-family: Sora, "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
}
.button-ghost,
.button-on-dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.site-nav > .button { color: var(--accent-ink); }

.site-footer {
  background: var(--brand-900);
  color: #d5e2ef;
  margin-top: 0;
  padding: 48px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}
.footer-brand {
  color: #fff;
  font-family: Sora, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 0 10px;
}
.site-footer h2 {
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: #d5e2ef; text-decoration: none; }
.site-footer a:hover { color: #fff; }

main.page {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 64px;
}
main.home { padding: 0 0 64px; }

.hero {
  background: var(--brand-900);
  color: #eef3f9;
  padding: 72px 0 56px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  max-width: 16ch;
  margin-top: 12px;
}
.hero .lede {
  max-width: 42rem;
  margin: 16px 0 0;
  font-size: 1.125rem;
  color: #c5d4e4;
}
.eyebrow {
  margin: 0;
  color: #fb923c;
  font-family: Sora, "Segoe UI", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  max-width: 760px;
}
.hero-stats b {
  display: block;
  color: #fff;
  font-family: Sora, "Segoe UI", system-ui, sans-serif;
  font-size: 1.25rem;
}
.hero-stats span { color: #a9bbd0; font-size: 0.875rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.attribution {
  margin: 20px auto;
  padding: 12px 16px;
  background: var(--accent-soft);
  border: 1px solid #fed7aa;
  border-radius: 10px;
  color: var(--text-900);
}

.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.6rem, 3vw, 2rem); max-width: 20ch; }
.section-lead { max-width: 40rem; margin: 12px 0 0; color: var(--text-500); }

.pillar-grid,
.facility-grid,
.family-grid,
.feature-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.pillar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facility-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.family-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.pillar-grid article,
.facility-grid a,
.feature-card,
.family-card,
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.pillar-grid article,
.facility-grid a,
.feature-card { padding: 20px; }
.facility-grid a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.facility-grid a:hover,
.family-card:hover,
.card:hover { box-shadow: var(--shadow-md); }
.pillar-grid p,
.facility-grid p,
.feature-card p,
.family-card p { margin: 8px 0 0; color: var(--text-500); }

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.pipeline-steps li {
  background: var(--surface);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border);
}
.pipeline-steps span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: #c2410c;
  font-family: Sora, "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
}
.pipeline-steps h3 { margin-top: 12px; font-size: 1rem; }
.pipeline-steps p { margin: 8px 0 0; color: var(--text-500); font-size: 0.9375rem; }

.family-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.family-card div { padding: 16px 18px 20px; }
.family-card .eyebrow { margin-bottom: 6px; }

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.stats-bar b {
  display: block;
  color: #c2410c;
  font-family: Sora, "Segoe UI", system-ui, sans-serif;
  font-size: 1.6rem;
}
.stats-bar span { color: var(--text-500); }

.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--brand-900);
  color: #eef3f9;
  border-radius: 16px;
  padding: 32px;
}
.cta-banner h2 { color: #fff; font-size: 1.75rem; }
.cta-banner p { margin: 8px 0 0; }
.cta-banner .hero-actions { margin-top: 0; }

h1 { margin: 0 0 0.6rem; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.page h2 { margin: 0 0 0.35rem; font-size: 1.15rem; }

.muted, .meta, .count, figcaption { color: var(--text-500); }
.meta, figcaption { font-size: 0.9rem; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--text-500);
}
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; }
.crumbs a { color: var(--text-500); text-decoration: none; }
.crumbs a:hover { color: var(--brand-800); }

.filters { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0; }
.filters label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--text-500);
}
.filters select {
  font: inherit;
  color: inherit;
  min-width: 10rem;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.card { overflow: hidden; }
.card[hidden],
.product-row[hidden] { display: none; }
.card img,
.family-card img,
.spec-hero img,
.product-row img {
  display: block;
  width: 100%;
  object-fit: contain;
  background: #b2b2b2;
}
.card img,
.family-card img { height: 200px; }
.spec-hero img { height: 320px; }
.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 16px 16px 18px;
}
.card h2 a,
.product-row h2 a,
.search-hit h2 a { color: inherit; text-decoration: none; }
.card h2 a:hover,
.product-row h2 a:hover,
.search-hit h2 a:hover { color: var(--brand-800); }

.badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--chip);
}
.badge-available { color: var(--success); background: var(--success-bg); }
.badge-development { color: #c2410c; background: var(--accent-soft); }
.badge-testing { color: var(--brand-800); background: #e8f2fb; }

.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 0; }
.tags li {
  background: var(--accent-soft);
  color: #c2410c;
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  font-size: 0.8rem;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.6rem 0.9rem; align-items: center; }
.actions a { font-weight: 600; }

.product-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.product-row img {
  width: 180px;
  height: 120px;
  border-radius: 10px;
}

.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.specs div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.specs dt { font-size: 0.8rem; color: var(--text-500); }
.specs dd { margin: 4px 0 0; font-weight: 650; color: var(--brand-900); font-family: Sora, "Segoe UI", system-ui, sans-serif; }

.table-wrap { overflow-x: auto; margin-top: 8px; }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td {
  text-align: left;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.tabs h2 {
  margin: 20px 0 8px;
  padding: 8px 12px;
  background: var(--brand-800);
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
}
.tabs .feature-card h2 {
  margin: 0;
  padding: 0;
  background: none;
  color: var(--text-900);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
}

.spec-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}
figure { margin: 0; }
figure img { border-radius: 16px; }

.tabs [role="tablist"] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 36px 0 16px;
  border-bottom: 1px solid var(--border);
}
.tabs [role="tab"] {
  font: 600 0.9375rem Sora, "Segoe UI", system-ui, sans-serif;
  color: var(--text-500);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 12px 0;
  margin-bottom: -1px;
}
.tabs [role="tab"][aria-selected="true"] {
  color: var(--text-900);
  border-bottom-color: var(--accent);
}

.search-hit { padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
.stub { max-width: 42rem; }

@media (max-width: 720px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  main.page { width: min(var(--container), calc(100% - 32px)); }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-nav {
    display: none;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 12px;
  }
  .site-nav.is-open { display: flex; }
  .search { width: 100%; }
  .search input { flex: 1; width: auto; }
  .mega-panel {
    position: static;
    width: auto;
    grid-template-columns: 1fr;
    box-shadow: none;
  }
  .hero-stats,
  .family-grid,
  .pipeline-steps,
  .pillar-grid,
  .facility-grid,
  .feature-grid,
  .stats-bar,
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .spec-hero,
  .product-row { grid-template-columns: 1fr; }
  .product-row img { width: 100%; height: 180px; }
}
