:root {
  --omni-blue: #2094ff;
  --omni-cyan: #55e4ff;
  --omni-purple: #7b55ff;
  --omni-violet: #b45cff;
  --ink: #101323;
  --ink-soft: #4f5874;
  --paper: #f8fbff;
  --clay-a: #ffffff;
  --clay-b: #e8eeff;
  --clay-c: #dfe8ff;
  --glass: rgba(255, 255, 255, 0.68);
  --line: rgba(58, 73, 128, 0.16);
  --shadow-high: 34px 34px 90px rgba(59, 76, 135, 0.28), -24px -24px 70px rgba(255, 255, 255, 0.95);
  --shadow-mid: 20px 20px 52px rgba(61, 77, 132, 0.24), -16px -16px 42px rgba(255, 255, 255, 0.92);
  --shadow-inset: inset 10px 10px 24px rgba(70, 82, 132, 0.16), inset -10px -10px 24px rgba(255, 255, 255, 0.92);
  --shadow-dark-inset: inset 14px 14px 34px rgba(0, 0, 0, 0.34), inset -12px -12px 28px rgba(255, 255, 255, 0.07);
  --radius-xl: 54px;
  --radius-lg: 38px;
  --radius-md: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(115deg, rgba(247, 250, 255, 0.96), rgba(232, 239, 255, 0.94) 48%, rgba(248, 242, 255, 0.95)),
    #eef4ff;
}

main {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -18vmax;
  z-index: -4;
  background:
    conic-gradient(from 90deg at 18% 28%, rgba(32, 148, 255, 0.42), transparent 22%, rgba(123, 85, 255, 0.38), transparent 58%, rgba(85, 228, 255, 0.28), transparent),
    conic-gradient(from 220deg at 82% 18%, rgba(180, 92, 255, 0.34), transparent 24%, rgba(32, 148, 255, 0.28), transparent 64%);
  filter: blur(44px);
  opacity: 0.78;
  animation: atmosphereSpin 34s linear infinite;
}

a {
  color: inherit;
}

body :focus-visible {
  outline: 3px solid rgba(32, 148, 255, 0.78);
  outline-offset: 5px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.motion-field {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.field-layer {
  position: absolute;
  border-radius: 35% 65% 56% 44% / 42% 38% 62% 58%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(202, 219, 255, 0.5));
  box-shadow: var(--shadow-high), var(--shadow-inset);
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
}

.layer-one {
  width: 56vw;
  height: 48vw;
  top: -17vw;
  left: -16vw;
  animation: clayMelt 16s ease-in-out infinite;
}

.layer-two {
  width: 54vw;
  height: 40vw;
  right: -20vw;
  top: 16vh;
  animation: clayMelt 18s ease-in-out infinite reverse;
}

.layer-three {
  width: 64vw;
  height: 30vw;
  left: 22vw;
  bottom: -20vw;
  animation: clayMelt 20s ease-in-out infinite;
}

.signal-rain {
  position: absolute;
  inset: -30%;
  opacity: 0.22;
  background-image:
    linear-gradient(90deg, rgba(32, 148, 255, 0.32) 1px, transparent 1px),
    linear-gradient(0deg, rgba(123, 85, 255, 0.26) 1px, transparent 1px);
  background-size: 92px 92px;
  transform: rotate(-14deg);
  animation: gridDrift 18s linear infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(16px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(244, 248, 255, 0.66);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 16px 50px rgba(70, 86, 140, 0.12);
}

.brand {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(227, 235, 255, 0.74));
  box-shadow: 12px 12px 26px rgba(70, 86, 140, 0.16), -10px -10px 24px rgba(255, 255, 255, 0.9), var(--shadow-inset);
}

.brand img {
  width: 188px;
  max-width: 48vw;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 900;
}

.site-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.site-nav a:not(.nav-cta):hover {
  color: var(--omni-purple);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-inset);
}

.nav-cta,
.button {
  position: relative;
  isolation: isolate;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  padding: 0 24px;
  text-decoration: none;
  text-align: center;
  font-weight: 950;
  letter-spacing: 0;
  transition: transform 170ms cubic-bezier(0.2, 1.6, 0.2, 1), box-shadow 170ms ease;
}

