@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk/SpaceGrotesk-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono/JetBrainsMono-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --brand-deep: #0b1020;
  --brand-indigo: #3f46b5;
  --brand-cyan: #22c7d9;
  --brand-amber: #b45309;
  --cloud: #f8fafc;
  --white: #ffffff;
  --ink: #172033;
  --muted: #526079;
  --border: #cbd5e1;
  --soft: #eef2f7;
  --success: #15803d;
  --font-display: "Space Grotesk", Arial, sans-serif;
  --font-ui: "Inter", Arial, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;
  --content: 1180px;
  --radius-control: 8px;
  --radius-panel: 12px;
  --focus: 0 0 0 3px rgb(34 199 217 / 0.45);
  --shadow: 0 24px 80px rgb(11 16 32 / 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--cloud);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 2px solid var(--brand-cyan);
  outline-offset: 3px;
  box-shadow: var(--focus);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--radius-control);
  background: var(--brand-cyan);
  color: var(--brand-deep);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.shell {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(11 16 32 / 0.92);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  flex: 0 0 auto;
  border-radius: 6px;
  text-decoration: none;
}

.brand-link img {
  width: 180px;
}

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

.nav-menu {
  flex: 1;
  justify-content: flex-end;
  gap: 28px;
}

.nav-links {
  gap: 26px;
}

.nav-links a {
  color: rgb(255 255 255 / 0.74);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-actions {
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgb(255 255 255 / 0.24);
  border-radius: 999px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.language-switch::before {
  width: 8px;
  height: 8px;
  border: 2px solid var(--brand-cyan);
  border-radius: 50%;
  content: "";
}

.language-switch:hover {
  border-color: rgb(255 255 255 / 0.48);
  background: rgb(255 255 255 / 0.07);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgb(63 70 181 / 0.32), transparent 32%),
    radial-gradient(circle at 68% 74%, rgb(34 199 217 / 0.1), transparent 28%),
    var(--brand-deep);
  color: var(--white);
}

.hero::before,
.hero::after {
  position: absolute;
  right: -8%;
  width: 58%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(34 199 217 / 0.45), transparent);
  content: "";
  transform: rotate(-8deg);
}

.hero::before { top: 22%; }
.hero::after { top: 34%; opacity: 0.5; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 684px;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.9fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
  padding-block: 88px 104px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--brand-indigo);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: var(--brand-cyan);
  content: "";
}

.hero .eyebrow {
  color: var(--brand-cyan);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  padding: 7px 12px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  color: rgb(255 255 255 / 0.78);
  font-size: 13px;
  font-weight: 600;
}

.status-pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 0 4px rgb(34 199 217 / 0.12);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 740px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(44px, 5.8vw, 74px);
  font-weight: 600;
  letter-spacing: -0.045em;
}

h1 .accent {
  color: var(--brand-cyan);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.hero-copy > p:not(.eyebrow):not(.status-pill) {
  max-width: 650px;
  margin: 0;
  color: rgb(255 255 255 / 0.72);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--brand-indigo);
  color: var(--white);
}

.button-primary:hover {
  background: #343aa0;
}

.button-light {
  background: var(--white);
  color: var(--brand-deep);
}

.button-light:hover {
  background: var(--soft);
}

.button-secondary,
.button-ghost {
  border-color: var(--border);
  background: transparent;
  color: var(--ink);
}

.hero .button-ghost {
  border-color: rgb(255 255 255 / 0.24);
  color: var(--white);
}

.hero .button-ghost:hover {
  border-color: rgb(255 255 255 / 0.5);
  background: rgb(255 255 255 / 0.06);
}

.value-line {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  margin: 34px 0 0;
  padding: 0;
  color: rgb(255 255 255 / 0.62);
  font-size: 13px;
  font-weight: 600;
  list-style: none;
}

.value-line li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.value-line li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-cyan);
  content: "";
}

.product-map {
  position: relative;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 18px;
  background: rgb(255 255 255 / 0.065);
  box-shadow: 0 32px 90px rgb(0 0 0 / 0.28);
  backdrop-filter: blur(18px);
}

