:root {
  --ink: #0b0f0c;
  --ink-2: #121812;
  --paper: #f3efe4;
  --acid: #e8ff3d;
  --mute: #8a9184;
  --line: rgba(243, 239, 228, 0.14);
  --line-strong: rgba(243, 239, 228, 0.28);
  --nav-h: 72px;
  --page: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--ink); color: var(--paper); }
body {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 200;
  background: var(--acid);
  color: var(--ink);
  padding: 8px 12px;
}

body::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 10px;
  border: 1px solid var(--line);
  z-index: 90;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: min(var(--page), calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--acid);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--acid);
}

h1, h2, .display {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.92;
}
h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.lede {
  max-width: 42ch;
  color: #c9cfc2;
  font-size: 1.08rem;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-acid {
  background: var(--acid);
  color: var(--ink);
}
.btn-acid:hover { background: #f3ff6a; }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 15, 12, 0.78);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--page), calc(100% - 48px));
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
}
.brand img, .brand svg { width: 32px; height: 32px; flex: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--mute);
  font-size: 14px;
}
.nav-links a:hover { color: var(--paper); }
.nav-cta { margin-left: 8px; min-height: 40px; padding-inline: 14px; font-size: 12px; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--paper);
  content: "";
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Hero — one composition, brand first, full-bleed plane */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--nav-h));
  display: grid;
  align-items: end;
  padding: 56px 0 96px;
  overflow: clip;
}
.hero-plane {
  position: absolute;
  inset: -8% 0 -12%;
  pointer-events: none;
  color: var(--acid);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 62% 38%, #000 18%, transparent 70%);
  will-change: transform;
}
.hero-glow {
  position: absolute;
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  right: -6%;
  top: 4%;
  background: radial-gradient(circle, rgba(232, 255, 61, 0.18), transparent 68%);
  filter: blur(10px);
  will-change: transform;
}
.hero-via {
  position: absolute;
  right: -4%;
  top: 6%;
  width: min(62vw, 720px);
  height: auto;
  opacity: 0.55;
  will-change: transform;
}
.via-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw-via 2.4s var(--ease) 0.2s forwards;
}
.via-node {
  fill: var(--ink);
  stroke: currentColor;
  stroke-width: 2.5;
}
.via-pulse {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  opacity: 0.55;
  transform-origin: 460px 72px;
  animation: node-pulse 2.8s ease-out infinite;
}
@keyframes draw-via {
  to { stroke-dashoffset: 0; }
}
@keyframes node-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(2.4); opacity: 0; }
}
.giant {
  position: absolute;
  left: -2%;
  bottom: 2%;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(6.5rem, 20vw, 17rem);
  line-height: 0.78;
  letter-spacing: -0.06em;
  color: var(--paper);
  opacity: 0.05;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-bottom: 8px;
}
.brand-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper);
}
.brand-hero img { width: 28px; height: 28px; }
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  max-width: 14ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--acid);
}
.hero .lede { margin-bottom: 0; }

.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 16px;
  margin: 28px 0 30px;
}
.price-line-amount {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--acid);
}
.price-line-meta {
  color: var(--mute);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  z-index: 2;
}
.scroll-cue span {
  width: 4px;
  height: 8px;
  background: var(--acid);
  border-radius: 2px;
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* Ticker */
.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
}
.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
  color: var(--mute);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ticker b { color: var(--acid); font-weight: 500; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
section { padding: 120px 0; }
.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 720px;
}

.problem {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.problem-sticky { position: sticky; top: 108px; }
.pain {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pain article {
  background: var(--ink);
  padding: 28px 24px;
}
.pain h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.pain p { color: var(--mute); }

/* Story / sticky how-to */
.story {
  padding: 0;
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}
.story-pin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
@media (min-width: 961px) {
  .story { height: 320vh; }
  .story-pin {
    position: sticky;
    top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
  }
}
.story-visual {
  position: relative;
  padding: 96px 48px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
}
.story-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.story-progress i {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--acid);
  transition: height 0.25s linear;
}
.story-screen {
  width: min(420px, 100%);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: var(--ink);
  padding: 28px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  animation: screen-in 0.45s var(--ease);
}
.story-screen.is-on { display: flex; }
.story-screen .k {
  color: var(--mute);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
}
.story-screen .big {
  font-family: Fraunces, Georgia, serif;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
}
.story-screen .muted { color: var(--mute); }
.story-screen .ok { color: var(--acid); }
.story-screen .tagline {
  color: var(--acid);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@keyframes screen-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.story-steps {
  padding: 64px 48px;
  display: grid;
  align-content: center;
  gap: 0;
}
.story-steps li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.38;
  transition: opacity 0.35s;
}
.story-steps li.is-active { opacity: 1; }
.story-steps .n {
  color: var(--acid);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.story-steps h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 8px 0 8px;
}
.story-steps p { color: var(--mute); max-width: 42ch; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--acid);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(232, 255, 61, 0.18);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 255, 61, 0.45); }
  100% { box-shadow: 0 0 0 12px rgba(232, 255, 61, 0); }
}
.qr-fake {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  flex: 1;
  margin: 18px 0;
  padding: 10px;
  background: var(--paper);
}
.qr-fake i {
  display: block;
  aspect-ratio: 1;
  background: var(--ink);
}
.qr-fake i.off { background: transparent; }