.nav-cta,
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--omni-blue), var(--omni-purple) 58%, var(--omni-violet));
  box-shadow: 0 22px 48px rgba(74, 98, 255, 0.36), inset 3px 3px 10px rgba(255, 255, 255, 0.34), inset -8px -8px 20px rgba(54, 38, 178, 0.22);
}

.button.secondary {
  color: var(--ink);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(229, 237, 255, 0.76));
  box-shadow: var(--shadow-mid), var(--shadow-inset);
}

.button::after,
.nav-cta::after {
  content: "";
  position: absolute;
  inset: -80% -40%;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-72%) rotate(18deg);
  animation: buttonShine 3.8s ease-in-out infinite;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-6px) scale(1.055);
}

.button:active,
.nav-cta:active {
  transform: translateY(2px) scale(0.96);
}

.section-shell {
  width: min(1200px, calc(100% - 34px));
  margin: 0 auto;
  padding: 86px 0;
}

section[id] {
  scroll-margin-top: 104px;
}

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
  padding-top: 42px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--omni-purple);
  font-size: 0.75rem;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero h1,
.section-heading h2,
.quiz-intro h2,
.clay-large h2,
.contact-card h2,
.legal-page h1 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.25rem, 6.4vw, 6.45rem);
  letter-spacing: 0;
}

.section-heading h2,
.quiz-intro h2,
.clay-large h2,
.contact-card h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.7rem);
}

.hero-text,
.section-heading p,
.quiz-intro p,
.clay-large p,
.contact-card p {
  max-width: 740px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-proofline {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 14px;
  margin-top: 24px;
}

.hero-proofline span,
.resource-marquee span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 18px 30px 18px 30px;
  color: #1b2442;
  font-weight: 900;
  cursor: default;
  user-select: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(224, 234, 255, 0.68));
  box-shadow: 12px 12px 26px rgba(72, 88, 145, 0.16), -10px -10px 24px rgba(255, 255, 255, 0.88), var(--shadow-inset);
  animation: tagFloat 5s ease-in-out infinite;
}

.hero-proofline span:nth-child(odd) {
  border-radius: 30px 18px 30px 18px;
}

.hero-proofline span:nth-child(3n),
.resource-marquee span:nth-child(3n) {
  border-radius: 24px 18px 32px 18px;
}

.hero-proofline span:nth-child(2) {
  animation-delay: -1.2s;
}

.hero-proofline span:nth-child(3) {
  animation-delay: -2.4s;
}

.hero-proofline span:nth-child(4) {
  animation-delay: -3.6s;
}

.reactor-shell,
.assessment-panel,
.clay-large,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(222, 232, 255, 0.78));
  box-shadow: var(--shadow-high), var(--shadow-inset);
}

.leak-panel,
.plan-card {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.86), transparent 7rem),
    linear-gradient(156deg, rgba(255, 255, 255, 0.76), rgba(219, 231, 255, 0.82));
  box-shadow: 22px 24px 54px rgba(61, 77, 132, 0.2), -12px -12px 34px rgba(255, 255, 255, 0.78), inset 8px 8px 20px rgba(70, 82, 132, 0.12), inset -9px -9px 20px rgba(255, 255, 255, 0.82);
}

.reactor-shell {
  position: relative;
  min-height: 560px;
  padding: 26px;
  border-radius: var(--radius-xl);
  transform-style: preserve-3d;
  animation: heroMachineFloat 8s ease-in-out infinite;
}

.reactor-shell,
.assessment-panel,
.clay-large,
.contact-card,
.leak-panel,
.plan-card,
.results-card {
  overflow-wrap: anywhere;
}

.reactor-shell::before,
.assessment-panel::before,
.clay-large::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.reactor-top,
.progress-wrap,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.quiz-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.reactor-top {
  position: relative;
  z-index: 3;
  font-weight: 1000;
}

