/* swisscasinobutler.ch — Archetype 3 Concierge ledger / sticky-right TOC */
:root {
  --bg: #F5F7FB;
  --text: #1A1D26;
  --accent-2: #1A3B8B;
  --accent-green: #1E853E;
  --primary-blue: var(--accent-2);
  --accent: #1E853E;
  --cta: #1E853E;
  --light-green: #70B82D;
  --red-accent: #D32F2F;
  --bg-dark: #1A3B8B;
  --teal: var(--accent-2);
  --teal-deep: #0f172a;
  --slate: var(--text);
  --ink: var(--text);
  --paper: var(--bg);
  --surface: #ffffff;
  --mint: rgba(30, 133, 62, 0.12);
  --line: #dde3ef;
  --muted: #64748b;
  --cta-ink: #ffffff;
  --ok: var(--accent);
  --hot: var(--accent-2);
  --header-h: 4.25rem;
  --edge: clamp(1.1rem, 3.5vw, 2.75rem);
  --folio-w: 13.5rem;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 0 rgba(30, 41, 59, 0.06), 0 16px 40px rgba(30, 41, 59, 0.08);
  /* System UI first — Google Cormorant is display=optional (no late swap CLS) */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ui: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, Consolas, "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.25rem);
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 92, 38, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(30, 133, 62, 0.10), transparent 50%),
    linear-gradient(180deg, #f7f0e8 0%, var(--paper) 40%, #efe6dc 100%);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 1.05rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--slate); }
button, .btn { font-family: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus {
  left: 12px;
  z-index: 90;
  background: var(--surface);
  padding: 8px 12px;
  border: 2px solid var(--teal);
}

/* Reserve chrome slots before JS inject — cuts CLS on .page */
#siteChromeStart {
  min-height: var(--header-h);
}
#siteChromeEnd {
  min-height: 18rem;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem var(--edge);
  background: rgba(255, 250, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--signal);
  box-shadow: 0 8px 24px rgba(28, 20, 16, 0.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  max-width: min(20rem, 48%);
}
.brand-logo {
  height: 44px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: 0;
}
.brand-mark {
  font-weight: 750;
  font-size: clamp(0.92rem, 1.15vw, 1.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(34rem, 46vw);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--cta);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  font-weight: 650;
}
.site-header > .mobile-header-cta { display: none !important; }
.nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 0.15rem;
  flex-wrap: nowrap;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.nav a:hover,
.nav a.is-active {
  background: rgba(196, 92, 38, 0.12);
  color: var(--signal);
}
.badge-18 {
  margin-left: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--line);
  color: var(--muted);
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
}
.header-cta { margin-left: 0.5rem; }

/* Brand cluster spoke rail (casinobutler-style) */
.cluster-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  padding: 0.65rem 1.1rem;
  margin: 0 0 0.25rem;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--primary-blue) 92%, var(--accent-green));
}
.cluster-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.cluster-nav a:hover,
.cluster-nav a.is-active {
  border-color: var(--accent-green);
  background: rgba(212, 175, 55, 0.14);
  color: var(--ink);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary,
.btn-play {
  background: var(--cta);
  color: var(--cta-ink);
}
.btn-primary:hover,
.btn-play:hover {
  background: #BE123C;
  color: var(--cta-ink);
}
.site-footer .btn-primary,
.site-footer .btn-play,
.site-footer a.btn-primary,
.site-footer a.btn-play {
  color: var(--cta-ink);
  background: var(--cta);
}
.site-footer .btn-primary:hover,
.site-footer a.btn-primary:hover {
  color: var(--cta-ink);
  background: #BE123C;
}
.btn.is-disabled,
.btn-play.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  transform: none;
}
.btn-ghost {
  background: transparent;
  color: var(--surface);
  border: 1.5px solid rgba(255, 251, 247, 0.55);
}

