:root {
  --paper: #f7f5ff;
  --paper-strong: #eeeafe;
  --ink: #17122e;
  --navy: #1b143f;
  --navy-deep: #110c2d;
  --violet: #7447f2;
  --violet-bright: #9658ff;
  --magenta: #d64ad8;
  --coral: #ff6b7a;
  --teal: #2bc4b6;
  --muted: #6b6880;
  --line-light: rgba(31, 23, 73, 0.10);
  --line-dark: rgba(255, 255, 255, 0.12);
  --gradient-main: linear-gradient(135deg, #7447f2 0%, #a64ff0 52%, #d64ad8 100%);
  --gradient-monolith: linear-gradient(160deg, rgba(130, 75, 230, 0.92) 0%, rgba(101, 70, 169, 0.82) 38%, rgba(40, 81, 104, 0.84) 100%);
  --shadow-soft: 0 22px 70px rgba(40, 28, 94, 0.14);
  --shadow-strong: 0 46px 110px rgba(10, 7, 32, 0.28);
  --content: 1220px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(rgba(31, 23, 73, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 23, 73, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 64px 64px;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--navy);
  border-radius: 999px;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  padding: 24px 28px 0;
  color: var(--paper);
  transition: color 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  color: var(--ink);
}

.site-header:not(.is-scrolled) .brand {
  color: var(--ink);
}

.site-header:not(.is-scrolled) .nav-links {
  color: var(--paper);
}

.site-header:not(.is-scrolled) .nav-links a:not(.nav-cta) {
  color: rgba(247, 245, 255, 0.88);
  background: transparent;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--content), calc(100vw - 44px));
  min-height: 58px;
  margin: 0 auto;
}

.site-header.is-scrolled .nav-shell {
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 900;
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled .brand {
  padding: 7px 16px 7px 8px;
  background: rgba(247, 245, 255, 0.78);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(40, 28, 94, 0.10);
  backdrop-filter: blur(16px);
}

.brand__mark {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  background: rgba(17, 12, 45, 0.42);
  border-radius: 999px;
  box-shadow: none;
  backdrop-filter: blur(18px);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled .nav-links {
  background: rgba(247, 245, 255, 0.82);
  box-shadow: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: currentColor;
  font-size: 0.93rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a:focus-visible {
  background: rgba(116, 71, 242, 0.08);
}

.nav-links .nav-cta {
  min-height: 44px;
  padding: 0 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: none;
}

.site-header.is-scrolled .nav-links .nav-cta {
  color: white;
  background: var(--gradient-main);
  box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: currentColor;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 99px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(450px, 1.05fr);
  min-height: 100svh;
  padding: 158px max(28px, calc((100vw - var(--content)) / 2)) 78px;
  background: var(--paper);
  overflow: hidden;
}

.hero__diagonal {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 87% 23%, rgba(150, 88, 255, 0.19), transparent 34%),
    var(--navy-deep);
  clip-path: polygon(63% 0, 100% 0, 100% 100%, 43% 100%);
}

.hero__diagonal::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(247, 245, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 245, 255, 0.045) 1px, transparent 1px);
  background-size: 74px 74px;
}

.hero__copy,
.hero__visual {
  position: relative;
  z-index: 1;
}

.hero__copy {
  align-self: center;
  max-width: 620px;
}

