/* ==========================================================================
   crorebetinstall.com — Crore Bet brand system
   Official palette: lemon yellow #F5EC02 · black · white · registration green.
   Mobile-first, 360px baseline. Keep under 45 KB uncompressed.
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
  /* Exact yellow sampled from official Crore Bet logo artwork */
  --brand-yellow: #f5ec02;
  --brand-yellow-dim: #e0d700;
  --brand-yellow-rgb: 245, 236, 2;
  --brand-black: #000000;
  --brand-white: #ffffff;
  --brand-green: #00a859;

  --bg-900: #050505;
  --bg-800: #0d0d0d;
  --bg-700: #161616;
  --bg-600: #222222;
  --gold-500: var(--brand-yellow);
  --gold-600: var(--brand-yellow-dim);
  --green: var(--brand-green);
  --green-dim: rgba(0, 168, 89, .14);
  --red: #e53935;
  --red-dim: rgba(229, 57, 53, .12);
  --text-100: #ffffff;
  --text-400: #b3b3b3;
  --border: #2c2c2c;

  /* App UI uses rounded rectangles, not full pills */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-btn: 10px;

  --container: 1200px;
  --measure: 72ch;

  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 40px;
  --s6: 56px;
  --s7: 72px;
  --s8: 96px;
  --s9: 120px;

  --dur: 180ms;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, .45);
  --shadow-2: 0 12px 32px -14px rgba(0, 0, 0, .75);
  --shadow-gold: 0 6px 20px -8px rgba(var(--brand-yellow-rgb), .55);

  --header-h: 62px;
  --stickybar-h: 64px;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-subset.woff2") format("woff2-variations"),
       url("/assets/fonts/manrope-subset.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* --- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background-color: #000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23F5EC02' stroke-width='1.25' opacity='0.07'%3E%3Cpath d='M32 10l8 22-8 22-8-22z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3Ccircle cx='52' cy='52' r='2.5'/%3E%3Cpath d='M50 14c0 4-2 6-2 6s-2-2-2-6a2 2 0 114 0z'/%3E%3Cpath d='M14 50c0-4 2-6 2-6s2 2 2 6a2 2 0 11-4 0z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 64px 64px;
  background-repeat: repeat;
  color: var(--text-100);
  font-family: var(--font);
  font-size: clamp(1rem, .97rem + .15vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
img { border-radius: var(--radius-sm); }

a { color: var(--brand-yellow); text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

p { margin: 0 0 var(--s2); max-width: var(--measure); }

ul, ol { margin: 0 0 var(--s2); padding-left: 22px; max-width: var(--measure); }
li { margin-bottom: 6px; }

strong { font-weight: 700; color: #fff; }
small { font-size: .8125rem; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--s5) 0; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--gold-500); color: #000; }

/* --- 3. Typography ----------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0 0 var(--s2);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  max-width: 34ch;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem); }

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.125rem);
  margin-top: var(--s6);
  padding-top: var(--s1);
  max-width: 40ch;
}

h3 {
  font-size: clamp(1.1875rem, 1.1rem + .5vw, 1.5rem);
  margin-top: var(--s4);
  font-weight: 700;
  max-width: 46ch;
}

h4 {
  font-size: 1.0625rem;
  margin-top: var(--s3);
  font-weight: 700;
  letter-spacing: 0;
}

h2 + p, h3 + p, h2 + ul, h2 + ol { margin-top: 0; }

.lead { font-size: 1.125rem; color: var(--text-400); }

/* --- 4. Layout --------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

main { display: block; min-height: 60vh; }

.article { padding-bottom: var(--s7); }

section { scroll-margin-top: calc(var(--header-h) + 20px); }

.grid { display: grid; gap: var(--s3); }

@media (min-width: 700px) {
  .g2 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(4, 1fr); }
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand-yellow);
  color: #000;
  padding: 12px 20px;
  font-weight: 800;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

/* --- 5. Header --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  background: #000;
  border-bottom: 3px solid var(--brand-yellow);
}

.header-row {
  display: flex;
  align-items: center;
  gap: var(--s2);
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.0625rem;
  color: #fff;
  letter-spacing: -.02em;
  text-decoration: none;
  flex-shrink: 0;
  text-transform: none;
}
.logo:hover { color: #fff; text-decoration: none; }
.logo-mark {
  width: auto; height: 32px;
  border-radius: 0;
  background: none;
  display: block;
  object-fit: contain;
}
.logo-img {
  height: 34px;
  width: auto;
  max-width: 132px;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  background: #000;
}
.logo .logo-word {
  color: var(--brand-yellow);
  font-weight: 800;
  letter-spacing: -.03em;
}
.logo span { color: var(--brand-yellow); }

.badge-18 {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding: 0 6px;
  border: 2px solid var(--brand-yellow);
  border-radius: 6px;
  color: var(--brand-yellow);
  background: #000;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: 0;
  flex-shrink: 0;
}

.nav-toggle {
  margin-left: auto;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--brand-yellow);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .x { display: none; }
.nav-toggle[aria-expanded="true"] .x { display: block; }
.nav-toggle[aria-expanded="true"] .bars { display: none; }

.site-nav {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: var(--header-h);
  background: #000;
  border-bottom: 3px solid var(--brand-yellow);
  box-shadow: var(--shadow-2);
  padding: var(--s2) 20px var(--s3);
}
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; max-width: none; }
.site-nav li { margin: 0; border-bottom: 1px solid var(--border); }
.site-nav a {
  display: block;
  padding: 13px 4px;
  color: var(--text-100);
  font-weight: 700;
  min-height: 48px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand-yellow); text-decoration: none; }

/* The audience is overwhelmingly mobile, so the header CTA stays visible at
   every width. It sits before the menu button and shrinks rather than hides. */
.header-cta {
  display: inline-flex;
  flex-shrink: 0;
  margin-left: auto;
  padding: 0 14px;
  min-height: 40px;
  font-size: .875rem;
  white-space: nowrap;
}
.header-cta + .nav-toggle { margin-left: 0; }

@media (max-width: 400px) {
  .header-row { gap: 8px; }
  .logo { font-size: .9375rem; gap: 6px; }
  .logo-mark { width: 26px; height: 26px; font-size: .8rem; }
  .badge-18 { min-width: 30px; height: 24px; font-size: .6875rem; }
  .header-cta { padding: 0 11px; font-size: .8125rem; }
  .nav-toggle { width: 42px; height: 42px; }
}

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .header-cta { margin-left: 0; min-height: 44px; padding: 0 20px; font-size: .9375rem; }
  .site-nav {
    display: block;
    position: static;
    margin-left: auto;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .site-nav ul { display: flex; align-items: center; gap: 4px; }
  .site-nav li { border: 0; }
  .site-nav a {
    padding: 8px 12px;
    font-size: .875rem;
    font-weight: 700;
    border-radius: var(--radius-btn);
    min-height: 0;
    text-transform: uppercase;
    letter-spacing: .02em;
  }
  .site-nav a:hover { background: rgba(var(--brand-yellow-rgb), .12); color: var(--brand-yellow); }
  .header-cta { display: inline-flex; flex-shrink: 0; }
}

/* --- 6. Buttons — mirror Crore Bet app CTAs --------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--brand-yellow);
  color: #000;
  font: inherit;
  font-weight: 800;
  font-size: .9375rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn:hover {
  color: #000;
  text-decoration: none;
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .8125rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

.btn-ghost {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn-ghost:hover { color: var(--brand-yellow); background: #222; border-color: var(--brand-yellow); }

.btn-green {
  background: var(--brand-green);
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(0, 168, 89, .55);
}
.btn-green:hover { color: #fff; filter: brightness(1.08); }

.cta-block {
  margin: var(--s5) 0;
  padding: var(--s4) var(--s3);
  background: #0a0a0a;
  border: 2px solid var(--brand-yellow);
  border-radius: var(--radius-lg);
  text-align: center;
}
.cta-block p { margin: 0 auto var(--s2); max-width: 56ch; color: var(--text-400); }
.cta-block h2, .cta-block h3 { margin: 0 auto var(--s2); max-width: 30ch; }

/* --- 7. Trust strip ---------------------------------------------------- */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin: var(--s2) 0 0;
  padding: 0;
  list-style: none;
  max-width: none;
  font-size: .8125rem;
  color: var(--text-400);
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 12px;
  background: #141414;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  white-space: nowrap;
}
.trust svg { width: 13px; height: 13px; color: var(--brand-yellow); flex-shrink: 0; }

.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  margin: var(--s2) 0 0;
  padding: 0;
  list-style: none;
  max-width: none;
}
.pay-row li {
  margin: 0;
  padding: 7px 12px;
  background: var(--brand-yellow);
  color: #000;
  border-radius: var(--radius-btn);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.marquee { overflow: hidden; margin: var(--s3) 0; }
.marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: slide 26s linear infinite;
}
.marquee-track ul { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- 8. Hero — flat brand black, no wash gradients --------------------- */
.hero {
  position: relative;
  padding: var(--s3) 0 var(--s5);
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 900px) {
  .hero { padding: var(--s5) 0 var(--s6); }
}
.hero::before { content: none; }
.hero > * { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  gap: var(--s3);
  align-items: start;
}
.hero-title {
  margin: 0 0 var(--s1);
  max-width: 34ch;
}
.hero-visual {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto var(--s1);
}
.hero-copy .meta-bar { margin-top: 0; }
.hero-copy .answer { margin-top: var(--s2); }

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr .85fr;
    grid-template-rows: auto 1fr;
    gap: var(--s4) var(--s6);
    align-items: center;
  }
  .hero-title { grid-column: 1; grid-row: 1; margin-bottom: var(--s2); }
  .hero-copy { grid-column: 1; grid-row: 2; }
  .hero-visual {
    grid-column: 2;
    grid-row: 1 / -1;
    max-width: 380px;
    margin: 0;
    justify-self: end;
    align-self: center;
  }
}

