:root {
  --bg: #03070a;
  --bg-2: #081016;
  --surface: rgba(9, 15, 20, 0.78);
  --surface-solid: #0b1319;
  --surface-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(216, 239, 255, 0.16);
  --line-strong: rgba(216, 239, 255, 0.32);
  --text: #edf7fb;
  --muted: #a8b8c1;
  --muted-2: #73838d;
  --cyan: #53e0ff;
  --blue: #4a8bff;
  --amber: #ffb45f;
  --green: #74e0a3;
  --rose: #ff7a9c;
  --violet: #b696ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --content: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(3, 7, 10, 0.2), #03070a 72%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(120deg, rgba(83, 224, 255, 0.08), transparent 32%),
    linear-gradient(260deg, rgba(255, 180, 95, 0.08), transparent 40%),
    linear-gradient(180deg, #03070a, #070b0f);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

#ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(calc(100% - 32px), var(--content));
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header[data-scrolled] {
  background: rgba(5, 10, 14, 0.82);
  border-color: var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-grid;
  grid-template-columns: 44px auto;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(83, 224, 255, 0.32);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(83, 224, 255, 0.28), rgba(182, 150, 255, 0.18)),
    #101922;
  font-weight: 800;
  color: #f8fdff;
}

.brand strong,
.brand em {
  display: block;
  font-style: normal;
  line-height: 1.1;
}

.brand strong {
  font-size: 17px;
}

.brand em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a,
.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.nav-cta {
  border: 1px solid var(--line);
  color: var(--text);
}

main {
  position: relative;
}

.hero-section,
.section,
.site-footer {
  width: min(calc(100% - 32px), var(--content));
  margin-inline: auto;
}

.hero-section {
  position: relative;
  min-height: 76vh;
  margin-top: 18px;
  padding: 64px 0 28px;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-media {
  z-index: -1;
  border: 1px solid var(--line);
  background: #050910;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.46;
  filter: saturate(1.18) contrast(1.06);
}

.hero-overlay {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 10, 0.95) 0%, rgba(3, 7, 10, 0.76) 42%, rgba(3, 7, 10, 0.28) 100%),
    linear-gradient(180deg, transparent 0%, rgba(3, 7, 10, 0.88) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: 36px;
  align-items: center;
  padding: 0 34px;
}

.kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
}

.hero-copy h1 {
  max-width: 700px;
  margin: 0;
  font-size: 62px;
  line-height: 0.96;
  text-wrap: balance;
}

.hero-body {
  max-width: 640px;
  margin: 22px 0 0;
  color: #c5d6de;
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  border-color: rgba(83, 224, 255, 0.64);
  background:
    linear-gradient(135deg, rgba(83, 224, 255, 0.95), rgba(116, 224, 163, 0.84)),
    #53e0ff;
  color: #061116;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.product-shell {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(11, 19, 25, 0.92), rgba(5, 10, 14, 0.9)),
    var(--surface-solid);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-topbar {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.product-logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(83, 224, 255, 0.26), rgba(74, 139, 255, 0.18));
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.product-topbar strong,
.product-topbar span {
  display: block;
}

.product-topbar strong {
  font-size: 15px;
}

.product-topbar span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.product-layout {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  min-height: 360px;
}

.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.product-sidebar span {
  padding: 8px 9px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 12px;
}

.product-sidebar .active {
  background: rgba(83, 224, 255, 0.12);
  color: var(--text);
}

.product-stage {
  padding: 16px;
  min-width: 0;
}

.stage-header,
.runtime-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stage-header span {
  color: var(--muted);
  font-size: 13px;
}

.stage-header strong {
  padding: 4px 8px;
  border-radius: var(--radius);
  background: rgba(116, 224, 163, 0.12);
  color: var(--green);
  font-size: 12px;
}

.graph-visual {
  position: relative;
  height: 220px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(216, 239, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(216, 239, 255, 0.035) 1px, transparent 1px),
    rgba(2, 8, 12, 0.7);
  background-size: 30px 30px;
  overflow: hidden;
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 76px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 0 24px rgba(83, 224, 255, 0.08);
}

.node-core {
  left: 46%;
  top: 40%;
  background: rgba(83, 224, 255, 0.18);
}

.node-def {
  left: 10%;
  top: 18%;
  background: rgba(182, 150, 255, 0.16);
}

.node-run {
  right: 10%;
  top: 18%;
  background: rgba(255, 180, 95, 0.16);
}

.node-ui {
  left: 30%;
  bottom: 16%;
  background: rgba(116, 224, 163, 0.16);
}

.edge {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(83, 224, 255, 0.75), transparent);
  transform-origin: left center;
}

.edge-a {
  left: 30%;
  top: 32%;
  width: 150px;
  transform: rotate(17deg);
}

.edge-b {
  left: 53%;
  top: 43%;
  width: 140px;
  transform: rotate(-22deg);
}

.edge-c {
  left: 38%;
  top: 64%;
  width: 120px;
  transform: rotate(-34deg);
}

.runtime-strip {
  margin-top: 12px;
  flex-wrap: wrap;
}

