/* ─── TOKENS ─── */
:root {
  --white: #ffffff;
  --off-white: #f7f5f2;
  --warm-gray: #e8e4de;
  --mid-gray: #9a958e;
  --dark-gray: #3a3732;
  --ink: #1a1814;
  --accent: #1a3a5c;
  --accent-light: #2d5f8a;
  --teal: #0f7b6c;
  --gold: #b8860b;
  --danger: #c0392b;
  --unanswered: #e74c3c;
  --radius: 6px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.13);
  --max-w: 780px;
  --header-h: 60px;
  --footer-h: 68px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans SC', 'DM Sans', sans-serif;
  font-weight: 300;
  background: var(--off-white);
  color: var(--ink);
  line-height: 1.7;
  min-height: 100dvh;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ─── SCREENS ─── */
.screen { display: none; min-height: 100dvh; }
.screen.active { display: flex; flex-direction: column; }

/* ─── SHARED BUTTONS ─── */
.btn-action {
  flex: 1;
  min-width: 120px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.15s;
  text-align: center;
}
.btn-action-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-action-primary:hover { background: var(--accent-light); }
.btn-action-outline {
  background: var(--white);
  border: 1.5px solid var(--warm-gray);
  color: var(--dark-gray);
}
.btn-action-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-action-secondary {
  background: #f0f4f8;
  border: 1.5px solid #d9e4ef;
  color: var(--accent);
}
.btn-action-secondary:hover {
  background: #e7eff7;
  border-color: #c6d8e8;
}

/* ─── UTILS ─── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
