:root {
  --bg: #070706;
  --panel: #10100e;
  --panel-2: #151410;
  --gold: #e5c15b;
  --gold-soft: #cfa647;
  --gold-dark: #6f561f;
  --text: #f5f1e8;
  --muted: #c0b9ab;
  --red: #c92731;
  --felt: #0b3a31;
  --player: #8ebbd4;
  --banker: #e07a80;
  --tie: #7dceb4;
  --shadow: rgba(0, 0, 0, 0.45);
  --header-line: rgba(111, 86, 31, 0.85);
  --max: 1280px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% -10%, rgba(111, 86, 31, 0.18), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #f3df9a;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--gold);
  color: #1a1408;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  min-height: 44px;
}

.logo-img {
  display: block;
  width: auto;
  height: 46px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  background: linear-gradient(180deg, #f4e0a0 0%, #e5c15b 42%, #b8923a 100%);
  color: #1a1408;
  border: 1px solid #f6e7b2;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: filter 180ms ease, transform 180ms ease;
}

.btn:hover {
  color: #1a1408;
  filter: brightness(1.06);
}

.btn:focus-visible {
  outline-color: #fff6d4;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: rgba(229, 193, 91, 0.12);
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 7, 6, 0.94);
  border-bottom: 1px solid var(--header-line);
  backdrop-filter: blur(10px);
}

.utility-bar {
  border-bottom: 1px solid rgba(111, 86, 31, 0.55);
}

.utility-inner {
  display: flex;
  justify-content: flex-end;
}

.utility-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
  list-style: none;
}

.utility-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  text-decoration: none;
  border-left: 1px solid rgba(111, 86, 31, 0.55);
}

.utility-links li:last-child a {
  border-right: 1px solid rgba(111, 86, 31, 0.55);
}

.utility-links a:hover {
  color: var(--gold);
}

.main-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px 14px;
  list-style: none;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--gold-dark);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}

.bars {
  display: grid;
  gap: 5px;
  width: 20px;
  margin-inline: auto;
}

.bars span {
  display: block;
  height: 2px;
  background: var(--gold);
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 38;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 0s linear 280ms;
}

.menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 280ms ease;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 39;
  width: 60%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 18px 32px;
  background:
    linear-gradient(180deg, rgba(229, 193, 91, 0.06) 0%, transparent 30%),
    #0c0c0a;
  border-left: 1px solid var(--gold-dark);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.55);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 280ms ease, visibility 0s linear 280ms;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 280ms ease;
}

.menu-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 6px;
  color: var(--gold-soft);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.menu-label::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.menu-list {
  list-style: none;
  border-top: 1px solid rgba(111, 86, 31, 0.45);
}

.menu-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 10px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 86, 31, 0.35);
  text-transform: uppercase;
  font-size: 0.82rem;
  line-height: 1.3;
  transition: color 180ms ease, background-color 180ms ease;
}

.menu-list a::after {
  content: "›";
  flex: none;
  margin-left: auto;
  color: var(--gold-dark);
  font-size: 1.2rem;
  line-height: 1;
}

.menu-list a:hover,
.menu-list a[aria-current="page"] {
  color: var(--gold);
  background-color: rgba(229, 193, 91, 0.08);
}

.menu-list a:hover::after,
.menu-list a[aria-current="page"]::after {
  color: var(--gold);
}

