:root {
  --bg: #17181d;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #ececef;
  --muted: #9ba0ab;
  --mint: #6ee7c7;
  --amber: #f0c86c;
  --radius: 20px;
}

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

html { background: var(--bg); }

body {
  background:
    radial-gradient(900px 480px at 18% -10%, rgba(110, 231, 199, 0.09), transparent 65%),
    radial-gradient(900px 520px at 85% 5%, rgba(240, 200, 108, 0.07), transparent 65%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(1120px, 90%);
  margin: 0 auto;
  flex: 1;
}

/* ── Header / nav ─────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(23, 24, 29, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
header .wrap { padding: 20px 0; }
nav {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
nav a.link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
nav a.link:hover { color: var(--text); }

/* ── Hero ─────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 110px 0 90px;
}
.hero img.appicon {
  width: 128px;
  height: 128px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(110, 231, 199, 0.08);
}
.hero h1 {
  margin-top: 34px;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero h1 .elite {
  background: linear-gradient(100deg, var(--mint), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.tagline {
  margin: 18px auto 0;
  max-width: 540px;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 420;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 44px;
  padding: 14px 28px;
  background: var(--text);
  color: #17181d;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}
.store-note {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.84rem;
}

/* ── Features ─────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  padding: 20px 0 110px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.card:hover {
  background: var(--surface-hover);
  transform: translateY(-3px);
}
.card .tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 1.35rem;
  line-height: 1;
  background: rgba(110, 231, 199, 0.1);
  border: 1px solid rgba(110, 231, 199, 0.14);
  border-radius: 13px;
}
.card:nth-child(even) .tile {
  background: rgba(240, 200, 108, 0.1);
  border-color: rgba(240, 200, 108, 0.14);
}
.card h3 {
  margin: 20px 0 8px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ── Legal / content pages ────────────────────── */
.doc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 52px clamp(24px, 5vw, 64px);
  margin: 56px auto 100px;
  max-width: 860px;
}
.doc h1 {
  font-size: 1.85rem;
  font-weight: 720;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.doc .updated { color: var(--muted); font-size: 0.88rem; margin-bottom: 30px; }
.doc h2 {
  color: var(--mint);
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin: 32px 0 10px;
}
.doc p, .doc li { color: #c9ccd4; font-size: 0.96rem; }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc li { margin: 6px 0; }
.doc a { color: var(--mint); text-decoration-color: rgba(110, 231, 199, 0.4); }
.doc strong { color: var(--text); font-weight: 650; }

/* ── Footer ───────────────────────────────────── */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 0 48px;
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
}
footer a { color: var(--muted); text-decoration: none; margin: 0 10px; transition: color 0.15s ease; }
footer a:hover { color: var(--text); }
footer .copy { margin-top: 10px; opacity: 0.65; }