/* —— Page + sticky-right rail TOC —— */
.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--folio-w);
  gap: 1.35rem 1.5rem;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem var(--edge) 4.5rem;
  min-width: 0;
  align-items: start;
}
#main {
  min-width: 0;
  grid-column: 1;
}
.page-toc--rail-right,
.page-toc--chips,
.anchor-nav {
  position: sticky;
  top: calc(var(--header-h) + 0.85rem);
  grid-column: 2;
  grid-row: 1 / span 3;
  max-height: calc(100vh - var(--header-h) - 2rem);
  overflow: auto;
  margin: 0;
  padding: 0.85rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow);
}
.page-toc__head {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
}
.page-toc__label {
  display: block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-toc__hint {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}
.page-toc__links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.page-toc__link {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.42rem 0.35rem;
  border-radius: var(--radius-sm);
  background: transparent;
}
.page-toc__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}
.page-toc__link:hover {
  background: var(--mint);
  color: var(--teal-deep);
}
.page-toc__link:hover .page-toc__dot,
.page-toc__link.is-active .page-toc__dot {
  background: var(--teal);
}
.page-toc__link.is-active {
  background: var(--mint);
  color: var(--teal-deep);
}

body[data-commercial="false"] .page,
body.author-page .page {
  grid-template-columns: minmax(0, 1fr);
}
body[data-commercial="false"] #main,
body.author-page #main {
  grid-column: 1;
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  min-height: clamp(220px, 36vw, 340px);
  padding: clamp(1.4rem, 3.5vw, 2.6rem);
  color: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(10, 17, 40, 0.92) 8%,
    rgba(10, 17, 40, 0.62) 52%,
    rgba(26, 59, 139, 0.45) 100%
  );
}
.hero > :not(.hero-background) { position: relative; z-index: 2; }
.article-figure {
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.article-figure img { width: 100%; height: auto; display: block; }

/* Mid-article image as tip backdrop */
.article-figure--tip {
  position: relative;
  isolation: isolate;
  border: 0;
  box-shadow: var(--shadow);
  min-height: clamp(220px, 42vw, 360px);
}
.article-figure--tip > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.article-figure--tip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.92) 12%,
    rgba(15, 23, 42, 0.72) 48%,
    rgba(29, 78, 216, 0.45) 100%
  );
}
.article-tip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  min-height: inherit;
  padding: clamp(1.15rem, 3vw, 1.85rem);
  margin: 0;
  color: #fff;
  max-width: 36rem;
}
.article-tip__label {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--ui);
}
.article-tip p {
  margin: 0;
  font-size: clamp(0.98rem, 2.2vw, 1.12rem);
  line-height: 1.45;
  color: rgba(255, 251, 247, 0.96);
  text-wrap: pretty;
}
.article-tip strong {
  font-weight: 700;
  color: #fff;
}
@media (max-width: 640px) {
  .article-figure--tip {
    min-height: 260px;
  }
  .article-tip {
    max-width: none;
  }
}
.kicker {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--siirto-yellow);
}
.hero .kicker { color: var(--signal); font-family: var(--mono); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.78rem; }
.hero .trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(112, 184, 45, 0.18);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}
.page-toc--segment {
  position: sticky;
  top: calc(var(--header-h) + 0.45rem);
  grid-column: 1 / -1;
  grid-row: auto;
  max-height: none;
  overflow-x: auto;
  border-left: none;
  border-top: 3px solid var(--accent-green);
  z-index: 5;
}
.page-toc--segment .page-toc__links {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.35rem;
  padding-bottom: 0.15rem;
}
.page-toc--segment .page-toc__link {
  flex-shrink: 0;
  white-space: nowrap;
  border: 1px solid var(--line);
}
.page-toc--segment .page-toc__link.is-active {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 1px var(--accent-green);
}
body[data-toc-layout=\"segment\"] .page {
  grid-template-columns: minmax(0, 1fr);
}
.rank-card--vault::before {
  background: linear-gradient(180deg, var(--accent-green), var(--primary-blue));
}
.rank-card--vault .rank-card__badge {
  background: var(--primary-blue);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4.2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.65rem;
  max-width: 16ch;
}
.lede {
  margin: 0 0 1.1rem;
  max-width: 48ch;
  font-size: 1.05rem;
  color: rgba(255, 251, 247, 0.92);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.section {
  margin-top: 2.1rem;
  padding-top: 0.25rem;
}
.section h2,
.section h3,
.criteria h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.65rem;
  color: var(--slate);
}
.section > .kicker,
.criteria .kicker { color: var(--teal-deep); }
.section p { margin: 0 0 0.9rem; max-width: 68ch; }