.eyebrow {
  color: var(--violet);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-copy h2,
.layers__intro h2,
.expansion h2,
.conversion h2 {
  font-weight: 900;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 620px;
  margin-top: 24px;
  font-size: clamp(4rem, 6.2vw, 6.65rem);
  line-height: 0.88;
}

.hero h1 span {
  display: inline-block;
  color: transparent;
  background: var(--gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero__lead {
  max-width: 610px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 1.28rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: white;
  background: var(--gradient-main);
  box-shadow: 0 22px 44px rgba(116, 71, 242, 0.25);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(31, 23, 73, 0.14);
}

.hero__microcopy {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 118px;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero__microcopy strong {
  color: var(--ink);
}

.hero__visual {
  display: grid;
  place-items: center;
  min-height: 680px;
}

.monolith {
  position: relative;
  width: min(520px, 100%);
  min-height: 670px;
}

.monolith__body {
  position: absolute;
  inset: 30px 66px 24px 70px;
  padding: 68px 48px 62px;
  overflow: hidden;
  background: var(--gradient-monolith);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 48px;
  box-shadow: var(--shadow-strong);
  transform: perspective(1100px) rotateY(-8deg) rotateX(4deg) rotateZ(1.4deg);
  transform-origin: center;
}

.monolith__body::before {
  position: absolute;
  inset: -18% -12%;
  content: "";
  background:
    radial-gradient(circle at 62% 72%, rgba(43, 196, 182, 0.34), transparent 24%),
    radial-gradient(circle at 26% 18%, rgba(214, 74, 216, 0.32), transparent 34%);
  filter: blur(8px);
}

.monolith__body::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.18), transparent 28% 74%, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.monolith__beam {
  position: absolute;
  top: 92px;
  right: 34px;
  bottom: 88px;
  z-index: 3;
  width: 4px;
  background: linear-gradient(180deg, var(--violet), var(--magenta), var(--teal));
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(214, 74, 216, 0.75);
}

.monolith__layer {
  position: relative;
  z-index: 2;
  min-height: 112px;
  margin-bottom: 34px;
  padding: 24px 50px 20px 24px;
  color: white;
  background: rgba(17, 12, 45, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  box-shadow: 0 22px 46px rgba(10, 7, 32, 0.18);
  transition: transform 320ms ease, background 320ms ease, border-color 320ms ease, opacity 320ms ease;
}

.monolith__layer:last-child {
  margin-bottom: 0;
}

.monolith__layer span,
.monolith__layer strong,
.monolith__layer small {
  display: block;
}

.monolith__layer span {
  color: rgba(238, 234, 254, 0.74);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.monolith__layer strong {
  margin-top: 4px;
  font-size: 1.1rem;
  line-height: 1.16;
}

.monolith__layer small {
  margin-top: 9px;
  color: rgba(247, 245, 255, 0.62);
  font-size: 0.9rem;
}

.monolith__layer i {
  position: absolute;
  top: 24px;
  right: 22px;
  width: 12px;
  height: 12px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 9px rgba(43, 196, 182, 0.12), 0 0 18px rgba(43, 196, 182, 0.9);
}

.monolith__layer.is-active,
.story-monolith[data-active-layer="0"] [data-layer-module="0"],
.story-monolith[data-active-layer="1"] [data-layer-module="1"],
.story-monolith[data-active-layer="2"] [data-layer-module="2"],
.story-monolith[data-active-layer="3"] [data-layer-module="3"] {
  transform: translateX(-8px) scale(1.025);
  background: rgba(27, 20, 63, 0.86);
  border-color: rgba(150, 88, 255, 0.45);
}

.monolith__orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(150, 88, 255, 0.24);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.monolith__orbit--one {
  top: 210px;
  right: -8px;
  width: 520px;
  height: 188px;
}

.monolith__orbit--two {
  top: 284px;
  left: -12px;
  width: 470px;
  height: 170px;
}

.float-tag {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: white;
  background: rgba(17, 12, 45, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 0 22px 50px rgba(10, 7, 32, 0.18);
  font-size: 0.82rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
  animation: float-soft 5.4s ease-in-out infinite;
}

.float-tag--order {
  top: 220px;
  left: 4px;
}

.float-tag--context {
  top: 330px;
  right: -8px;
  animation-delay: 0.8s;
}

.float-tag--snapshot {
  bottom: 116px;
  left: 24px;
  animation-delay: 1.4s;
}

.layers,
.product-proof,
.expansion,
.conversion {
  position: relative;
  padding: 130px max(28px, calc((100vw - var(--content)) / 2));
}

.layers__intro,
.section-copy,
.expansion__copy {
  max-width: 820px;
  margin-bottom: 72px;
}

.layers__intro h2,
.section-copy h2,
.expansion h2,
.conversion h2 {
  margin-top: 14px;
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  line-height: 0.94;
}

.layers__intro p,
.section-copy p,
.expansion__copy p,
.conversion__copy p {
  max-width: 690px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.12rem;
}

.layers__grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.15fr);
  gap: 90px;
  align-items: start;
}

.layers__sticky {
  position: sticky;
  top: 112px;
  min-height: 620px;
}

.story-monolith {
  position: relative;
  min-height: 620px;
}

.story-monolith__label {
  position: absolute;
  top: 0;
  left: 2px;
  z-index: 2;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.monolith--story {
  width: 430px;
  min-height: 600px;
}

.monolith--story .monolith__body {
  inset: 42px 30px 20px 24px;
  padding: 52px 34px 44px;
  border-radius: 42px;
}

.monolith--story .monolith__layer {
  min-height: 96px;
  margin-bottom: 24px;
  border-radius: 20px;
}

.layer-progress {
  position: absolute;
  top: 82px;
  right: 14px;
  bottom: 66px;
  width: 3px;
  overflow: hidden;
  background: rgba(31, 23, 73, 0.10);
  border-radius: 99px;
}

.layer-progress span {
  display: block;
  width: 100%;
  height: 25%;
  background: linear-gradient(180deg, var(--violet), var(--magenta), var(--teal));
  border-radius: inherit;
  transition: height 360ms ease;
}

.layers__content {
  display: grid;
  gap: 88px;
}

.layer-panel {
  min-height: 78vh;
  padding: 54px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(238, 234, 254, 0.62)),
    var(--paper-strong);
  border: 1px solid var(--line-light);
  border-radius: 38px;
  box-shadow: var(--shadow-soft);
}

.layer-panel--dark {
  color: white;
  background:
    radial-gradient(circle at 80% 12%, rgba(150, 88, 255, 0.22), transparent 32%),
    var(--navy-deep);
  border-color: var(--line-dark);
}

.layer-kicker {
  color: var(--violet);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.layer-panel--dark .layer-kicker {
  color: var(--teal);
}

.layer-panel h3 {
  max-width: 620px;
  margin-top: 18px;
  font-size: clamp(2.6rem, 4vw, 4.65rem);
  font-weight: 900;
  letter-spacing: -0.052em;
  line-height: 0.92;
}

.layer-panel > p:not(.layer-kicker):not(.safe-claim) {
  max-width: 640px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.08rem;
}

.layer-panel--dark > p:not(.layer-kicker) {
  color: rgba(247, 245, 255, 0.72);
}

.layer-visual {
  margin-top: 46px;
}

.channel-ingress {
  display: grid;
  grid-template-columns: 1fr 170px 1fr;
  gap: 20px;
  align-items: center;
}

.channel-stream {
  min-height: 150px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line-light);
  border-radius: 28px;
}

.channel-stream span,
.channel-stream strong,
.channel-stream small {
  display: block;
}

.channel-stream span {
  color: var(--violet);
  font-weight: 900;
}

.channel-stream strong {
  margin-top: 28px;
  font-size: 1.22rem;
}

.channel-stream small {
  margin-top: 8px;
  color: var(--muted);
}

.channel-core {
  display: grid;
  place-items: center;
  min-height: 170px;
  color: white;
  background: var(--gradient-main);
  border-radius: 34px;
  box-shadow: 0 22px 70px rgba(116, 71, 242, 0.28);
  font-weight: 900;
  text-align: center;
}

.safe-claim {
  display: inline-flex;
  margin-top: 24px;
  padding: 10px 14px;
  color: var(--violet);
  background: rgba(116, 71, 242, 0.08);
  border-radius: 999px;
  font-weight: 900;
}

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

.operation-chain div {
  min-height: 150px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line-light);
  border-radius: 26px;
}

.operation-chain div:nth-child(2) {
  background: linear-gradient(145deg, rgba(116, 71, 242, 0.12), rgba(214, 74, 216, 0.10));
}

.operation-chain span,
.operation-chain strong {
  display: block;
}

.operation-chain span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.operation-chain strong {
  margin-top: 52px;
  line-height: 1.12;
}

.isa-sequence {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 16px;
}

.buyer-question,
.isa-answer,
.snapshot-chip,
.context-grid span {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.buyer-question {
  min-height: 156px;
  padding: 28px;
  font-size: 1.24rem;
  font-weight: 900;
}

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

.context-grid span {
  display: grid;
  place-items: center;
  min-height: 72px;
  color: var(--teal);
  font-weight: 900;
}

.isa-answer {
  grid-column: 1 / -1;
  padding: 22px;
  color: var(--paper);
  border-color: rgba(43, 196, 182, 0.36);
  background: rgba(43, 196, 182, 0.11);
  font-weight: 900;
}

.snapshot-chip {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 12px 16px;
  color: var(--teal);
  font-weight: 900;
}

.governance-list {
  display: grid;
  gap: 12px;
}

.governance-list div {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  min-height: 98px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line-light);
  border-radius: 26px;
}

.governance-list strong,
.governance-list small {
  display: block;
}

.governance-list small {
  color: var(--muted);
}

.state {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.state--ok {
  background: var(--teal);
  box-shadow: 0 0 0 8px rgba(43, 196, 182, 0.14);
}

.state--attention {
  background: var(--coral);
  box-shadow: 0 0 0 8px rgba(255, 107, 122, 0.12);
}

.state--context {
  background: var(--violet-bright);
  box-shadow: 0 0 0 8px rgba(150, 88, 255, 0.12);
}

.product-proof {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-strong) 100%);
  overflow: hidden;
}

.proof-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  min-height: 640px;
}

.proof-fragment {
  position: relative;
  padding: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line-light);
  border-radius: 36px;
  box-shadow: var(--shadow-soft);
}