.runtime-strip span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.proof-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 48px 34px 0;
}

.proof-item,
.outcome-card,
.layer-row,
.metric-grid article,
.deployment-row article,
.contact-panel,
.social-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.proof-item {
  padding: 16px;
  backdrop-filter: blur(14px);
}

.proof-item strong,
.proof-item span,
.outcome-card span,
.outcome-card h3,
.outcome-card p {
  display: block;
}

.proof-item strong {
  margin-bottom: 5px;
  color: var(--text);
  font-size: 17px;
}

.proof-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.section {
  padding: 84px 0;
}

.section-tight {
  padding-top: 64px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading.compact {
  max-width: 860px;
}

.section-heading h2,
.adaptive-copy h2,
.contact-panel h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
  text-wrap: balance;
}

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

.outcome-card {
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    var(--surface);
}

.outcome-card span {
  width: fit-content;
  margin-bottom: 28px;
  padding: 5px 8px;
  border-radius: var(--radius);
  background: rgba(83, 224, 255, 0.1);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.outcome-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.18;
}

.outcome-card p,
.adaptive-copy p,
.module-detail p,
.contact-panel p,
.social-panel p,
.layer-row span,
.deployment-row span {
  color: var(--muted);
  line-height: 1.58;
}

.outcome-card p {
  margin: 0;
  font-size: 14px;
}

.adaptive-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.adaptive-copy p:last-child {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 17px;
}

.plasticity-map {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(83, 224, 255, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(255, 180, 95, 0.08), transparent 36%),
    rgba(6, 12, 17, 0.76);
  overflow: hidden;
}

.synapse-field,
.definition-ring,
.plasticity-core {
  position: absolute;
  inset: 0;
}

.pulse,
.signal {
  position: absolute;
  display: block;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 30px rgba(83, 224, 255, 0.8);
}

.pulse-a {
  left: 18%;
  top: 28%;
}

.pulse-b {
  right: 20%;
  top: 24%;
  background: var(--amber);
  box-shadow: 0 0 30px rgba(255, 180, 95, 0.75);
}

.pulse-c {
  left: 32%;
  bottom: 18%;
  background: var(--green);
  box-shadow: 0 0 30px rgba(116, 224, 163, 0.75);
}

.signal {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(83, 224, 255, 0.72), transparent);
}

.signal-a {
  left: 20%;
  top: 31%;
  width: 58%;
  transform: rotate(12deg);
}

.signal-b {
  left: 26%;
  top: 53%;
  width: 50%;
  transform: rotate(-28deg);
}

.signal-c {
  left: 24%;
  bottom: 28%;
  width: 46%;
  transform: rotate(25deg);
}

.definition-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.definition-pill-1 {
  left: 10%;
  top: 12%;
}

.definition-pill-2 {
  right: 10%;
  top: 13%;
}

.definition-pill-3 {
  left: 8%;
  bottom: 26%;
}

.definition-pill-4 {
  right: 12%;
  bottom: 24%;
}

.definition-pill-5 {
  left: 36%;
  top: 8%;
}

.definition-pill-6 {
  left: 34%;
  bottom: 9%;
}

.plasticity-core {
  display: grid;
  place-items: center;
  margin: auto;
  width: 188px;
  height: 188px;
  inset: 0;
  border: 1px solid rgba(83, 224, 255, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(83, 224, 255, 0.24), rgba(9, 15, 20, 0.92) 62%),
    #091015;
  box-shadow: 0 0 70px rgba(83, 224, 255, 0.16);
  text-align: center;
}

.plasticity-core span,
.plasticity-core strong,
.plasticity-core em {
  display: block;
  grid-area: 1 / 1;
}

.plasticity-core span {
  transform: translateY(-38px);
  color: var(--muted);
  font-size: 13px;
}

.plasticity-core strong {
  color: var(--text);
  font-size: 25px;
}

.plasticity-core em {
  transform: translateY(38px);
  color: var(--green);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.architecture-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: 20px;
  align-items: start;
}

.layer-stack {
  display: grid;
  gap: 10px;
}

.layer-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  background:
    linear-gradient(90deg, rgba(83, 224, 255, 0.08), rgba(255, 255, 255, 0.035)),
    var(--surface);
}

.layer-row strong {
  color: var(--text);
  font-size: 17px;
}

.layer-row span {
  font-size: 14px;
}

.code-evidence {
  display: grid;
  gap: 14px;
}

.code-window {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #050a0f;
  overflow: hidden;
}

