/* khelo bet24 — shared shell stylesheet
   Color System 046 (teal-commerce) on dark-media-accent-only
   Premium modern-sans typography (Manrope + Noto Sans Devanagari)
   Layout variant 128 / Homepage 002 / Menu 090 (compact product tabs)
*/

:root {
  --bg: #1f0616;
  --bg-2: #160510;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #475569;
  --muted-2: #64748b;
  --line: #e2e8f0;
  --line-2: #f1f5f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f4f6f9;
  --accent: #0f766e;
  --accent-2: #2dd4bf;
  --accent-3: #115e59;
  --warn: #b45309;
  --danger: #b91c1c;
  --gold: #c8a951;
  --shadow: 0 4px 16px rgba(15,23,42,0.06);
  --shadow-lg: 0 12px 36px rgba(15,23,42,0.10);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --fs-xxl: clamp(2.4rem, 4vw, 3.4rem);
  --fs-xl: clamp(1.6rem, 2.4vw, 2.2rem);
  --fs-lg: 1.375rem;
  --fs-md: 1.0625rem;
  --fs-base: 1rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --content-narrow: 72ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface-2);
  color: var(--ink);
  font: 400 var(--fs-base)/1.6 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans Devanagari', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  line-height: 1.18;
}
h1 { font-size: var(--fs-xxl); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-xl); font-weight: 800; }
h3 { font-size: var(--fs-lg); font-weight: 700; }
h4 { font-size: 1.0625rem; font-weight: 700; }
p  { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  top: -60px;
  left: 8px;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  z-index: 999;
}
.skip-link:focus { top: 8px; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}
.container-wide {
  width: min(1320px, calc(100% - 24px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ===================== UTILITY MASTHEAD ===================== */
.utility {
  background: var(--bg);
  color: #cbd5e1;
  font-size: var(--fs-xs);
}
.utility .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; gap: 12px;
}
.utility a { color: #cbd5e1; padding: 2px 6px; border-radius: 4px; }
.utility a:hover { background: rgba(255,255,255,0.06); text-decoration: none; }
.utility .links { display: flex; gap: 4px; flex-wrap: wrap; }
.utility .lang-switch a[aria-current="true"] { color: var(--accent-2); font-weight: 700; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 8px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink);
  font-weight: 800;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  border-radius: 9px;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 0.95rem;
  letter-spacing: -0.04em;
  box-shadow: var(--shadow);
}
.brand-name { font-size: 1.05rem; letter-spacing: -0.02em; }
.brand-tag  { display: block; font-size: 0.7rem; color: var(--muted); font-weight: 500; }

.main-nav {
  display: flex; gap: 4px; align-items: center;
  justify-content: center;
}
.main-nav a {
  display: inline-flex; align-items: center;
  padding: 8px 13px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 7px;
  transition: background 120ms ease, color 120ms ease;
}
.main-nav a:hover { background: var(--surface-3); text-decoration: none; color: var(--accent); }
.main-nav a.cta {
  background: var(--accent);
  color: #fff;
  margin-left: 8px;
  padding: 8px 18px;
}
.main-nav a.cta:hover { background: var(--accent-3); color: #fff; }
.main-nav a[aria-current="page"] { color: var(--accent); }

.header-right { display: flex; align-items: center; gap: 10px; }
.header-cta-ghost {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.9rem;
}
.header-cta-ghost:hover { background: var(--surface-3); text-decoration: none; }
.header-cta {
  display: inline-flex; align-items: center;
  padding: 9px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 0;
}
.header-cta:hover { background: var(--accent-3); text-decoration: none; }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  align-items: center; justify-content: center;
  z-index: 200;
  position: relative;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 3px auto;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0 0 0 0;
  background: var(--surface);
  z-index: 150;
  display: none;
  flex-direction: column;
  padding: 80px 24px 24px;
  overflow-y: auto;
}
.mobile-drawer[data-open="true"] { display: flex; }
.mobile-drawer a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
  font-weight: 600;
  font-size: 1.1rem;
}
.mobile-drawer a:hover { color: var(--accent); text-decoration: none; }
.mobile-drawer .header-cta { width: 100%; justify-content: center; margin-top: 18px; padding: 14px; font-size: 1rem; }
.mobile-drawer .meta {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 899px) {
  .main-nav, .header-right .header-cta-ghost { display: none; }
  .hamburger { display: inline-flex; }
  .header-right .header-cta { display: none; }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: var(--bg);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(45,212,191,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(15,118,110,0.18) 0%, transparent 50%);
  z-index: -1;
}
.hero .grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  padding: 56px 0 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(45,212,191,0.12);
  color: var(--accent-2);
  border: 1px solid rgba(45,212,191,0.4);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hero h1 {
  color: #fff;
  margin: 18px 0 16px;
  max-width: 22ch;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}
.hero-lede {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 52ch;
  margin-bottom: 24px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 0;
  transition: transform 120ms ease, background 120ms ease;
}
.btn-primary {
  background: var(--accent-2);
  color: var(--bg);
}
.btn-primary:hover { background: #fff; text-decoration: none; }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); text-decoration: none; }

.hero-trust {
  margin-top: 26px;
  display: grid;
  gap: 10px;
  font-size: 0.85rem;
  color: #94a3b8;
}
.hero-trust strong { color: #fff; }

.hero-photo {
  position: relative;
  aspect-ratio: 16/11;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-index-rail {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(10px);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  width: calc(100% - 32px);
}
.hero-index-rail h3 { color: #fff; font-size: 0.8rem; margin: 0 0 8px; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-index-rail ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.hero-index-rail a {
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 4px 0;
  display: block;
}
.hero-index-rail a:hover { color: var(--accent-2); text-decoration: none; }

@media (max-width: 899px) {
  .hero .grid { grid-template-columns: 1fr; gap: 28px; padding: 38px 0 44px; }
  .hero-trust { display: none; }
  .hero-photo { aspect-ratio: 16/10; }
  .hero-index-rail { position: static; margin-top: 12px; width: auto; }
  .hero-index-rail ul { grid-template-columns: repeat(2, 1fr); }
}

/* ===================== SECTIONS ===================== */
section.band {
  padding: 56px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line-2);
}
section.band.alt   { background: var(--surface-2); }
section.band.dark  { background: var(--bg); color: #e2e8f0; border-bottom: 0; }
section.band.dark h2, section.band.dark h3 { color: #fff; }
section.band.dark p  { color: #cbd5e1; }
section.band + section.band { padding-top: 56px; }

.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 18px; margin-bottom: 26px;
  flex-wrap: wrap;
}
.section-head .eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.section-head h2 { margin: 0; }
.section-head p  { color: var(--muted); max-width: 56ch; margin: 0; }
.section-head .more { color: var(--accent); font-weight: 700; font-size: 0.9rem; }

/* ===================== SCORE STRIP ===================== */
.score-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.score-strip .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.score-card { display: flex; flex-direction: column; gap: 4px; }
.score-card .label { color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.score-card .num   { color: var(--ink); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.score-card .note  { color: var(--muted); font-size: 0.8rem; }
@media (max-width: 700px) {
  .score-strip .row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ===================== CARDS / TIERS ===================== */
.card-grid {
  display: grid;
  gap: 18px;
}
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .card-grid.cols-3, .card-grid.cols-4, .card-grid.cols-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column;
  gap: 10px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.card.dark {
  background: linear-gradient(180deg, #2a0a25 0%, #1a061a 100%);
  border-color: rgba(255,255,255,0.08);
  color: #cbd5e1;
}
.card.dark h3 { color: #fff; }
.card .pill {
  align-self: flex-start;
  background: var(--surface-3);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.card .thumb { aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; margin: -4px -4px 8px; background: var(--surface-3); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card a.action { margin-top: auto; color: var(--accent); font-weight: 700; font-size: 0.9rem; }

.tier-card {
  background: linear-gradient(155deg, #ffffff 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: grid;
  gap: 12px;
}
.tier-card.featured {
  border-color: var(--accent);
  background: linear-gradient(155deg, #fff8e5 0%, #ffffff 100%);
  box-shadow: 0 18px 40px rgba(15,118,110,0.12);
}
.tier-card .badge {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.tier-card .price { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.tier-card ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.tier-card ul li { margin-bottom: 6px; font-size: 0.92rem; }

.stat-tile {
  display: grid;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.stat-tile .label { color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.stat-tile .num   { color: var(--ink); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.stat-tile .note  { color: var(--muted); font-size: 0.82rem; }

/* ===================== TIMELINE ===================== */
.timeline {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.timeline li::before {
  counter-increment: step;
  content: counter(step);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.1rem;
}
.timeline li h3 { margin: 0 0 6px; font-size: 1.05rem; }
.timeline li p  { margin: 0; color: var(--ink-2); font-size: 0.94rem; }

/* ===================== COMPARISON DESK ===================== */
.comparison-desk {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  overflow-x: auto;
}
.tabs button {
  background: transparent;
  border: 0;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--ink-2);
  font-size: 0.92rem;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.tabs button[aria-selected="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: var(--surface);
}
.tab-panel { padding: 24px; display: none; }
.tab-panel[data-active="true"] { display: block; }

.table-wrap { overflow-x: auto; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
table.compare th, table.compare td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
  text-align: left;
}
table.compare th {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
table.compare td:first-child { font-weight: 600; }
table.compare tbody tr:hover { background: var(--surface-2); }

/* ===================== NEWS STREAM ===================== */
.news-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.news-card .thumb { aspect-ratio: 16/10; background: var(--surface-3); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.news-card .meta { font-size: 0.78rem; color: var(--muted); display: flex; gap: 10px; }
.news-card h3 { font-size: 1.05rem; margin: 0; }
.news-card p  { font-size: 0.9rem; color: var(--ink-2); margin: 0; }
.news-card a.read { color: var(--accent); font-weight: 700; font-size: 0.88rem; margin-top: auto; }

/* ===================== VIP LADDER ===================== */
.vip-ladder {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.vip-ladder .row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 100px;
  gap: 12px;
  padding: 12px 16px;
  align-items: center;
  border-bottom: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 0.9rem;
}
.vip-ladder .row.head {
  background: var(--surface-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.vip-ladder .row:last-child { border-bottom: 0; }
.vip-ladder .row .tier { font-weight: 800; color: var(--accent); }
.vip-ladder .row .badge {
  align-self: center;
  background: var(--surface-3);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-2);
  width: max-content;
}
@media (max-width: 700px) {
  .vip-ladder .row { grid-template-columns: 60px 1fr 80px; }
  .vip-ladder .row .thresh { display: none; }
}

/* ===================== FAQ ===================== */
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 800;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details .ans { padding: 0 18px 16px; color: var(--ink-2); }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--bg-2);
  color: #94a3b8;
  padding: 56px 0 24px;
  margin-top: 0;
}
.site-footer .top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.site-footer a {
  color: #cbd5e1;
  font-size: 0.92rem;
  display: block;
  padding: 4px 0;
}
.site-footer a:hover { color: var(--accent-2); text-decoration: none; }
.site-footer .brand-block p { color: #94a3b8; font-size: 0.88rem; max-width: 32ch; margin-top: 8px; }
.site-footer .legal-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; align-items: center;
  padding-top: 22px;
  font-size: 0.82rem;
}
.site-footer .legal-row a { color: #cbd5e1; }
@media (max-width: 800px) {
  .site-footer .top { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
  .site-footer .top { grid-template-columns: 1fr; }
}

/* ===================== HUB GRID & HUB CARD ===================== */
.hub-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .hub-grid { grid-template-columns: 1fr; } }

.hub-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  color: var(--ink);
}
.hub-card:hover { border-color: var(--accent); text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.hub-card .ico { font-size: 1.6rem; display: inline-block; margin-bottom: 8px; color: var(--accent); }
.hub-card h3 { font-size: 1.05rem; margin: 0 0 4px; color: var(--ink); }
.hub-card p  { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ===================== FOOTER GRID ===================== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0; }
.footer-grid a {
  color: #cbd5e1;
  font-size: 0.92rem;
  display: block;
  padding: 4px 0;
}
.footer-grid a:hover { color: var(--accent-2); text-decoration: none; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===================== KV GRID (key-value pairs) ===================== */
.kv-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 580px) { .kv-grid { grid-template-columns: 1fr; } }
.kv {
  background: var(--surface);
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}
.kv .k { color: var(--muted); font-weight: 600; }
.kv .v { color: var(--ink); font-weight: 700; }

/* ===================== INSTALL GRID & INSTALL CARD ===================== */
.install-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .install-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .install-grid { grid-template-columns: 1fr; } }

.install-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.install-card h3 { font-size: 1.05rem; margin: 0; color: var(--ink); }
.install-card h3 a { color: var(--ink); }
.install-card h3 a:hover { color: var(--accent); text-decoration: none; }
.install-card p { font-size: 0.92rem; color: var(--ink-2); margin: 0; }
.install-card ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 0.9rem; }
.install-card ul li { margin-bottom: 4px; }

/* ===================== RACE WRAP ===================== */
.race-wrap {
  background: linear-gradient(135deg, rgba(45,212,191,0.10), rgba(45,212,191,0.04));
  border: 1px solid rgba(45,212,191,0.3);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}
.race-wrap h3 { margin: 0 0 10px; color: var(--ink); }
.race-wrap .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.race-wrap .pill { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 0.85rem; color: var(--ink); font-weight: 700; }

/* ===================== STICKY MOBILE ACTION ===================== */
.sticky-mobile-action {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: var(--bg);
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}
.sticky-mobile-action a { flex: 1; padding: 12px 14px; border-radius: 10px; font-weight: 700; text-align: center; font-size: 0.92rem; }
.sticky-mobile-action .primary { background: var(--accent-2); color: var(--bg); }
.sticky-mobile-action .secondary { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.18); }
@media (max-width: 899px) {
  .sticky-mobile-action { display: flex; }
  body { padding-bottom: 76px; }
}

/* ===================== EDITORIAL INDEX RAIL ===================== */
.editorial-rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.rail-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  align-items: center;
}
.rail-row .num {
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.95rem;
}
.rail-row h4 { font-size: 0.95rem; margin: 0; }
.rail-row a  { color: var(--ink); }
.rail-row a:hover { color: var(--accent); text-decoration: none; }
@media (max-width: 580px) {
  .editorial-rail { grid-template-columns: 1fr; }
}

/* ===================== UTILITY: PROSE ===================== */
.prose {
  max-width: var(--content-narrow);
  margin: 0;
}
.prose p { font-size: 1.02rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* ===================== UTILITY: PULL CALLOUT ===================== */
.callout {
  background: linear-gradient(135deg, rgba(45,212,191,0.10), rgba(45,212,191,0.04));
  border: 1px solid rgba(45,212,191,0.3);
  border-radius: 14px;
  padding: 22px;
}
.callout.warn {
  background: linear-gradient(135deg, rgba(180,83,9,0.10), rgba(180,83,9,0.04));
  border-color: rgba(180,83,9,0.3);
}

/* ===================== HERO IMAGE WRAP & CONTENT IMAGE CARD ===================== */
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-3);
  box-shadow: var(--shadow-lg);
}
.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-image-wrap .caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(15,23,42,0.78);
  color: #fff;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 6px;
  max-width: calc(100% - 28px);
}
@media (max-width: 600px) {
  .hero-image-wrap .caption { font-size: 0.72rem; }
}

.content-image-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin: 22px 0;
  box-shadow: var(--shadow);
}
.content-image-card img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 8px;
}
.content-image-card .content {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.content-image-card .content h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--ink);
}
.content-image-card .content p { margin: 0 0 8px; }
.content-image-card .content p:last-child { margin-bottom: 0; }
.content-image-card.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.content-image-card.reverse img { order: 2; }
.content-image-card.reverse .content { order: 1; }
@media (max-width: 700px) {
  .content-image-card,
  .content-image-card.reverse {
    grid-template-columns: 1fr;
  }
  .content-image-card.reverse img { order: 0; }
  .content-image-card.reverse .content { order: 1; }
}

/* ===================== SUBPAGE HEADER ===================== */
.subpage-hero {
  background: var(--bg);
  color: #fff;
  padding: 48px 0 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.subpage-hero .row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.subpage-hero h1 { color: #fff; margin: 8px 0 12px; }
.subpage-hero p  { color: #cbd5e1; max-width: 56ch; margin: 0; }
.breadcrumb { font-size: 0.82rem; color: #94a3b8; }
.breadcrumb a { color: #cbd5e1; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 6px; color: #64748b; }
@media (max-width: 800px) {
  .subpage-hero .row { grid-template-columns: 1fr; }
}

/* ===================== RESPONSIVE GUTTERS ===================== */
@media (max-width: 600px) {
  section.band { padding: 36px 0; }
  .hero .grid { padding: 28px 0 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* ===================== ALTERNATE SHELL (utility-bar / brand-mark) ===================== */
.utility-bar {
  background: var(--bg);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.utility-bar .container-wide {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.utility-bar .lang a { color: #cbd5e1; padding: 2px 6px; border-radius: 4px; }
.utility-bar .lang a:hover { background: rgba(255,255,255,0.06); text-decoration: none; }

.brand-mark {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 800; font-size: 1.05rem;
  letter-spacing: -0.01em; text-decoration: none;
}
.brand-mark:hover { text-decoration: none; color: #fff; }
.brand-mark .logo-glyph {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%);
  color: var(--bg);
  display: inline-grid; place-items: center;
  font-weight: 800; font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.brand-mark .brand-tag {
  display: block;
  font-size: 0.72rem; font-weight: 600; color: #9F8B97;
  letter-spacing: 0.02em; text-transform: none; margin-top: 1px;
}

/* ===================== DRAWER (mobile menu) ===================== */
.drawer-scrim {
  position: fixed; inset: 0;
  background: rgba(15,5,16,0.55);
  backdrop-filter: blur(2px);
  z-index: 199;
  display: none;
}
.drawer-scrim[data-open="true"] { display: block; }

.mobile-drawer .drawer-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  display: grid; place-items: center;
}
.mobile-drawer .drawer-cta {
  margin-top: 18px; padding: 0 18px 22px;
  display: grid; gap: 10px;
}
.mobile-drawer .drawer-cta .btn { width: 100%; }
.mobile-drawer nav a {
  display: block;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-2);
  font-weight: 600; color: var(--ink);
}
.mobile-drawer nav a:hover { background: var(--surface-2); text-decoration: none; color: var(--accent); }
.mobile-drawer nav a[aria-current="page"] { color: var(--accent); background: var(--surface-2); }

/* ===================== HERO (alternate asymmetric layout) ===================== */
.hero.hero-asym { background: var(--bg); color: #fff; padding: 56px 0 60px; }
.hero.hero-asym .container.row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px; align-items: center;
}
.hero-copy .eyebrow { color: var(--accent-2); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-copy h1 { color: #fff; margin: 10px 0 16px; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1; }
.hero-copy .hero-lede { color: #cbd5e1; font-size: 1.05rem; margin-bottom: 22px; max-width: 56ch; }
.hero-art { position: relative; aspect-ratio: 16/10; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 30px 80px rgba(0,0,0,0.4); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin: 24px 0 0; padding: 0; list-style: none;
}
.hero-meta li { display: flex; flex-direction: column; gap: 2px; padding: 14px 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; }
.hero-meta strong { color: var(--accent-2); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.hero-meta span { color: #94a3b8; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }

.hero .container-wide.grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px; align-items: center;
}
.hero-image {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .hero.hero-asym .container.row,
  .hero .container-wide.grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .hero-asym { padding: 36px 0 44px; }
}

/* ===================== BREADCRUMB ===================== */
.breadcrumb { font-size: 0.85rem; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

/* ===================== SCORE STRIP (alternate: tile style) ===================== */
.score-strip .row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.score-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow);
}
.score-tile .num { color: var(--accent); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.score-tile .lab { color: var(--ink); font-size: 0.9rem; font-weight: 700; }
.score-tile .sub { color: var(--muted); font-size: 0.78rem; }
@media (max-width: 800px) { .score-strip .row { grid-template-columns: repeat(2, 1fr); } }

/* ===================== MECHANIC GRID ===================== */
.mechanic-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .mechanic-grid { grid-template-columns: 1fr; } }
.mechanic-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.mechanic-card h3 { font-size: 1.05rem; margin: 0; }
.mechanic-card p { font-size: 0.92rem; color: var(--ink-2); margin: 0; }
.mechanic-meta {
  margin-top: auto;
  font-size: 0.78rem; color: var(--muted);
  font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===================== CHIP GRID ===================== */
.chip-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .chip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .chip-grid { grid-template-columns: 1fr; } }
.chip-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.chip-card h3 { font-size: 1.02rem; margin: 0; }
.chip-card p { font-size: 0.9rem; color: var(--ink-2); margin: 0; }
.chip-meta {
  align-self: flex-start;
  margin-top: auto;
  background: var(--surface-3);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ===================== PROVIDER SHELVES ===================== */
.provider-shelf {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.shelf-head h3 { font-size: 1.1rem; margin: 0; }
.shelf-head .count {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}
.shelf-head p { font-size: 0.88rem; color: var(--muted); margin: 4px 0 0; flex-basis: 100%; }

.tile-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
@media (max-width: 700px) { .tile-row { grid-template-columns: repeat(2, 1fr); } }
.game-tile {
  display: flex; flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}
.game-tile:hover { border-color: var(--accent); transform: translateY(-1px); text-decoration: none; }
.game-tile img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.game-tile span { padding: 8px 10px; font-size: 0.82rem; font-weight: 700; }

/* ===================== EVIDENCE GALLERY ===================== */
.evidence-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .evidence-grid { grid-template-columns: 1fr; } }
.evidence-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow);
}
.evidence-card h3 { font-size: 1.05rem; margin: 0; }
.evidence-card p { font-size: 0.9rem; color: var(--ink-2); margin: 0; }
.evidence-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-2); }

/* ===================== COMPARE TABLE (alternate) ===================== */
.compare-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.compare-table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.compare-table-wrap thead { background: var(--surface-2); }
.compare-table-wrap th, .compare-table-wrap td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: left; }
.compare-table-wrap th { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.compare-table-wrap tbody tr:hover { background: var(--surface-2); }

/* ===================== SAFETY GRID ===================== */
.safety-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .safety-grid { grid-template-columns: 1fr; } }
.safety-card {
  background: linear-gradient(135deg, rgba(15,118,110,0.06), rgba(45,212,191,0.02));
  border: 1px solid rgba(15,118,110,0.25);
  border-radius: 14px;
  padding: 18px;
}
.safety-card h3 { font-size: 1.02rem; margin: 0 0 6px; }
.safety-card p { font-size: 0.9rem; color: var(--ink-2); margin: 0; }

/* ===================== BAND VARIANTS ===================== */
section.band.band-feature { background: linear-gradient(135deg, rgba(15,118,110,0.06), rgba(45,212,191,0.02)); }
section.band.band-feature .container.row {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 36px; align-items: center;
}
.feature-copy h2 { margin: 8px 0 12px; }
.feature-copy .proof-list { margin: 16px 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.feature-copy .proof-list li { padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-size: 0.92rem; color: var(--ink-2); }
.feature-copy .proof-list strong { color: var(--ink); margin-left: 6px; }
.feature-art { position: relative; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.feature-art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  section.band.band-feature .container.row { grid-template-columns: 1fr; gap: 24px; }
}

section.band.band-safety { background: var(--surface-2); }
section.band.band-faq { background: var(--surface); }

/* ===================== FAQ GRID (alternate) ===================== */
.faq-grid { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
}
.faq-item summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 800;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); font-size: 0.92rem; }

/* ===================== RELATED GRID ===================== */
.related-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}
.related-card:hover { border-color: var(--accent); transform: translateY(-1px); text-decoration: none; }
.related-card h3 { font-size: 1rem; margin: 0 0 4px; color: var(--accent); }
.related-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ===================== CTA BAR / FINAL CTA ===================== */
section.band.final-cta {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: #e2e8f0;
  text-align: center;
}
section.band.final-cta h2 { color: #fff; }
section.band.final-cta p { color: #cbd5e1; max-width: 60ch; margin: 0 auto 18px; }

.cta-bar {
  position: sticky;
  bottom: 0;
  left: 0; right: 0;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0;
  z-index: 60;
}
.cta-bar .container-wide { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.cta-bar p { color: #cbd5e1; margin: 0; font-size: 0.95rem; }

/* ===================== FOOTER META ===================== */
.footer-meta {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 24px;
  font-size: 0.82rem;
  color: #94a3b8;
}
.footer-meta a { color: #cbd5e1; }
.footer-meta a:hover { color: var(--accent-2); text-decoration: none; }
.footer-meta-right { display: inline-flex; gap: 14px; flex-wrap: wrap; }

/* ===================== RACE TABLE ===================== */
.race-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.race-table th, .race-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: left; }
.race-table th { background: var(--surface); color: var(--ink); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.race-snapshot { font-size: 0.78rem; color: var(--muted); margin: 12px 0 0; }

/* ===================== SECTION-LEDE ===================== */
.section-lede { color: var(--muted); max-width: 60ch; margin: 0 0 22px; font-size: 1rem; }

/* ===================== INSTALL GRID (alt shell variant) ===================== */
@media (min-width: 901px) { .install-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .install-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .install-grid { grid-template-columns: 1fr; } }

/* ===================== KV GRID (already defined; keep) ===================== */

/* ===================== HEADER CTA (alt shell) ===================== */
.header-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 899px) { .header-cta { display: none; } }

/* ===================== HERO-IMAGE-WRAP (alternate hero pattern) ===================== */
.hero-image-wrap { margin-top: 12px; }

/* ===================== PAGE-SHELL (alternate body wrapper) ===================== */
.page-shell { background: var(--surface-2); min-height: 60vh; }

/* ===================== INLINE-IMAGE-ROW ===================== */
.inline-image-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 22px 0;
}
.inline-image-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.inline-image-row .copy { font-size: 0.95rem; color: var(--ink-2); }
.inline-image-row .copy h4 { margin: 0 0 6px; font-size: 1.05rem; color: var(--ink); }
.inline-image-row.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.inline-image-row.reverse img { order: 2; }
.inline-image-row.reverse .copy { order: 1; }
@media (max-width: 700px) {
  .inline-image-row, .inline-image-row.reverse { grid-template-columns: 1fr; }
  .inline-image-row.reverse img { order: 0; }
  .inline-image-row.reverse .copy { order: 1; }
}

/* ===================== PIC (small captioned image) ===================== */
.pic { display: block; margin: 14px 0; }
.pic img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; }
.pic figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }

/* ===================== SUBPAGE HEADER ALIAS ===================== */
.subpage-hero .row .hero-copy { color: #fff; }

/* ===================== ANSWER (FAQ) ===================== */
.answer { padding: 0 18px 16px; color: var(--ink-2); font-size: 0.92rem; }

/* ===================== LANG SWITCH VARIANT ===================== */
.utility .lang-switch a { padding: 2px 6px; border-radius: 4px; }

/* ===================== CONTACT: INBOX FORM + EMBEDDED CHAT ===================== */
.chat-wrap {
  background: linear-gradient(135deg, rgba(15,118,110,0.08) 0%, rgba(45,212,191,0.03) 100%);
  border: 1px solid rgba(15,118,110,0.22);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow);
}
.chat-wrap .chat {
  height: min(640px, 80dvh);
  min-height: 480px;
  background: #06101c;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: 0 24px 60px rgba(6,16,28,0.45);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
.chat-wrap .chat header {
  display: flex; align-items: center; gap: 13px;
  padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.08);
  background: #0c1828;
}
.chat-wrap .chat header .avatar {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--accent); color: #0c1828;
  display: grid; place-items: center; font-weight: 900;
}
.chat-wrap .chat header > div:nth-child(2) { display: grid; gap: 4px; }
.chat-wrap .chat header strong { font-size: 15px; color: #fff; }
.chat-wrap .chat header span { font-size: 12px; color: #9ba8bb; }
.chat-wrap .chat header i {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #34d399; margin-right: 6px; vertical-align: middle;
}
.chat-wrap .chat .reset {
  margin-left: auto; background: transparent; color: #9ba8bb;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
  width: 36px; height: 36px; cursor: pointer; font-size: 18px;
}
.chat-wrap .chat .messages {
  padding: 20px; overflow-y: auto; display: grid; gap: 12px; align-content: start;
  background: #06101c;
}
.chat-wrap .chat .messages .day {
  text-align: center; font-size: 11px; color: #6b7a90; margin: 4px 0;
}
.chat-wrap .chat .bubble {
  max-width: 78%; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5;
}
.chat-wrap .chat .bubble p { margin: 0 0 4px; color: #f7f9fc; }
.chat-wrap .chat .bubble time { font-size: 11px; color: #6b7a90; }
.chat-wrap .chat .bubble.agent { background: rgba(15,118,110,0.18); border: 1px solid rgba(45,212,191,0.2); border-bottom-left-radius: 4px; }
.chat-wrap .chat .bubble.user  { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); justify-self: end; border-bottom-right-radius: 4px; }
.chat-wrap .chat #chat-form { padding: 14px 20px 18px; border-top: 1px solid rgba(255,255,255,0.08); background: #0c1828; display: grid; gap: 10px; }
.chat-wrap .chat .identity { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chat-wrap .chat .identity label { display: grid; gap: 4px; font-size: 11px; color: #9ba8bb; }
.chat-wrap .chat .identity input {
  padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04); color: #f7f9fc; font: inherit; font-size: 14px;
}
.chat-wrap .chat .composer { display: flex; align-items: end; gap: 10px; }
.chat-wrap .chat .composer textarea {
  flex: 1; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04);
  color: #f7f9fc; font: inherit; font-size: 14px; resize: vertical; min-height: 44px; max-height: 220px;
}
.chat-wrap .chat .composer button {
  background: var(--accent); color: #0c1828; border: 0; border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; font-weight: 700; font-size: 16px;
}
.chat-wrap .chat .status { font-size: 11px; color: #6b7a90; margin: 0; }
.chat-wrap .chat .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (max-width: 640px) {
  .chat-wrap .chat .identity { grid-template-columns: 1fr; }
  .chat-wrap { padding: 16px; }
}

/* Inbox form (offline channel) */
.inbox-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .field { display: grid; gap: 6px; }
.form-grid .field-wide { grid-column: 1 / -1; }
.form-grid label > span { font-size: 13px; font-weight: 600; color: var(--ink); }
.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 10px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface-2);
  font: inherit; font-size: 14px; color: var(--ink);
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.form-grid .checkbox { flex-direction: row; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.form-grid .checkbox input { width: auto; margin: 0; }
.form-actions { margin-top: 18px; display: grid; gap: 10px; }
.form-actions .status { font-size: 12px; color: var(--muted); margin: 0; }
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
}
