/* Colors taken from the app icon: indigo backdrop, gold frame/lettering, cyan lettering */
:root {
  color-scheme: dark;
  --bg: #110c2a;
  --surface: #1a1442;
  --text: #f5f3ff;
  --muted: #aba5d1;
  --border: #2d2566;
  --accent: #ffbe2e;          /* gold */
  --accent-ink: #2a1a00;      /* text on gold */
  --accent-soft: rgba(255, 190, 46, 0.12);
  --cyan: #4fd6ff;
  --glow-purple: rgba(124, 58, 237, 0.35);
  --glow-blue: rgba(59, 130, 246, 0.25);
  --radius: 14px;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 50% -10%, var(--glow-purple), transparent 70%),
    radial-gradient(700px 400px at 90% 30%, var(--glow-blue), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(17, 12, 42, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.nav { display: flex; gap: 24px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}
.hero-icon {
  display: block;
  width: 144px;
  height: 144px;
  margin: 0 auto 28px;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.45), 0 0 0 1px var(--border);
}
.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero h1 .cyan { color: var(--cyan); }
.hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero p {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 18px;
}
.hero .hero-note {
  margin: 0 auto;
  font-size: 14px;
  color: var(--muted);
}

/* Sections */
section { padding: 64px 0; }
.section-title {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.section-sub {
  margin: 0 0 36px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .icon { font-size: 28px; line-height: 1; }
.card:hover { border-color: rgba(255, 190, 46, 0.4); }

.notice {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 190, 46, 0.3);
}
.notice h2 { color: var(--accent); }
.notice h2 { margin: 0 0 12px; font-size: 22px; }
.notice ul { margin: 0; padding-left: 20px; }
.notice li { margin: 6px 0; }

/* Footer */
.site-footer {
  margin-top: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}
.site-footer nav { display: flex; gap: 20px; }

/* Policy page */
.policy {
  max-width: 760px;
  padding: 64px 20px;
}
.policy h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 42px);
  letter-spacing: -0.02em;
}
.policy .updated { color: var(--muted); margin: 0 0 40px; }
.policy h2 {
  margin: 40px 0 12px;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.policy h3 { margin: 24px 0 8px; font-size: 17px; }
.policy p, .policy li { color: var(--text); }
.policy ul { padding-left: 22px; }
.policy li { margin: 6px 0; }
.policy table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 15px;
}
.policy th, .policy td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border: 1px solid var(--border);
}
.policy th { background: var(--surface); }
.table-wrap { overflow-x: auto; }

@media (max-width: 600px) {
  .nav { gap: 16px; font-size: 14px; }
  .nav .hide-sm { display: none; }
  .hero { padding: 64px 0 48px; }
  section { padding: 48px 0; }
}
