@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f7;
  --bg-soft-2: #fafafa;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-soft: #f3f4f5;
  --border: #e8ebef;
  --border-strong: #d3d9df;
  --text: #111418;
  --text-soft: #4d5660;
  --text-muted: #7a8490;
  --accent: #111418;
  --accent-2: #2c3137;
  --accent-3: #6f7782;
  --shadow: 0 18px 44px rgba(17, 20, 24, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  overflow-x: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f6f7f8 100%);
}

body::before,
body::after {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

code {
  padding: 0.14rem 0.36rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f5f6f7;
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88em;
}

#site-header,
#site-footer,
.page-shell {
  position: relative;
}

#site-header {
  z-index: 120;
}

#site-footer,
.page-shell {
  z-index: 1;
}

.site-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 24px;
}

.page-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 52px 24px 108px;
}

.header-wrap {
  position: sticky;
  top: 14px;
  z-index: 60;
  margin-top: 0;
  isolation: isolate;
}

.topbar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 0 12px;
  border: 1px solid rgba(211, 217, 223, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(17, 20, 24, 0.08);
}

.header-wrap.mega-open .topbar {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
}

.brand-mark {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: #111418;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.02;
}

.brand-text strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text small {
  color: var(--text-muted);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.header-wrap.menu-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.header-wrap.menu-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-system {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-link,
.topbar-note,
.topbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.97rem;
  font-weight: 500;
  white-space: nowrap;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
}

.nav-link:focus-visible,
.topbar-note:focus-visible,
.topbar-link:focus-visible,
.nav-toggle:focus-visible,
.nav-disclosure:focus-visible,
.mega-product-card:focus-visible,
.mega-side-link:focus-visible,
.nav-mobile-link:focus-visible {
  outline: 2px solid rgba(116, 246, 255, 0.72);
  outline-offset: 2px;
}

.nav-link:hover,
.nav-system.is-open .nav-system-link,
.topbar-note:hover,
.topbar-link:hover {
  color: var(--text);
  background: #f3f4f5;
}

.nav-link.is-active,
.topbar-note.is-active,
.topbar-link.is-active {
  color: var(--text);
  background: #f1f3f5;
}

.nav-system-link::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.55;
}

.nav-system.is-open .nav-system-link::after {
  transform: rotate(225deg) translateY(-1px);
}

.nav-disclosure {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
}

.nav-disclosure::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 180ms ease;
}

.nav-system.is-expanded .nav-disclosure::before {
  transform: rotate(225deg) translateY(-1px);
}

.topbar-note {
  border: 1px solid var(--border);
  background: var(--surface);
}

.mega-menu {
  position: absolute;
  top: calc(100% - 10px);
  left: 0;
  right: 0;
  z-index: 8;
  padding: 28px 0 30px;
  border: 1px solid rgba(211, 217, 223, 0.92);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 48px rgba(17, 20, 24, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    transform 180ms ease;
}

.header-wrap.mega-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(220px, 0.7fr);
  gap: 28px;
  align-items: start;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 24px;
}

.mega-intro,
.mega-products,
.mega-side {
  min-width: 0;
}

