@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/baloo-2-600.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/baloo-2-700.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/baloo-2-800.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/nunito-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/nunito-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/nunito-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/nunito-sans-400i.woff2") format("woff2");
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% -10%, rgba(224, 161, 42, 0.18), transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(59, 39, 112, 0.16), transparent 36%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body.nav-lock { overflow: hidden; }

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

a { color: var(--primary); }
a:hover { color: var(--deep); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--space-4);
  top: var(--space-2);
  transform: translateY(-160%);
  background: var(--gold);
  color: var(--ink);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-btn);
  z-index: 20;
  font-weight: 700;
}
.skip:focus { transform: none; }

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

.agebar {
  background: var(--deep);
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
}
.agebar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding-block: var(--space-2);
}
.agebar a { color: var(--gold-soft); }
.pill-18 {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 32px;
  padding-inline: var(--space-2);
  border-radius: var(--radius-btn);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 15;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
body.nav-lock { overflow: hidden; }
.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.15;
}
.brand img { width: 40px; height: 40px; }
.nav-links {
  display: flex;
  gap: var(--space-2);
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: var(--space-3);
  border-radius: var(--radius-btn);
}
.nav-links a:hover { background: rgba(59, 39, 112, 0.08); }
.nav-toggle, .nav-close, .backdrop { display: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 var(--space-4);
}
h1 { font-size: var(--step-h1); }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 80% 12%, rgba(224, 161, 42, 0.38), transparent 26%),
    radial-gradient(circle at 8% 90%, rgba(14, 94, 76, 0.4), transparent 28%),
    linear-gradient(160deg, #3b2770 0%, #241545 58%, #1a1038 100%);
  border-radius: 0 0 32px 32px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 246, 232, 0.16) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  gap: var(--space-6);
  padding-block: var(--space-7) var(--space-8);
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-btn);
  background: rgba(255, 246, 232, 0.12);
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 14px;
}
.kicker.on-page {
  color: var(--primary);
  background: rgba(59, 39, 112, 0.08);
}
.space-after { margin-bottom: var(--space-5); }
.space-before { margin-top: var(--space-6); }
.space-block { margin-block: var(--space-6); }
.gap-sm { height: var(--space-5); }
.gap-md { height: var(--space-6); }
.hero p.lede {
  font-size: 17px;
  max-width: 38rem;
  margin: 0 0 var(--space-5);
}
.hero-actions, .actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease);
}
.btn:hover { color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: scale(0.98); }
.btn.secondary {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 246, 232, 0.55);
}
.btn.secondary.ink {
  color: var(--ink);
  border-color: var(--primary);
  background: transparent;
}
.btn.secondary.ink:hover { color: var(--deep); }
.micro {
  margin: var(--space-3) 0 0;
  font-size: 14px;
  color: var(--gold-soft);
}
.section-micro { color: var(--muted); font-size: 14px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: end;
  margin-bottom: var(--space-4);
}
.section-head p { margin: 0; max-width: 36rem; }
.dock {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.pass {
  position: relative;
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3);
  background:
    linear-gradient(180deg, rgba(255, 246, 232, 0.06), transparent 40%),
    var(--panel);
  border: 1px solid rgba(224, 161, 42, 0.4);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 246, 232, 0.04);
}
.pass::before,
.pass::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3b2770;
  top: 58px;
}
.pass::before { left: -7px; }
.pass::after { right: -7px; }
.pass-top { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 var(--space-2);
  border-radius: var(--radius-btn);
  border: 1px solid rgba(246, 212, 138, 0.55);
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.pass .logo-panel { min-height: 72px; background: #1a1038; }
.pass-name {
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
}
.pass-name:hover { color: var(--gold-soft); }
.pass-domain { margin: 0; color: var(--gold-soft); font-size: 14px; }
.review-top {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
  align-items: center;
}
.review-sections {
  display: grid;
  gap: var(--space-4);
  margin-block: var(--space-6);
}
.review-sections h2 { font-size: var(--step-h3); }
.review-sections p:last-child { margin-bottom: 0; }
.harbour {
  position: relative;
  min-height: 220px;
}
.harbour svg { width: 100%; height: auto; display: block; }
.lamp {
  transform-origin: center;
  animation: lamp 2.8s var(--ease) infinite;
}

.section { padding-block: var(--space-8); }
.section.tight { padding-block: var(--space-6); }

.ruby-rail {
  list-style: none;
  margin: 0;
  padding: var(--space-4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.ruby-rail a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 64px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  background: var(--bg);
  border-radius: 12px;
  padding: var(--space-2) var(--space-3);
}
.ruby-rail .num {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 20px;
}
.logo-panel {
  background: var(--panel);
  border-radius: 12px;
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  overflow: hidden;
}
.logo-panel img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.cards {
  display: grid;
  gap: var(--space-5);
}
.ticket {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
}
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  top: 88px;
}
.ticket::before { left: -10px; }
.ticket::after { right: -10px; }
.ticket:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); transition: transform 150ms var(--ease), box-shadow 150ms var(--ease); }
.ticket h3 { margin-top: var(--space-4); }
.facts {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-4) 0;
  padding: 0;
  list-style: none;
}
.facts li {
  background: var(--bg);
  border-radius: 12px;
  padding: var(--space-3) var(--space-4);
  font-size: 15px;
}
.facts strong { display: block; font-size: 14px; color: var(--muted); font-weight: 700; }

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  background: var(--surface);
  position: relative;
}
.table-scroll::after {
  content: "Swipe for the rest";
  position: sticky;
  left: 0;
  display: block;
  padding: var(--space-2) var(--space-4) var(--space-3);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}