.code-title {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.code-window pre {
  margin: 0;
  padding: 16px 14px 18px;
  color: #dcecf5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
  overflow-x: auto;
}

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

.metric-grid article {
  padding: 14px;
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  color: var(--amber);
  font-size: 21px;
}

.metric-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.modules-section {
  padding-top: 72px;
}

.module-workbench {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 16px;
}

.module-tabs {
  display: grid;
  gap: 8px;
  align-content: start;
}

.module-tab {
  width: 100%;
  min-height: 54px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.module-tab:hover,
.module-tab:focus-visible,
.module-tab.active {
  border-color: var(--line-strong);
  background: rgba(83, 224, 255, 0.08);
  color: var(--text);
  outline: none;
}

.module-panel {
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.module-detail {
  display: none;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 24px;
  min-height: 330px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(83, 224, 255, 0.09), transparent 48%),
    linear-gradient(315deg, rgba(255, 180, 95, 0.08), transparent 46%);
}

.module-detail.active {
  display: grid;
}

.module-detail span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.module-detail h3 {
  max-width: 620px;
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
}

.module-detail p {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 16px;
}

.module-detail ul {
  display: grid;
  gap: 10px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-detail li {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.16);
  color: var(--text);
  font-size: 14px;
}

.module-color-amber h3 {
  color: var(--amber);
}

.module-color-cyan h3 {
  color: var(--cyan);
}

.module-screenshot {
  grid-column: 1 / -1;
  margin-top: 8px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.module-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.92;
}

.architecture-manifesto {
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 3px solid var(--cyan);
  background: rgba(83, 224, 255, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.architecture-screenshot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
}

.architecture-screenshot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.9;
}



.module-color-green h3 {
  color: var(--green);
}

.deployment-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.deployment-row article {
  padding: 16px;
  background: var(--surface);
}

.deployment-row strong,
.deployment-row span {
  display: block;
}

.deployment-row strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 17px;
}

.deployment-row span {
  font-size: 13px;
}

.contact-section {
  padding-bottom: 60px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 26px;
  align-items: stretch;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(83, 224, 255, 0.1), rgba(255, 180, 95, 0.07)),
    rgba(9, 15, 20, 0.78);
}

.contact-panel h2 {
  max-width: 720px;
}

.contact-panel p {
  max-width: 650px;
  margin: 16px 0 24px;
  font-size: 16px;
}

.social-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.16);
}

.social-panel h3 {
  margin: 0;
  font-size: 22px;
}

.social-panel p {
  margin: 8px 0 14px;
  font-size: 13px;
}

.social-grid {
  display: grid;
  gap: 8px;
}

.social-chip {
  display: grid;
  gap: 4px;
  padding: 10px;
  text-decoration: none;
}

.social-chip strong {
  font-size: 14px;
}

.social-chip span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.social-chip.pending {
  color: var(--muted);
}

.manifest-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer div,
.site-footer strong,
.site-footer span,
.site-footer a {
  display: block;
}

.site-footer strong {
  color: var(--text);
  margin-bottom: 4px;
}

.site-footer a {
  color: var(--cyan);
  text-align: right;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .hero-grid,
  .adaptive-section,
  .architecture-grid,
  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .product-shell {
    max-width: 620px;
  }

  .proof-row,
  .outcome-grid,
  .deployment-row {
    grid-template-columns: 1fr;
  }

  .module-workbench {
    grid-template-columns: 1fr;
  }

  .module-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .module-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section,
  .site-footer {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .hero-section {
    width: 100vw;
    max-width: 100vw;
    margin-inline: 0;
  }

  .site-header {
    margin-top: 10px;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    overflow: hidden;
  }

  .brand {
    grid-template-columns: 38px auto;
    gap: 9px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .brand em {
    display: none;
  }

  .brand strong {
    max-width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-cta {
    min-height: 36px;
    padding-inline: 10px;
    max-width: 68px;
  }

  .hero-section {
    min-height: auto;
    padding: 44px 0 18px;
  }

  .hero-grid {
    width: 100%;
    padding: 0 18px;
    gap: 24px;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-copy,
  .hero-actions,
  .product-shell {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 38px;
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .hero-body {
    max-width: 100%;
    font-size: 16px;
    overflow-wrap: break-word;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .product-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .product-topbar {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .product-topbar div,
  .product-topbar strong,
  .product-topbar span {
    min-width: 0;
  }

  .product-topbar span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-layout {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .product-sidebar {
    display: none;
  }

  .product-stage {
    min-width: 0;
    padding: 14px;
    overflow: hidden;
  }

  .graph-visual {
    height: 190px;
  }

  .node {
    min-width: 0;
    width: 86px;
    padding: 0 8px;
    font-size: 11px;
  }

  .node-def {
    left: 9%;
  }

  .node-run {
    right: 5%;
  }

  .node-core {
    left: 49%;
  }

  .runtime-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
  }

  .runtime-strip span {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .proof-row {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    margin: 26px 18px 0;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .adaptive-copy h2,
  .contact-panel h2 {
    font-size: 31px;
  }

  .outcome-card {
    padding: 18px;
  }

  .plasticity-map {
    min-height: 380px;
  }

  .definition-pill {
    font-size: 10px;
  }

  .plasticity-core {
    width: 150px;
    height: 150px;
  }

  .layer-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .module-tabs {
    grid-template-columns: 1fr;
  }

  .module-detail {
    padding: 18px;
  }

  .module-detail h3 {
    font-size: 28px;
  }

  .contact-panel {
    padding: 18px;
  }

  .site-footer {
    display: grid;
  }

  .site-footer a {
    text-align: left;
  }
}
