:root {
  --gold: #e3b649;
  --gold-dark: #c49a2f;
  --gold-light: #f3d57a;
  --gold-deep: #8a6b24;
  --bg: #0c0b09;
  --bg-2: #14120e;
  --bg-3: #1c1912;
  --bg-4: #242016;
  --text: #f7f1e4;
  --text-muted: #c4b89a;
  --text-dim: #8f846c;
  --border: rgba(227, 182, 73, 0.22);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --max: 1180px;
  --header-h: 84px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -10%, #2a230f 0%, var(--bg) 55%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  min-height: 100vh;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  background: var(--gold);
  color: var(--bg);
  padding: 8px 14px;
  z-index: 1000;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(12, 11, 9, 0.86);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand img,
.brand svg {
  width: 196px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 9px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  white-space: nowrap;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 13px 22px;
  transition: 0.2s ease;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 45%, var(--gold-dark));
  color: #1a1508;
  box-shadow: 0 8px 24px rgba(227, 182, 73, 0.28);
}

.btn-gold:hover {
  color: #1a1508;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(227, 182, 73, 0.08);
  color: var(--gold-light);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--gold);
  border-radius: 10px;
}

.hero {
  padding: 72px 0 48px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.hero h1,
.page-hero h1,
article h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 4.1rem);
  line-height: 1.12;
  margin: 0 0 18px;
  font-weight: 700;
}

.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 36px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-dim);
  font-size: 14px;
}

.panel {
  background: linear-gradient(180deg, rgba(227, 182, 73, 0.08), rgba(227, 182, 73, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.entry-box {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
  align-items: center;
}

.entry-box h2 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.badge {
  display: inline-block;
  background: rgba(227, 182, 73, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3,
.card h2 {
  font-family: var(--font-display);
  margin-top: 0;
}

.section {
  padding: 28px 0 8px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  margin: 0 0 12px;
}

.toc {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}

.toc ol {
  margin: 8px 0 0;
  padding-left: 18px;
}

.toc a {
  color: var(--text);
  text-decoration: none;
}

.toc a:hover {
  color: var(--gold);
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  color: var(--text);
  scroll-margin-top: 100px;
}

.prose h2 {
  margin-top: 2.2rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--bg-3);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--bg-2);
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.faq details p {
  color: var(--text-muted);
  margin: 10px 0 4px;
}

.page-hero {
  padding: 48px 0 12px;
}

.crumbs {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 12px;
}

.crumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.notice {
  border-left: 3px solid var(--gold);
  background: var(--bg-3);
  padding: 14px 16px;
  border-radius: 0 12px 12px 0;
  color: var(--text-muted);
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  background: #090807;
  padding: 42px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.site-footer h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
}

.site-footer a,
.site-footer p {
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  margin: 6px 0;
  font-size: 14px;
}

.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
}

.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
  font-weight: 800;
  margin-right: 8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.stat {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
}

aside.related {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 28px;
}

aside.related a {
  display: block;
  margin: 8px 0;
  text-decoration: none;
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 14px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
}

.contact-ok {
  display: none;
  color: var(--gold-light);
  font-weight: 700;
}

@media (max-width: 980px) {
  .grid-3,
  .grid-2,
  .entry-box,
  .footer-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    inset: var(--header-h) 12px auto;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    flex-direction: column;
    padding: 12px;
    align-items: stretch;
  }

  .nav.open {
    display: flex;
  }

  .header-cta {
    padding: 10px 14px;
    font-size: 13px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .menu-toggle {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
