/* SisterSpy mockup styles. Palette from the owner's brief (5 Oct 2026); tints are derived from it. */
:root {
  --anubis: #2f2133;      /* Anubis Black: text, header text, hero, footer */
  --odyssey: #506599;     /* Blue Odyssey: primary actions, links */
  --gatsby: #a398c0;      /* Grape Gatsby: soft accents */
  --sand: #ebebe4;        /* White Sand: page background */
  --gold: #e5dfab;        /* Pale Goldenrod: highlights, ribbons */

  --ink: var(--anubis);
  --ink-2: #5a5060;       /* secondary text, 6.4:1 on White Sand */
  --line: #d9d7cd;
  --surface: #fff;
  --odyssey-dark: #3f5080;
  --gatsby-soft: #e6e2ef;
  --gold-soft: #f5f2dc;
  --star: #c9ae3c;
  --star-off: #dcd9ca;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(47 33 51 / 6%), 0 8px 24px rgb(47 33 51 / 7%);
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
}
img { max-width: 100%; display: block; }
a { color: var(--odyssey); text-underline-offset: 3px; }
a:hover { color: var(--odyssey-dark); }
:focus-visible { outline: 3px solid var(--odyssey); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--anubis); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1em; height: 1em; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  font: 700 15px/1.2 var(--font); text-decoration: none;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--odyssey); color: #fff; }
.btn--primary:hover { background: var(--odyssey-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

/* Eyebrow chip */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: var(--gatsby-soft); color: var(--anubis);
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 26px; }
.brand__spy { color: var(--odyssey); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; border-radius: 8px;
}
.nav__link:hover { color: var(--odyssey); }
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 44px; margin-left: -8px; padding: 0;
  background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: 8px;
}
.nav__toggle .icon { width: 14px; height: 14px; transition: transform .15s; }
.nav__menu {
  position: absolute; top: 100%; left: 0; min-width: 300px;
  padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__menu--wide { min-width: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.nav__item:nth-last-child(-n+3) > .nav__menu { left: auto; right: 0; }
.nav__menu-title { grid-column: 1 / -1; margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.nav__menu ul { list-style: none; margin: 0; padding: 0; }
.nav__menu a { display: block; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.nav__menu a:hover { background: var(--sand); color: var(--ink); }
.nav__menu .nav__all { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); grid-column: 1 / -1; }
.nav__menu .nav__all a { font-weight: 700; color: var(--odyssey); }
@media (hover: hover) and (min-width: 1025px) {
  .nav__item:hover > .nav__menu { opacity: 1; visibility: visible; transform: none; }
}
.nav__item:focus-within > .nav__menu,
.nav__item.is-open > .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__item.is-open > .nav__toggle .icon { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px;
  background: none; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--sand); }
.icon-btn .icon { width: 20px; height: 20px; }
.menu-btn { display: none; }

.header-search { display: none; border-top: 1px solid var(--line); padding: 14px 0; }
.header-search.is-open { display: block; }

/* Search field (header + hero) */
.search { display: flex; gap: 8px; width: 100%; max-width: 560px; }
.search input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 18px;
  font: 500 16px var(--font); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
.search input::placeholder { color: #7a7180; }
.search .btn { min-height: 52px; padding: 0 22px; }

@media (max-width: 1024px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - 72px); overflow-y: auto;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px var(--gutter) 20px;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; min-height: 52px; padding: 0; font-size: 17px; }
  .nav__toggle { width: 52px; height: 52px; margin: 0; }
  .nav__menu {
    position: static; display: none; min-width: 0; width: 100%;
    opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 14px; background: none;
  }
  .nav__menu--wide { grid-template-columns: 1fr; }
  .nav__item.is-open > .nav__menu { display: block; }
  .nav__item.is-open > .nav__menu--wide { display: grid; }
  .header-actions { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 420px at 85% -10%, rgb(80 101 153 / 55%), transparent 70%),
    radial-gradient(700px 380px at 5% 110%, rgb(163 152 192 / 28%), transparent 70%),
    var(--anubis);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero .chip { background: rgb(229 223 171 / 14%); color: var(--gold); }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; letter-spacing: -.03em; margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { font-size: 18px; color: #ded8e2; max-width: 600px; margin-bottom: 28px; }
.hero__meta { margin: 14px 0 0; font-size: 14px; color: #c9c0cf; }
.hero .search input { border-color: transparent; }

.hero-paths { display: grid; gap: 12px; }
.hero-path {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius);
  background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 12%);
  color: #fff; text-decoration: none; transition: background-color .15s, border-color .15s;
}
.hero-path:hover { background: rgb(255 255 255 / 11%); border-color: rgb(229 223 171 / 50%); color: #fff; }
.hero-path__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(229 223 171 / 14%); color: var(--gold); }
.hero-path__icon .icon { width: 22px; height: 22px; }
.hero-path strong { display: block; font-size: 16px; }
.hero-path small { display: block; font-size: 14px; color: #c9c0cf; line-height: 1.4; }
.hero-path .icon--arrow { width: 18px; height: 18px; color: var(--gold); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 44px; }
  .hero__lead { font-size: 17px; }
}
@media (max-width: 640px) {
  .hero-paths { display: none; }
  .search { flex-direction: column; }
  .search .btn { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--white { background: var(--surface); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.section__head h2 { margin: 8px 0 0; }
.section__head p { margin: 0; color: var(--ink-2); max-width: 560px; }
.disclosure { font-size: 13px; color: var(--ink-2); margin: -12px 0 24px; }
.disclosure a { color: var(--ink-2); }
@media (max-width: 640px) { .section { padding: 44px 0; } }

/* ---------- Casino grid ---------- */
.casino-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px;
  list-style: none; margin: 0; padding: 12px 0 0;
}
.casino-grid > li { display: flex; }
@media (max-width: 1180px) { .casino-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .casino-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.casino-card {
  position: relative; display: flex; flex-direction: column; width: 100%;
  padding: 22px 18px 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.casino-card__rank {
  position: absolute; top: -12px; left: 14px; z-index: 1;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px;
  background: var(--anubis); color: #fff; font-size: 14px; font-weight: 800;
  box-shadow: 0 0 0 4px var(--sand);
}
.casino-card__ribbon {
  position: absolute; top: -11px; right: 14px; z-index: 1;
  padding: 4px 10px; border-radius: 999px;
  background: var(--gold); color: var(--anubis);
  font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 0 0 4px var(--sand);
}
.casino-card__logo {
  display: block; aspect-ratio: 1.9 / 1; overflow: hidden;
  border-radius: 12px; background: var(--anubis);
}
.casino-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.casino-card__name { margin: 14px 0 2px; font-size: 18px; font-weight: 800; line-height: 1.2; text-align: center; }
.casino-card__rating { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; }
.stars {
  font-size: 15px; letter-spacing: 2px; line-height: 1;
  background: linear-gradient(90deg, var(--star) var(--pct), var(--star-off) var(--pct));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.casino-card__score { font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--gold-soft); }
.casino-card__offer-label { margin: 16px 0 2px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--odyssey); text-align: center; }
.casino-card__offer { margin: 0 0 14px; font-size: 17px; font-weight: 800; line-height: 1.3; text-align: center; text-wrap: balance; }
.casino-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 12px; }
.casino-card__facts > div { padding: 7px 10px; border-radius: var(--radius-sm); background: var(--sand); min-width: 0; }
.casino-card__facts dt { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.casino-card__facts dd { margin: 0; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.casino-card__payments { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; list-style: none; margin: 0 0 12px; padding: 0; }
.casino-card__payments li {
  padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 10px; font-weight: 800; letter-spacing: .03em; color: var(--ink-2); line-height: 1.5;
}
.casino-card__perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; list-style: none; margin: 0 0 14px; padding: 0; font-size: 13px; font-weight: 600; }
.casino-card__perks li { display: inline-flex; align-items: center; gap: 5px; }
.casino-card__perks .icon { color: var(--odyssey); width: 15px; height: 15px; }
.casino-card__cta { margin-top: auto; width: 100%; }
.casino-card__sisters { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; text-align: center; }
.casino-card__terms { margin: 8px 0 0; font-size: 11px; color: var(--ink-2); text-align: center; line-height: 1.4; }

@media (max-width: 640px) {
  .casino-grid { gap: 22px 10px; }
  .casino-card { padding: 18px 10px 12px; border-radius: 14px; }
  .casino-card__rank { width: 28px; height: 28px; font-size: 13px; left: 10px; }
  .casino-card__ribbon { right: 8px; font-size: 9px; padding: 3px 7px; }
  .casino-card__name { font-size: 15px; margin-top: 10px; }
  .stars { font-size: 12px; letter-spacing: 1px; }
  .casino-card__rating { font-size: 12px; gap: 6px; }
  .casino-card__offer-label { margin-top: 10px; font-size: 9px; }
  .casino-card__offer { font-size: 14px; }
  .casino-card__offer { margin-bottom: 10px; }
  .casino-card__facts { gap: 4px; margin-bottom: 10px; }
  .casino-card__facts > div { padding: 5px 7px; border-radius: 8px; }
  .casino-card__facts dt { font-size: 8px; letter-spacing: .04em; }
  .casino-card__facts dd { font-size: 12px; }
  .casino-card__payments { gap: 3px; margin-bottom: 10px; }
  .casino-card__payments li { font-size: 8px; padding: 0 3px; border-radius: 4px; }
  .casino-card__perks { font-size: 12px; gap: 2px 8px; margin-bottom: 10px; }
  .casino-card__perks .icon { width: 13px; height: 13px; }
  .casino-card__cta { min-height: 42px; font-size: 14px; padding: 8px 10px; }
  .casino-card__sisters { font-size: 12px; }
  .casino-card__terms { font-size: 10px; }
}
@media (max-width: 359px) {
  .casino-grid { grid-template-columns: 1fr; gap: 26px; }
  .casino-card { padding: 20px 16px 14px; }
}

/* ---------- Site grid on article pages: slim rows, first 5 shown (option B, 6 Oct 2026) ---------- */
.casino-rows:not(.is-expanded) > li:nth-child(n+6) { display: none; }
.grid-more { display: flex; justify-content: center; margin-top: 20px; }
.casino-rows { display: grid; gap: 10px; list-style: none; margin: 0; padding: 12px 0 0; }
.casino-row {
  display: grid; grid-template-columns: 30px 132px minmax(0, 1fr) minmax(0, 1.3fr) 168px; align-items: center; gap: 16px;
  padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.casino-row__rank { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--anubis); color: #fff; font-size: 13px; font-weight: 800; }
.casino-row__logo { display: block; aspect-ratio: 1.9 / 1; overflow: hidden; border-radius: 10px; background: var(--anubis); }
.casino-row__logo img { width: 100%; height: 100%; object-fit: contain; }
.casino-row__name { margin: 0 0 4px; font-size: 17px; font-weight: 800; line-height: 1.2; }
.casino-row__ribbon { display: inline-block; vertical-align: middle; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: var(--anubis); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.casino-row .casino-card__rating { justify-content: flex-start; }
.casino-row__offer { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.3; }
.casino-row__offer-label { display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--odyssey); }
.casino-row__cta { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.casino-row__cta .btn { width: 100%; }
.casino-row__terms { font-size: 11px; color: var(--ink-2); }
@media (max-width: 860px) {
  .casino-row { grid-template-columns: 28px 104px minmax(0, 1fr); gap: 8px 12px; padding: 12px; }
  .casino-row__offer, .casino-row__cta { grid-column: 1 / -1; }
  .casino-row__cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .casino-row__cta .btn { width: auto; flex: 1; min-height: 42px; }
}
@media (max-width: 640px) {
  .casino-row__name { font-size: 15px; }
  .casino-row__offer { font-size: 14px; }
}

/* ---------- Browse blocks ---------- */
.group-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.group-card {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 18px 20px; border-radius: var(--radius); background: var(--sand);
  border: 1px solid transparent; text-decoration: none; color: var(--ink);
  transition: border-color .15s, background-color .15s;
}
.group-card:hover { border-color: var(--gatsby); background: var(--gatsby-soft); color: var(--ink); }
.group-card strong { font-size: 17px; }
.group-card span { font-size: 14px; color: var(--odyssey); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.group-card .icon { width: 16px; height: 16px; }
@media (max-width: 1024px) { .group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .group-grid { grid-template-columns: 1fr; } }

.topic-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.topic-col { padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.topic-col h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.topic-col h3 .icon { width: 22px; height: 22px; color: var(--odyssey); }
.topic-col ul { list-style: none; margin: 0; padding: 0; }
.topic-col li + li { border-top: 1px solid var(--line); }
.topic-col a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.topic-col a:hover { color: var(--odyssey); }
.topic-col a .icon { width: 16px; height: 16px; color: var(--gatsby); flex: none; }
@media (max-width: 900px) { .topic-columns { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; padding: 20px; border-radius: var(--radius); background: var(--sand); }
.toc__title { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 24px 1fr; padding: 6px 0; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.4; }
.toc a::before { content: counter(toc) "."; color: var(--odyssey); }
.toc a:hover { color: var(--odyssey); }
.prose { max-width: 760px; font-size: 17px; }
.prose h2 { margin: 48px 0 14px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--odyssey); }
.callout { margin: 24px 0; padding: 18px 22px; border-radius: var(--radius); background: var(--gold-soft); border-left: 4px solid var(--gold); }
.callout p:last-child { margin: 0; }
.link-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 24px; padding: 0; list-style: none; }
.link-types li { margin: 0; padding: 16px; border-radius: var(--radius-sm); background: var(--sand); font-size: 15px; line-height: 1.5; }
.link-types strong { display: block; margin-bottom: 4px; font-size: 16px; }
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .toc { position: static; }
}
@media (max-width: 640px) { .link-types { grid-template-columns: 1fr; } .prose { font-size: 16px; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--odyssey); transition: transform .15s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 720px; }

/* ---------- Inner page header (sister-site pages and other templates) ---------- */
.page-header {
  color: #fff; padding: 28px 0 44px;
  background:
    radial-gradient(800px 360px at 90% -20%, rgb(80 101 153 / 50%), transparent 70%),
    var(--anubis);
}
.page-header h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.03em; margin: 18px 0 14px; }
.page-header h1 em { font-style: normal; color: var(--gold); }
.page-header__intro { max-width: 780px; font-size: 18px; color: #ded8e2; }
.page-header__intro p:last-child { margin-bottom: 0; }
.page-header__intro strong { color: #fff; }
.page-header__meta { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.page-header__meta li {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 14%); font-size: 13px; font-weight: 600; color: #ded8e2;
}
.page-header__meta .icon { width: 15px; height: 15px; color: var(--gold); }
.page-header__meta a { color: #fff; }
@media (max-width: 640px) { .page-header { padding: 18px 0 32px; } .page-header__intro { font-size: 16px; } }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: #c9c0cf; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gatsby); }
.breadcrumbs a { color: #ded8e2; text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; font-weight: 600; }

.section--tight { padding: 40px 0; }
.grid-title { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }

/* Key facts strip */
.facts-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0; }
.facts-strip > div { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--sand); }
.facts-strip dt { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.facts-strip dd { margin: 4px 0 0; font-size: 16px; font-weight: 700; line-height: 1.35; }

/* Data tables */
.table-wrap { margin: 20px 0 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table thead th { background: var(--sand); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.data-table--kv th[scope="row"] { width: 34%; background: var(--sand); font-weight: 700; }
.data-table td a { font-weight: 700; white-space: nowrap; }
.data-table:not(.data-table--kv) td:first-child { white-space: nowrap; font-weight: 600; }
.table-note { font-size: 14px; color: var(--ink-2); }
@media (max-width: 640px) {
  .data-table { font-size: 14px; }
  .data-table th, .data-table td { padding: 10px 12px; }
  .data-table:not(.data-table--kv) { min-width: 640px; }
}

/* Profiles (five per page) */
.profiles { display: grid; gap: 20px; margin: 20px 0 8px; }
.profile { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); scroll-margin-top: 96px; }
.profile--alt { background: linear-gradient(var(--gold-soft), var(--gold-soft)) top / 100% 6px no-repeat, var(--surface); }
.profile__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.profile__logo { flex: none; display: grid; place-items: center; width: 112px; aspect-ratio: 1.9 / 1; border-radius: 10px; overflow: hidden; background: var(--anubis); border: 1px solid rgb(47 33 51 / 12%); }
/* Profile logos are pre-fitted to 1.9:1 with src/tools/fit-logo.cjs, so they fill the tile. */
.profile__logo img { width: 100%; height: 100%; object-fit: cover; }
.profile__shot { margin: 0 0 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--sand); }
/* Screenshots show whole, at their natural shape (7 Oct 2026): a fixed 1.8:1 crop cut the sides off wide captures. */
.profile__shot img { width: 100%; height: auto; }
.profile__logo--mono { color: var(--gold); font-size: 20px; font-weight: 800; letter-spacing: .04em; }
.profile__num { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.prose .profile h3 { margin: 2px 0 6px; font-size: 22px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.badge .icon { width: 13px; height: 13px; }
.badge--sister { background: var(--gatsby-soft); color: var(--anubis); }
.badge--alt { background: var(--gold); color: var(--anubis); }
.profile__connection { font-size: 15px; color: var(--ink-2); margin-bottom: 12px; }
.profile__label { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.verdict { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.verdict > div { padding: 10px 12px; border-radius: var(--radius-sm); background: var(--sand); }
.verdict dt { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.verdict dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; line-height: 1.45; }
.profile__body p:last-child { margin-bottom: 0; }
.profile__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.profile__actions .icon { width: 16px; height: 16px; }
.profile__terms { font-size: 12px; color: var(--ink-2); }
@media (max-width: 640px) {
  .profile { padding: 18px 16px; }
  .profile__logo { width: 84px; }
  .verdict { grid-template-columns: 1fr; }
}

/* FAQ inside an article */
.faq--inline { max-width: none; margin: 8px 0 0; }
.faq--inline summary { font-size: 17px; }

/* Author box */
.author-box { display: flex; gap: 18px; align-items: flex-start; margin: 40px 0 0; padding: 22px; border-radius: var(--radius); background: var(--sand); }
.author-box__avatar { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: var(--odyssey); color: #fff; font-weight: 800; font-size: 20px; }
.author-box__eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.author-box__name { margin: 2px 0 0; font-size: 20px; font-weight: 800; line-height: 1.2; }
.author-box__role { margin: 0 0 8px; font-weight: 600; color: var(--odyssey); }
.author-box p:last-child { margin-bottom: 0; font-size: 15px; }

/* Related links */
.related { margin-top: 32px; }
.related__title { margin: 0 0 12px; font-size: 20px; font-weight: 800; }
.related ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.related li { margin: 0; }
.related a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.related a:hover { border-color: var(--odyssey); color: var(--odyssey); }
.related .icon { width: 14px; height: 14px; }

/* ---------- Logo concepts (mockup review page only) ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.logo-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.logo-card__hero { position: relative; display: grid; place-items: center; height: 220px; background: var(--sand); }
.logo-card__letter {
  position: absolute; top: 14px; left: 14px; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 999px; background: var(--anubis); color: #fff; font-weight: 800;
}
.logo-card__body { padding: 22px 24px 26px; }
.logo-card__body h2 { font-size: 22px; margin-bottom: 6px; }
.logo-card__body > p:not(.logo-card__label) { color: var(--ink-2); }
.logo-card__label { margin: 18px 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.logo-strip { display: flex; align-items: center; min-height: 72px; padding: 0 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.logo-strip--dark { background: var(--anubis); border-color: var(--anubis); }
.lockup { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.lockup--upper { font-size: 20px; letter-spacing: .07em; }
.logo-sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.logo-size { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.logo-size--dark { background: var(--anubis); border-color: var(--anubis); }
@media (max-width: 860px) { .logo-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--anubis); color: #ded8e2; padding: 56px 0 28px; font-size: 15px; }
.site-footer a { color: #ded8e2; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer .brand__spy { color: var(--gold); }
.footer-about p { margin: 14px 0 0; max-width: 320px; color: #c9c0cf; }
.footer-col__title { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 44px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 14%);
  font-size: 13px; color: #c9c0cf;
}
.footer-bottom p { margin: 0; max-width: 760px; }
.rg-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rg-badge {
  display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 12px;
  border: 1px solid rgb(255 255 255 / 30%); border-radius: 999px; font-weight: 700; font-size: 13px;
}
.rg-badge--age { width: 36px; height: 36px; padding: 0; border: 2px solid var(--gold); color: var(--gold); }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; } }

/* ---------- Standard pages, hubs and blog (6 Oct 2026) ---------- */
.page-header--compact { padding-bottom: 36px; }
.page-body .prose { margin: 0 auto; }
.todo { padding: 0 4px; border-radius: 4px; background: #fff3b0; outline: 1px dashed #b08900; color: #5c4700; font-weight: 700; }
.prose table { width: 100%; }
.contact-card { display: grid; gap: 4px; margin: 20px 0; padding: 18px 22px; border-radius: var(--radius); background: var(--sand); }
.contact-card p { margin: 0; }

.hub-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 24px; }
.hub-filter input { flex: 1 1 280px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: var(--surface); }
.hub-filter__count { font-size: 14px; color: var(--ink-2); }
.hub-group + .hub-group { margin-top: 40px; }
.hub-group h2 { margin: 0 0 6px; }
.hub-group > p { margin: 0 0 18px; color: var(--ink-2); max-width: 720px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.hub-card { display: flex; flex-direction: column; height: 100%; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.hub-card:hover { border-color: var(--gatsby); color: var(--ink); }
.hub-card__head { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.hub-card__logo { flex: none; display: grid; place-items: center; width: 116px; aspect-ratio: 1.9 / 1; overflow: hidden; border-radius: 10px; background: var(--anubis); }
.hub-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.hub-card__logo--mono { color: var(--gold); font-size: 18px; font-weight: 800; letter-spacing: .04em; }
.hub-card__title { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; font-size: 18px; font-weight: 800; line-height: 1.25; }
.hub-card__title .icon { width: 18px; height: 18px; color: var(--odyssey); flex: none; }
.hub-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: 14px; }
.hub-card dt { color: var(--ink-2); font-weight: 600; }
.hub-card dd { margin: 0; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.hub-card__foot { margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--ink-2); }
.hub-empty { padding: 18px 22px; border-radius: var(--radius); background: var(--sand); color: var(--ink-2); }
@media (max-width: 1024px) { .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hub-grid { grid-template-columns: 1fr; } }

.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.post-card { display: flex; flex-direction: column; height: 100%; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.post-card h2 { margin: 8px 0 10px; font-size: 21px; line-height: 1.3; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--odyssey); }
.post-card p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.post-card__meta { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.post-card__more { margin-top: auto; font-weight: 700; }
@media (max-width: 1024px) { .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-list { grid-template-columns: 1fr; } }

/* Blueprint profile block (harness-format pages): label, logo, Get Bonus, screenshot under each profile H3 */
.profile-block { margin: 6px 0 18px; }
.profile-block__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 12px; }
.profile-block__head .profile__logo { width: 120px; }
.profile-block__cta { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.profile-block__cta .profile__terms { font-size: 12px; color: var(--ink-2); }
@media (max-width: 640px) { .profile-block__cta { margin-left: 0; width: 100%; } .profile-block__cta .btn { flex: 1; } }
/* Two-column article tables (Snapshot, Step · Value, Step · Action): wrap on phones instead of scrolling */
.data-table--two td:first-child { width: 36%; }
@media (max-width: 640px) { .data-table.data-table--two { min-width: 0; } .data-table--two td:first-child { white-space: normal; } }
@media (max-width: 640px) { .data-table--two td:first-child { width: 32%; } .data-table--two td { overflow-wrap: anywhere; } }
.data-table.data-table--two td:first-child { white-space: normal; width: 32%; }

/* ---------- Authors (7 Oct 2026): author box photo + profile button, authors hub, profile pages ---------- */
.author-box__photo { flex: none; width: 88px; height: 88px; border-radius: 999px; object-fit: cover; }
.author-box__name a { color: var(--ink); text-decoration: none; }
.author-box__name a:hover { color: var(--odyssey); text-decoration: underline; }
.author-box__more { margin-top: 12px; }
@media (max-width: 640px) { .author-box { flex-direction: column; } }
.author-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.author-card { display: flex; gap: 20px; height: 100%; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.author-card__photo { flex: none; width: 120px; height: 120px; border-radius: 999px; object-fit: cover; }
.author-card__name { margin: 0 0 2px; font-size: 22px; }
.author-card__name a { color: var(--ink); text-decoration: none; }
.author-card__role { margin: 0 0 10px; font-weight: 700; color: var(--odyssey); }
.author-card__count { font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .author-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .author-card { flex-direction: column; } }
.author-hero { display: flex; align-items: center; gap: 28px; }
.author-hero__photo { flex: none; width: 160px; height: 160px; border-radius: 999px; object-fit: cover; border: 4px solid rgb(255 255 255 / 15%); }
.author-hero h1 { margin: 12px 0 6px; }
.author-hero__role { margin: 0; color: var(--gold); font-weight: 700; font-size: 18px; }
@media (max-width: 640px) { .author-hero { flex-direction: column; align-items: flex-start; gap: 16px; } .author-hero__photo { width: 112px; height: 112px; } }

/* Homepage sections (owner-approved outline, 9 Oct 2026) */
.hero__stats { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 22px 0 0; padding: 0; color: #ded8e2; font-size: 15px; }
.hero__stats strong { margin-right: 6px; color: var(--gold); font-size: 22px; font-weight: 800; }
.section__more { margin: 26px 0 0; text-align: center; }
.prose .chip + h2 { margin-top: 10px; }
.family-grid, .need-grid, .flag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.family-card { display: flex; flex-direction: column; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.family-card__tag { align-self: flex-start; margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--gatsby-soft); color: var(--odyssey); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.family-card h3 { margin: 10px 0 4px; font-size: 20px; }
.family-card__licence { margin: 0 0 12px; color: var(--ink-2); font-size: 14px; }
.family-card__brands { margin: 0 0 16px; font-size: 15px; line-height: 1.6; }
.family-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 700; text-decoration: none; }
.family-card__more .icon { width: 16px; height: 16px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.step { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step__num { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 999px; background: var(--anubis); color: var(--gold); font-weight: 800; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; font-size: 15px; }
.need-card { padding: 22px 24px; border-radius: var(--radius); background: var(--sand); }
.flag-card { padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--gold); }
.need-card h3, .flag-card h3 { margin: 0 0 8px; font-size: 18px; }
.need-card p, .flag-card p { margin: 0; font-size: 15px; }
@media (max-width: 1024px) {
  .family-grid, .need-grid, .flag-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .family-grid, .need-grid, .flag-grid, .steps { grid-template-columns: 1fr; }
  .hero__stats strong { font-size: 20px; }
}
.section__note { max-width: 860px; margin: 26px auto 0; }
.section__note p:last-child { margin-bottom: 0; }