.menu-cta {
  width: 100%;
  margin: 12px 0 6px;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  aspect-ratio: 3 / 1;
  border-bottom: 1px solid var(--gold-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.97) 0%, rgba(7, 7, 6, 0.9) 36%, rgba(7, 7, 6, 0.6) 55%, rgba(7, 7, 6, 0.12) 74%, rgba(7, 7, 6, 0.05) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  padding: 28px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(3.1rem, 6.4vw, 5.5rem);
  font-weight: 600;
  line-height: 0.9;
  text-transform: uppercase;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 {
    background: linear-gradient(180deg, #fff6d4 0%, #e5c15b 46%, #a8842e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.hero-copy {
  max-width: none;
  margin: 18px 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 64px 0;
  border-top: 1px solid rgba(111, 86, 31, 0.65);
}

.section h2 {
  color: var(--gold);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  text-transform: uppercase;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.section-kicker span {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.section-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.section-intro {
  color: var(--muted);
  margin-bottom: 24px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.split > * {
  min-width: 0;
}

.split-image-left .frame {
  order: -1;
}

.copy p:last-child {
  margin-bottom: 0;
}

.prose {
  max-width: none;
}

.frame {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--panel);
  border: 1px solid var(--gold-dark);
  box-shadow: 0 16px 40px var(--shadow);
}

.frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.frame-banner {
  aspect-ratio: 21 / 9;
  margin-top: 28px;
}

.frame-banner img {
  object-position: center 45%;
}

main section[id] {
  scroll-margin-top: 120px;
}

.toc-section {
  padding: 48px 0;
}

.toc {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: 40px;
  align-items: center;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(229, 193, 91, 0.07) 0%, transparent 45%),
    var(--panel);
  border: 1px solid var(--gold-dark);
  box-shadow: 0 16px 40px var(--shadow);
}

.toc::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(111, 86, 31, 0.35);
  pointer-events: none;
}

.toc-head h2 {
  margin-bottom: 0.5rem;
}

.toc-head p {
  margin: 0;
  color: var(--muted);
}

.toc-list {
  position: relative;
  columns: 2;
  column-gap: 28px;
  list-style: none;
  counter-reset: toc;
}

.toc-list li {
  counter-increment: toc;
  min-width: 0;
  break-inside: avoid;
}

.toc-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 8px 4px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 86, 31, 0.45);
  transition: color 180ms ease, background-color 180ms ease;
}

.toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  flex: none;
  width: 2ch;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
}

.toc-list a::after {
  content: "→";
  flex: none;
  margin-left: auto;
  color: var(--gold-dark);
  transition: color 180ms ease;
}

.toc-title {
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.35;
}

.toc-list a:hover {
  color: var(--gold);
  background-color: rgba(229, 193, 91, 0.06);
}

.toc-list a:hover::after {
  color: var(--gold);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  background: rgba(16, 16, 14, 0.92);
  color: var(--gold);
  border: 1px solid var(--gold);
  box-shadow: 0 10px 28px var(--shadow), inset 0 0 0 4px rgba(16, 16, 14, 0.92), inset 0 0 0 5px rgba(111, 86, 31, 0.8);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease, background 180ms ease, color 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(180deg, #f4e0a0 0%, #e5c15b 42%, #b8923a 100%);
  color: #1a1408;
  box-shadow: 0 10px 28px var(--shadow), 0 0 18px rgba(229, 193, 91, 0.35);
}

.back-to-top:focus-visible {
  outline-color: #fff6d4;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  counter-reset: step;
  margin-top: 32px;
}

.steps li {
  counter-increment: step;
  min-width: 0;
  padding: 18px 18px 8px;
  background: var(--panel);
  border: 1px solid var(--gold-dark);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
}

.steps h3 {
  font-size: 1.2rem;
  color: var(--text);
}

.steps p {
  color: var(--muted);
  font-size: 0.95rem;
}

.value-panel {
  margin-top: 36px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--gold-dark);
}

.value-panel h3 {
  margin-top: 8px;
  color: var(--text);
  font-size: 1.35rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin-bottom: 22px;
}

.pcard-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.pcard {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 5 / 7;
  background: linear-gradient(180deg, #fbf6ec, #e7dcc6);
  color: #1c140c;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
  container-type: inline-size;
}

.pcard.red {
  color: #9d1c28;
}

.corner {
  position: absolute;
  top: 7%;
  left: 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(0.7rem, 17cqw, 1.05rem);
  line-height: 1;
}

.corner span + span {
  margin-top: 2px;
}

.corner-bottom {
  top: auto;
  left: auto;
  right: 8%;
  bottom: 7%;
  transform: rotate(180deg);
}

.pip {
  font-size: clamp(1.2rem, 38cqw, 2.6rem);
  line-height: 1;
}

.pts {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.panel-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.bet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin-top: 8px;
}

.bet {
  min-width: 0;
  padding: 20px 18px 8px;
  background: var(--panel);
  border: 1px solid var(--gold-dark);
  border-top-width: 3px;
}

.bet-player {
  border-top-color: var(--player);
}

.bet-banker {
  border-top-color: var(--banker);
}

.bet-tie {
  border-top-color: var(--tie);
}

.bet-kicker {
  margin-bottom: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bet-player .bet-kicker {
  color: var(--player);
}

.bet-banker .bet-kicker {
  color: var(--banker);
}

.bet-tie .bet-kicker {
  color: var(--tie);
}

.bet h3 {
  color: var(--text);
  font-size: 1.55rem;
}

.bet p:last-child {
  color: var(--muted);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 8px 0 12px;
}

.badges li {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--panel-2);
  border: 1px solid var(--gold-dark);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cat {
  position: relative;
  display: block;
  width: calc((100% - 48px) / 4);
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--panel);
  border: 1px solid var(--gold-dark);
  color: var(--text);
  text-decoration: none;
}

.cat img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease;
}