/* —— Ranking / transfer-row —— */
#rating,
#ranking {
  margin-top: 1.6rem;
}
.affiliate-note {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.rank-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.rank-card,
.rank-card--row,
.rank-card--ledger,
.rank-card--transfer {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.85rem 1rem;
  padding: 1rem 1.1rem 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: visible;
}
.rank-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--cta);
}
.rank-card__badge {
  flex: 0 0 auto;
  position: static;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--slate);
  color: var(--surface);
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.rank-card__brand {
  flex: 0 1 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  min-width: 14rem;
  padding-left: 0;
}
.rank-card__logo-link { display: block; flex-shrink: 0; line-height: 0; }
.rank-card__logo {
  width: 108px;
  height: 64px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
}
.rank-card__id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
}
.rank-card__name {
  margin: 0;
  font-weight: 750;
  font-size: 1.05rem;
  color: var(--slate);
}
.rank-card__stars { display: flex; gap: 1px; margin-top: 0; }
.rank-card__star { color: #c9d5d2; font-size: 0.85rem; }
.rank-card__star.is-on { color: var(--cta); }
.rank-card__features {
  flex: 1 1 10rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.rank-card__features li {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-deep);
}
.rank-card__pays {
  flex: 0 1 8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.rank-card__pays img {
  height: 28px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--line);
  padding: 2px 4px;
}
.rank-card__bonus {
  flex: 0 1 9rem;
  font-weight: 700;
  color: var(--slate);
  font-size: 0.95rem;
}
.rank-card__bonus-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.rank-card__cta {
  flex: 0 0 auto;
  margin-left: auto;
  align-self: center;
}

/* —— Payments —— */
.pay-logos {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}
.pay-logo {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.55rem;
  text-align: center;
}
.pay-logo img {
  margin: 0 auto 0.35rem;
  height: 36px;
  width: auto;
  object-fit: contain;
}
.pay-logo figcaption,
.pay-logo__caption {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--muted);
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin: 1rem 0 1.25rem;
}
.prose .content-table,
.content-table {
  display: table;
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.prose .content-table th,
.prose .content-table td,
.content-table th,
.content-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose .content-table th,
.content-table th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--mint);
}
.prose .content-table tr:last-child td,
.content-table tr:last-child td {
  border-bottom: 0;
}
.compare-table th:first-child,
.compare-table td:first-child {
  width: 2.5rem;
  text-align: center;
  font-weight: 700;
  color: var(--teal-deep);
}
.compare-table a {
  font-weight: 700;
  text-decoration: none;
  color: var(--slate);
}
.compare-table a:hover { color: var(--teal-deep); text-decoration: underline; }
.pay-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.92rem;
}
.pay-table th,
.pay-table td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.pay-table th {
  background: var(--mint);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate);
}
.pay-table tr.is-current { background: rgba(255, 194, 10, 0.14); }
.pay-method {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
}
.pay-method img {
  width: 52px;
  height: 34px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 3px 5px;
  border: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(10, 27, 74, 0.06);
}
.yes,
.cell-good {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: var(--ok);
  font-weight: 700;
}
.yes::before,
.cell-good::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: rgba(31, 122, 77, 0.14);
  color: var(--ok);
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}
.cell-bad {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: #9B3B3B;
  font-weight: 650;
}
.cell-bad::before {
  content: "–";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: rgba(155, 59, 59, 0.12);
  font-weight: 800;
  flex-shrink: 0;
}
.cell-mid {
  color: var(--muted);
  font-weight: 650;
}

