:root {
  --ink: #1c2333;
  --ink-deep: #10141f;
  --ink-soft: #2a3247;
  --paper: #ffffff;
  --tint: #faf7f0;
  --accent: #d9a700;
  --accent-bright: #ffcf2e;
  --accent-soft: #fdf3cf;
  --line: #e8e2d4;
  --muted: #5d6472;
  --ok: #2e7d52;
  --warn-bg: #fdf6dd;
  --warn-line: #e9d38b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(19, 24, 38, 0.12);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.5);
  --serif: Georgia, 'Times New Roman', 'Nimbus Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background:
    linear-gradient(rgba(10, 12, 20, 0.82), rgba(10, 12, 20, 0.88)),
    url('../assets/img/bg.jpg') center top / cover fixed no-repeat,
    var(--ink-deep);
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.22;
  color: var(--ink);
  font-weight: 700;
}

h1 { font-size: 2.3rem; letter-spacing: -0.01em; }
h2 { font-size: 1.55rem; margin: 2.3rem 0 0.9rem; text-transform: uppercase; letter-spacing: 0.02em; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.55rem; }
p { margin: 0.75rem 0; color: #3d4353; }
ul, ol { margin: 0.8rem 0 0.8rem 1.35rem; }
li { margin: 0.4rem 0; color: #3d4353; }
strong { color: var(--ink); }

.topbar {
  background: rgba(7, 9, 14, 0.85);
  color: #c9cede;
  font-size: 0.8rem;
  backdrop-filter: blur(6px);
}

.topbar .container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.chip-18 {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 24px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--accent);
  color: #1c2333;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.topbar p { margin: 0; color: #c9cede; }
.topbar strong { color: var(--accent-bright); }

.site-header {
  background: rgba(10, 13, 21, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  position: sticky;
  top: 0;
  z-index: 60;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 38px; width: auto; }
.brand:hover { text-decoration: none; opacity: 0.92; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(245, 241, 232, 0.35);
  border-radius: 8px;
  color: #f5f1e8;
  font-size: 1.3rem;
  line-height: 1;
  padding: 7px 12px;
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  margin: 0;
  justify-content: flex-end;
}

.main-nav a {
  display: block;
  color: #d3d8e4;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 7px;
  white-space: nowrap;
}

.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); text-decoration: none; }
.main-nav a.active { color: var(--accent-bright); background: rgba(217, 167, 0, 0.16); }

.gate {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 20px 90px;
}

.gate-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 40px 44px 36px;
  text-align: center;
}

.gate-card .gate-logo { margin: 0 auto 16px; }
.gate-card .gate-logo img { height: 44px; margin: 0 auto; }

.gate-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1c2333;
  background: var(--accent);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 18px;
}

.gate-card h1 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.gate-card p { color: var(--muted); font-size: 0.97rem; }

.gate-card .gate-age {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 14px;
}

.gate-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 38px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-yes {
  background: var(--accent);
  color: #1c2333;
  box-shadow: 0 8px 22px rgba(217, 167, 0, 0.45);
}
.btn-yes:hover { background: #c29400; color: #1c2333; }

.btn-no {
  background: transparent;
  color: var(--ink);
  border-color: #c9cede;
}
.btn-no:hover { background: var(--ink); border-color: var(--ink); color: #f5f1e8; }

.gate-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--muted);
}

.gate-scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  color: rgba(240, 237, 227, 0.8);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.gate-scroll:hover { text-decoration: none; color: var(--accent-bright); }

.gate-scroll .arrow {
  display: block;
  font-size: 1.4rem;
  margin-top: 4px;
  animation: gate-bounce 1.8s ease-in-out infinite;
}

@keyframes gate-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