.reactor-top strong {
  color: #fff;
  padding: 9px 14px;
  white-space: nowrap;
  border-radius: 999px;
  background: linear-gradient(135deg, #18bf88, #55e4ff);
  box-shadow: 0 16px 30px rgba(30, 188, 196, 0.34), inset 2px 2px 7px rgba(255, 255, 255, 0.34);
}

.reactor-core {
  position: relative;
  min-height: 360px;
  margin: 18px 0;
  border-radius: 48px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(226, 236, 255, 0.92), rgba(255, 255, 255, 0.66)),
    repeating-linear-gradient(90deg, rgba(32, 148, 255, 0.1) 0 1px, transparent 1px 46px);
  box-shadow: var(--shadow-inset);
}

.core-disc {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 4;
  width: min(38vw, 188px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 42% 58% 48% 52% / 48% 44% 56% 52%;
  color: #fff;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.5), transparent 24%),
    conic-gradient(from 90deg, var(--omni-blue), var(--omni-purple), var(--omni-cyan), var(--omni-blue));
  box-shadow: 0 34px 70px rgba(69, 97, 255, 0.42), var(--shadow-dark-inset);
  transform: translate(-50%, -50%);
  animation: coreMorph 6.2s ease-in-out infinite;
}

.core-disc span {
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 1000;
  line-height: 0.9;
}

.core-disc small {
  font-weight: 900;
}

.signal-ring {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 2px solid rgba(65, 120, 255, 0.25);
  border-radius: 42% 58% 50% 50% / 46% 44% 56% 54%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.55), 0 0 34px rgba(87, 119, 255, 0.2);
}

.ring-a {
  width: 72%;
  aspect-ratio: 1.2;
  animation: reactorSpin 12s linear infinite;
}

.ring-b {
  width: 82%;
  aspect-ratio: 1.1;
  animation: reactorSpin 16s linear infinite reverse;
}

.ring-c {
  width: 58%;
  aspect-ratio: 1;
  animation: reactorSpin 9s linear infinite;
}

.core-node {
  position: absolute;
  z-index: 5;
  width: 124px;
  min-height: 76px;
  border: 0;
  border-radius: 26px;
  cursor: pointer;
  color: var(--ink);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(219, 231, 255, 0.86));
  box-shadow: 18px 18px 40px rgba(56, 74, 132, 0.22), -12px -12px 28px rgba(255, 255, 255, 0.86), var(--shadow-inset);
  transition: transform 220ms cubic-bezier(0.2, 1.6, 0.2, 1), color 220ms ease, background 220ms ease;
  animation: nodeBob 7s ease-in-out infinite;
}

.core-node b {
  display: block;
  font-size: 0.86rem;
}

.core-node i {
  display: block;
  width: 38px;
  height: 7px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--omni-blue), var(--omni-purple));
}

.core-node.active,
.core-node:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--omni-blue), var(--omni-purple));
  transform: translateY(-9px) scale(1.08) rotate(-2deg);
}

.node-leadgen {
  left: 9%;
  top: 14%;
}

.node-conversion {
  right: 9%;
  top: 18%;
  animation-delay: -1.2s;
}

.node-retention {
  left: 10%;
  bottom: 14%;
  animation-delay: -2.4s;
}

.node-infra {
  right: 12%;
  bottom: 12%;
  animation-delay: -3.2s;
}

.reactor-readout {
  position: relative;
  z-index: 3;
  min-height: 128px;
  padding: 22px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 14%, rgba(85, 228, 255, 0.34), transparent 13rem),
    linear-gradient(145deg, #121426, #252348 64%, #18172e);
  box-shadow: var(--shadow-dark-inset), 0 22px 44px rgba(48, 54, 104, 0.25);
  animation: readoutPulse 3.8s ease-in-out infinite;
}

.reactor-readout p,
.reactor-readout h2,
.reactor-readout small {
  margin: 0;
}

.reactor-readout h2 {
  margin: 6px 0;
  font-size: clamp(1.55rem, 2.8vw, 2.55rem);
  line-height: 0.95;
}

.reactor-readout p,
.reactor-readout small {
  color: rgba(255, 255, 255, 0.74);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.leak-stage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  perspective: 1200px;
}