/* Mid-article payment compare */
.content-table--pays th {
  background: linear-gradient(180deg, #FFE58A, var(--mint));
  color: var(--slate);
}
.content-table--pays td:first-child {
  min-width: 10rem;
}
.content-table--pays .pay-method img {
  width: 56px;
  height: 36px;
}

/* Deposit / how-to steps */
.deposit-steps {
  position: relative;
  margin: 1.25rem 0 1.6rem;
  padding: 1.15rem 0.35rem 0.35rem;
}
.deposit-steps__rail {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.35rem 0.4rem 1rem;
  list-style: none;
  margin: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--siirto-yellow) rgba(10, 27, 74, 0.12);
}
.deposit-steps__rail::-webkit-scrollbar { height: 7px; }
.deposit-steps__rail::-webkit-scrollbar-thumb {
  background: var(--siirto-yellow);
  border-radius: 999px;
}
.deposit-steps__item {
  position: relative;
  flex: 0 0 min(16.5rem, 78vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.deposit-steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: calc(2.3rem + 0.15rem);
  right: -0.85rem;
  height: 3px;
  background: linear-gradient(90deg, var(--siirto-yellow), rgba(255, 194, 10, 0.25));
  border-radius: 999px;
  z-index: 0;
  pointer-events: none;
}
.deposit-steps__num {
  position: relative;
  z-index: 1;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--cta-ink);
  background: var(--siirto-yellow);
  box-shadow: 0 0 0 4px rgba(255, 194, 10, 0.22);
}
.deposit-steps__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem 1.05rem;
  box-shadow: var(--shadow);
  min-height: 7.5rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.deposit-steps__item:hover .deposit-steps__card {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(10, 27, 74, 0.12);
}
.deposit-steps__card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--slate);
  font-size: 0.95rem;
}
.deposit-steps__card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
@media (min-width: 981px) {
  .deposit-steps__rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
    gap: 0.75rem;
    padding-bottom: 0.35rem;
  }
  .deposit-steps__item { flex: none; }
  .deposit-steps[data-count="6"] .deposit-steps__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .deposit-steps[data-count="4"] .deposit-steps__rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .table-scroll--pay { overflow: visible; }
  .pay-table { min-width: 0; }
  .pay-table thead { display: none; }
  .pay-table,
  .pay-table tbody { display: block; width: 100%; }
  .pay-table tr {
    display: grid;
    grid-template-columns: minmax(7rem, 0.85fr) 1fr 1fr;
    grid-template-areas:
      "method m1 m2"
      "method m3 m4"
      "method m5 m6";
    gap: 0.4rem 0.65rem;
    align-items: start;
    padding: 0.7rem 0.15rem;
    border-bottom: 1px solid var(--line);
  }
  .pay-table td {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    border: 0;
    padding: 0;
    font-size: 0.9rem;
  }
  .pay-table td:first-child { grid-area: method; align-self: center; }
  .pay-table td:nth-child(2) { grid-area: m1; }
  .pay-table td:nth-child(3) { grid-area: m2; }
  .pay-table td:nth-child(4) { grid-area: m3; }
  .pay-table td:nth-child(5) { grid-area: m4; }
  .pay-table td:nth-child(6) { grid-area: m5; }
  .pay-table td:nth-child(7) { grid-area: m6; }
  .pay-table td:nth-child(n+2)::before {
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .pay-method {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* —— Slots lobby (MCP: categories + full art, TOC-aware cols) —— */
.slots-lobby {
  background: var(--primary-blue);
  color: #FFFbf7;
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.5rem;
  margin: 1.5rem 0;
  overflow: visible;
}
.slots-lobby .kicker { color: var(--siirto-yellow); }
.slots-lobby h2 { color: #fff; margin: 0 0 0.4rem; font-family: var(--display); }
.slots-lobby > p { color: rgba(255, 251, 247, 0.78); max-width: 54ch; margin: 0; }
.slots-lobby__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.1rem 0 1.15rem;
}
.slots-lobby__tab {
  appearance: none;
  border: 2px solid rgba(225, 29, 72, 0.55);
  cursor: pointer;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.65rem;
  background: #1D4ED8;
  color: #14161C;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.slots-lobby__tab:hover { filter: brightness(1.05); transform: translateY(-1px); }
.slots-lobby__tab.is-active {
  background: #fff;
  color: #14161C;
  border-color: #fff;
  outline: 2px solid #1D4ED8;
  outline-offset: 2px;
  box-shadow: 0 3px 0 rgba(225, 29, 72, 0.45);
}
.slots-lobby__grid {
  --slot-cols: 3;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--slot-cols), minmax(0, 1fr));
  gap: 1rem 0.9rem;
  overflow: visible;
}
.slots-lobby__grid[data-toc="top"] { --slot-cols: 4; }
.slots-lobby__grid[data-toc="side"] { --slot-cols: 3; }
.slots-lobby__item[hidden] { display: none !important; }
.slot-tile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  border-radius: 0.75rem;
  transition: transform 0.2s ease;
  transform-origin: center center;
}
.slot-tile.is-disabled { opacity: 0.72; cursor: default; }
.slot-tile:hover,
.slot-tile:focus-visible {
  transform: scale(1.05);
  z-index: 3;
  color: #fff;
}
.slot-tile:active { transform: scale(1.08); }
.slot-tile__media {
  display: block;
  overflow: visible;
  border-radius: 0.85rem;
  background: #1C2028;
  border: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 0;
  padding: 0.4rem;
}
.slot-tile__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0.55rem;
  transform: none !important;
}
.slot-tile__name {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  padding: 0 0.15rem;
  color: #fff;
}
@media (max-width: 980px) {
  .slots-lobby__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--teal) rgba(255, 255, 255, 0.12);
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding: 0.15rem 0.25rem 0.55rem;
  }
  .slots-lobby__tabs::-webkit-scrollbar { height: 6px; }
  .slots-lobby__tabs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
  }
  .slots-lobby__tabs::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 999px;
  }
  .slots-lobby__grid,
  .slots-lobby__grid[data-toc="top"],
  .slots-lobby__grid[data-toc="side"] {
    --slot-cols: 2 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .slot-tile,
  .slots-lobby__tab { transition: none; }
  .slot-tile:hover,
  .slot-tile:focus-visible,
  .slot-tile:active { transform: none; }
}