.phone {
  position: relative;
  margin-inline: auto;
  max-width: 300px;
  padding: 10px;
  background: #000;
  border: 2px solid var(--brand-yellow);
  border-radius: 28px;
  box-shadow: var(--shadow-2);
}
.phone img {
  border-radius: 20px;
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: auto;
}

.owner-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: var(--s3) 0 0;
  padding: 12px 14px;
  background: rgba(var(--brand-yellow-rgb), .1);
  border: 1px solid rgba(var(--brand-yellow-rgb), .45);
  border-radius: var(--radius);
  max-width: 36ch;
}
.owner-trust img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-yellow);
  flex-shrink: 0;
}
.owner-trust p {
  margin: 0;
  font-size: .8125rem;
  color: var(--text-400);
  line-height: 1.45;
}
.owner-trust strong { color: var(--brand-yellow); display: block; font-size: .875rem; }

.brand-banner {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--brand-yellow);
  box-shadow: var(--shadow-gold);
  background: #000;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
a.brand-banner:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -10px rgba(var(--brand-yellow-rgb), .65);
}
.brand-banner img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 0;
  display: block;
  margin-inline: auto;
}
.brand-banner.brand-banner--square img {
  max-width: 340px;
  max-height: 340px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.brand-banner--play {
  background: #111;
  max-height: none;
}
.brand-banner--play img {
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-visual .brand-banner { max-width: 100%; margin-inline: auto; }

.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: var(--s2);
  font-size: .9375rem;
  color: var(--text-400);
}
.stars { color: var(--brand-yellow); letter-spacing: 2px; font-size: 1.05rem; }
.rating-num { font-weight: 800; color: #fff; font-size: 1.0625rem; }

/* --- 9. Meta bar & breadcrumbs ---------------------------------------- */
.crumbs {
  padding: 12px 0 0;
  font-size: .8125rem;
  color: var(--text-400);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.crumbs li { margin: 0; display: flex; gap: 6px; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--border); }
.crumbs a { color: var(--text-400); }
.crumbs a:hover { color: var(--gold-500); }
.crumbs [aria-current] { color: var(--text-100); }

.meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 0 0 var(--s3);
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: .8125rem;
  color: var(--text-400);
}
.meta-bar .badge-18 { height: 22px; min-width: 30px; font-size: .6875rem; }
.meta-bar strong { color: var(--text-100); font-weight: 700; }

/* --- 10. Direct answer box -------------------------------------------- */
.answer {
  position: relative;
  margin: 0 0 var(--s4);
  padding: var(--s3);
  padding-left: calc(var(--s3) + 6px);
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-left: 5px solid var(--gold-500);
  border-radius: var(--radius);
}
.answer p { margin: 0; font-size: 1.0625rem; max-width: 68ch; }
.answer p + p { margin-top: var(--s2); }
.answer-label {
  display: block;
  margin-bottom: 8px;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.def {
  margin: var(--s3) 0;
  padding: var(--s3);
  background: var(--bg-800);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.def h3, .def h4 { margin-top: 0; }
.def p:last-child { margin-bottom: 0; }

.note, .warn, .tip {
  margin: var(--s3) 0;
  padding: var(--s2) var(--s3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-800);
  font-size: .9375rem;
}
.note p:last-child, .warn p:last-child, .tip p:last-child { margin-bottom: 0; }
.warn { border-left: 4px solid var(--red); background: var(--red-dim); }
.tip { border-left: 4px solid var(--green); background: var(--green-dim); }
.note { border-left: 4px solid var(--brand-yellow); background: rgba(var(--brand-yellow-rgb), .06); }

/* --- 11. Tables ------------------------------------------------------- */
.tbl {
  margin: var(--s3) 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-800);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
  min-width: 480px;
}
caption {
  padding: 12px var(--s2);
  text-align: left;
  font-size: .8125rem;
  color: var(--text-400);
  border-bottom: 1px solid var(--border);
}
th, td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
thead th {
  background: var(--brand-yellow);
  color: #000;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
tbody tr:nth-child(even) { background: rgba(255, 255, 255, .018); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 700; color: #fff; }
td.num, th.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.yes { color: var(--green); font-weight: 700; }
.no { color: var(--red); font-weight: 700; }
.mid { color: var(--gold-500); font-weight: 700; }

.tbl-verified {
  margin: -12px 0 var(--s3);
  font-size: .75rem;
  color: var(--text-400);
}

@media (max-width: 560px) {
  table { min-width: 560px; }
  tbody th:first-child {
    position: sticky;
    left: 0;
    background: var(--bg-700);
    box-shadow: 1px 0 0 var(--border);
  }
  thead th:first-child {
    position: sticky;
    left: 0;
    background: var(--brand-yellow);
    color: #000;
    box-shadow: 1px 0 0 rgba(0,0,0,.15);
  }
  .scroll-hint {
    display: block;
    margin: -12px 0 var(--s3);
    font-size: .75rem;
    color: var(--text-400);
  }
}
.scroll-hint { display: none; }

table.compare th.own, table.compare td.own {
  background: rgba(var(--brand-yellow-rgb), .1);
  border-left: 1px solid rgba(var(--brand-yellow-rgb), .35);
  border-right: 1px solid rgba(var(--brand-yellow-rgb), .35);
}
table.compare thead th.own { background: #000; color: var(--brand-yellow); }

table.matrix td:first-child { font-weight: 700; color: #fff; }
.sev-high { color: var(--red); font-weight: 700; }
.sev-mid { color: var(--gold-500); font-weight: 700; }
.sev-low { color: var(--green); font-weight: 700; }

/* --- 12. Table of contents ------------------------------------------- */
.toc {
  margin: var(--s4) 0;
  padding: var(--s3);
  background: var(--bg-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.toc > summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1.0625rem;
  color: #fff;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 32px;
}
.toc > summary::-webkit-details-marker { display: none; }
.toc > summary::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
}
.toc[open] > summary::after { transform: rotate(-135deg); }
.toc ol {
  margin: var(--s2) 0 0;
  padding: 0;
  list-style: none;
  max-width: none;
  counter-reset: toc;
  display: grid;
  gap: 2px;
}
.toc li { margin: 0; counter-increment: toc; }
.toc a {
  display: block;
  padding: 7px 0;
  color: var(--text-100);
  font-size: .9375rem;
}
.toc a::before {
  content: counter(toc) ".";
  color: var(--gold-500);
  font-weight: 700;
  margin-right: 8px;
}
.toc a:hover { color: var(--gold-500); }
@media (min-width: 760px) {
  .toc ol { grid-template-columns: repeat(2, 1fr); gap: 2px var(--s4); }
}

/* --- 13. Cards & tiles ------------------------------------------------ */
.card {
  padding: var(--s3);
  background: var(--bg-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.card h3, .card h4 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.card-link {
  display: block;
  padding: var(--s3);
  background: var(--bg-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-100);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card-link:hover {
  border-color: var(--gold-500);
  color: var(--text-100);
  text-decoration: none;
  transform: translateY(-3px);
}
.card-link strong { display: block; margin-bottom: 6px; color: #fff; font-size: 1.0625rem; }
.card-link span { color: var(--text-400); font-size: .875rem; }
.card-link em {
  display: block;
  margin-bottom: 8px;
  font-size: .6875rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.steps { counter-reset: step; list-style: none; margin: var(--s3) 0; padding: 0; max-width: none; }
.steps > li {
  counter-increment: step;
  position: relative;
  margin: 0 0 var(--s2);
  padding: var(--s3) var(--s3) var(--s3) 68px;
  background: var(--bg-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: var(--s3);
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: var(--radius-btn);
  background: var(--brand-yellow);
  color: #000;
  font-weight: 800;
  font-size: 1rem;
}
.steps > li > strong { display: block; margin-bottom: 4px; color: #fff; font-size: 1.0625rem; }
.steps > li p:last-child { margin-bottom: 0; }

.tiles { display: grid; gap: var(--s2); grid-template-columns: repeat(2, 1fr); margin: var(--s3) 0; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile {
  padding: var(--s2);
  background: var(--brand-yellow);
  border: 0;
  border-radius: var(--radius-btn);
  text-align: center;
  font-size: .8125rem;
  font-weight: 800;
  color: #000;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.tile:hover { background: #fff; text-decoration: none; color: #000; filter: brightness(1.05); }
.tile span { display: block; margin-top: 4px; font-size: .6875rem; font-weight: 600; color: #333; text-transform: none; letter-spacing: 0; }

/* --- 14. Pros & cons -------------------------------------------------- */
.proscons { display: grid; gap: var(--s2); margin: var(--s3) 0; }
@media (min-width: 700px) { .proscons { grid-template-columns: 1fr 1fr; gap: var(--s3); } }
.proscons > div {
  padding: var(--s3);
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.proscons h3 { margin: 0 0 var(--s2); font-size: 1.125rem; }
.proscons ul { list-style: none; margin: 0; padding: 0; max-width: none; }
.proscons li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: .9375rem; }
.proscons li::before {
  position: absolute;
  left: 0; top: -1px;
  font-weight: 800;
  font-size: 1.05rem;
}
.pros { border-top: 3px solid var(--green) !important; }
.cons { border-top: 3px solid var(--red) !important; }
.pros h3 { color: var(--green); }
.cons h3 { color: var(--red); }
.pros li::before { content: "\2713"; color: var(--green); }
.cons li::before { content: "\2715"; color: var(--red); }

/* --- 15. Score block ------------------------------------------------- */
.score { margin: var(--s3) 0; padding: var(--s3); background: var(--bg-800); border: 1px solid var(--border); border-radius: var(--radius); }
.score-row { display: grid; grid-template-columns: 1fr; gap: 4px; margin-bottom: var(--s2); }
@media (min-width: 560px) { .score-row { grid-template-columns: 190px 1fr 46px; gap: 12px; align-items: center; } }
.score-row span:first-child { font-size: .9375rem; font-weight: 600; }
.score-bar { position: relative; height: 8px; border-radius: 999px; background: var(--bg-600); overflow: hidden; }
.score-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--brand-yellow); }
.score-val { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; font-size: .9375rem; }
.score-total {
  display: flex; align-items: center; gap: 12px;
  margin-top: var(--s3); padding-top: var(--s3);
  border-top: 1px solid var(--border);
  font-weight: 800;
}
.score-total b { font-size: 2rem; color: var(--brand-yellow); line-height: 1; }

/* --- 16. Review cards ----------------------------------------------- */
.reviews { display: grid; gap: var(--s2); margin: var(--s3) 0; }
@media (min-width: 700px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { padding: var(--s3); background: var(--bg-800); border: 1px solid var(--border); border-radius: var(--radius); font-size: .9375rem; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-yellow);
  color: #000; font-weight: 800;
}
.review-head b { display: block; color: #fff; font-size: .9375rem; }
.review-head small { color: var(--text-400); }
.review .stars { font-size: .875rem; letter-spacing: 1px; }
.review p { margin: 0; font-size: .9375rem; }
.review time { display: block; margin-top: 10px; font-size: .75rem; color: var(--text-400); }

/* --- 17. FAQ -------------------------------------------------------- */
.faq { margin: var(--s3) 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-800); }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px var(--s3);
  min-height: 48px;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 9px; height: 9px;
  flex-shrink: 0;
  border-right: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { background: var(--bg-700); }
.faq .faq-body { padding: 0 var(--s3) var(--s3); }
.faq .faq-body p { margin: 0; color: var(--text-100); }
.faq .faq-body p + p { margin-top: 12px; }

/* --- 18. Figures & video ------------------------------------------- */
figure { margin: var(--s3) 0; }
figure img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: var(--bg-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
figure.brand-photo img {
  max-width: 420px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  max-height: none;
}
figcaption { margin-top: 10px; font-size: .8125rem; color: var(--text-400); }

.video-facade {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-700);
  cursor: pointer;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; border: 0; }
.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 20, .45);
}
.video-facade b {
  position: absolute;
  z-index: 2;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: #000;
  font-size: 1.4rem;
  padding-left: 4px;
}
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- 19. Author box & compliance ---------------------------------- */
.author-box {
  display: grid;
  gap: var(--s2);
  margin: var(--s5) 0 var(--s3);
  padding: var(--s3);
  background: var(--bg-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
@media (min-width: 620px) { .author-box { grid-template-columns: 76px 1fr; gap: var(--s3); } }
.author-box img { width: 76px; height: 76px; border-radius: 50%; border: 2px solid var(--gold-500); }
.author-box h3 { margin: 0 0 2px; font-size: 1.0625rem; }
.author-box .role { margin: 0 0 8px; font-size: .8125rem; color: var(--gold-500); font-weight: 700; }
.author-box p { font-size: .9375rem; margin-bottom: 8px; }

.compliance {
  margin: var(--s4) 0 0;
  padding: var(--s3);
  background: var(--bg-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .8125rem;
  color: var(--text-400);
}
.compliance p { max-width: none; margin-bottom: 10px; }
.compliance p:last-child { margin-bottom: 0; }
.compliance-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.compliance-head b { color: var(--text-100); font-size: .875rem; }

/* --- 20. Related ---------------------------------------------------- */
.related { margin: var(--s6) 0; }
.related h2 { margin-top: 0; }

/* --- 21. Footer ----------------------------------------------------- */
.site-footer {
  margin-top: var(--s7);
  padding: var(--s6) 0 var(--s4);
  background: #000;
  border-top: 3px solid var(--brand-yellow);
  font-size: .875rem;
  color: var(--text-400);
}
.footer-cols { display: grid; gap: var(--s4); margin-bottom: var(--s5); }
@media (min-width: 620px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .footer-cols { grid-template-columns: repeat(5, 1fr); } }
.footer-cols h2, .footer-cols h3 {
  margin: 0 0 12px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.footer-cols ul { list-style: none; margin: 0; padding: 0; max-width: none; }
.footer-cols li { margin-bottom: 8px; }
.footer-cols a { color: var(--text-400); font-size: .8125rem; }
.footer-cols a:hover { color: var(--gold-500); }

.footer-legal { padding-top: var(--s4); border-top: 1px solid var(--border); }
.footer-legal p { max-width: none; font-size: .8125rem; line-height: 1.6; }
.footer-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: var(--s2); }
.rg-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: var(--s2) 0; padding: 0; list-style: none; max-width: none; }
.rg-links li { margin: 0; }

/* --- 21b. Footer conversion band ------------------------------------ */
.footer-cta {
  padding: var(--s5) 0;
  text-align: center;
  background: #000;
  border-top: 3px solid var(--brand-yellow);
  border-bottom: 1px solid var(--border);
}
.footer-cta h2 { margin: 0 0 8px; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); }
.footer-cta p { margin: 0 auto var(--s3); max-width: 52ch; color: var(--text-400); font-size: .9375rem; }
.footer-cta .trust { justify-content: center; margin-top: var(--s3); }

/* Short button label on narrow phones, full label everywhere else. */
.lbl-short { display: none; }
@media (max-width: 400px) {
  .lbl-full { display: none; }
  .lbl-short { display: inline; }
}

/* --- 22. Sticky mobile CTA ----------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  min-height: var(--stickybar-h);
  background: #000;
  border-top: 3px solid var(--brand-yellow);
  box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .9);
  transform: translateY(110%);
  transition: transform 250ms var(--ease);
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .txt { flex: 1; min-width: 0; font-size: .75rem; line-height: 1.3; color: var(--text-400); }
.sticky-cta .txt b { display: block; color: #fff; font-size: .9375rem; letter-spacing: -.01em; }
.sticky-cta .btn {
  flex-shrink: 0;
  min-height: 46px;
  padding: 0 20px;
  font-size: .9375rem;
  box-shadow: var(--shadow-gold);
}
/* Deliberately low-contrast: dismissing is available, not encouraged. */
.sticky-cta .close {
  width: 28px; height: 28px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: none;
  border: 0;
  border-radius: 8px;
  color: #5c6580;
  cursor: pointer;
  font-size: 1.125rem;
  line-height: 1;
}
.sticky-cta .close:hover { color: var(--text-400); }
body.has-sticky { padding-bottom: var(--stickybar-h); }
@media (min-width: 1040px) {
  .sticky-cta { display: none; }
  body.has-sticky { padding-bottom: 0; }
}

/* --- 23. Utilities ------------------------------------------------- */
.center { text-align: center; }
.muted { color: var(--text-400); }
.small { font-size: .8125rem; }
.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.nowrap { white-space: nowrap; }
.wide { max-width: none; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-btn);
  background: var(--bg-700);
  border: 1px solid var(--border);
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-400);
}
.pill-green { color: var(--green); border-color: rgba(0, 168, 89, .45); background: var(--green-dim); }
.pill-red { color: var(--red); border-color: rgba(229, 57, 53, .4); background: var(--red-dim); }
.pill-gold { color: #000; border-color: var(--brand-yellow); background: var(--brand-yellow); }

.divider {
  height: 1px;
  margin: var(--s6) 0;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 400ms var(--ease), transform 400ms var(--ease); }

/* --- 24. 404 ------------------------------------------------------- */
.err { padding: var(--s7) 0; text-align: center; }
.err h1 { margin-inline: auto; }
.err p { margin-inline: auto; }
.err form { display: flex; gap: 10px; max-width: 440px; margin: var(--s3) auto; }
.err input {
  flex: 1;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--bg-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text-100);
  font: inherit;
}

.err input:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }

/* --- 24b. Sitemap page ------------------------------------------------ */
.sitemap-col h2 { font-size: 1.0625rem; margin-bottom: var(--s2); }
.sitemap-col ul { list-style: none; margin: 0; padding: 0; max-width: none; }
.sitemap-col li { margin-bottom: var(--s2); font-size: .9375rem; }
.sitemap-col li a { font-weight: 600; }
.sitemap-col li span { display: block; color: var(--text-400); font-size: .8125rem; }
.sitemap-col[hidden], li[hidden] { display: none; }

/* --- 25. Reduced motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* --- 26. Print ---------------------------------------------------- */
@media print {
  .site-header, .sticky-cta, .site-footer, .cta-block, .video-facade { display: none !important; }
  body { background: #fff; color: #000; }
}