.map-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 0 2px;
  color: rgb(255 255 255 / 0.48);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #73e2ee;
}

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

.map-layer {
  position: relative;
  margin-top: 10px;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 10px;
  background: rgb(11 16 32 / 0.7);
}

.map-layer.is-current {
  margin-left: 8%;
  border-left: 3px solid var(--brand-cyan);
}

.map-layer.is-history {
  margin-right: 8%;
  border-left: 3px solid #c78348;
}

.map-layer.is-evidence {
  margin-left: 15%;
  border-left: 3px solid var(--brand-indigo);
}

.layer-id {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.is-history .layer-id { color: #e7ad78; }
.is-evidence .layer-id { color: #aab0ff; }

.map-layer strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
}

.map-layer p {
  margin: 0;
  color: rgb(255 255 255 / 0.55);
  font-size: 12px;
  line-height: 1.5;
}

.section {
  padding-block: clamp(88px, 10vw, 136px);
}

.section-white {
  background: var(--white);
}

.section-soft {
  background: var(--soft);
}

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

.section-heading p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.problem-grid,
.benefit-grid,
.persona-grid {
  display: grid;
  gap: 18px;
}

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

.card {
  position: relative;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  background: var(--white);
}

.card-number,
.step-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 38px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand-indigo);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.card p,
.benefit-card p,
.persona-card p,
.step p {
  margin: 0;
  color: var(--muted);
}

.transformations {
  display: grid;
  gap: 16px;
}

.transformation {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  background: var(--white);
}

.transformation-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.transformation-heading h3 {
  margin: 0;
}

.transformation-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-deep);
  color: var(--brand-cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.transformation-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
  align-items: stretch;
}

.transformation-state {
  min-height: 116px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.transformation-state.is-before {
  background: var(--cloud);
}

.transformation-state.is-after {
  border: 1px solid var(--brand-indigo);
  border-top: 3px solid var(--brand-cyan);
  background: var(--white);
  box-shadow: 0 10px 28px rgb(11 16 32 / 0.06);
}

.state-label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.is-after .state-label {
  color: var(--brand-indigo);
}

.transformation-state p {
  margin: 0;
  color: var(--muted);
}

.is-after p {
  color: var(--ink);
  font-weight: 600;
}

.flow-arrow {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-self: center;
  justify-self: center;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand-cyan);
  border-radius: 50%;
  background: var(--brand-deep);
  color: var(--brand-cyan);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
}

.approach-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(48px, 8vw, 108px);
}

.approach-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.principle-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  position: relative;
  padding: 18px 0 18px 36px;
  border-top: 1px solid var(--border);
  color: var(--ink);
  font-weight: 600;
}

.principle-list li::before {
  position: absolute;
  top: 24px;
  left: 2px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--brand-indigo);
  border-radius: 50%;
  content: "";
}

.strata-stack {
  display: grid;
  gap: 16px;
  padding-block: 10px;
}

.strata-item {
  position: relative;
  min-height: 144px;
  padding: 26px 30px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-indigo);
  border-radius: var(--radius-panel);
  background: var(--white);
  box-shadow: 0 18px 45px rgb(11 16 32 / 0.08);
}

.strata-item:nth-child(1) { margin-right: 10%; border-top-color: var(--brand-cyan); }
.strata-item:nth-child(2) { margin-right: 3%; margin-left: 7%; border-top-color: var(--brand-indigo); }
.strata-item:nth-child(3) { margin-right: 7%; margin-left: 3%; border-top-color: var(--brand-amber); }

.strata-item code {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-indigo);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.strata-item strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 20px;
}

.strata-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.memory-model-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 42%, rgb(34 199 217 / 0.11), transparent 34%),
    linear-gradient(145deg, #0b1020 0%, #111936 100%);
  color: var(--white);
}

.memory-model-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  gap: clamp(44px, 8vw, 110px);
  margin-bottom: clamp(30px, 3vw, 38px);
}

.memory-model-intro h2 {
  max-width: 600px;
  color: var(--white);
}