.foundation-ribbon {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 72px auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: -6px 0 28px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 36px 18px 36px 18px;
  background:
    linear-gradient(90deg, rgba(32, 148, 255, 0.11), transparent 42%, rgba(123, 85, 255, 0.12)),
    rgba(255, 255, 255, 0.32);
  box-shadow: inset 10px 10px 24px rgba(70, 82, 132, 0.11), inset -10px -10px 24px rgba(255, 255, 255, 0.7);
}

.foundation-ribbon span {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 16px 28px 16px 28px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--omni-blue), var(--omni-purple));
  box-shadow: 0 18px 34px rgba(74, 98, 255, 0.25), inset 2px 2px 8px rgba(255, 255, 255, 0.34);
}

.foundation-ribbon strong {
  color: #27304f;
  font-size: 0.95rem;
  line-height: 1.35;
}

.foundation-ribbon i {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--omni-blue), var(--omni-purple), var(--omni-cyan));
  box-shadow: 0 0 24px rgba(85, 228, 255, 0.34);
  animation: readoutPulse 2.8s ease-in-out infinite;
}

.leak-panel {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 28px;
  border-radius: 42px 24px 42px 24px;
  transform-style: preserve-3d;
  transition: transform 260ms cubic-bezier(0.2, 1.4, 0.2, 1), filter 260ms ease;
}

.leak-panel:nth-child(even) {
  border-radius: 24px 42px 24px 42px;
}

.leak-panel[role="button"] {
  cursor: pointer;
}

.leak-panel::after {
  content: "";
  position: absolute;
  inset: auto -30% -28% -30%;
  height: 58%;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(32, 148, 255, 0.26), rgba(123, 85, 255, 0.22));
  filter: blur(2px);
  animation: panelCurrent 6s ease-in-out infinite;
}

.leak-panel:hover,
.leak-panel:focus-visible,
.leak-panel.active {
  filter: saturate(1.12);
  transform: translateY(-18px) rotateX(6deg) rotateY(-5deg) scale(1.025);
}

.leak-panel:nth-child(even):not(:hover):not(:focus-visible):not(.active) {
  transform: translateY(22px);
}

.panel-number {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  font-weight: 1000;
  background: linear-gradient(135deg, var(--omni-blue), var(--omni-purple));
  box-shadow: 0 18px 34px rgba(74, 98, 255, 0.3), inset 2px 2px 8px rgba(255, 255, 255, 0.35);
}

.leak-panel h3,
.plan-card h3,
.results-card h3 {
  position: relative;
  z-index: 2;
  margin: 22px 0 12px;
  font-size: 1.38rem;
  line-height: 1.05;
}

.leak-panel p,
.plan-card p,
.legal-note {
  position: relative;
  z-index: 2;
  color: var(--ink-soft);
  line-height: 1.62;
}

.leak-panel ul {
  position: relative;
  z-index: 2;
  padding-left: 18px;
  line-height: 1.65;
  font-weight: 750;
}

.assessment-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.72fr);
  grid-template-areas:
    "intro intro"
    "quiz result";
  gap: 30px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 50px);
  border-radius: var(--radius-xl);
}

.assessment-panel::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 22px;
  left: 15%;
  top: 25px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(32, 148, 255, 0.36), rgba(123, 85, 255, 0.34), transparent);
  filter: blur(8px);
  animation: scannerSweep 4.6s ease-in-out infinite;
}

.quiz-intro {
  grid-area: intro;
  grid-column: 1 / -1;
  max-width: 900px;
}

.quiz {
  grid-area: quiz;
  grid-column: 1;
  position: relative;
  z-index: 2;
}

.progress-wrap {
  margin: 26px 0;
  font-weight: 1000;
}

.progress-track {
  flex: 1;
  height: 15px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-inset);
}

.progress-track span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--omni-blue), var(--omni-purple), var(--omni-cyan));
  box-shadow: 0 0 26px rgba(73, 116, 255, 0.62);
  transition: width 480ms cubic-bezier(0.2, 1.5, 0.2, 1);
}