.nodes {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 160px;
  width: 100%;
}
.node {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--acid);
}
.node.lg { width: 22px; height: 22px; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.features-grid article {
  background: var(--ink);
  padding: 32px 28px 40px;
  min-height: 240px;
  transition: background 0.3s;
}
.features-grid article:hover { background: #101610; }
.features-grid .ico {
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  color: var(--acid);
}
.features-grid h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.features-grid p { color: var(--mute); }

/* API */
.api {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.code {
  background: #070a08;
  border: 1px solid var(--line);
  padding: 22px 22px 18px;
  overflow: auto;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #c9cfc2;
}
.code .hd {
  display: flex;
  justify-content: space-between;
  color: var(--mute);
  margin-bottom: 14px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.code .kw { color: var(--acid); }
.code .str { color: #9ae6b4; }
.code .cmt { color: #5d6358; }

/* Pricing */
.pricing { position: relative; }
.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(232, 255, 61, 0.08), transparent 55%);
  pointer-events: none;
}
.price-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
}
.price-card {
  border: 1px solid var(--acid);
  background: var(--ink-2);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.price-card .tag {
  color: var(--ink);
  background: var(--acid);
  align-self: start;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 8px;
  font-weight: 500;
}
.amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.amount strong {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(3.4rem, 8vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.amount small {
  color: var(--mute);
  font-size: 14px;
}
.perks { display: grid; gap: 10px; color: #c9cfc2; }
.perks li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}
.perks li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  background: var(--acid);
}

.calc {
  border: 1px solid var(--line);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: rgba(18, 24, 18, 0.55);
}
.calc h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.qty-row button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.qty-row button:hover { border-color: var(--acid); color: var(--acid); }
.qty-row output {
  font-family: Fraunces, Georgia, serif;
  font-size: 2.4rem;
  min-width: 2ch;
  text-align: center;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--acid);
  margin: 18px 0 14px;
}
.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.total b {
  font-family: Fraunces, Georgia, serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--acid);
}
.hint { color: var(--mute); font-size: 14px; }
.instances-preview {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dot-inst {
  width: 28px;
  height: 28px;
  border: 1px solid var(--acid);
  background: rgba(232, 255, 61, 0.12);
  transition: transform 0.25s var(--ease);
}
.dot-inst:nth-child(odd) { transform: translateY(-2px); }

.compare {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.compare-label {
  color: var(--mute);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.compare-grid > div {
  background: var(--ink);
  padding: 24px 22px;
}
.compare-grid span {
  display: block;
  color: var(--mute);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.compare-grid strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.compare-grid p { color: var(--mute); font-size: 14px; }
.compare-grid .is-us {
  background: rgba(232, 255, 61, 0.08);
}
.compare-grid .is-us strong { color: var(--acid); }

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--acid);
  font-size: 1.4rem;
}
.faq details[open] summary::after { content: "–"; }
.faq p {
  color: var(--mute);
  margin-top: 12px;
  max-width: 62ch;
}

/* Close */
.close {
  text-align: center;
  padding: 140px 0 120px;
}
.close h2 { margin: 16px auto 18px; max-width: 16ch; }
.close .lede { margin: 0 auto 32px; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--mute);
  font-size: 13px;
}
.footer a:hover { color: var(--acid); }
.legal { max-width: 52ch; }

/* Mobile CTA dock */
.dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(11, 15, 12, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}
.dock.is-on { transform: none; }
.dock .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dock b { font-family: Fraunces, Georgia, serif; font-size: 1.35rem; font-weight: 500; }
.dock span { display: block; color: var(--mute); font-size: 12px; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s var(--ease) forwards;
}
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }
.reveal:nth-child(5) { animation-delay: 0.32s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

.reveal-on {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-on.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  body::after { inset: 0; border: 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(11, 15, 12, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a, .nav-links .btn { padding: 12px 0; }
  .nav-toggle { display: block; }
  .hero .wrap, .problem, .story-pin, .api, .price-layout, .compare-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: calc(100dvh - var(--nav-h));
    align-items: center;
    padding: 40px 0 100px;
  }
  .hero-via {
    width: min(92vw, 480px);
    right: -18%;
    top: 8%;
    opacity: 0.35;
  }
  .hero h1 { max-width: none; }
  .features-grid { grid-template-columns: 1fr; }
  .story-visual { display: none; }
  .story-steps { padding: 72px 24px; }
  .story-steps li { opacity: 1; }
  .problem-sticky { position: static; }
  section { padding: 80px 0; }
  .dock { display: block; }
  .nav-cta { display: none; }
  .footer { padding-bottom: 96px; }
  .scroll-cue { display: none; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .amount strong { font-size: 3.2rem; }
  .brand-hero { letter-spacing: 0.2em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track,
  .reveal,
  .status::before,
  .via-line,
  .via-pulse,
  .scroll-cue span,
  .story-screen {
    animation: none;
  }
  .via-line { stroke-dashoffset: 0; }
  .reveal, .reveal-on { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
  .dock { transition: none; }
}