.memory-model-intro > p {
  max-width: 590px;
  margin: 0 0 10px;
  color: rgb(255 255 255 / 0.66);
  font-size: 19px;
}

.memory-model-stage {
  position: relative;
  margin: 0;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 22px;
  background: rgb(255 255 255 / 0.055);
  box-shadow: 0 34px 90px rgb(0 0 0 / 0.28);
  backdrop-filter: blur(18px);
}

.memory-project-frame {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgb(104 117 255 / 0.42);
  border-radius: 16px;
  background: rgb(8 13 29 / 0.7);
}

.memory-project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  color: rgb(255 255 255 / 0.48);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.memory-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #73e2ee;
}

.memory-live-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
  content: "";
}

.memory-feature-row,
.memory-capability-network,
.memory-change-track {
  display: grid;
  gap: 16px;
}

.memory-feature-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(78%, 720px);
  margin-inline: auto;
}

.memory-feature,
.memory-capability,
.memory-change,
.memory-decision {
  position: relative;
  z-index: 1;
  min-width: 0;
  border: 1px solid rgb(255 255 255 / 0.13);
  border-radius: 11px;
  background: #11182e;
}

.memory-feature {
  padding: 15px 18px;
  text-align: center;
}

.memory-feature code,
.memory-capability code,
.memory-change code,
.memory-decision code,
.memory-evidence-label code {
  display: block;
  margin-bottom: 6px;
  color: #aeb4ff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.memory-feature strong,
.memory-capability strong,
.memory-change strong,
.memory-decision strong,
.memory-evidence-label strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
}

.memory-feature strong { font-size: 15px; }

.memory-branch {
  position: relative;
  width: 76%;
  height: 44px;
  margin-inline: auto;
}

.memory-branch::before,
.memory-branch::after,
.memory-branch span {
  position: absolute;
  background: rgb(34 199 217 / 0.36);
  content: "";
}

.memory-branch::before { top: 0; left: 50%; width: 1px; height: 20px; }
.memory-branch::after { top: 20px; right: 9%; left: 9%; height: 1px; }
.memory-branch span { top: 20px; width: 1px; height: 24px; }
.memory-branch span:nth-child(1) { left: 9%; }
.memory-branch span:nth-child(2) { left: 50%; }
.memory-branch span:nth-child(3) { right: 9%; }

.memory-capability-network {
  grid-template-columns: minmax(0, 0.76fr) minmax(300px, 1.48fr) minmax(0, 0.76fr);
  align-items: center;
}

.memory-capability {
  padding: 20px;
}

.memory-capability:not(.is-active) {
  color: rgb(255 255 255 / 0.46);
}

.memory-capability:not(.is-active) strong {
  margin-bottom: 6px;
  font-size: 16px;
}

.memory-capability:not(.is-active) > span {
  font-size: 12px;
}

.memory-capability.is-active {
  padding: 24px;
  border-color: rgb(34 199 217 / 0.75);
  border-top: 3px solid var(--brand-cyan);
  background: linear-gradient(145deg, rgb(34 199 217 / 0.13), rgb(63 70 181 / 0.15));
  box-shadow: 0 20px 56px rgb(0 0 0 / 0.28), 0 0 42px rgb(34 199 217 / 0.08);
}

.memory-capability-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.memory-capability-head > span {
  color: #73e2ee;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.memory-capability.is-active > strong {
  margin-bottom: 18px;
  font-size: 21px;
}

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

.memory-detail-grid > span {
  padding: 12px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 8px;
  background: rgb(8 13 29 / 0.55);
  color: rgb(255 255 255 / 0.76);
  font-size: 11px;
  line-height: 1.45;
}

.memory-detail-grid small {
  display: block;
  margin-bottom: 4px;
  color: #73e2ee;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.memory-change-track {
  grid-template-columns: 1.15fr 0.85fr;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgb(180 83 9 / 0.52);
}

.memory-change,
.memory-decision {
  padding: 18px 20px;
}