.quiz-step {
  display: none;
  border: 0;
  padding: 0;
  margin: 0;
}

.quiz-step.active {
  display: grid;
  gap: 18px;
  animation: stepBlast 420ms cubic-bezier(0.2, 1.4, 0.2, 1) both;
}

.quiz-step legend {
  margin-bottom: 20px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 1000;
  line-height: 1.08;
}

.choice-grid,
.plan-orbit,
.field-row {
  display: grid;
  gap: 16px;
}

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

.choice-grid label,
select,
textarea,
input {
  border: 0;
  border-radius: 26px;
  color: var(--ink);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(224, 234, 255, 0.76));
  box-shadow: var(--shadow-inset);
}

.choice-grid label {
  position: relative;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  padding: 18px 20px;
  border-radius: 24px 30px 24px 18px;
  font-weight: 850;
  line-height: 1.28;
  transition: transform 180ms cubic-bezier(0.2, 1.5, 0.2, 1), box-shadow 180ms ease, background 180ms ease;
}

.choice-grid label:nth-child(even) {
  border-radius: 30px 24px 18px 24px;
}

.choice-grid input[type="radio"] {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  min-height: 26px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  appearance: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 36%, rgba(255, 255, 255, 0.94) 38% 100%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(219, 231, 255, 0.82));
  box-shadow: var(--shadow-inset), 0 10px 22px rgba(72, 88, 145, 0.14);
}

.choice-grid input[type="radio"]:checked {
  background:
    radial-gradient(circle at 50% 50%, #fff 0 25%, transparent 27% 100%),
    linear-gradient(135deg, var(--omni-cyan), var(--omni-purple));
  box-shadow: 0 12px 26px rgba(74, 98, 255, 0.34), inset 2px 2px 8px rgba(255, 255, 255, 0.35);
}

.choice-grid label:has(input:checked) {
  color: #fff;
  background: linear-gradient(135deg, var(--omni-blue), var(--omni-purple));
  box-shadow: 0 18px 34px rgba(74, 98, 255, 0.3), inset 3px 3px 9px rgba(255, 255, 255, 0.3);
  transform: translateY(-6px) scale(1.02);
}

label {
  display: grid;
  gap: 10px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 54px;
  padding: 15px 16px;
  line-height: 1.35;
}

select {
  appearance: none;
  padding-right: 48px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--omni-purple) 50%),
    linear-gradient(135deg, var(--omni-purple) 50%, transparent 50%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(224, 234, 255, 0.76));
  background-position:
    calc(100% - 27px) 50%,
    calc(100% - 20px) 50%,
    0 0;
  background-size:
    8px 8px,
    8px 8px,
    100% 100%;
  background-repeat: no-repeat;
}

textarea,
select,
input:not([type="radio"]):not([type="checkbox"]) {
  display: block;
}

textarea {
  resize: vertical;
}

.field-row {
  grid-template-columns: 1fr 1fr;
}

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 760;
  line-height: 1.5;
  padding: 14px 16px;
  border-radius: 20px 26px 20px 26px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 7px 7px 16px rgba(70, 82, 132, 0.09), inset -7px -7px 16px rgba(255, 255, 255, 0.62);
}

.checkline input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 5px;
  padding: 0;
  border-radius: 7px;
  appearance: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(224, 234, 255, 0.76));
  box-shadow: var(--shadow-inset);
}

.checkline input:checked {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0 20%, transparent 22% 100%),
    linear-gradient(135deg, var(--omni-blue), var(--omni-purple));
  box-shadow: 0 10px 22px rgba(74, 98, 255, 0.28), inset 2px 2px 8px rgba(255, 255, 255, 0.34);
}

.hidden {
  display: none !important;
}

.results-card {
  grid-area: result;
  position: relative;
  z-index: 2;
  align-self: stretch;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(32, 148, 255, 0.32), transparent 34%),
    linear-gradient(145deg, #111426, #24214a 65%, #17162d);
  box-shadow: var(--shadow-dark-inset), 0 26px 70px rgba(48, 54, 104, 0.28);
}

.results-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.08), transparent 56%);
  animation: readoutSweep 3.2s ease-in-out infinite;
}

