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

:root {
  --bg:        #05070A;
  --bg-raise:  #0B0F14;
  --bg-card:   #0E1319;
  --acid:      #C9FF3F;
  --acid-dim:  rgba(201, 255, 63, 0.10);
  --acid-line: rgba(201, 255, 63, 0.28);
  --text:      #F2F4F0;
  --muted:     #8A9299;
  --faint:     #565E66;
  --stroke:    rgba(255, 255, 255, 0.08);

  --display: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gut: clamp(20px, 5vw, 64px);
  --max: 1140px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

a { color: inherit; }

.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acid);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  flex-shrink: 0;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--stroke);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 62px;
}

.logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.logo span { color: var(--acid); }

.nav-links { display: flex; align-items: center; gap: 30px; }

.nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--acid);
  color: #05070A;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 9px 16px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,255,63,0.22); }
.nav-cta svg { width: 14px; height: 14px; fill: currentColor; }

/* ── Hero ── */
.hero {
  position: relative;
  padding: clamp(70px, 12vw, 132px) 0 clamp(56px, 9vw, 104px);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 78%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 620px;
  max-width: 150vw;
  background: radial-gradient(ellipse at center, rgba(201,255,63,0.13), transparent 66%);
  pointer-events: none;
}

.hero-inner { position: relative; }

.hero h1 {
  font-size: clamp(52px, 13.5vw, 148px);
  margin: 22px 0 0;
  max-width: 12ch;
}

.hero h1 em { font-style: normal; color: var(--acid); }

.hero-sub {
  margin-top: 26px;
  max-width: 56ch;
  font-size: clamp(16.5px, 2.1vw, 20px);
  color: var(--muted);
  line-height: 1.55;
}

.hero-sub strong { color: var(--text); font-weight: 600; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--acid);
  color: #05070A;
  text-decoration: none;
  padding: 14px 24px 14px 20px;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-store:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(201,255,63,0.24); }
.btn-store svg { width: 26px; height: 26px; fill: currentColor; flex-shrink: 0; }
.btn-store .l1 { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; opacity: 0.68; line-height: 1.3; }
.btn-store .l2 { display: block; font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--stroke);
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 12px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.btn-ghost:hover { border-color: var(--acid-line); background: var(--acid-dim); }

.hero-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--faint);
  letter-spacing: 0.01em;
}

/* ── Section shell ── */
section { padding: clamp(64px, 9vw, 118px) 0; }

.sec-head { max-width: 62ch; }

.sec-head h2 {
  font-size: clamp(32px, 6vw, 60px);
  margin: 18px 0 0;
}

.sec-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(15.5px, 1.9vw, 17.5px);
  max-width: 52ch;
}

.rule { height: 1px; background: var(--stroke); }

/* ── How it works ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 54px;
  background: var(--stroke);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  overflow: hidden;
}

@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  background: var(--bg-raise);
  padding: 30px 26px 32px;
  display: flex;
  flex-direction: column;
  transition: background 0.22s ease;
}

.step:hover { background: var(--bg-card); }

.step-fig {
  width: 100%;
  height: 96px;
  margin-bottom: 24px;
}

.step-fig svg { width: 100%; height: 100%; display: block; overflow: visible; }

.step-n {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--acid);
}

.step h3 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-size: 21px;
  margin: 12px 0 10px;
  line-height: 1.05;
}

.step p { font-size: 14.5px; color: var(--muted); line-height: 1.62; }

/* ── Features ── */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 54px;
}

@media (max-width: 740px) {
  .features { grid-template-columns: 1fr; }
}

.feat {
  position: relative;
  background: var(--bg-raise);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 30px 28px 32px;
  overflow: hidden;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.feat:hover { border-color: var(--acid-line); transform: translateY(-3px); }

.feat-ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--acid-dim);
  border: 1px solid var(--acid-line);
  margin-bottom: 22px;
}

.feat-ico svg { width: 21px; height: 21px; stroke: var(--acid); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.feat h3 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 18.5px;
  line-height: 1.12;
  margin-bottom: 11px;
}

.feat p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

.feat-tag {
  display: inline-block;
  margin-top: 18px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ── Pro ── */
.pro-band { border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); background: var(--bg-raise); }

.pro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding-top: clamp(46px, 7vw, 76px);
  padding-bottom: clamp(46px, 7vw, 76px);
}

.pro-copy { flex: 1 1 380px; }

.pro h2 {
  font-size: clamp(30px, 5vw, 46px);
  margin: 16px 0 0;
}

.pro h2 em { font-style: normal; color: var(--acid); }

.pro p { margin-top: 16px; color: var(--muted); max-width: 46ch; font-size: 16px; }

.pro-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 22px;
}

.pro-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.pro-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  flex-shrink: 0;
}

.pro-cta { flex: 0 1 auto; }

/* ── Footer ── */
footer { padding: 56px 0 44px; }

.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 34px;
}

.foot-brand { max-width: 34ch; }
.foot-brand p { margin-top: 14px; font-size: 13.5px; color: var(--faint); line-height: 1.6; }

.foot-links { display: flex; flex-wrap: wrap; gap: 28px; }

.foot-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.foot-links a:hover { color: var(--acid); }

.foot-bot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 30px;
  border-top: 1px solid var(--stroke);
  font-size: 12px;
  color: var(--faint);
}

/* ── Motion ── */
.draw { stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.5s ease forwards; }
.draw.d2 { animation-delay: 0.15s; }
.draw.d3 { animation-delay: 0.3s; }
.draw.d4 { animation-delay: 0.45s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.rise { animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.rise.r2 { animation-delay: 0.08s; }
.rise.r3 { animation-delay: 0.16s; }
.rise.r4 { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: 0.001s !important;
  }
  .draw { stroke-dashoffset: 0; }
}

:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; border-radius: 4px; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .nav-links { display: none; }
}

@media (max-width: 520px) {
  .hero h1 { max-width: 100%; }
  .cta-row { gap: 10px; }
  .btn-store, .btn-ghost { width: 100%; justify-content: center; }
  .foot-links { gap: 18px; }
}
