:root {
  color-scheme: dark;
  --bg: #020706;
  --panel: rgba(0, 18, 14, 0.74);
  --panel-deep: rgba(0, 10, 8, 0.9);
  --text: #e8fff5;
  --muted: #75a190;
  --green: #28f59a;
  --blue: #1cb7ff;
  --orange: #ff8a1f;
  --orange-soft: #ffd2a8;
  --line: rgba(40, 245, 154, 0.18);
  --hairline: rgba(40, 245, 154, 0.36);
  --shadow: 0 22px 54px rgba(0, 0, 0, 0.36);
  --font: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 26%, rgba(40, 245, 154, 0.09), transparent 28%),
    radial-gradient(circle at 78% 12%, rgba(28, 183, 255, 0.08), transparent 30%),
    linear-gradient(135deg, #020706 0%, #030b08 48%, #010302 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(40, 245, 154, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 245, 154, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  opacity: 0.22;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, p { margin-top: 0; }

.topbar,
.section,
.hero {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 72px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--green);
  background: rgba(40, 245, 154, 0.08);
  color: var(--green);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 6vw, 88px);
  min-height: 72vh;
  align-items: center;
  padding: 52px 0 82px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 88px);
  font-weight: 950;
  line-height: 0.98;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.lead {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(232, 255, 245, 0.78);
  font-size: 19px;
  line-height: 1.8;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 138, 31, 0.78);
  border-radius: 8px;
  background: rgba(255, 138, 31, 0.16);
  color: var(--orange-soft);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  padding: 0 20px;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(40, 245, 154, 0.05);
  color: var(--text);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.visual,
.panel,
.tile,
.status-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.visual {
  padding: 24px;
}

.visual-card {
  border: 1px solid var(--hairline);
  background: rgba(40, 245, 154, 0.06);
  padding: 24px;
}

.visual-card span,
.meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.metrics div {
  border: 1px solid var(--line);
  padding: 14px;
}

.metrics strong {
  display: block;
  color: var(--green);
  font-family: var(--mono);
  font-size: 26px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 44px;
  align-items: start;
  padding: 34px 0 82px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 44px;
}

.tile {
  min-height: 118px;
  padding: 18px;
}

.tile strong {
  display: block;
  margin-bottom: 8px;
}

.tile span,
.notice,
.plain p {
  color: var(--muted);
  line-height: 1.7;
}

.panel {
  position: sticky;
  top: 18px;
  padding: 24px;
}

.pricing-options {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.price-option {
  display: grid;
  gap: 10px;
  min-height: 128px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(40, 245, 154, 0.05);
  color: var(--muted);
  cursor: pointer;
  padding: 16px;
}

.price-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.price-option.is-selected {
  border-color: rgba(255, 138, 31, 0.82);
  background: rgba(255, 138, 31, 0.12);
  color: rgba(232, 255, 245, 0.82);
}

.price-option.is-disabled {
  cursor: default;
  opacity: 0.58;
}

.price-option-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.price-option-top strong {
  color: var(--text);
  font-family: var(--mono);
  font-size: 36px;
}

.price-option-top em {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.field {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.field label,
.checkline {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(2, 7, 6, 0.8);
  color: var(--text);
  outline: none;
  padding: 13px 12px;
}

.checkline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  line-height: 1.55;
}

.legal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 18px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
}

.status-box {
  margin-top: 14px;
  padding: 14px;
  color: var(--orange-soft);
}

.qr-wrap {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  justify-items: start;
}

.qr-wrap img {
  width: 220px;
  height: 220px;
  border: 10px solid #fff;
  background: #fff;
}

.plain {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0;
}

.plain h1 {
  font-size: clamp(38px, 6vw, 68px);
}

.footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  padding: 26px 0 44px;
}

@media (max-width: 860px) {
  .topbar {
    width: min(100% - 28px, 640px);
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 18px 0;
  }

  .nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
  }

  .hero,
  .section {
    width: min(100% - 28px, 640px);
  }

  .hero,
  .two-column {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .panel {
    position: static;
  }
}