.results-card .eyebrow,
.results-card p {
  color: rgba(255, 255, 255, 0.75);
}

.result-bars {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 15px;
  margin-top: 24px;
}

.result-bars span {
  display: grid;
  gap: 8px;
}

.result-bars i {
  display: block;
  width: 4%;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--omni-blue), var(--omni-purple), var(--omni-cyan));
  box-shadow: 0 0 24px rgba(85, 228, 255, 0.32);
  transition: width 480ms cubic-bezier(0.2, 1.5, 0.2, 1);
}

.plan-orbit {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.plan-card {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  padding: 30px;
  border-radius: 28px 48px 28px 48px;
  animation: planFloat 6s ease-in-out infinite;
}

.plan-card:nth-child(2) {
  border-radius: 48px 28px 48px 28px;
}

.plan-card:nth-child(3) {
  border-radius: 28px 28px 52px 52px;
}

.plan-card:nth-child(2) {
  animation-delay: -2s;
}

.plan-card:nth-child(3) {
  animation-delay: -4s;
}

.plan-card span {
  display: inline-grid;
  place-items: center;
  min-width: 72px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  font-weight: 1000;
  background: linear-gradient(135deg, var(--omni-blue), var(--omni-purple));
}

.plan-card.featured {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(85, 228, 255, 0.22), transparent 35%),
    linear-gradient(145deg, var(--omni-blue), var(--omni-purple) 72%, var(--omni-violet));
  box-shadow: 0 36px 92px rgba(77, 97, 255, 0.42), var(--shadow-dark-inset);
}

.plan-card.featured p,
.plan-card.featured span {
  color: rgba(255, 255, 255, 0.86);
}

.build-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.78fr);
  gap: 30px;
  align-items: center;
}

.clay-large,
.contact-card {
  position: relative;
  padding: clamp(30px, 5vw, 62px);
  border-radius: var(--radius-xl);
}

.build-stack {
  position: relative;
  display: grid;
  gap: 16px;
}

.build-stack span {
  display: block;
  transform: translateX(calc(var(--i) * -10px));
  border-radius: 34px 18px 34px 18px;
  padding: 20px;
  font-weight: 1000;
  cursor: default;
  user-select: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(224, 234, 255, 0.74));
  box-shadow: var(--shadow-mid), var(--shadow-inset);
  animation: stackWave 4.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.45s);
}

.build-stack span:nth-child(even) {
  border-radius: 18px 34px 18px 34px;
}

.resource-marquee {
  display: flex;
  overflow: hidden;
  border-radius: 34px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: var(--shadow-inset);
}

.resource-marquee div {
  display: flex;
  flex-shrink: 0;
  gap: 16px;
  min-width: 100%;
  padding-right: 16px;
  animation: marqueeMove 18s linear infinite;
}

.contact-card {
  text-align: center;
}

.site-footer {
  padding: 42px clamp(16px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(145deg, #111426, #17162d);
  flex-wrap: wrap;
}

.site-footer img {
  width: 180px;
}

.site-footer a {
  margin-right: 16px;
  color: #fff;
  font-weight: 850;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(224, 234, 255, 0.78));
  box-shadow: var(--shadow-mid), var(--shadow-inset);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--ink);
}

.legal-page {
  width: min(920px, calc(100% - 34px));
  margin: 0 auto;
  padding: 82px 0;
}

.legal-page h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.legal-page h2 {
  margin-top: 28px;
}

.legal-nav {
  display: flex;
}

.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal.reveal-ready {
  opacity: 0;
  transform: translateY(44px) scale(0.96);
  filter: blur(8px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.18, 1.35, 0.24, 1),
    filter 760ms ease;
}

.tilting {
  transform-style: preserve-3d;
}

@keyframes atmosphereSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.08);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes clayMelt {
  0%,
  100% {
    border-radius: 35% 65% 56% 44% / 42% 38% 62% 58%;
    transform: translate3d(var(--mx, 0), var(--my, 0), 0) rotate(0deg);
  }
  50% {
    border-radius: 62% 38% 42% 58% / 58% 62% 38% 42%;
    transform: translate3d(calc(var(--mx, 0) + 22px), calc(var(--my, 0) - 28px), 0) rotate(9deg);
  }
}

