:root {
  --night: #020619;
  --ink: #111111;
  --muted: #666666;
  --line: rgba(0, 0, 0, 0.08);
  --canvas: #f5f5f7;
  --surface: #ffffff;
  --violet: #8735ff;
  --blue: #326dff;
  --cyan: #00d4ea;
  --brand: linear-gradient(105deg, var(--violet) 0%, var(--blue) 55%, var(--cyan) 100%);
  --radius: 28px;
  --gutter: clamp(16px, 5vw, 64px);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p { margin: 0; text-wrap: balance; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(60% 45% at 70% 55%, rgba(50, 109, 255, 0.22), transparent 70%),
    radial-gradient(45% 35% at 30% 60%, rgba(135, 53, 255, 0.2), transparent 70%),
    var(--night);
  overflow: hidden;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.nav-links { display: flex; gap: clamp(14px, 3vw, 32px); }
.nav-links a {
  font-size: 15px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
}
.nav-links a:hover { color: #fff; }

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px var(--gutter) 72px;
}
.hero-logo {
  width: min(560px, 82vw);
  margin-bottom: 8px;
  filter: drop-shadow(0 0 40px rgba(50, 109, 255, 0.25));
}
.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  margin-right: -0.18em;
}
.hero-lead {
  margin-top: 16px;
  font-size: clamp(18px, 2.4vw, 24px);
  color: rgba(255, 255, 255, 0.86);
}
.hero-sub {
  margin-top: 6px;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.56);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

/* Features */
main { padding: clamp(56px, 9vw, 120px) 0 0; }
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  max-width: 1180px;
  margin: 0 auto clamp(72px, 11vw, 160px);
  padding: 0 var(--gutter);
}
.feature.reverse .feature-media { order: 2; }
.feature-media { margin: 0; }
.feature-media img { border-radius: var(--radius); background: #ececec; }
.media-tall img { width: min(420px, 100%); margin: 0 auto; aspect-ratio: 9 / 16; object-fit: cover; }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.media-pair img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.media-pair img:last-child { margin-top: 48px; }
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.media-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feature h2 {
  margin-top: 12px;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.02em;
}
.feature-text > p:last-child {
  margin-top: 18px;
  max-width: 26em;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
}

/* Closing */
.closing {
  margin: 0 var(--gutter) clamp(48px, 7vw, 88px);
  padding: clamp(56px, 9vw, 104px) var(--gutter);
  border-radius: var(--radius);
  text-align: center;
  color: #fff;
  background: var(--brand);
}
.closing-mark { font-size: clamp(30px, 5vw, 48px); font-weight: 700; letter-spacing: 0.12em; margin-right: -0.12em; }
.closing-line { margin-top: 10px; font-size: clamp(17px, 2vw, 21px); color: rgba(255, 255, 255, 0.9); }
.status.light { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.32); }
.status.light .dot { background: #fff; box-shadow: 0 0 10px #fff; }

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 28px var(--gutter) 40px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer .footer-icp { flex-basis: 100%; text-align: center; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .feature { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
  .feature-text { text-align: center; }
  .feature-text > p:last-child { margin-left: auto; margin-right: auto; }
  .media-tall img { width: min(320px, 100%); }
  .media-pair img:last-child { margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Privacy page */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter) 64px;
}
.doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 40px;
}
.doc-head .brand { color: var(--ink); }
.doc-head a:last-child { font-size: 14px; color: var(--muted); text-decoration: none; }
.doc h1 { font-size: clamp(28px, 4vw, 36px); }
.doc .updated { margin-top: 8px; font-size: 14px; color: var(--muted); }
.doc h2 { margin-top: 32px; font-size: 18px; }
.doc p { margin-top: 10px; color: #333; text-wrap: pretty; }
