:root {
  --brand: #FFD700;          /* primary yellow — matches Color.kt Primary */
  --brand-dark: #FFA000;     /* darker yellow — Color.kt PrimaryVariant */
  --bg: #0D0D0D;             /* page background — Color.kt Background */
  --surface: #1A1A2E;        /* card background — Color.kt Surface */
  --surface-2: #252542;      /* elevated card — Color.kt SurfaceElevated */
  --ink: #FFFFFF;            /* primary text — Color.kt TextPrimary */
  --ink-soft: #888888;       /* muted text — Color.kt TextSecondary */
  --line: #2a2a2a;           /* dividers */
  --accent-red: #FF4444;     /* secondary — Color.kt Secondary */
  --max: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}

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

header {
  /* Subtle gradient so the page doesn't feel like a flat black wall on phones */
  background: radial-gradient(ellipse at top, var(--surface) 0%, var(--bg) 70%);
  padding: 80px 24px 64px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-soft);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--bg);
  font-size: 22px;
  line-height: 1;
}

.brand-name { letter-spacing: 0.02em; }

header h1 {
  font-size: 40px;
  margin: 0 auto 16px;
  max-width: 600px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.tagline {
  margin: 0 auto 32px;
  max-width: 540px;
  color: var(--ink-soft);
  font-size: 18px;
}

.cta {
  margin-top: 8px;
}

.cta-soon {
  display: inline-block;
  padding: 12px 24px;
  background: var(--brand);
  color: var(--bg);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 15px;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

section { margin-bottom: 56px; }

main h2 {
  font-size: 24px;
  margin: 0 0 20px;
  letter-spacing: -0.005em;
}

main h3 {
  font-size: 18px;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}

main p, main ul { margin: 0 0 12px; }
main ul { padding-left: 22px; }
main ul li { margin-bottom: 6px; }

/* Two-card mode layout. Single column on phones, side-by-side on wide screens. */
.modes {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .modes { grid-template-columns: 1fr 1fr; }
}

.mode {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.mode-emoji {
  display: inline-block;
  font-size: 32px;
  margin-bottom: 12px;
}

.mode p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.how li { color: var(--ink-soft); }
.how strong { color: var(--ink); font-weight: 600; }

.muted { color: var(--ink-soft); }
.small { font-size: 14px; }

/* Privacy + ToS pages share these styles but want tighter rhythm + tables. */
.legal main h2 {
  margin-top: 36px;
  font-size: 20px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.legal main h3 {
  margin-top: 24px;
  font-size: 16px;
  color: var(--ink);
}

.legal main table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
  font-size: 14px;
}

.legal main th, .legal main td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.legal main th {
  background: var(--surface);
  font-weight: 600;
}

.legal main code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--brand);
}

footer {
  border-top: 1px solid var(--line);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

footer a { color: var(--ink-soft); margin: 0 6px; }
footer a:hover { color: var(--brand); }
