:root {
  --bg: #080a13;
  --bg-soft: #0d101b;
  --ink: #f7f5f6;
  --muted: #acaab4;
  --line: rgba(255, 255, 255, .14);
  --accent: #ed0878;
  --accent-deep: #b9005b;
  --ok: #9ce1b1;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
button, input { font: inherit; }
img { max-width: 100%; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding-bottom: 86px;
  background:
    radial-gradient(circle at 84% 3%, rgba(237, 8, 120, .17), transparent 34%),
    linear-gradient(180deg, #0b0d17 0%, var(--bg) 74%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.22) .7px, transparent .7px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -210px;
  top: 120px;
  border: 1px solid rgba(237, 8, 120, .3);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(237, 8, 120, .09), inset 0 0 100px rgba(237, 8, 120, .05);
}
.nav {
  position: relative;
  z-index: 3;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 140px; height: auto; }
.nav > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: clamp(58px, 8vw, 108px);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, p { text-wrap: pretty; }
h1 {
  max-width: 1040px;
  margin: 0;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(56px, 8.5vw, 112px);
  line-height: .91;
  letter-spacing: -.065em;
  text-transform: uppercase;
}
h1 em { color: var(--accent); font-style: normal; }
.lead {
  max-width: 720px;
  margin: 30px 0 0;
  color: #d8d6dc;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.38;
}
.hero-action { max-width: 680px; margin-top: 34px; }
.form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.form input {
  min-width: 0;
  height: 62px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 7px;
  outline: none;
  background: rgba(6,8,15,.82);
  color: var(--ink);
}
.form input::placeholder { color: #777984; }
.form input:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(237,8,120,.18); }
.form button {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  border: 0;
  border-radius: 7px;
  background: var(--accent);
  color: white;
  font-weight: 900;
  cursor: pointer;
  transition: translate .16s ease, background-color .16s ease;
}
.form button span:last-child { font-size: 22px; transition: translate .16s ease; }
.form button:hover { background: #ff168b; translate: 0 -2px; }
.form button:hover span:last-child { translate: 3px -3px; }
.form button:disabled { opacity: .65; cursor: wait; translate: 0 0; }
.form-note { min-height: 24px; margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.form-note[data-state="ok"] { color: var(--ok); }
.form-note[data-state="error"] { color: #ff9bad; }

.hero-proof {
  --proof-shift: 0px;
  position: relative;
  z-index: 1;
  margin-top: 64px;
  padding: 1px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: #0f1220;
  box-shadow: 0 45px 120px rgba(0,0,0,.5);
  translate: 0 var(--proof-shift);
  will-change: translate;
}
.hero-proof img { display: block; width: 100%; height: auto; border-radius: 16px; }
.hero-proof figcaption { padding: 13px 17px 14px; color: var(--muted); font-size: 13px; }
.proof-edge {
  position: absolute;
  z-index: 2;
  top: -1px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 26px rgba(237,8,120,.75);
}

.numbers { background: #f0eef1; color: #151620; }
.number-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 48px;
}
.number-line > div { padding: 0 30px; border-left: 1px solid #cac8cf; }
.number-line > div:first-child { padding-left: 0; border-left: 0; }
.number-line strong {
  display: block;
  font-family: "Arial Black", Arial, sans-serif;
  color: var(--accent-deep);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -.05em;
}
.number-line span { display: block; margin-top: 9px; color: #61616b; font-weight: 700; }

.principle { padding-block: 120px; }
.principle-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: center; }
h2 {
  margin: 0;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(44px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.terminal { overflow: hidden; border-top: 1px solid rgba(237,8,120,.8); background: #0c0f19; box-shadow: 22px 24px 0 #121522; }
.terminal-bar { height: 54px; display: flex; align-items: center; gap: 9px; padding: 0 18px; border-bottom: 1px solid var(--line); background: #151826; }
.terminal-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.terminal-bar i:nth-child(2) { background: #febc2e; }
.terminal-bar i:nth-child(3) { background: #28c840; }
.terminal-bar span { margin-left: 10px; color: #a9a9b4; font: 14px ui-monospace, SFMono-Regular, Menlo, monospace; }
.terminal pre { margin: 0; padding: 34px; overflow: auto; color: #d9d8df; font: 16px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.terminal code b { color: var(--accent); }
.terminal code strong { color: white; font-size: 20px; }

.contents { padding: 36px 0 120px; }
.section-intro { display: grid; grid-template-columns: 1fr 1.25fr; column-gap: 70px; margin-bottom: 50px; }
.section-intro .eyebrow { grid-column: 1 / -1; }
.section-intro p:last-child { max-width: 490px; margin: 8px 0 0; color: var(--muted); font-size: 20px; }
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 82px minmax(260px, 390px) 1fr;
  gap: 34px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.row .num { color: var(--accent); font: 14px ui-monospace, SFMono-Regular, Menlo, monospace; }
.row h3 { margin: 0; font-size: 25px; line-height: 1.15; letter-spacing: -.025em; }
.row p { margin: 0; color: var(--muted); }
code { color: #f6b5d4; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.final-cta { padding-block: 105px; background: var(--accent); color: white; }
.final-cta .eyebrow { color: #4c0027; }
.final-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 82px; align-items: center; }
.final-cta h2 { font-size: clamp(42px, 5.5vw, 72px); }
.final-cta .form input { background: white; color: #151620; border-color: white; }
.final-cta .form input::placeholder { color: #77717a; }
.final-cta .form button { background: #11131d; }
.final-cta .form button:hover { background: #252735; }
.final-cta .form-note { color: rgba(255,255,255,.82); }
.final-cta .form-note[data-state="ok"] { color: white; }

footer { padding-block: 28px; border-top: 1px solid var(--line); color: #777984; font-size: 13px; }
footer .shell { display: flex; justify-content: space-between; gap: 30px; }

html[data-js] .hero-copy > *, html[data-js] .hero-proof {
  opacity: 0;
  animation: hero-in .72s cubic-bezier(.16,1,.3,1) forwards;
}
html[data-js] .hero-copy > :nth-child(1) { animation-delay: .08s; }
html[data-js] .hero-copy > :nth-child(2) { animation-delay: .15s; }
html[data-js] .hero-copy > :nth-child(3) { animation-delay: .23s; }
html[data-js] .hero-copy > :nth-child(4) { animation-delay: .31s; }
html[data-js] .hero-proof { animation-delay: .38s; }
@keyframes hero-in { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
html[data-js] .reveal { opacity: 0; translate: 0 26px; transition: opacity .62s ease, translate .62s cubic-bezier(.16,1,.3,1); }
html[data-js] .reveal.is-visible { opacity: 1; translate: 0 0; }

@media (max-width: 900px) {
  .principle-grid, .section-intro, .final-grid { grid-template-columns: 1fr; gap: 38px; }
  .number-line { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .number-line > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .row { grid-template-columns: 54px 1fr; gap: 18px; }
  .row p { grid-column: 2; }
  .terminal { box-shadow: 14px 16px 0 #121522; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-bottom: 58px; }
  .nav { min-height: 68px; }
  .brand img { width: 116px; }
  .nav > span { font-size: 10px; letter-spacing: .09em; }
  .hero-copy { padding-top: 46px; }
  h1 { font-size: clamp(47px, 14vw, 70px); }
  .lead { margin-top: 23px; font-size: 19px; }
  .hero-action { margin-top: 26px; }
  .form { grid-template-columns: 1fr; }
  .form button { width: 100%; }
  .hero-proof { margin-top: 42px; border-radius: 11px; }
  .hero-proof img { border-radius: 9px; }
  .number-line { padding-block: 38px; }
  .number-line > div { padding: 0 16px; }
  .number-line strong { font-size: 40px; }
  .number-line span { font-size: 13px; }
  .principle { padding-block: 82px; }
  .terminal pre { padding: 24px 18px; font-size: 12px; }
  .terminal code strong { font-size: 15px; }
  .contents { padding-bottom: 82px; }
  .section-intro { margin-bottom: 34px; }
  .row { grid-template-columns: 38px 1fr; padding: 28px 0; }
  .row h3 { font-size: 21px; }
  .final-cta { padding-block: 76px; }
  footer .shell { flex-direction: column; gap: 8px; }
}

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