th, td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
th {
  background: var(--deep);
  color: var(--cream);
  font-size: 14px;
}
tbody tr:nth-child(even) { background: rgba(243, 237, 248, 0.65); }
tbody tr td:first-child { box-shadow: inset 4px 0 0 var(--gold); font-weight: 800; }
.nums { font-variant-numeric: tabular-nums; }

.reader h2 { font-size: var(--step-h3); margin-bottom: var(--space-3); }
.reader, .check {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: var(--space-5);
}
.tabs, .picks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.tabs button, .picks button, .next {
  min-height: 48px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-btn);
  border: 2px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.tabs button[aria-selected="true"], .picks button[aria-pressed="true"] {
  background: var(--primary);
  color: var(--cream);
  border-color: var(--primary);
}
.domain-chip {
  font-family: var(--font-display);
  font-size: var(--step-h3);
  background: var(--deep);
  color: var(--gold-soft);
  display: inline-block;
  padding: var(--space-3) var(--space-4);
  border-radius: 12px;
  margin: 0 0 var(--space-4);
}
.result { min-height: 48px; font-weight: 700; }

.grid-2, .grid-3 { display: grid; gap: var(--space-4); }
.note {
  background: var(--cream);
  border-left: 8px solid var(--gold);
  border-radius: 12px;
  padding: var(--space-4);
  margin: var(--space-4) 0;
}
.pull {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  color: var(--primary);
  margin: var(--space-5) 0;
}

details {
  background: var(--surface);
  border-radius: 12px;
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow);
}
summary {
  cursor: pointer;
  font-weight: 800;
  min-height: 44px;
  display: flex;
  align-items: center;
}
details p:last-child { margin-bottom: 0; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
  font-size: 14px;
  color: var(--muted);
}
.crumbs a { color: var(--muted); }

.prose p { margin: 0 0 var(--space-4); max-width: 68ch; }
.licence-band {
  background: var(--deep);
  color: var(--cream);
  border-radius: var(--radius-card);
  padding: var(--space-5);
}
.licence-band a { color: var(--gold-soft); }
.licence-band p { margin: 0 0 var(--space-3); }