.mega-kicker {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mega-intro h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.mega-intro p,
.mega-side-link small,
.nav-mobile-link small {
  color: var(--text-soft);
}

.mega-intro > p:last-of-type {
  margin: 14px 0 0;
  font-size: 1rem;
}

.mega-entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.mega-entry-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f3f4f5;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.mega-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mega-product-card {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.mega-product-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background-color: #f9f9fa;
}

.mega-product-card.is-upcoming:hover {
  transform: none;
}

.mega-product-card.is-upcoming {
  cursor: default;
}

.mega-product-index {
  color: var(--text-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
}

.mega-product-card strong,
.mega-side-link span,
.nav-mobile-link span {
  font-size: 1.08rem;
  line-height: 1.2;
}

.mega-product-card small {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.mega-side-links,
.nav-mobile-submenu {
  display: grid;
  gap: 10px;
}

.mega-side-link,
.nav-mobile-link {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f7f8f9;
  border: 1px solid var(--border);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.mega-side-link:hover,
.nav-mobile-link:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: #f0f2f4;
}

.mega-side-link small,
.nav-mobile-link small {
  font-size: 0.96rem;
}

.nav-mobile-submenu {
  display: none;
}

.page-hero,
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 48px;
  align-items: center;
}

.page-hero {
  min-height: auto;
  padding-top: 24px;
}

.section {
  margin-top: 88px;
}

.page-kicker,
.eyebrow,
.media-label,
.metric-label,
.card-kicker,
.story-id,
.chip-label,
.product-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.page-kicker,
.eyebrow {
  margin: 0 0 18px;
}

.page-title,
.section-heading h2,
.footer-brand h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.page-title {
  font-size: clamp(3.1rem, 6vw, 5.6rem);
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 820px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.9rem);
}

.page-lead,
.section-heading p,
.stat-card p,
.value-card p,
.link-card p,
.module-card p,
.product-card p,
.proof-card p,
.resource-card p,
.contact-card p,
.footer-brand p,
.footer-links a,
.detail-panel p {
  color: var(--text-soft);
}

.page-lead {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

.home-shell {
  padding-top: 28px;
}

.home-hero {
  margin-top: 8px;
}

.home-hero-panel {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-radius: 34px;
  background: #e9ecef;
  box-shadow: var(--shadow);
}

.home-hero-image,
.home-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-image {
  object-fit: cover;
  filter: saturate(1.04) contrast(1.06);
}

.home-hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.34) 28%, rgba(255, 255, 255, 0.08) 62%, rgba(255, 255, 255, 0.02) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 34%, rgba(10, 17, 28, 0.24) 100%);
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 0;
  min-height: 720px;
  max-width: 620px;
  padding: 80px 72px;
}

.home-capability-band {
  margin-top: 96px;
}

.home-capability-panel {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 34px;
  background: #111418;
  box-shadow: var(--shadow);
}

.home-capability-image,
.home-capability-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-capability-image {
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
}

.home-capability-overlay {
  background:
    linear-gradient(90deg, rgba(17, 20, 24, 0.78) 0%, rgba(17, 20, 24, 0.4) 42%, rgba(17, 20, 24, 0.14) 100%),
    linear-gradient(180deg, rgba(17, 20, 24, 0.04), rgba(17, 20, 24, 0.18));
}

.home-capability-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 540px;
  max-width: 760px;
  padding: 64px 68px;
  color: #ffffff;
}

.home-capability-copy .eyebrow {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.74);
}

.home-capability-copy h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.home-capability-copy p:last-of-type {
  max-width: 54ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.home-feature-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.home-feature-points span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 1rem;
}

.system-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.system-showcase {
  display: grid;
  gap: 0;
}

.system-showcase .media-frame {
  min-height: 380px;
  border-radius: 28px;
  background: #14181d;
}

.system-showcase .media-image {
  filter: saturate(1.05) contrast(1.04);
}

.system-showcase-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 28px 28px 30px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(17, 20, 24, 0) 0%, rgba(17, 20, 24, 0.76) 42%, rgba(17, 20, 24, 0.94) 100%);
}

.system-showcase-copy .card-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.system-showcase-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 2.4vw, 2.4rem);
  line-height: 1.08;
}

.system-showcase-copy p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  max-width: 32ch;
}

.home-proof-band {
  align-items: center;
}

.home-proof-band .media-frame {
  min-height: 420px;
  border-radius: 32px;
}

.button-row,
.hero-tags,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-row {
  margin-top: 30px;
}

.hero-tags {
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: #111418;
  box-shadow: none;
}

.button-secondary {
  border: 1px solid var(--border-strong);
  background: #ffffff;
}

.button-ghost {
  border: 1px solid var(--border);
  background: #ffffff;
}

