:root {
  --bg: #ffffff;
  --bg-soft: #f5f6fa;
  --text: #171a23;
  --muted: #5d6378;
  --line: #e3e5ee;
  --accent: #6d4aff;
  --accent-2: #19b6e6;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1117;
    --bg-soft: #181b24;
    --text: #e8eaf2;
    --muted: #9ba1b5;
    --line: #2a2e3b;
    --accent: #8f74ff;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Header / footer */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; gap: 20px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--text); }
.foot { border-top: 1px solid var(--line); margin-top: 64px; padding: 28px 0; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

/* Landing */
.hero { padding: 72px 0 56px; text-align: center; }
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 40px rgba(109, 74, 255, .25); }
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; margin: 24px 0 14px; letter-spacing: -.02em; }
.hero p { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 auto; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-soft); font-weight: 600; font-size: 15px;
}
.pill small { color: var(--muted); font-weight: 500; }
section { padding: 40px 0; }
section h2 { font-size: 28px; margin: 0 0 8px; letter-spacing: -.01em; }
section .lead { color: var(--muted); margin: 0 0 28px; max-width: 680px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  color: #fff; font-weight: 700; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.note { color: var(--muted); font-size: 14px; margin-top: 20px; }

/* Documents */
.doc { max-width: 760px; padding-top: 40px; }
.doc h1 { font-size: 34px; margin: 0 0 4px; letter-spacing: -.01em; }
.doc .meta { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 21px; margin: 36px 0 8px; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc li { margin: 4px 0; }
.doc .summary { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--muted); font-weight: 600; font-size: 13px; }
.doc .table-wrap { overflow-x: auto; }

@media (max-width: 760px) {
  .grid, .steps, .checks { grid-template-columns: 1fr; }
  .top nav { gap: 14px; font-size: 14px; }
  .hero { padding: 48px 0 32px; }
}