.memory-change { border-left: 3px solid #e7ad78; }
.memory-decision { border-left: 3px solid #7f87ed; }
.memory-change code { color: #e7ad78; }
.memory-change strong,
.memory-decision strong { margin-bottom: 4px; font-size: 16px; }
.memory-change > span,
.memory-decision > span { color: rgb(255 255 255 / 0.5); font-size: 12px; }

.memory-evidence-link {
  position: relative;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 30px;
  margin-top: 32px;
  padding: 26px 30px;
  border: 1px solid rgb(34 199 217 / 0.28);
  border-radius: 13px;
  background: rgb(8 13 29 / 0.66);
}

.memory-evidence-link::before {
  position: absolute;
  top: -33px;
  left: 50%;
  width: 1px;
  height: 32px;
  background: var(--brand-cyan);
  box-shadow: 0 0 18px rgb(34 199 217 / 0.5);
  content: "";
}

.memory-evidence-label code { color: #73e2ee; }
.memory-evidence-label strong { font-size: 18px; }

.memory-evidence-nodes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.memory-evidence-nodes span {
  padding: 10px 8px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 7px;
  background: rgb(255 255 255 / 0.045);
  color: rgb(255 255 255 / 0.65);
  font-family: var(--font-mono);
  font-size: 9px;
  text-align: center;
  text-transform: uppercase;
}

.memory-model-stage figcaption {
  max-width: 780px;
  margin: 24px auto 0;
  color: rgb(255 255 255 / 0.46);
  font-size: 13px;
  text-align: center;
}

.memory-story {
  display: grid;
  gap: 16px;
}

.memory-scene {
  display: grid;
  grid-template-columns: minmax(180px, 0.58fr) minmax(0, 1.7fr) minmax(180px, 0.62fr);
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgb(255 255 255 / 0.13);
  border-radius: 15px;
  background: rgb(8 13 29 / 0.76);
}

.memory-scene header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.memory-scene header > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(34 199 217 / 0.55);
  border-radius: 50%;
  color: var(--brand-cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.memory-scene header code,
.memory-node small {
  display: block;
  color: #aeb4ff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.memory-scene header code { margin: 2px 0 6px; }

.memory-scene h3 {
  margin: 0;
  color: var(--white);
  font-size: 18px;
}

.memory-scene > p {
  margin: 0;
  color: rgb(255 255 255 / 0.58);
  font-size: 14px;
}

.memory-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr);
  align-items: stretch;
}

.memory-arrow {
  align-self: center;
  color: var(--brand-cyan);
  font-family: var(--font-mono);
  font-size: 20px;
  text-align: center;
}

.memory-node {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 10px;
  background: #11182e;
}

.memory-node strong {
  display: block;
  margin-top: 7px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.25;
}

.memory-node.is-project { border-color: rgb(127 135 237 / 0.65); }

.memory-node.is-core,
.memory-node.is-current {
  border-color: rgb(34 199 217 / 0.72);
  background: linear-gradient(145deg, rgb(34 199 217 / 0.15), rgb(63 70 181 / 0.18));
}

.memory-node.is-current small,
.memory-node.is-evidence small { color: #73e2ee; }
.memory-node.is-decision { border-color: rgb(127 135 237 / 0.62); }
.memory-node.is-change { border-color: rgb(231 173 120 / 0.68); }
.memory-node.is-change small { color: #e7ad78; }
.memory-node.is-evidence { border-color: rgb(34 199 217 / 0.45); }

.memory-focus {
  display: grid;
  gap: 10px;
}

.memory-focus > .memory-node {
  width: min(72%, 520px);
  margin-inline: auto;
  text-align: center;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.step {
  position: relative;
  padding: 0 30px 0 0;
}

.step:not(:last-child)::after {
  position: absolute;
  top: 17px;
  right: 16px;
  left: 50px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--border));
  content: "";
}

.step-number {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
  border: 1px solid var(--brand-cyan);
  background: var(--brand-deep);
  color: var(--brand-cyan);
}

.benefit-grid {
  grid-template-columns: repeat(3, 1fr);
}

.benefit-card {
  min-height: 265px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  background: var(--white);
}

.benefit-card:first-child {
  grid-column: auto;
  background: var(--brand-deep);
  color: var(--white);
}

.benefit-card:first-child h3 { color: var(--white); }
.benefit-card:first-child p { color: rgb(255 255 255 / 0.66); }

.benefit-tag {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--brand-indigo);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.benefit-card:first-child .benefit-tag { color: var(--brand-cyan); }

.persona-grid {
  grid-template-columns: repeat(3, 1fr);
}

.persona-card {
  padding: 30px;
  border-top: 3px solid var(--brand-indigo);
  background: var(--white);
}

.persona-card:nth-child(2) { border-color: var(--brand-cyan); }
.persona-card:nth-child(3) { border-color: var(--brand-amber); }

.persona-role {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.boundary-section {
  position: relative;
  overflow: hidden;
  background: var(--brand-deep);
  color: var(--white);
}

.boundary-section::after {
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgb(34 199 217 / 0.18);
  border-radius: 50%;
  content: "";
}

.boundary-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: clamp(50px, 9vw, 120px);
}

.boundary-section h2 { color: var(--white); }
.boundary-section .eyebrow { color: var(--brand-cyan); }
.boundary-intro { color: rgb(255 255 255 / 0.65); font-size: 18px; }

.boundary-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.boundary-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}

.boundary-list li::before {
  margin-top: 8px;
  color: var(--brand-cyan);
  content: "+";
  font-family: var(--font-mono);
  font-weight: 700;
}

.boundary-list strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-size: 18px;
}

.boundary-list span {
  color: rgb(255 255 255 / 0.6);
  font-size: 14px;
}

.faq-list {
  width: 100%;
}

.faq-list details {
  border-top: 1px solid var(--border);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  padding: 24px 52px 24px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  position: absolute;
  top: 24px;
  right: 4px;
  color: var(--brand-indigo);
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list details p {
  max-width: 720px;
  margin: -6px 0 26px;
  color: var(--muted);
}

.pilot-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: clamp(40px, 6vw, 72px);
  border-radius: 18px;
  background: var(--brand-indigo);
  color: var(--white);
}

.pilot-panel h2 {
  max-width: 740px;
  margin-bottom: 12px;
  color: var(--white);
}

.pilot-panel p {
  max-width: 680px;
  margin: 0;
  color: rgb(255 255 255 / 0.72);
  font-size: 18px;
}

.pilot-action {
  display: grid;
  justify-items: start;
  gap: 14px;
  max-width: 290px;
}

.pilot-action .button {
  white-space: nowrap;
}

.pilot-panel .pilot-privacy {
  color: rgb(255 255 255 / 0.64);
  font-size: 13px;
  line-height: 1.55;
}

.site-footer {
  padding: 58px 0 28px;
  background: var(--brand-deep);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}

.footer-brand img {
  width: 190px;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
  color: rgb(255 255 255 / 0.58);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.footer-links a {
  color: rgb(255 255 255 / 0.68);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  color: rgb(255 255 255 / 0.42);
  font-size: 12px;
}

.language-gateway {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 70% 24%, rgb(63 70 181 / 0.22), transparent 30%),
    var(--cloud);
}

.gateway-card {
  width: min(100%, 560px);
  padding: clamp(36px, 7vw, 64px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.gateway-card img {
  width: 260px;
  margin: 0 auto 40px;
}

.gateway-kicker {
  color: var(--brand-indigo);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gateway-card h1 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(34px, 6vw, 48px);
}

.gateway-card > p:not(.gateway-kicker) {
  margin: 0;
  color: var(--muted);
}

.gateway-actions {
  justify-content: center;
}

.js-ready [data-reveal] {
  transform: translateY(14px);
  transition: transform 480ms cubic-bezier(.2,.75,.2,1);
}

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

@media (max-width: 1040px) {
  .nav-links { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr 420px; gap: 44px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 42px 18px; }
  .step:nth-child(2)::after { display: none; }
  .memory-capability-network { grid-template-columns: 0.8fr 1.35fr 0.8fr; }
}

@media (max-width: 820px) {
  .shell { width: min(calc(100% - 32px), var(--content)); }
  .menu-toggle { display: block; }
  .nav-menu {
    position: fixed;
    inset: 76px 0 auto;
    display: block;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    padding: 22px 20px 30px;
    border-top: 1px solid rgb(255 255 255 / 0.1);
    background: var(--brand-deep);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }
  .nav-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links { display: block; }
  .nav-links a { display: block; padding: 14px 4px; border-bottom: 1px solid rgb(255 255 255 / 0.1); font-size: 16px; }
  .nav-actions { margin-top: 20px; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 72px 88px; }
  .hero-copy { max-width: 680px; }
  .product-map { width: min(100%, 560px); margin-inline: auto; }
  .approach-grid,
  .boundary-grid { grid-template-columns: 1fr; }
  .memory-model-intro { grid-template-columns: 1fr; gap: 18px; }
  .memory-model-intro > p { max-width: 680px; }
  .memory-scene { grid-template-columns: 1fr; }
  .memory-scene > p { max-width: 620px; }
  .memory-feature-row { width: 100%; margin-bottom: 16px; }
  .memory-branch { display: none; }
  .memory-capability-network { grid-template-columns: 1fr; align-items: stretch; }
  .memory-capability.is-active { order: -1; }
  .strata-stack { width: min(100%, 640px); margin-inline: auto; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card:first-child { grid-column: auto; }
  .persona-grid { grid-template-columns: 1fr; }
  .pilot-panel { grid-template-columns: 1fr; }
  .pilot-panel .button { justify-self: start; }
  .pilot-action { max-width: 520px; }
  .memory-evidence-link { grid-template-columns: 1fr; gap: 18px; }
  .transformation-flow { grid-template-columns: 1fr; gap: 12px; }
  .flow-arrow { transform: rotate(90deg); }
}

@media (max-width: 600px) {
  .brand-link img { width: 160px; }
  .nav-wrap { min-height: 70px; }
  .nav-menu { inset-block-start: 70px; max-height: calc(100vh - 70px); }
  .hero-grid { padding-block: 58px 72px; }
  .section { padding-block: 64px; }
  .section-heading { margin-bottom: 38px; }
  h1 { font-size: clamp(40px, 13vw, 58px); }
  h2 { font-size: 36px; }
  .hero-actions .button { width: 100%; }
  .product-map { padding: 12px; }
  .map-layer { padding: 15px; }
  .problem-grid,
  .benefit-grid,
  .steps { grid-template-columns: 1fr; }
  .benefit-card:first-child { grid-column: auto; }
  .benefit-card { min-height: auto; padding: 24px; }
  .benefit-tag { margin-bottom: 32px; }
  .card,
  .persona-card,
  .transformation { padding: 22px; }
  .transformation-state { min-height: auto; padding: 18px; }
  .step { padding-right: 0; }
  .step::after { display: none; }
  .strata-stack { gap: 14px; }
  .strata-item { min-height: auto; margin-inline: 0 !important; }
  .memory-model-intro { margin-bottom: 34px; }
  .memory-model-stage { padding: 14px; border-radius: 16px; }
  .memory-scene { padding: 20px; }
  .memory-path { grid-template-columns: 1fr; gap: 9px; }
  .memory-arrow { transform: rotate(90deg); }
  .memory-focus > .memory-node { width: 100%; }
  .memory-support-row { grid-template-columns: 1fr; }
  .memory-project-frame { padding: 16px; }
  .memory-project-header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .memory-feature-row,
  .memory-change-track { grid-template-columns: 1fr; }
  .memory-detail-grid { grid-template-columns: 1fr; }
  .memory-capability.is-active { padding: 20px; }
  .memory-evidence-link { padding: 20px; }
  .memory-evidence-nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-meta { flex-direction: column; }
  .pilot-panel { padding: 34px 24px; }
  .pilot-action .button { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .js-ready [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-actions, .menu-toggle { display: none; }
  .hero, .boundary-section, .site-footer { background: var(--white); color: var(--ink); }
  .hero h1, .boundary-section h2 { color: var(--ink); }
  .hero-copy > p:not(.eyebrow):not(.status-pill), .boundary-intro, .footer-brand p { color: var(--muted); }
  .section { padding-block: 48px; }
}