.hero-tags span,
.chip,
.proof-tags span,
.spec-chip,
.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.stage-panel,
.media-frame,
.stat-card,
.value-card,
.link-card,
.module-card,
.product-card,
.proof-card,
.resource-card,
.contact-card,
.detail-panel,
.cta-panel {
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.stage-panel,
.cta-panel {
  border-radius: var(--radius-xl);
}

.stage-panel {
  position: relative;
  min-height: 690px;
  padding: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(128, 184, 255, 0.18), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(116, 246, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(7, 20, 31, 0.96), rgba(9, 28, 42, 0.92));
}

.stage-grid {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(118, 208, 255, 0.12);
  border-radius: calc(var(--radius-xl) - 10px);
  background-image:
    linear-gradient(rgba(118, 208, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 208, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.94), transparent 88%);
}

.stage-media-main,
.stage-media-cutout,
.stage-float {
  position: absolute;
}

.stage-media-main {
  inset: 34px 34px 170px 34px;
}

.stage-media-cutout {
  right: 22px;
  bottom: 26px;
  width: min(34%, 250px);
  min-height: 250px;
}

.stage-float {
  width: min(44%, 248px);
  padding: 18px;
  border: 1px solid rgba(118, 208, 255, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 38, 56, 0.92), rgba(10, 26, 39, 0.94));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.stage-float strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 1.35rem;
}

.stage-float small {
  color: var(--text-muted);
  font-size: 1rem;
}

.float-top {
  top: 30px;
  right: 180px;
}

.float-bottom {
  left: 26px;
  bottom: 28px;
}

.cards-2,
.cards-3,
.cards-4,
.subsystem-grid,
.product-grid,
.resource-grid,
.contact-grid,
.proof-grid {
  display: grid;
  gap: 18px;
}

.cards-2,
.proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-3,
.subsystem-grid,
.product-grid,
.resource-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card,
.value-card,
.link-card,
.module-card,
.product-card,
.proof-card,
.resource-card,
.contact-card,
.detail-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.stat-card {
  min-height: 210px;
}