/* legacy slot-grid kept for safety */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.slot-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.slot-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--mint);
}
.slot-card figcaption {
  padding: 0.45rem 0.55rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--slate);
}

/* —— FAQ —— */
.faq {
  margin-top: 2rem;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 0.55rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--slate);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.1rem;
  color: var(--teal);
  font-weight: 800;
}
.faq details[open] summary::before { content: "–"; }
.faq details p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

/* —— Author —— */
.author-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--teal);
}
.author-card img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--mint);
  background: var(--mint);
}
.author-card h3 { margin: 0 0 0.35rem; font-family: var(--display); }
.author-card p { margin: 0; }
.author-hero {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 0 0.5rem;
}
/* Guard: never squeeze bio into the 140px portrait column */
.hero.author-hero {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  min-height: 0;
  justify-content: center;
  align-items: center;
}
.author-hero__text {
  min-width: 0;
}
.author-hero__text .lede,
.author-hero .lede {
  max-width: 52ch;
  color: var(--muted);
  margin-bottom: 0;
}
.author-hero .kicker {
  color: var(--teal-deep);
  margin: 0 0 0.35rem;
}
.author-hero img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--teal);
  background: var(--mint);
}
.author-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.4rem;
  max-width: none;
  color: var(--ink);
}
.hero.author-hero h1 {
  max-width: none;
  color: var(--surface);
}
.hero.author-hero .lede {
  color: rgba(255, 251, 247, 0.92);
}
.hero.author-hero .kicker {
  color: var(--siirto-yellow);
}