@keyframes gridDrift {
  from {
    transform: rotate(-14deg) translate3d(0, 0, 0);
  }
  to {
    transform: rotate(-14deg) translate3d(92px, 92px, 0);
  }
}

@keyframes buttonShine {
  0%,
  42% {
    transform: translateX(-72%) rotate(18deg);
  }
  68%,
  100% {
    transform: translateX(72%) rotate(18deg);
  }
}

@keyframes tagFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1.8deg);
  }
}

@keyframes heroMachineFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(0.8deg);
  }
}

@keyframes coreMorph {
  0%,
  100% {
    border-radius: 42% 58% 48% 52% / 48% 44% 56% 52%;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  50% {
    border-radius: 56% 44% 62% 38% / 42% 58% 44% 56%;
    transform: translate(-50%, -50%) rotate(9deg) scale(1.045);
  }
}

@keyframes reactorSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes nodeBob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes readoutPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.018);
  }
}

@keyframes panelCurrent {
  0%,
  100% {
    transform: translateY(0) scaleX(1);
  }
  50% {
    transform: translateY(-20px) scaleX(1.2);
  }
}

@keyframes scannerSweep {
  0%,
  100% {
    transform: translateY(0) scaleX(0.54);
    opacity: 0.36;
  }
  50% {
    transform: translateY(360px) scaleX(1.1);
    opacity: 0.9;
  }
}

@keyframes stepBlast {
  from {
    opacity: 0;
    transform: translateX(32px) scale(0.96) rotate(1.2deg);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0);
    filter: blur(0);
  }
}

@keyframes readoutSweep {
  0% {
    transform: translateX(-90%);
  }
  50%,
  100% {
    transform: translateX(90%);
  }
}

@keyframes planFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-0.7deg);
  }
}