.footer {
  background: var(--deep);
  color: var(--cream);
  padding-block: var(--space-8) var(--space-7);
  margin-top: var(--space-7);
}
.footer a { color: var(--gold-soft); }
.footer .ruby-rail a { color: var(--ink); }
.footer .ruby-rail a:hover { color: var(--primary); }
.foot-grid {
  display: grid;
  gap: var(--space-5);
}
.footer h2 { font-size: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: var(--space-2); }
.legal {
  border-top: 1px solid rgba(255, 246, 232, 0.2);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  font-size: 14px;
}
.legal p { margin: 0 0 var(--space-3); }

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 14;
  background: var(--deep);
  color: var(--cream);
  padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lift);
}
.sticky-cta[hidden] { display: none !important; }
.sticky-cta p { margin: 0; font-size: 14px; font-weight: 700; }
.sticky-cta .btn { min-height: 44px; padding-inline: var(--space-4); }
body.sticky-on { padding-bottom: 96px; }

.page-hero { padding-top: var(--space-6); }

@media (min-width: 768px) {
  .table-scroll::after { display: none; }
  .ruby-rail { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .hero-grid { grid-template-columns: 0.9fr 1.1fr; }
  .review-top { grid-template-columns: 280px 1fr; }
  .review-sections { grid-template-columns: 1fr 1fr; }
  .review-sections article:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .sticky-cta { display: none; }
  body.sticky-on { padding-bottom: 0; }
}

@media (min-width: 1024px) {
  body { font-size: 17px; }
}

@media (max-width: 1023px) {
  .brand { font-size: 16px; }
  html.js .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--deep);
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    padding: 88px var(--space-5) var(--space-6);
    margin: 0;
    gap: var(--space-2);
    overflow: auto;
  }
  html.js .nav-links.open { display: flex; }
  .nav-links a {
    color: var(--cream);
    font-size: 22px;
    font-family: var(--font-display);
    min-height: 48px;
    border-radius: 12px;
  }
  html.js .nav-links.open .nav-cta-desk {
    display: inline-flex;
    align-self: flex-start;
    margin-top: var(--space-4);
    color: var(--ink);
  }
  .nav-toggle, .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    border-radius: 12px;
    border: 2px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
  }
  .nav-toggle { margin-left: auto; }
  .nav-cta-desk { display: none; }
  .nav-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--gold);
    border-color: var(--gold);
  }
  .backdrop.open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(18, 14, 34, 0.45);
    z-index: 25;
  }
}

@keyframes lamp {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}
.sheen {
  position: relative;
  overflow: hidden;
}
.sheen::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 246, 232, 0.35), transparent);
  animation: sheen 3.6s var(--ease) infinite;
  pointer-events: none;
}
@keyframes sheen {
  0% { transform: translateX(0); }
  100% { transform: translateX(420%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Design pass: contrast, hit areas, compact footer. Copy and hrefs are unchanged. */
:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--ink);
}
.hero :focus-visible,
.footer :focus-visible,
.pass :focus-visible,
.sticky-cta :focus-visible,
.nav-links.open :focus-visible {
  outline-color: var(--gold-soft);
  box-shadow: 0 0 0 5px var(--deep);
}

@media (max-width: 767px) {
  .hero-grid { padding-block: var(--space-5) var(--space-6); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-actions a[target="_blank"] {
    background: transparent;
    color: var(--gold-soft);
    border-color: var(--gold-soft);
  }
  .hero-actions a[target="_blank"]:hover,
  .hero-actions a[target="_blank"]:focus-visible {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
  }
}

.dock { align-items: stretch; }
.pass { min-height: 0; }
.pass .logo-panel {
  min-height: 88px;
  padding: var(--space-3);
}
.logo-panel img {
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 52px;
}
.pass-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin: 0;
  color: var(--gold-soft);
}
.pass-actions a[target="_blank"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-btn);
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  flex: 0 0 auto;
}
.pass-actions a[target="_blank"]:hover { color: var(--ink); }
.pass-actions a:not([target="_blank"]) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gold-soft);
  font-weight: 800;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 639px) {
  .dock { grid-template-columns: 1fr; }
  .pass {
    grid-template-columns: 1fr;
    row-gap: var(--space-2);
    align-items: stretch;
  }
  .pass::before,
  .pass::after,
  .ticket::before,
  .ticket::after { display: none; }
  .pass-top,
  .pass-name,
  .pass-domain,
  .pass-actions { grid-column: 1; }
  .pass-name,
  .pass-domain { margin: 0; }
  .dock .pass .logo-panel {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
    width: 100%;
    padding: 10px 8px;
  }
  .dock .pass .logo-panel img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 64px;
    object-fit: contain;
    object-position: center;
  }
  .pass-actions {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    font-size: 0;
  }
  .pass-actions a { font-size: 16px; width: 100%; justify-content: center; flex: 0 0 auto; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .pass::before,
  .pass::after { display: none; }
}