/* —— Footer —— */
.site-footer {
  margin-top: 3rem;
  padding: 2rem var(--edge) 2.5rem;
  background: var(--slate);
  color: rgba(255, 251, 247, 0.88);
}
.site-footer a { color: var(--siirto-yellow); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-logo {
  height: auto;
  width: auto;
  max-width: 280px;
  margin-bottom: 0.85rem;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-sizing: border-box;
}
.site-footer h4 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  color: var(--surface);
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 1.75rem auto 0;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid rgba(255, 251, 247, 0.14);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
}
.footer-disclaimer h4 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}
.footer-disclaimer p {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 251, 247, 0.78);
}
.footer-disclaimer p:last-child { margin-bottom: 0; }
.footer-disclaimer strong { color: #FFFbf7; }
.legal-line {
  max-width: 1180px;
  margin: 1.5rem auto 0;
  font-size: 0.82rem;
  color: rgba(255, 251, 247, 0.55);
  border-top: 1px solid rgba(255, 251, 247, 0.12);
  padding-top: 1rem;
}

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  color: var(--surface);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* —— Motion —— */
@media (prefers-reduced-motion: no-preference) {
  .rank-card,
  .slot-card,
  .pay-logo {
    animation: rise 0.55s ease both;
  }
  .rank-card:nth-child(2) { animation-delay: 0.04s; }
  .rank-card:nth-child(3) { animation-delay: 0.08s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }
  .page-toc__link.is-active .page-toc__dot {
    box-shadow: 0 0 0 4px rgba(0, 163, 161, 0.2);
  }
}

/* —— Responsive —— */
@media (max-width: 960px) {
  html { scroll-padding-left: 0; }
  .page {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 0.75rem;
  }
  #main { grid-column: 1; }
  .page-toc--leftfolio,
  .page-toc--rail-right,
  .anchor-nav,
  .page-toc--mobile {
    position: relative;
    top: auto;
    margin: 0.85rem 0 0;
    max-height: none;
    grid-column: 1;
  }
  .page-toc__links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .page-toc__link {
    grid-template-columns: auto auto;
    background: var(--mint);
    padding: 0.35rem 0.6rem;
  }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    right: var(--edge);
    top: calc(var(--header-h) - 0.25rem);
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.5rem;
    min-width: 14rem;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .header-cta { display: none; }
  .site-header > .mobile-header-cta {
    display: inline-flex !important;
    margin-left: auto;
    margin-right: 0.35rem;
  }
  .rank-card,
  .rank-card--row,
  .rank-card--ledger,
.rank-card--transfer {
    flex-wrap: wrap;
    text-align: center;
    padding-top: 1.15rem;
  }
  .rank-card__badge {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
  }
  .rank-card__brand {
    flex: 1 1 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .rank-card__id { align-items: center; }
  .rank-card__features { display: none; }
  .rank-card__pays {
    flex: 1 1 auto;
    justify-content: flex-start;
  }
  .rank-card__bonus {
    flex: 1 1 auto;
    text-align: right;
  }
  .rank-card__cta {
    flex: 1 1 100%;
    margin-left: 0;
  }
  .rank-card__cta .btn { width: 100%; }
  .pay-logos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .slot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pay-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-mark { display: none; }
  .author-hero { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { min-height: 200px; }
}



.site-header .brand { color: var(--ink); }
.site-header .nav a { color: var(--ink); }
.site-header .nav a:hover { color: var(--signal); }
.site-header .nav-cta,
.site-header .btn-cta {
  background: var(--cta);
  color: #fff;
  border-radius: 999px;
}
h1, h2, h3, .brand-mark, .kicker {
  font-family: var(--display);
}
.rank-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.rank-card__cta,
.btn-primary,
a.btn-primary {
  background: var(--cta) !important;
  border-radius: 999px;
}
.slots-lobby__tab {
  background: #efe6dc;
  color: var(--ink);
  border: 1px solid var(--line);
}
.slots-lobby__tab.is-active {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--signal);
  box-shadow: 0 0 0 2px var(--signal);
}

/* Butler concierge — unique skin */
body { background: linear-gradient(180deg, var(--paper) 0%, #f5f0e8 100%); }
.site-header { background: var(--primary-blue); border-bottom: 2px solid var(--cta); }
.site-header .is-active { box-shadow: inset 0 -3px 0 var(--cta); }
/* Gradient overlay only — photo is <img.hero-background> (LCP, no double fetch) */
.hero { background-image: linear-gradient(rgba(30,41,59,.72), rgba(30,41,59,.78)); }
.rank-card { border-left: 4px solid var(--cta); }
.rank-card--butler .rank-card__pos { font-family: var(--mono); color: var(--cta); }
.page-toc--right { border-left: 2px solid var(--line); }
.slots-lobby .slot-tab:not(.is-active) { background: var(--cta); color: var(--slate); }
.slots-lobby .slot-tab.is-active { background: var(--surface); outline: 2px solid var(--cta); color: var(--ink); }
.btn-primary { background: var(--cta); color: var(--cta-ink); }


/* Chips only when TOC_VARIANT is sticky-top — never style rail-right as pills */
.page-toc--chips {
  grid-column: 1 / -1;
  grid-row: auto;
  max-height: none;
  width: 100%;
  border-radius: 12px;
  border-left: 1px solid var(--line);
  margin: 0 0 1rem;
}
.page-toc--chips .page-toc__head { display: none; }
.page-toc--chips .page-toc__links {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.page-toc--chips .page-toc__link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  white-space: nowrap;
}
.page-toc--rail-right .page-toc__links,
.page-toc--right .page-toc__links {
  flex-direction: column !important;
  flex-wrap: nowrap !important;
}
.page-toc--rail-right .page-toc__link,
.page-toc--right .page-toc__link {
  display: flex !important;
  background: transparent !important;
  border-radius: var(--radius-sm) !important;
  white-space: normal !important;
}
/* legal-footer-chrome */
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 1.1fr) repeat(3, minmax(10rem, 1fr));
  gap: 1.5rem 2rem;
}
.site-footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
}
.site-footer .footer-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.site-footer .footer-col,
.site-footer .footer-legal {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.site-footer .footer-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}


/* Logo: transparent WebP on navy — no white plate; larger mark */
.site-header .brand-logo,
.site-footer .footer-logo img,
img.brand-logo,
img.footer-logo {
  height: clamp(56px, 9vw, 80px);
  width: auto;
  max-width: min(280px, 62vw);
  object-fit: contain;
  object-position: left center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-sizing: border-box;
}
.site-footer .footer-logo img {
  width: auto;
  height: clamp(56px, 10vw, 96px);
  max-width: min(320px, 70vw);
}
.site-header .brand {
  max-width: min(22rem, 56%);
}
/* Soft reserve for ranking hydrate — avoid overshoot CLS */
.ranking-block [data-ranking] {
  min-height: 28rem;
}
@media (max-width: 720px) {
  .ranking-block [data-ranking] {
    min-height: 22rem;
  }
}
/* Slot tabs: bright accent + dark text (not navy-on-navy) */
.slots-lobby__tab {
  background: #f5c84a !important;
  color: #0a0c10 !important;
  border: 2px solid #0a0c10 !important;
  font-weight: 800;
}
.slots-lobby__tab:hover {
  filter: brightness(1.05);
}
.slots-lobby__tab.is-active {
  background: #ffffff !important;
  color: #0a0c10 !important;
  border-color: #f5c84a !important;
  outline: 2px solid #f5c84a;
  outline-offset: 2px;
}
.pay-logo {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.pay-logo__caption {
  font-size: 0.85rem;
  text-align: center;
}
/* Deposit steps rail */
.deposit-steps { margin: 1.25rem 0 1.75rem; }
.deposit-steps__rail {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0.75rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(11rem, 1fr);
  gap: 0.85rem;
  overflow-x: auto;
  position: relative;
}
.deposit-steps__rail::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  top: 1.35rem;
  height: 3px;
  background: linear-gradient(90deg, var(--cta), rgba(30,133,62,0.25));
  border-radius: 999px;
  z-index: 0;
}
.deposit-steps__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 11rem;
}
.deposit-steps__num {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--cta);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 0 4px #fff;
}
.deposit-steps__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  box-shadow: var(--shadow);
}
.deposit-steps__card p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.92rem; }
.pay-method {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.pay-method img { width: 42px; height: 28px; object-fit: contain; }
.cell-good { color: var(--ok); font-weight: 650; }
.cell-good::before { content: "✓ "; }
.cell-bad { color: #b42318; }
.cell-bad::before { content: "– "; }
.cell-mid { color: var(--muted); }

/* BEGIN legal-page-layout */
body[data-legal-page="true"] .page {
  display: block;
  grid-template-columns: none;
  width: 100%;
  max-width: min(1240px, 100%);
  margin-inline: auto;
  box-sizing: border-box;
  min-width: 0;
}
body[data-legal-page="true"] .page > main,
body[data-legal-page="true"] .page > #main {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
}
body[data-legal-page="true"] .content-layout--legal {
  display: block;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  box-sizing: border-box;
  padding: 2.5rem var(--edge, clamp(1.25rem, 4vw, 3rem)) 4rem;
}
/* TOC-shell sites: `.page` already has ~24px side pad — keep a modest extra
   so hero/prose match commercial `.hero { padding: 48px }` rhythm. */
body[data-legal-page="true"] .page .content-layout--legal {
  padding-left: var(--legal-edge, 1.5rem);
  padding-right: var(--legal-edge, 1.5rem);
}
body[data-legal-page="true"] .hero {
  padding: clamp(3.5rem, 8vw, 7rem) var(--edge, clamp(1.25rem, 4vw, 3rem)) clamp(2.4rem, 5vw, 4rem);
  box-sizing: border-box;
}
body[data-legal-page="true"] .page > main > .hero,
body[data-legal-page="true"] .page > #main > .hero {
  padding-left: var(--legal-edge, 1.5rem);
  padding-right: var(--legal-edge, 1.5rem);
}
body[data-legal-page="true"] .hero h1 {
  max-width: min(22ch, 100%);
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  overflow-wrap: anywhere;
  word-break: break-word;
}
body[data-legal-page="true"] .hero .eyebrow {
  margin: 0 0 0.85rem;
  color: var(--green, #0d7c3a);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body[data-legal-page="true"] .hero > p {
  max-width: 48rem;
  color: var(--muted, #5d6f63);
}
body[data-legal-page="true"] .article > .section.prose,
body[data-legal-page="true"] main > .section.prose {
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
  max-width: 48rem;
}
body[data-legal-page="true"] .section.prose h2 {
  margin: 0 0 1rem;
  color: var(--ink, #173523);
}
body[data-legal-page="true"] .section.prose h3 {
  margin: 1.6rem 0 0.75rem;
}
body[data-legal-page="true"] .section.prose p,
body[data-legal-page="true"] .section.prose li {
  overflow-wrap: break-word;
  color: var(--ink, #173523);
}
body[data-legal-page="true"] .section.prose a {
  color: var(--green-deep, #07572a);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
body[data-legal-page="true"] .legal-back {
  margin-top: 1.5rem;
}
/* END legal-page-layout */
@media (min-width: 861px) {
  .site-header .brand { max-width: min(46rem, 62%); }
}

.ranking-updated { margin: 0.35rem 0 0; font-size: 0.92rem; font-weight: 650; }

/* header-keyword */
/* BEGIN footer-all-devices */
/* legal-footer-chrome */
.site-footer {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem) max(4.5rem, env(safe-area-inset-bottom));
}
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}
.site-footer .footer-grid,
.site-footer .footer-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  min-width: 0;
}
.site-footer .footer-grid:has(> .footer-links) {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 720px) {
  .site-footer .footer-links,
  .site-footer .footer-grid:not(:has(> .footer-links)) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  }
}
.site-footer .footer-brand,
.site-footer .footer-col,
.site-footer .footer-legal,
.site-footer .footer-note,
.site-footer .footer-disclaimer,
.site-footer .legal-line {
  min-width: 0;
  max-width: 100%;
}
.site-footer .footer-logo,
.site-footer .brand--footer,
.site-footer .footer-brand > a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 44px;
  text-decoration: none;
}
.site-footer .footer-logo img,
.site-footer .brand img,
.site-footer img.footer-logo {
  width: auto;
  height: clamp(56px, 10vw, 96px);
  max-width: min(20rem, 100%);
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}
.site-footer img {
  max-width: 100%;
  height: auto;
}
.site-footer .footer-logo img,
.site-footer .brand img,
.site-footer img.footer-logo {
  height: clamp(56px, 10vw, 96px);
}
.site-footer a {
  font-size: 1rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-underline-offset: 0.18em;
}
@media (max-width: 719px) {
  .site-footer a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }
}
.site-footer .footer-note,
.site-footer .footer-disclaimer,
.site-footer .legal-line,
.site-footer p {
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 72rem;
  overflow-wrap: anywhere;
  opacity: 1;
}
.site-footer .footer-col,
.site-footer .footer-legal {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.15rem;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  min-width: 0;
  max-width: 100%;
}
.site-footer .footer-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
/* END footer-all-devices */

@media (min-width:961px){.site-header .nav a,.site-header .nav a.is-active{color:#fff}.site-header .nav a:hover,.site-header .nav a.is-active{background:rgba(255,255,255,.14);color:#fff}.site-header .badge-18{color:#fff;border-color:rgba(255,255,255,.7)}}
.site-header .header-cta,.site-header .mobile-header-cta{color:#fff!important}
