:root {
  --ink: #1c1915;
  --ink-soft: #3f3a33;
  --muted: #6b645a;
  --paper: #f6f1e7;
  --paper-2: #efe6d6;
  --card: #fffaf2;
  --line: #d9cbb6;
  --amber: #c4741a;
  --amber-deep: #8a4d0d;
  --green: #1f6b4a;
  --red: #9b2c2c;
  --navy: #1a2a32;
  --shadow: 0 18px 50px rgba(28, 25, 21, 0.08);
  --radius: 18px;
  --sans: "Sora", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(196, 116, 26, 0.12), transparent 50%),
    linear-gradient(180deg, #fbf7ef 0%, var(--paper) 40%, #efe8da 100%);
  min-height: 100vh;
  line-height: 1.55;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--amber-deep); }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.banner {
  background: var(--navy);
  color: #f4efe6;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  padding: 0.55rem 1rem;
  text-align: center;
}
.banner strong { color: #f3c27a; font-weight: 600; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-name span { color: var(--amber-deep); }
nav { display: flex; gap: 0.5rem; flex-wrap: wrap; }
nav a, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 500;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
nav a { color: var(--ink-soft); }
nav a:hover { color: var(--ink); }
.btn-primary {
  background: var(--ink);
  color: #f8f2e8 !important;
  border-color: var(--ink);
}
.btn-primary:hover { background: #2a2520; }
.btn-amber {
  background: var(--amber);
  color: #fffaf2 !important;
  border-color: var(--amber);
}
.btn-amber:hover { background: var(--amber-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--paper-2); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: 3.2rem 0 2.5rem;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber-deep);
  margin: 0 0 0.8rem;
}
h1, h2, h3, h4 { font-family: var(--serif); letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 0.8rem; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 600; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.5rem 0 1rem; }
.fine { font-size: 0.85rem; color: var(--muted); }

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1.4rem;
}
.exam-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: #e6f3ec;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.8rem;
}
.q-preview {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0 0 1rem;
}
.wave {
  height: 48px;
  display: flex;
  align-items: end;
  gap: 4px;
  margin: 0.4rem 0 1rem;
}
.wave i {
  display: block;
  width: 5px;
  border-radius: 99px;
  background: var(--amber);
  animation: eq 1.1s ease-in-out infinite;
}
.wave i:nth-child(1) { height: 14px; animation-delay: 0s; }
.wave i:nth-child(2) { height: 28px; animation-delay: .1s; }
.wave i:nth-child(3) { height: 40px; animation-delay: .2s; }
.wave i:nth-child(4) { height: 22px; animation-delay: .3s; }
.wave i:nth-child(5) { height: 34px; animation-delay: .15s; }
.wave i:nth-child(6) { height: 16px; animation-delay: .25s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}
.mini-meta { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: 0.82rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0.5rem 0 3rem;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.stat b { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.stat span { color: var(--muted); font-size: 0.88rem; }

section { padding: 1.5rem 0 2.5rem; }
section h2 { font-size: 2rem; }
.grid-3, .grid-2 { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem;
}
.card h3 { font-size: 1.25rem; }
.card p, .card li { color: var(--ink-soft); }
.step-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--amber-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.price-table { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1rem; align-items: stretch; }
.price {
  border: 2px solid var(--ink);
  background: var(--navy);
  color: #f6f0e6;
  border-radius: 24px;
  padding: 1.6rem;
}
.price h3 { color: #fff; }
.price .amount { font-family: var(--serif); font-size: 3rem; margin: 0.2rem 0; }
.price .amount small { font-size: 1rem; color: #c9bfb0; }
.price li { color: #e7dfd2; }
.price .btn-amber { margin-top: 1rem; }

form.waitlist, .form-box { display: grid; gap: 0.7rem; }
label { font-size: 0.85rem; font-weight: 500; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--ink);
}
textarea { min-height: 90px; resize: vertical; }
.form-note {
  background: #fff4d8;
  border: 1px solid #e6cc86;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.disclaimer, footer {
  font-size: 0.85rem;
  color: var(--muted);
}
footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; margin-top: 2rem; }
footer p { max-width: 50rem; }

/* Practice */
.practice-shell { padding: 1.2rem 0 4rem; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.4rem;
  margin-top: 1rem;
}
.mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.mode-card {
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}
.mode-card:hover, .mode-card[aria-pressed="true"] { border-color: var(--ink); background: var(--paper-2); }
.mode-card strong { display: block; font-family: var(--serif); font-size: 1.1rem; margin-bottom: 0.25rem; }

.examiner {
  display: grid;
  gap: 1rem;
}
.question-text {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  margin: 0;
}
.status-row { display: flex; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; align-items: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--paper-2);
  color: var(--ink-soft);
}
.pill.sat { background: #e6f3ec; color: var(--green); }
.pill.unsat { background: #f8e4e4; color: var(--red); }
.pill.listen { background: #efe2c8; color: var(--amber-deep); }

.answer-box { width: 100%; min-height: 120px; }
.rec-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.rec-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(155, 44, 44, 0.5);
  animation: pulse 1.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(155, 44, 44, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(155, 44, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(155, 44, 44, 0); }
}

.points { list-style: none; padding: 0; margin: 0.6rem 0 0; }
.points li {
  display: flex; gap: 0.55rem; align-items: flex-start;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.points li::before { content: "○"; color: var(--muted); }
.points li.hit::before { content: "●"; color: var(--green); }
.points li.miss::before { content: "●"; color: var(--red); }
.ref { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); margin-top: 0.8rem; }

.debrief-grid { display: grid; gap: 0.8rem; }
.debrief-item { border: 1px solid var(--line); border-radius: 14px; padding: 0.9rem 1rem; background: #fff; }
.hidden { display: none !important; }
.gate { max-width: 40rem; }

@media (max-width: 840px) {
  .hero, .grid-3, .grid-2, .price-table, .stats, .mode-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 1.6rem; gap: 1.5rem; }
}
