:root {
  --bg: #050505;
  --bg-card: #0a0a0a;
  --gold: #d4af37;
  --gold-light: #f4e4bc;
  --accent: #c9a961;
  --text: #e5e4e2;
  --muted: rgba(229, 228, 226, 0.72);
  --faint: rgba(229, 228, 226, 0.5);
  --line: rgba(201, 169, 97, 0.22);
  --serif: "Playfair Display", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; }

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.site-header .bar,
.site-footer .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 600;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.92rem;
}

.nav a { color: var(--muted); }
.nav a:hover,
.nav a[aria-current="page"] { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--bg);
}

.btn-gold:hover { color: var(--bg); filter: brightness(1.05); }

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--gold);
  font-weight: 600;
  max-width: 16ch;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.2rem;
}

.fine {
  color: var(--faint);
  font-size: 0.88rem;
}

section { padding: 2.75rem 0; }

h2 {
  font-family: var(--serif);
  color: var(--gold);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 1rem;
  font-weight: 600;
}

h3 {
  font-family: var(--serif);
  color: var(--gold-light);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

p { margin: 0 0 1rem; }

.grid-3,
.grid-2 {
  display: grid;
  gap: 1rem;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 800px) {
  .grid-3,
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.3rem;
}

.card p:last-child { margin-bottom: 0; }

.pill {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid var(--line);
}

th { color: var(--gold); font-weight: 600; }

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  background: var(--bg-card);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--gold-light);
}

.faq details p { margin: 0.7rem 0 0; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  margin-top: 2rem;
  color: var(--faint);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.prose { max-width: 46rem; }
.prose ul { padding-left: 1.2rem; color: var(--muted); }
.prose li { margin-bottom: 0.4rem; }

.answer {
  font-size: 1.05rem;
  color: var(--muted);
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  margin: 0 0 1.5rem;
}

.updated { color: var(--faint); font-size: 0.88rem; }

.mock {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1rem;
  background: linear-gradient(180deg, #0c0c0c, #070707);
}

.mock strong { color: var(--gold); }
.mock small { color: var(--faint); }

.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  margin-top: 0.8rem;
}

.week span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.3rem;
  font-size: 0.72rem;
  text-align: center;
  min-height: 4.2rem;
}

.week b { display: block; color: var(--gold); font-size: 0.7rem; margin-bottom: 0.2rem; }

@media (max-width: 700px) {
  .week { grid-template-columns: repeat(2, 1fr); }
}
