:root {
  --bg: #07090d;
  --surface: #10131a;
  --raised: #161a22;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f6f8;
  --muted: #8b93a1;
  --brand: #3b9eff;
  --green: #34d399;
  --danger: #f87171;
  --font: Inter, ui-sans-serif, system-ui, sans-serif;
  --header: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  border-bottom: 1px solid var(--border);
  background: rgba(7, 9, 13, 0.86);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 13px;
  text-transform: uppercase;
}

.brand img {
  height: 28px;
  width: auto;
  mix-blend-mode: screen;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
}

.main-nav a.on { color: var(--text); }
.main-nav a:hover { color: var(--text); }
.main-nav a.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--brand);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 20px;
}

.btn,
.btn-dark,
.btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn {
  background: var(--brand);
  color: #041018;
}

.btn:hover { background: #6bb4ff; }
.btn:disabled { opacity: 0.55; cursor: wait; }

.btn-dark {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-dark:hover { border-color: rgba(255, 255, 255, 0.22); }

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 88px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 320px at 50% -10%, rgba(59, 158, 255, 0.2), transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; }

.hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-mark img {
  height: 72px;
  width: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 12px 32px rgba(59, 158, 255, 0.35));
}

.word {
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.letters {
  display: none;
}

.hero h1 {
  max-width: 18ch;
  margin: 0 auto 14px;
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.lead {
  max-width: 42ch;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.online i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.f8 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.f8 code,
.step code {
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--brand);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.btn-copy {
  height: 34px;
  padding: 0 12px;
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
  font-size: 12px;
}

.btn-copy:hover { color: var(--text); }

.section { padding: 24px 0 96px; }

.kicker {
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.section .sub {
  color: var(--muted);
  max-width: 50ch;
  margin-bottom: 24px;
}

.steps { display: grid; gap: 8px; }

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.step b {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(59, 158, 255, 0.1);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.step h3 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.step p { color: var(--muted); font-size: 14px; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.feature {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.feature h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; }

.page-rules .wrap {
  width: min(720px, calc(100% - 48px));
}

.page-rules .nav-inner {
  width: min(1080px, calc(100% - 48px));
}

.page-hero {
  padding: 56px 0 8px;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.page-hero p {
  color: var(--muted);
  margin-top: 8px;
  max-width: 48ch;
}

.status {
  margin: 12px 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.status.error { color: var(--danger); }
.status[hidden] { display: none; }

.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 28px 0 24px;
}

.tier {
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.tier.featured {
  border-color: rgba(59, 158, 255, 0.45);
}

.tier-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 0;
  background: transparent !important;
  color: inherit !important;
  border: 0;
}

.tier-top b {
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tier-top span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier-body { padding: 12px 20px 20px; }

.price {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
}

.price small {
  margin-left: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.includes li {
  position: relative;
  padding: 4px 0 4px 16px;
  color: var(--muted);
  font-size: 14px;
}

.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.tier .btn {
  width: 100%;
  margin-top: 16px;
}

.note {
  color: var(--muted);
  font-size: 13px;
  padding-bottom: 72px;
}

.note a { text-decoration: underline; text-underline-offset: 3px; }

.rules {
  padding: 24px 0 88px;
  max-width: 720px;
}

.group {
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 32px 0 4px;
  scroll-margin-top: 88px;
}

.group:first-child { margin-top: 0; }

.rule {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.rule h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.rule p { color: var(--muted); font-size: 14px; }

.done {
  min-height: calc(100vh - var(--header));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
}

.done h1 { font-size: 36px; font-weight: 600; }
.done p { color: var(--muted); margin: 10px 0 24px; }

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 13px;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.foot-links {
  display: flex;
  gap: 18px;
}

.foot-links a:hover { color: var(--text); }

@media (max-width: 860px) {
  .features, .tiers { grid-template-columns: 1fr; }
  .nav-inner > .btn { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 24px 16px;
    background: #07090d;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; }
  .nav-inner { position: relative; }
  .hero-mark { flex-direction: column; gap: 8px; }
}

@media (max-width: 560px) {
  .wrap, .nav-inner { width: calc(100% - 32px); }
  .hero { padding: 56px 0 64px; }
  .price { font-size: 24px; }
}
