:root {
  --base: #0B0D1F;
  --surface: #161A33;
  --border: #2A3052;
  --text: #ECEEFB;
  --muted: #9AA0C3;
  --accent: #7C3AED;
  --accent-light: #A78BFA;
  --teal: #14B8A6;
  --tint: #2A1F5C;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent-light); }
a:hover { color: #fff; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap;
}
header.site img { height: 40px; width: auto; display: block; }
header.site nav a {
  color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px;
}
header.site nav a:hover, header.site nav a[aria-current] { color: var(--text); }

.hero {
  padding: 72px 0 56px;
  background: radial-gradient(circle at 80% 0%, rgba(124, 58, 237, .35), transparent 55%);
}
.hero .wrap { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.hero .icon { width: 132px; height: 132px; border-radius: 30px; flex: none; }
.hero h1 {
  font-size: clamp(32px, 6vw, 48px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -.01em;
}
.hero h1 span { color: var(--accent-light); }
.hero p { color: var(--muted); font-size: 19px; margin: 0; max-width: 560px; }

.features { padding: 24px 0 64px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 8px; }

.legal { padding: 48px 0 64px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; color: var(--accent-light); }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { color: #D5D8EE; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }

table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.table-scroll { overflow-x: auto; }

.todo {
  background: #5A3A00; color: #FFC83D; padding: 1px 6px; border-radius: 4px; font-weight: 600;
}

footer.site {
  border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; padding: 24px 0 40px;
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer.site a { color: var(--muted); margin-right: 16px; }

@media (max-width: 520px) {
  header.site nav a { margin: 0 14px 0 0; }
  .hero { padding-top: 48px; }
  .hero .icon { width: 96px; height: 96px; border-radius: 22px; }
}

header.site nav a.lang {
  border: 1px solid var(--border); border-radius: 6px; padding: 2px 8px; font-size: 13px; font-weight: 600;
}

.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center; min-width: 168px; min-height: 52px;
  padding: 8px 18px; border-radius: 12px; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 18px; line-height: 1.15;
}
.store small { font-weight: 500; font-size: 12px; opacity: .85; }
.store:hover { background: #5B21B6; color: #fff; }
.hero p.store-note { font-size: 14px; margin-top: 10px; }