.cat-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
}

.cat-title {
  font-family: var(--serif);
  font-size: 1.35rem;
}

.cat-cue {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.cat:hover img,
.cat:focus-visible img {
  transform: scale(1.04);
}

.cat:hover,
.cat:focus-visible {
  color: var(--text);
  border-color: var(--gold);
}

.site-footer {
  background: #050504;
  border-top: 1px solid var(--gold-dark);
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 32px;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--muted);
  max-width: 36ch;
}

.col-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-grid > nav > .col-label {
}

.footer-links {
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--text);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.rg-notice p {
  color: var(--muted);
}

.copyright {
  margin-top: 28px;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(111, 86, 31, 0.55);
}

.copyright p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.guide-container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.guide-hero {
  padding: 52px 0 44px;
  background: linear-gradient(180deg, rgba(229, 193, 91, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--gold-dark);
}

.guide-hero h1 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.1;
}

.guide-lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 18px;
  list-style: none;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--gold-dark);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb [aria-current="page"] {
  color: var(--gold);
}

.guide .section {
  padding: 52px 0;
}

.guide-body p,
.guide-body li,
.guide-body dd {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.guide-body h3 {
  margin-top: 1.9rem;
  color: var(--text);
  font-size: 1.3rem;
}

.guide-body p:last-child {
  margin-bottom: 0;
}

.guide-banner {
  padding-top: 40px;
}

.guide-banner + .toc-section {
  border-top: 0;
}

.guide-figure {
  margin: 0;
}

.guide-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 45%;
  border: 1px solid var(--gold-dark);
  box-shadow: 0 16px 40px var(--shadow);
}

.guide-list {
  margin: 0 0 1.2rem;
  list-style: none;
}

.guide-list li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 22px;
}

.guide-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.guide-list strong {
  color: var(--gold);
  font-weight: 600;
}

.term-list {
  margin: 24px 0 0;
  border-top: 1px solid rgba(111, 86, 31, 0.45);
}

.term-list > div {
  padding: 16px 0;
  border-bottom: 1px solid rgba(111, 86, 31, 0.45);
}

.term-list dt {
  margin-bottom: 4px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.term-list dd {
  margin: 0;
}

.guide-note {
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--gold-dark);
  color: var(--muted);
}

.table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--gold-dark);
  background: var(--panel);
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}

.guide-table caption {
  padding: 14px 16px;
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold-dark);
}

.guide-table th,
.guide-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(111, 86, 31, 0.4);
}

.guide-table thead th {
  background: var(--panel-2);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.guide-table tbody th {
  color: var(--text);
  font-weight: 600;
}

.guide-table td {
  color: var(--muted);
}

.guide-table tbody tr:last-child th,
.guide-table tbody tr:last-child td {
  border-bottom: 0;
}

.faq-list {
  margin-top: 8px;
  border-top: 1px solid rgba(111, 86, 31, 0.45);
}

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(111, 86, 31, 0.45);
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 640px) {
  .guide-hero {
    padding: 36px 0 32px;
  }

  .guide .section {
    padding: 40px 0;
  }

  .guide-banner {
    padding-top: 28px;
  }

  .guide-figure img {
    aspect-ratio: 16 / 9;
  }

  .guide-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .guide-table,
  .guide-table tbody,
  .guide-table tr,
  .guide-table th,
  .guide-table td {
    display: block;
  }

  .guide-table caption {
    display: block;
  }

  .guide-table tbody tr {
    padding: 6px 0;
    border-bottom: 1px solid var(--gold-dark);
  }

  .guide-table tbody tr:last-child {
    border-bottom: 0;
  }

  .guide-table tbody th {
    padding: 10px 16px 4px;
    border-bottom: 0;
    color: var(--gold);
  }

  .guide-table td {
    padding: 6px 16px;
    border-bottom: 0;
  }

  .guide-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--gold-soft);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
  }
}

@media (max-width: 1199px) {
  .utility-bar,
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .btn-header {
    margin-left: auto;
  }

  .nav-toggle {
    margin-left: 8px;
  }

  .cat {
    width: calc((100% - 48px) / 4);
  }
}