@keyframes stackWave {
  0%,
  100% {
    transform: translateX(calc(var(--i) * -10px)) translateY(0) rotate(0deg);
  }
  50% {
    transform: translateX(calc(var(--i) * -10px + 18px)) translateY(-10px) rotate(-1deg);
  }
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (max-width: 1040px) {
  .hero,
  .assessment-panel,
  .build-section {
    grid-template-columns: 1fr;
  }

  .leak-stage,
  .plan-orbit {
    grid-template-columns: 1fr 1fr;
  }

  .foundation-ribbon {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .foundation-ribbon i {
    display: none;
  }

  .reactor-shell {
    min-height: 560px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 86px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-high), var(--shadow-inset);
  }

  .site-nav.open {
    display: flex;
    animation: stepBlast 320ms cubic-bezier(0.2, 1.3, 0.2, 1) both;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 10px;
    padding-inline: 18px;
  }

  .brand {
    max-width: calc(100% - 72px);
  }

  .brand img {
    width: 188px;
    max-width: 100%;
  }

  .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.13em;
  }

  .section-shell {
    width: min(100% - 48px, 408px);
    max-width: 1200px;
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
    overflow: visible;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(2.45rem, 10.5vw, 3.15rem);
  }

  .hero-copy,
  .hero-text {
    width: 100%;
    max-width: 360px;
  }

  .hero-copy {
    text-align: center;
    margin-inline: auto;
  }

  .section-heading h2,
  .quiz-intro h2,
  .clay-large h2,
  .contact-card h2 {
    font-size: clamp(1.95rem, 8.8vw, 2.65rem);
  }

  .service-section .section-heading h2 {
    max-width: 360px;
    font-size: clamp(2.15rem, 9vw, 2.75rem);
  }

  .reactor-shell {
    width: 100%;
    max-width: 100%;
    min-height: 470px;
    border-radius: 34px;
    padding: 14px;
    overflow: hidden;
  }

  .reactor-top {
    align-items: center;
    gap: 8px;
  }

  .reactor-top span {
    min-width: 0;
    max-width: 205px;
    line-height: 1.1;
  }

  .reactor-top strong {
    flex: 0 0 auto;
    max-width: 92px;
    margin-left: auto;
    margin-right: 8px;
    padding: 7px 8px;
    font-size: 0.64rem;
  }

  .reactor-core {
    min-height: 310px;
    border-radius: 32px;
  }

  .core-node {
    width: 104px;
    min-height: 72px;
    border-radius: 22px;
  }

  .core-node b {
    font-size: 0.78rem;
  }

  .core-disc {
    width: 144px;
  }

  .reactor-readout {
    padding: 18px;
    border-radius: 28px;
  }

  .reactor-readout h2 {
    font-size: clamp(1.35rem, 7vw, 1.85rem);
  }

  .leak-stage,
  .plan-orbit,
  .choice-grid,
  .field-row,
  .foundation-ribbon {
    grid-template-columns: 1fr;
  }

  .foundation-ribbon {
    align-items: stretch;
    padding: 16px;
    gap: 10px;
    text-align: center;
  }

  .foundation-ribbon strong {
    max-width: 280px;
    margin-inline: auto;
  }

  .foundation-ribbon strong:last-child {
    padding-bottom: 0;
  }

  .leak-panel:nth-child(even) {
    transform: none;
  }

  .leak-panel:nth-child(even):not(:hover):not(:focus-visible):not(.active) {
    transform: none;
  }

  .leak-panel:hover,
  .leak-panel:focus-visible,
  .leak-panel.active {
    transform: translateY(-8px) scale(1.012);
  }

  .leak-panel,
  .assessment-panel,
  .plan-card,
  .clay-large,
  .contact-card {
    border-radius: 30px;
  }

  .assessment-panel {
    width: min(100%, 382px);
    margin-inline: auto;
    padding: 22px;
    gap: 24px;
    overflow: visible;
    grid-template-areas:
      "intro"
      "quiz"
      "result";
  }

  .assessment-panel::before {
    inset: 8px;
  }

  .assessment-panel::after {
    display: none;
  }

  .quiz-intro {
    text-align: center;
  }

  .quiz-intro p {
    margin-inline: auto;
  }

  .quiz {
    width: 100%;
  }

  .progress-wrap {
    gap: 12px;
    margin: 20px 0 24px;
  }

  .progress-track {
    width: 100%;
    flex: none;
  }

  .quiz-step.active {
    gap: 14px;
  }

  .quiz-step legend {
    width: 100%;
    margin-bottom: 16px;
    text-align: center;
  }

  .choice-grid {
    gap: 12px;
  }

  .choice-grid label {
    min-height: auto;
    padding: 16px 15px;
    border-radius: 24px 18px 24px 18px;
    align-items: center;
    line-height: 1.25;
    box-shadow: 12px 12px 26px rgba(72, 88, 145, 0.12), -8px -8px 20px rgba(255, 255, 255, 0.76), var(--shadow-inset);
  }

  .choice-grid label:nth-child(even) {
    border-radius: 18px 24px 18px 24px;
  }

  .choice-grid input[type="radio"] {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
    min-height: 24px;
  }

  label {
    gap: 10px;
  }

  .field-row {
    gap: 14px;
  }

  input,
  select,
  textarea {
    min-height: 58px;
    border-radius: 22px;
  }

  .checkline {
    padding: 14px;
    border-radius: 18px 24px 18px 24px;
    text-align: left;
  }

  .results-card {
    min-height: auto;
    padding: 22px;
    border-radius: 28px;
    align-self: auto;
    box-shadow: var(--shadow-dark-inset), 0 18px 44px rgba(48, 54, 104, 0.24);
  }

  .results-card h3 {
    margin-top: 12px;
    font-size: 1.18rem;
  }

  .result-bars {
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
    margin-top: 18px;
  }

  .result-bars i {
    height: 11px;
  }

  .progress-wrap,
  .quiz-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .nav-cta {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .button {
    max-width: 360px;
  }

  .hero-proofline {
    justify-content: center;
  }

  .hero-proofline span {
    max-width: 100%;
  }

  .site-footer {
    align-items: flex-start;
  }
}

@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 {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
