:root {
  --bg: #f4efe6;
  --paper: #fffaf3;
  --ink: #1c1914;
  --muted: #5c564c;
  --line: #d9d0c2;
  --accent: #b45309;
  --accent-ink: #7c2d12;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent-ink); }
a:hover { color: var(--accent); }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand img { width: 36px; height: 36px; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.nav a[aria-current="page"] { color: var(--accent); }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
}

.hero, .page-hero, .article, .cta-band, .faq-list, .toc, .facts, .cards {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.hero, .page-hero { padding: 40px 36px; margin: 28px 0 20px; }
.hero-visual { padding: 0; overflow: hidden; }
.hero-banner { display: block; }
.hero-banner img { width: 100%; height: auto; display: block; }
.hero-copy { padding: 32px 36px 36px; }
.page-cover { width: 180px; height: auto; border-radius: 12px; display: block; margin: 0 0 16px; }
.lobby-shot { margin: 0 0 1.6rem; }
.lobby-shot img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.lobby-shot figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
.kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); letter-spacing: -0.03em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 16px; }
h2 { font-size: 1.7rem; margin: 2rem 0 0.8rem; }
h3 { font-size: 1.25rem; margin: 1.4rem 0 0.5rem; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 20px; }

.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.btn-primary { background: var(--ink); color: #fffaf3; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: transparent; }

.layout { display: grid; grid-template-columns: 240px 1fr; gap: 20px; margin-bottom: 40px; }
.toc { padding: 18px; height: fit-content; position: sticky; top: 92px; }
.toc h2 { font-size: 1rem; margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 18px; }
.toc a { text-decoration: none; font-size: 14px; }
.article { padding: 28px 32px 40px; }
.article p { margin: 0 0 1rem; }
.article ul, .article ol { margin: 0 0 1rem; padding-left: 1.2rem; }

.facts { padding: 0; overflow: hidden; margin: 20px 0; }
.facts table { width: 100%; border-collapse: collapse; font-size: 15px; }
.facts caption { text-align: left; padding: 14px 16px 0; font-weight: 600; }
.facts th, .facts td { padding: 10px 16px; border-top: 1px solid var(--line); text-align: left; }
.facts th { background: #f7f1e6; font-size: 13px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0; background: none; border: 0; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
}
.card strong { display: block; font-family: var(--serif); font-size: 1.15rem; margin-bottom: 6px; }
.card span { color: var(--muted); font-size: 15px; }

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin: 0 0 1.6rem;
}
.slot {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.slot img { width: 100%; height: 96px; object-fit: cover; display: block; }
.slot span {
  display: block;
  padding: 8px 8px 10px;
  font-size: 12px;
  font-weight: 600;
  background: var(--paper);
}

.domain-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 16px;
  padding-left: 1.1rem;
  margin: 0 0 1.2rem;
}
.domain-list a { font-weight: 600; }

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  margin: 28px 0 48px;
}
.cta-band h2 { margin: 0 0 6px; font-size: 1.4rem; }
.cta-band p { margin: 0; color: var(--muted); }

.faq-list { padding: 8px 20px 20px; margin: 20px 0; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq-list summary { cursor: pointer; font-weight: 600; }

.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { text-decoration: none; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 40;
  background: var(--ink);
  color: #fffaf3;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.updated { color: var(--muted); font-size: 14px; margin: 0 0 1.2rem; }
.related { margin: 2.4rem 0 0; }
.related h2 { margin-top: 0; }
.related .cards { margin: 0; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.2rem;
}
.chips span {
  border: 1px solid var(--line);
  background: #f7f1e6;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
}

.banner-row {
  display: grid;
  gap: 12px;
  margin: 0 0 1.6rem;
}
.banner-row img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
.footer-grid a {
  display: block;
  color: inherit;
  text-decoration: none;
  margin: 4px 0;
}
.footer-grid a:hover { color: var(--accent); }
.footer-head { font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.footer-brand { font-weight: 700; color: var(--ink); margin: 0 0 6px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 700;
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
  }
}