@media (max-width: 1023px) {
  .value-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .value-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 48px 0;
  }

  .split,
  .split-image-left {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .split-image-left .frame {
    order: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps,
  .bet-grid {
    grid-template-columns: 1fr;
  }

  .toc {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .toc-section {
    padding: 36px 0;
  }

  .toc {
    padding: 22px 18px;
  }

  .toc-list {
    columns: 1;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 767px) {
  .container,
  .guide-container {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero {
    display: block;
    aspect-ratio: auto;
  }

  .hero-media {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid var(--gold-dark);
  }

  .hero-media img {
    object-position: center;
  }

  .hero-shade {
    display: none;
  }

  .hero-inner {
    max-width: none;
    padding: 28px 0 36px;
  }

  .cat-grid {
    gap: 10px;
  }

  .cat {
    width: calc((100% - 10px) / 2);
  }

  .cat-title {
    font-size: 1.05rem;
  }

  .cat-copy {
    padding: 22px 10px 10px;
  }

  .value-panel {
    padding: 16px;
  }
}

@media (max-width: 767px) {
  .logo-img {
    height: 44px;
  }

  .btn-header {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }
}

@media (max-width: 380px) {
  .logo-img {
    height: 40px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.about-content {
  padding-top: 34px;
  padding-bottom: 60px;
}

.about-copy {
  display: grid;
  gap: 16px;
  margin: 0 0 34px;
}

.about-copy p {
  margin: 0;
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-content: start;
  column-gap: 14px;
  row-gap: 8px;
  min-width: 0;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--gold-dark);
}

.about-card-icon {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.about-card h2 {
  margin: 0;
  color: var(--gold);
  font-size: 1.05rem;
  line-height: 1.5;
}

.about-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .about-cards {
    gap: 12px;
  }

  .about-card {
    column-gap: 10px;
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .about-title-brand {
    display: block;
  }

  .about-content {
    padding-top: 26px;
    padding-bottom: 44px;
  }

  .about-copy {
    gap: 14px;
    margin-bottom: 26px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }
}

.contact-content {
  padding-top: 34px;
  padding-bottom: 60px;
}

.contact-line-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(229, 193, 91, 0.08), transparent 48%), var(--panel);
  border: 1px solid var(--gold-dark);
}

.contact-line-mark {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  color: var(--gold);
  border-right: 1px solid rgba(111, 86, 31, 0.7);
}

.contact-line-mark svg {
  width: 58px;
  height: 58px;
}

.contact-line-mark span {
  font-size: 1.1rem;
  font-weight: 700;
}

.contact-line-copy {
  padding: 28px 34px;
}

.contact-line-copy h2 {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 1.35rem;
}

.contact-line-copy > p:not(.contact-line-hint) {
  max-width: 78ch;
  margin: 0 0 18px;
  color: var(--text);
  line-height: 1.8;
}

.contact-line-button {
  gap: 10px;
  text-transform: none;
}

.contact-line-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.contact-line-hint span {
  display: block;
  overflow-wrap: anywhere;
}

.contact-explainer {
  margin: 24px 0 22px;
  color: var(--text);
  font-size: 1.025rem;
  line-height: 1.8;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-info-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-content: start;
  column-gap: 14px;
  row-gap: 8px;
  min-width: 0;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--gold-dark);
}

.contact-info-card .about-card-icon {
  grid-row: 1 / span 2;
}

.contact-info-card h2 {
  margin: 0;
  color: var(--gold);
  font-size: 1.05rem;
  line-height: 1.5;
}

.contact-info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.contact-disclaimer {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 18px;
  background: rgba(16, 16, 14, 0.72);
  border: 1px solid rgba(111, 86, 31, 0.65);
}

.contact-disclaimer svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--gold-soft);
}

.contact-disclaimer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .contact-info-cards {
    gap: 12px;
  }

  .contact-info-card {
    column-gap: 10px;
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .contact-content {
    padding-top: 26px;
    padding-bottom: 44px;
  }

  .contact-line-card {
    grid-template-columns: 1fr;
  }

  .contact-line-mark {
    gap: 4px;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(111, 86, 31, 0.7);
  }

  .contact-line-mark svg {
    width: 48px;
    height: 48px;
  }

  .contact-line-copy {
    padding: 22px 18px;
  }

  .contact-line-copy h2 {
    font-size: 1.2rem;
  }

  .contact-line-button {
    width: 100%;
  }

  .contact-explainer {
    margin: 20px 0 18px;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
  }
}