.metric-value {
  display: block;
  margin-top: 12px;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: clamp(2.15rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.card-title,
.module-card h3,
.product-card h3,
.proof-card h3,
.resource-card h3,
.contact-card h3,
.detail-panel h3 {
  margin: 0 0 10px;
  font-size: 1.46rem;
  line-height: 1.18;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(118, 208, 255, 0.2);
  border-radius: 50%;
  background: rgba(118, 208, 255, 0.08);
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
}

.value-card h3,
.link-card h3 {
  margin: 16px 0 10px;
  font-size: 1.42rem;
  line-height: 1.18;
}

.link-card {
  display: grid;
  gap: 14px;
}

.link-arrow {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
}

.module-card::before,
.product-card::before,
.proof-card::before,
.resource-card::before,
.contact-card::before {
  display: none;
}

.media-frame {
  position: relative;
  display: grid;
  min-height: 230px;
  overflow: hidden;
  border-radius: 26px;
  background: #f3f4f5;
}

.media-frame.media-ghost .media-image {
  object-fit: contain;
  padding: 20px;
}

.media-frame::before {
  display: none;
}

.media-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-fallback {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  width: 100%;
  padding: 28px;
}

.media-frame.has-image .media-fallback {
  display: none;
}

.media-file {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: clamp(1.34rem, 2.1vw, 1.92rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.media-note {
  color: var(--text-muted);
  font-size: 1.06rem;
}

.detail-panel {
  display: grid;
  gap: 16px;
}

.detail-list,
.resource-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
}

.detail-list li,
.resource-list li {
  color: var(--text-soft);
  font-size: 1.04rem;
}

.subsystem-card-top,
.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.product-card .media-frame,
.module-card .media-frame,
.proof-card .media-frame {
  margin-bottom: 20px;
}

.product-card .media-frame {
  min-height: 210px;
}

.proof-card {
  display: grid;
  gap: 18px;
}

.proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.resource-card,
.contact-card {
  display: grid;
  gap: 16px;
}

.resource-meta,
.contact-meta {
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.96rem;
}

.product-card.is-upcoming {
  background: #f7f8f9;
}

.product-card.is-upcoming::before {
  display: none;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.7fr);
  gap: 20px;
  padding: 34px;
  background: #ffffff;
}

.cta-copy {
  display: grid;
  gap: 14px;
}

.cta-copy p {
  margin: 0;
  color: var(--text-soft);
}

.cta-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.site-footer {
  display: grid;
  gap: 30px;
  margin-bottom: 40px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.footer-brand {
  max-width: 720px;
}

.footer-brand h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

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

.footer-group h3 {
  margin: 0 0 12px;
  font-size: 1.06rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .topbar {
    gap: 16px;
    padding-inline: 10px;
  }

  .topnav {
    gap: 12px;
  }

  .nav-main {
    gap: 0;
  }

  .nav-link,
  .topbar-note,
  .topbar-link {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.92rem;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .brand-text small {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 1280px) {
  .page-hero,
  .split-layout,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: auto;
  }

  .home-hero-panel,
  .home-hero-copy {
    min-height: 640px;
  }

  .topbar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
  }

  .topnav {
    gap: 10px;
  }

  .nav-main {
    gap: 0;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 959px) {
  .topbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 22px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .topnav {
    display: none;
    grid-column: 1 / -1;
    gap: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(17, 20, 24, 0.08);
  }

  .header-wrap.menu-open .topnav {
    display: grid;
  }

  .nav-main,
  .nav-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-tools {
    padding-top: 4px;
  }

  .system-showcase-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-panel,
  .home-hero-copy {
    min-height: 560px;
  }

  .home-hero-copy {
    max-width: 100%;
    padding: 54px 34px;
  }

  .home-capability-panel,
  .home-capability-copy,
  .home-proof-band .media-frame {
    min-height: 420px;
  }

  .home-capability-copy {
    max-width: 100%;
    padding: 42px 34px;
  }

  .home-hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.22) 40%, rgba(255, 255, 255, 0.06) 100%);
  }

  .nav-system {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
  }

  .nav-link,
  .topbar-note,
  .topbar-link {
    width: 100%;
    justify-content: flex-start;
    min-height: 50px;
    padding: 12px 10px;
    border-radius: 16px;
    font-size: 1.02rem;
  }

  .nav-system-link {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-system-link::after {
    display: none;
  }

  .nav-disclosure {
    display: inline-flex;
  }

  .nav-mobile-submenu {
    grid-column: 1 / -1;
    padding: 2px 0 8px 12px;
  }

  .nav-system.is-expanded .nav-mobile-submenu {
    display: grid;
  }

  .mega-menu {
    display: none;
  }
}

@media (max-width: 920px) {
  .site-shell,
  .page-shell {
    padding-inline: 18px;
  }

  .cards-2,
  .cards-3,
  .cards-4,
  .subsystem-grid,
  .system-showcase-grid,
  .product-grid,
  .resource-grid,
  .contact-grid,
  .proof-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stage-panel {
    min-height: 780px;
  }

  .stage-media-main {
    inset: 28px 24px 240px 24px;
  }

  .stage-media-cutout {
    right: 22px;
    bottom: 22px;
    width: 220px;
    min-height: 220px;
  }

  .stage-float {
    width: min(54%, 240px);
  }

  .float-top {
    top: auto;
    right: 24px;
    bottom: 206px;
  }
}

@media (max-width: 680px) {
  .header-wrap {
    top: 8px;
  }

  .page-shell {
    padding-top: 28px;
    padding-bottom: 74px;
  }

  .section {
    margin-top: 72px;
  }

  .page-title {
    font-size: clamp(2.6rem, 12vw, 4.1rem);
  }

  .page-lead {
    font-size: 1rem;
  }

  .home-hero-panel,
  .home-hero-copy {
    min-height: 520px;
  }

  .home-hero-copy {
    padding: 34px 22px;
  }

  .home-hero-panel {
    border-radius: 24px;
  }

  .home-capability-panel {
    min-height: 460px;
    border-radius: 24px;
  }

  .home-capability-copy {
    min-height: 460px;
    padding: 30px 24px;
  }

  .system-showcase .media-frame {
    min-height: 290px;
  }

  .stage-panel {
    min-height: 940px;
    padding: 18px;
  }

  .stage-grid {
    inset: 12px;
  }

  .stage-media-main {
    inset: 18px 18px 360px 18px;
  }

  .stage-media-cutout {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
    min-height: 180px;
  }

  .stage-float {
    left: 18px;
    right: 18px;
    width: auto;
  }

  .float-top {
    bottom: 390px;
  }

  .float-bottom {
    bottom: 210px;
  }

  .stat-card,
  .value-card,
  .link-card,
  .module-card,
  .product-card,
  .proof-card,
  .resource-card,
  .contact-card,
  .detail-panel {
    padding: 20px;
  }

  .media-frame {
    border-radius: 24px;
  }

  .media-fallback {
    padding: 22px;
  }

  .site-footer,
  .cta-panel {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
