
:root {
  --bg: #0d1320;
  --bg-2: #131a2c;
  --surface: #ffffff;
  --ink: #14202e;
  --ink-muted: #4c5b6e;
  --accent: #d6a44b;
  --accent-hot: #f0c060;
  --line: #e4e8ee;
  --max: 1180px;
}
* { box-sizing: border-box; }
html, body { width: 100%; overflow-x: hidden; margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px; line-height: 1.65; color: var(--ink);
  background: #f6f7fa;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: #21507a; }
a:hover { color: #d6a44b; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  color: #fff;
  border-bottom: 1px solid #1c2640;
  box-shadow: 0 1px 0 rgba(0,0,0,.2);
}
.header-row {
  display: flex; align-items: center;
  max-width: var(--max); margin: 0 auto;
  padding: 14px 18px;
  gap: 16px;
}
.brand-mark {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 22px;
}
.brand-mark img { width: 36px; height: 36px; border-radius: 8px; }
.brand-mark .mark-sub { color: var(--accent); font-weight: 500; letter-spacing: .03em; }
.nav-main {
  display: flex; gap: 22px; margin-left: auto;
  align-items: center;
}
.nav-main a {
  color: #d5dbe5; text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nav-main a:hover, .nav-main a.is-current {
  color: #fff; border-bottom-color: var(--accent);
}
.header-cta {
  display: inline-block; background: var(--accent); color: #14202e !important;
  padding: 10px 18px; border-radius: 6px; text-decoration: none;
  font-weight: 600; font-size: 14px; transition: background .15s;
  border: none;
}
.header-cta:hover { background: var(--accent-hot); }
.nav-trigger {
  display: none; margin-left: auto;
  background: transparent; border: 0; color: #fff;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-trigger svg { width: 24px; height: 24px; }

/* Crumbs */
.crumbs {
  max-width: var(--max); margin: 16px auto 0; padding: 0 18px;
  font-size: 13px; color: var(--ink-muted);
}
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* Main */
main { display: block; }
.page {
  max-width: var(--max); margin: 0 auto; padding: 24px 18px 48px;
}
.page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1em; line-height: 1.15; margin: 16px 0 8px;
  color: var(--bg);
}
.page .updated {
  display: inline-block;
  font-size: 12px; color: var(--ink-muted);
  padding: 4px 8px; border: 1px solid var(--line); border-radius: 100px;
  background: #fff; margin-bottom: 18px;
}
.page h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55em; margin: 32px 0 12px; color: var(--bg);
}
.page h3 { font-size: 1.15em; margin: 22px 0 8px; }
.page .lead {
  font-size: 1.05em; padding: 16px 18px; border-left: 3px solid var(--accent);
  background: #fff; border-radius: 0 8px 8px 0;
}
.page ul, .page ol { padding-left: 22px; }
.page li { margin: 4px 0; }

/* Tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.table-scroll table { width: 100%; border-collapse: collapse; min-width: 540px; }
.table-scroll th, .table-scroll td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
.table-scroll th { background: #f4f6fa; font-weight: 600; }
.table-scroll tr:last-child td { border-bottom: 0; }

/* Figure */
.figure { margin: 22px 0; }
.figure img { display: block; width: 90%; height: auto; margin: 0 auto; border-radius: 6px; box-shadow: 0 4px 14px rgba(20,32,46,.07); }
.figure figcaption { text-align: center; font-size: 13px; color: var(--ink-muted); margin-top: 8px; }

/* CTA button */
.btn {
  display: inline-block; padding: 14px 26px;
  background: var(--accent); color: #14202e !important;
  font-weight: 700; text-decoration: none; border-radius: 8px;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-hot); transform: translateY(-1px); }
.btn-primary { font-size: 16px; }

/* FAQ */
.faq { margin-top: 36px; }
.faq h2 { margin-bottom: 16px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.faq-item summary { padding: 14px 18px; font-weight: 600; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.faq-answer { padding: 0 18px 14px; color: var(--ink-muted); }

/* Footer */
.site-footer { background: var(--bg-2); color: #c8d0dc; margin-top: 48px; padding: 32px 18px 18px; font-size: 14px; }
.footer-row { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-row h4 { font-family: 'Cormorant Garamond', serif; color: #fff; font-size: 18px; margin: 0 0 10px; }
.footer-row ul { list-style: none; padding: 0; margin: 0; }
.footer-row li { margin: 4px 0; }
.footer-row a { color: #c8d0dc; text-decoration: none; }
.footer-row a:hover { color: var(--accent); }
.footer-rg { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #9aa6b8; }
.age-badge { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: #b22; color: #fff; font-weight: 700; align-items: center; justify-content: center; font-size: 13px; }
.legal { max-width: var(--max); margin: 24px auto 0; padding-top: 14px; border-top: 1px solid #1c2640; color: #9aa6b8; font-size: 12px; text-align: center; }

/* Mobile */
@media (max-width: 760px) {
  .header-row { padding: 10px 14px; }
  .brand-mark { font-size: 18px; }
  .brand-mark img { width: 30px; height: 30px; }
  .nav-main { display: none; }
  .nav-main.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg);
    padding: 12px 18px; gap: 4px;
    border-top: 1px solid #1c2640;
    margin-left: 0;
  }
  .nav-main.open a { padding: 12px 0; border-bottom: 1px solid #1c2640; min-height: 44px; }
  .header-cta { display: none; }
  .nav-main.open .header-cta {
    display: inline-block; margin-top: 8px; text-align: center;
  }
  .nav-trigger { display: inline-flex; margin-left: auto; }
  .page { padding: 18px 14px 36px; }
  .page h1 { font-size: 1.5em; }
  .page h2 { font-size: 1.25em; }
  .page h3 { font-size: 1.08em; }
  .figure img { width: 100%; }
  .footer-row { grid-template-columns: 1fr; gap: 18px; }
}