table { min-width: 0; table-layout: fixed; }
.table-scroll::after { display: none; }
.table-scroll[data-overflow]::after { display: block; }
th, td {
  vertical-align: middle;
  padding: var(--space-3) var(--space-2);
  overflow-wrap: anywhere;
}
th:nth-child(1), td:nth-child(1) { width: 34%; }
th:nth-child(2), td:nth-child(2) { width: 28%; }
th:nth-child(3), td:nth-child(3) { width: 38%; }
.table-scroll .btn {
  min-height: 44px;
  width: 100%;
  padding: var(--space-2) var(--space-2);
  font-size: 15px;
  white-space: normal;
}

@media (max-width: 1023px) {
  .footer { padding-block: var(--space-5) var(--space-6); }
  .footer h2 { margin-bottom: var(--space-2); }
  .footer li { margin-bottom: var(--space-1); }
  .footer .space-before { margin-top: var(--space-4); }
  .footer .foot-grid { align-items: start; }
  .footer .foot-grid > div { min-width: 0; }
  .footer .ruby-rail {
    display: flex;
    overflow-x: auto;
    grid-template-columns: none;
    gap: var(--space-2);
    padding: 0 0 var(--space-2);
    background: transparent;
    box-shadow: none;
  }
  .footer .ruby-rail a {
    flex: 0 0 auto;
    min-height: 44px;
    background: transparent;
    color: var(--gold-soft);
    border: 1px solid var(--gold-soft);
    border-radius: var(--radius-btn);
    padding-inline: var(--space-3);
  }
  .footer .ruby-rail a:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }
  .footer .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .footer .foot-grid > div:first-child { grid-column: 1 / -1; order: 3; }
  .footer .foot-grid > div:nth-child(2) { grid-column: 1 / -1; order: 1; }
  .footer .foot-grid > div:nth-child(2) ul {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 var(--space-3);
  }
  .footer .foot-grid > div:nth-child(3),
  .footer .foot-grid > div:nth-child(4) { order: 2; }
  .footer .legal { margin-top: var(--space-4); padding-top: var(--space-4); }
  main .ruby-rail {
    display: flex;
    overflow-x: auto;
    grid-template-columns: none;
    gap: var(--space-2);
  }
  main .ruby-rail li { flex: 0 0 auto; }
  main .ruby-rail a { min-height: 44px; }
}

summary { justify-content: space-between; gap: var(--space-3); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}
details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }

.sticky-cta { gap: var(--space-2); }
.sticky-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 0;
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--gold-soft);
  cursor: pointer;
}

@media (max-width: 1023px) {
  html:not(.js) .nav-inner { flex-wrap: wrap; }
  html:not(.js) .nav-links {
    display: flex;
    position: static;
    inset: auto;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: transparent;
    padding: 0 0 var(--space-3);
    margin: 0;
    overflow: visible;
    z-index: auto;
  }
  html:not(.js) .nav-links a { color: var(--ink); font-size: 16px; font-family: var(--font-body); }
  html:not(.js) .nav-toggle,
  html:not(.js) .nav-close { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