.sheet {
  max-width: 1080px;
  margin: 26px auto 60px;
  background: var(--paper);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

main.sheet { display: block; }

.page-hero {
  padding: 52px 0 30px;
}

.page-hero .kicker {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.page-hero h1 {
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.page-hero .lead { color: var(--muted); max-width: 760px; font-size: 1.02rem; }

.section { padding: 30px 0; }
.section--tint { background: var(--tint); }
.section--dark {
  background: var(--ink);
}
.section--dark h2, .section--dark h3 { color: #f5f1e8; }
.section--dark p, .section--dark li { color: #c9cfdd; }
.section--dark .eyebrow { color: var(--accent-bright); }

.lead { font-size: 1.08rem; color: var(--muted); }
.eyebrow {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.two-col .media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.two-col--rev .media { order: 2; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 26px;
}

.card {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.card h3 { margin-top: 0; }
.card .num {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-family: var(--serif);
}

.figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 30px 0;
}

.figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.figure figcaption {
  background: var(--ink);
  color: #c9cfdd;
  font-size: 0.78rem;
  padding: 9px 16px;
}

.callout {
  border: 1px solid var(--warn-line);
  border-left: 5px solid var(--accent);
  background: var(--warn-bg);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 26px 0;
}

.callout p { margin: 0.3rem 0; }
.callout strong { color: #7a5b00; }

.note-list { list-style: none; margin-left: 0; }
.note-list li {
  padding-left: 30px;
  position: relative;
  margin: 0.55rem 0;
}
.note-list li::before {
  content: "\2014";
  position: absolute;
  left: 6px;
  color: var(--accent);
  font-weight: 700;
}

.check-list { list-style: none; margin-left: 0; }
.check-list li { padding-left: 30px; position: relative; margin: 0.5rem 0; }
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 4px;
  color: var(--ok);
  font-weight: 800;
}

.cross-list { list-style: none; margin-left: 0; }
.cross-list li { padding-left: 30px; position: relative; margin: 0.5rem 0; }
.cross-list li::before {
  content: "\00d7";
  position: absolute;
  left: 4px;
  color: #b03a2e;
  font-weight: 800;
}

.faq { margin: 26px 0; }

.faq details {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 20px;
  font-weight: 700;
  font-family: var(--serif);
  font-size: 1.02rem;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.15s ease;
}

.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }

.faq .faq-body { padding: 14px 20px 18px; }
.faq .faq-body p { margin: 0.4rem 0; color: var(--muted); }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.tile {
  display: block;
  background: var(--tint);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--ink);
}

.tile:hover { text-decoration: none; box-shadow: var(--shadow); }
.tile strong { display: block; font-family: var(--serif); font-size: 1.05rem; margin-bottom: 3px; }
.tile span { font-size: 0.87rem; color: var(--muted); }

.contact-card {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 22px 0;
}

.contact-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.contact-row:last-child { border-bottom: none; }
.contact-row dt { font-weight: 700; color: var(--muted); font-size: 0.9rem; }
.contact-row dd { margin: 0; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 30px;
}

.site-footer img.footer-logo { height: 36px; margin-bottom: 14px; }
.site-footer p { font-size: 0.87rem; color: var(--muted); }

.footer-title {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.site-footer ul { list-style: none; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--ink); font-size: 0.92rem; }
.site-footer a:hover { color: var(--accent); }

.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-legal p { margin: 0.5rem 0; color: var(--muted); }
.footer-bottom {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.divider {
  height: 1px;
  background: var(--line);
  margin: 40px 0;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: #f5f1e8;
  border-radius: 999px;
  padding: 7px 16px 7px 8px;
  font-size: 0.83rem;
  font-weight: 600;
}
.age-badge .chip-18 { min-width: 34px; height: 22px; font-size: 0.74rem; }

@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; gap: 26px; }
  .two-col--rev .media { order: 0; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  body { background-attachment: scroll; }

  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 13, 21, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    padding: 10px 16px 18px;
    gap: 0;
  }
  .main-nav a { padding: 12px 10px; font-size: 0.95rem; }
}

@media (max-width: 640px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.28rem; }
  body { font-size: 15.5px; }
  .card-grid, .tile-grid, .footer-grid { grid-template-columns: 1fr; }
  .gate-card { padding: 32px 24px 30px; }
  .gate-actions .btn { width: 100%; }
  .contact-row { grid-template-columns: 1fr; gap: 2px; }
  .section { padding: 24px 0; }
  .page-hero { padding: 38px 0 24px; }
  .sheet { margin: 14px 12px 40px; border-radius: 16px; }
  .topbar .container { flex-wrap: wrap; }
  .cross-list, .note-list { columns: 1 !important; }
}
