/* ── Design tokens (from app_theme.dart) ─────────────────────────────────── */
:root {
  --bg:           #0A0A0F;
  --surface:      #13131A;
  --surface-alt:  #1C1C27;
  --border:       #252535;
  --text:         #FFFFFF;
  --text-sec:     #8888AA;
  --text-muted:   #555570;
  --orange:       #F7931A;
  --orange-dim:   rgba(247,147,26,.12);
  --orange-border:rgba(247,147,26,.25);
  --green:        #00C896;
  --red:          #FF4757;
  --radius-sm:    10px;
  --radius-md:    14px;
  --radius-lg:    20px;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Base ────────────────────────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.logo {
  display: block;
  width: 72px;
  height: 33px;
  flex-shrink: 0;
}

.nav-tagline {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Page ────────────────────────────────────────────────────────────────── */
.page {
  padding: 24px 20px 48px;
}

/* ── Card ────────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

/* ── Badge ───────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-dim);
  border: 1px solid var(--orange-border);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
}

/* ── Typography ──────────────────────────────────────────────────────────── */
h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--text);
}

h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.subtitle {
  color: var(--text-sec);
  font-size: 14px;
  line-height: 1.6;
}

.muted {
  color: var(--text-muted);
  font-size: 13px;
}

/* ── Divider ─────────────────────────────────────────────────────────────── */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .15s;
}

.btn-primary {
  background: var(--orange);
  color: #000;
}

.btn-primary:active { opacity: .75; }

.btn-secondary {
  background: var(--surface-alt);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:active { opacity: .75; }

/* ── Feature rows ────────────────────────────────────────────────────────── */
.features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.features li:last-child { border-bottom: none; }

.features .icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  margin-top: 1px;
}

.features .label { color: var(--text); font-weight: 500; display: block; }
.features .desc  { color: var(--text-muted); font-size: 12px; display: block; margin-top: 2px; }

/* ── Key box ─────────────────────────────────────────────────────────────── */
.key-box {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: "Courier New", "Menlo", monospace;
  font-size: 13px;
  color: var(--orange);
  word-break: break-all;
  line-height: 1.6;
}

/* ── Info box ────────────────────────────────────────────────────────────── */
.info-box {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.6;
}

.info-box strong { color: var(--text); }