.proof-fragment figcaption {
  color: var(--violet);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.proof-fragment--isa {
  min-height: 360px;
}

.proof-fragment--sku {
  min-height: 520px;
  background: var(--gradient-monolith);
}

.proof-fragment--order {
  grid-column: 1 / -1;
  min-height: 190px;
  margin: -160px 120px 0 120px;
}

.mock-question {
  margin-top: 42px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 26px;
}

.mock-question span,
.mock-question strong {
  display: block;
}

.mock-question span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mock-question strong {
  margin-top: 8px;
  font-size: 1.35rem;
}

.mock-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.mock-context span {
  padding: 10px 12px;
  color: var(--teal);
  background: rgba(43, 196, 182, 0.10);
  border-radius: 999px;
  font-weight: 900;
}

.proof-fragment--isa p {
  margin-top: 22px;
  color: var(--muted);
}

.sku-orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  color: white;
}

.sku-orbit::before,
.sku-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.sku-orbit::before {
  width: 360px;
  height: 160px;
}

.sku-orbit::after {
  width: 270px;
  height: 116px;
}

.sku-orbit strong {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  background: rgba(17, 12, 45, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  font-size: 1.35rem;
}

.sku-orbit span {
  position: absolute;
  z-index: 3;
  padding: 10px 13px;
  background: rgba(17, 12, 45, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
}

.sku-orbit span:nth-of-type(1) {
  top: 72px;
  left: 18px;
}

.sku-orbit span:nth-of-type(2) {
  top: 180px;
  right: 10px;
}

.sku-orbit span:nth-of-type(3) {
  bottom: 64px;
  left: 74px;
}

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

.order-ribbon span {
  min-height: 80px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 24px;
  font-weight: 900;
}

.expansion {
  background: var(--paper);
}

.expansion__system {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.current-layer,
.future-layer {
  position: relative;
  min-height: 370px;
  padding: 38px;
  border-radius: 38px;
}

.current-layer {
  color: white;
  background: var(--gradient-main);
  box-shadow: 0 32px 90px rgba(116, 71, 242, 0.26);
}

.future-layer {
  color: rgba(23, 18, 46, 0.55);
  background: rgba(255, 255, 255, 0.56);
  border: 1px dashed rgba(31, 23, 73, 0.18);
}

.current-layer span,
.future-layer span {
  display: block;
  margin-bottom: 90px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.current-layer strong,
.future-layer em {
  display: block;
  margin-top: 14px;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.future-layer em {
  opacity: 0.48;
}

.conversion {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 0.95fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  scroll-margin-top: 96px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 82% 18%, rgba(150, 88, 255, 0.18), transparent 34%),
    radial-gradient(circle at 22% 78%, rgba(43, 196, 182, 0.10), transparent 30%),
    var(--navy-deep);
}

.conversion__diagonal {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(247, 245, 255, 0.08) 0 34%, transparent 34.2%),
    linear-gradient(135deg, transparent 0 58%, rgba(247, 245, 255, 0.04) 58.2%, transparent 74%);
}

.conversion__copy,
.lead-form {
  position: relative;
  z-index: 1;
}

.conversion__copy {
  max-width: 620px;
  color: white;
}

.conversion__copy .eyebrow {
  color: #bba7ff;
}

.conversion h2 {
  max-width: 620px;
  font-size: clamp(3rem, 4.8vw, 5rem);
  line-height: 0.98;
}

.conversion__copy p {
  color: rgba(247, 245, 255, 0.72);
}

.mini-monolith {
  display: grid;
  gap: 10px;
  max-width: 360px;
  margin-top: 36px;
  padding: 18px;
  background: var(--gradient-monolith);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
}

.mini-monolith span {
  padding: 14px 16px;
  color: white;
  background: rgba(17, 12, 45, 0.64);
  border-radius: 18px;
  font-weight: 900;
}

.lead-form {
  width: min(100%, 600px);
  justify-self: end;
  padding: 28px;
  color: var(--ink);
  background: rgba(247, 245, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 34px;
  box-shadow: 0 32px 90px rgba(10, 7, 32, 0.28);
  backdrop-filter: blur(18px);
}

.lead-form .button {
  min-height: 64px;
  white-space: normal;
  text-align: center;
}

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

.form-row,
.checkbox-field {
  margin-bottom: 15px;
}

.form-row label,
.checkbox-field legend {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(31, 23, 73, 0.13);
  border-radius: 18px;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--violet);
  outline: 4px solid rgba(116, 71, 242, 0.12);
}

.form-row.is-invalid input,
.form-row.is-invalid select,
.form-row.is-invalid textarea {
  border-color: var(--coral);
}

.checkbox-field {
  padding: 0;
  border: 0;
}

.checkbox-field label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin: 0 8px 8px 0;
  padding: 0 12px;
  background: white;
  border: 1px solid rgba(31, 23, 73, 0.13);
  border-radius: 999px;
  font-weight: 800;
}

.checkbox-field input {
  width: 16px;
  height: 16px;
  accent-color: var(--violet);
}

.checkbox-field.is-invalid label {
  border-color: var(--coral);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin-top: 12px;
  color: var(--muted);
}

.form-status.is-error {
  color: #ba3044;
}

.form-status.is-success {
  color: #166c62;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px max(28px, calc((100vw - var(--content)) / 2));
  color: rgba(247, 245, 255, 0.70);
  background: var(--navy-deep);
}

.brand--footer {
  color: white;
}

.site-footer > a:last-child {
  color: white;
  font-weight: 900;
}

.reveal {
  opacity: 1;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 134px;
  }

  .hero__diagonal {
    background:
      radial-gradient(circle at 72% 54%, rgba(150, 88, 255, 0.16), transparent 34%),
      linear-gradient(180deg, var(--paper) 0 760px, var(--navy-deep) 760px 100%);
    clip-path: none;
  }

  .hero__diagonal::before {
    opacity: 0.35;
  }

  .hero__visual {
    min-height: 610px;
  }

  .hero__microcopy {
    margin-top: 42px;
  }

  .layers__grid,
  .conversion,
  .expansion__system {
    grid-template-columns: 1fr;
  }

  .layers__sticky {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .story-monolith {
    min-height: 620px;
  }

  .proof-stack {
    grid-template-columns: 1fr;
  }

  .proof-fragment--order {
    grid-column: auto;
    margin: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 14px 14px 0;
    color: white;
  }

  .nav-shell,
  .site-header.is-scrolled .nav-shell {
    width: 100%;
    padding: 8px 4px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .brand,
  .site-header.is-scrolled .brand,
  .site-header:not(.is-scrolled) .brand {
    padding: 0;
    color: white;
    background: transparent;
    border: 0;
    border-radius: 0;
    filter: drop-shadow(0 10px 18px rgba(10, 7, 32, 0.28));
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav-toggle {
    display: block;
    color: white;
    background: transparent;
    border: 0;
    border-radius: 0;
    filter: drop-shadow(0 10px 18px rgba(10, 7, 32, 0.28));
    box-shadow: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    padding: 12px;
    color: var(--ink);
    background: rgba(247, 245, 255, 0.98);
    border: 0;
    border-radius: 28px;
    box-shadow: none;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    justify-content: center;
  }

  .nav-links .nav-cta {
    color: white;
    background: var(--gradient-main);
  }

  .hero,
  .layers,
  .product-proof,
  .expansion,
  .conversion {
    padding-right: 18px;
    padding-left: 18px;
  }

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

  .hero h1 {
    font-size: clamp(3.25rem, 15vw, 5.2rem);
  }

  .hero__lead {
    font-size: 1.06rem;
  }

  .button,
  .hero__actions {
    width: 100%;
  }

  .hero__visual {
    min-height: 560px;
  }

  .monolith {
    width: 100%;
    min-height: 560px;
  }

  .monolith__body {
    inset: 22px 14px;
    padding: 46px 28px 44px;
    border-radius: 38px;
    transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
  }

  .monolith__layer {
    min-height: 96px;
    margin-bottom: 18px;
    padding: 18px 42px 16px 18px;
    border-radius: 20px;
  }

  .monolith__beam {
    top: 68px;
    right: 22px;
    bottom: 70px;
  }

  .float-tag {
    display: none;
  }

  .layers__intro h2,
  .section-copy h2,
  .expansion h2,
  .conversion h2 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .layers__grid {
    gap: 42px;
  }

  .layer-panel {
    min-height: auto;
    padding: 30px;
    border-radius: 30px;
  }

  .layer-panel h3 {
    font-size: clamp(2.25rem, 10vw, 3.6rem);
  }

  .channel-ingress,
  .operation-chain,
  .isa-sequence,
  .order-ribbon,
  .form-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .channel-core {
    min-height: 120px;
  }

  .operation-chain div {
    min-height: 112px;
  }

  .operation-chain strong {
    margin-top: 22px;
  }

  .story-monolith,
  .monolith--story {
    min-height: 560px;
  }

  .layer-progress {
    display: none;
  }

  .current-layer,
  .future-layer {
    min-height: 300px;
    padding: 28px;
  }

  .conversion__diagonal {
    background:
      linear-gradient(150deg, rgba(247, 245, 255, 0.07) 0 46%, transparent 46.2%);
  }

  .conversion h2 {
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  .lead-form {
    order: -1;
    justify-self: stretch;
    border-radius: 28px;
  }
}

@media (max-width: 520px) {
  .eyebrow {
    font-size: 0.72rem;
  }

  .hero__microcopy {
    display: grid;
    gap: 8px;
  }

  .monolith__layer strong {
    font-size: 0.98rem;
  }

  .monolith__layer small {
    font-size: 0.82rem;
  }

  .proof-fragment {
    padding: 24px;
    border-radius: 28px;
  }

  .sku-orbit::before {
    width: 280px;
  }

  .sku-orbit span:nth-of-type(1),
  .sku-orbit span:nth-of-type(2),
  .sku-orbit span:nth-of-type(3) {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 10px;
  }

  .sku-orbit {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    transform: none;
  }
}
