/* ============================================================================
   Betsson Rummy Guide — Sandstone Matchday editorial system
   ============================================================================ */

:root {
  --primary: #B64B28;
  --primary-ink: #8a3617;
  --accent: #0B6E69;
  --accent-ink: #074d49;
  --background: #FFF8F2;
  --surface: #FFFFFF;
  --surface-2: #FCE8D7;
  --surface-3: #F4D9C2;
  --text: #312019;
  --text-soft: #5a463a;
  --muted: #745D50;
  --border: #EBCDBA;
  --border-soft: #f1dac4;
  --ink-line: rgba(49, 32, 25, 0.12);
  --highlight: #F4B43A;
  --danger: #B3261E;
  --doubt: #8C6E2A;
  --safe: #1F6E4A;
  --paper: #FFF8F2;
  --paper-deep: #F4D9C2;
  --paper-darker: #EBCDBA;
  --paper-darker-2: #D9B89B;
  --serif-stack: "Nunito Sans", "Noto Sans Devanagari", "Segoe UI", system-ui, sans-serif;
  --sans-stack: "Nunito Sans", "Noto Sans Devanagari", "Segoe UI", system-ui, sans-serif;
  --ink-stack: "Nunito Sans", "Noto Sans Devanagari", "Segoe UI", system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(49, 32, 25, 0.06), 0 1px 1px rgba(49, 32, 25, 0.04);
  --shadow-md: 0 4px 14px rgba(49, 32, 25, 0.08), 0 2px 4px rgba(49, 32, 25, 0.05);
  --shadow-lg: 0 10px 30px rgba(49, 32, 25, 0.12), 0 4px 8px rgba(49, 32, 25, 0.06);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --max-content: 1200px;
  --max-prose: 720px;
  --header-h: 92px;
  --mobile-cta-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--background);
  color: var(--text);
  font-family: var(--sans-stack);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.005em;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 3px; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif-stack);
  font-weight: 800;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.012em;
}

h1 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -0.014em; }
h3 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; }
h4 { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.35; }

p { margin: 0 0 1em 0; }

ul, ol { padding-left: 1.4em; margin: 0 0 1em 0; }
li { margin-bottom: 0.4em; }

.container {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 24px;
}

.prose { max-width: var(--max-prose); }
.prose p { font-size: 17px; line-height: 1.7; color: var(--text); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--primary); }

/* ===========================
   Utility Bar / Masthead
   =========================== */
.utility-bar {
  background: var(--text);
  color: var(--background);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 248, 242, 0.08);
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.utility-bar .stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.utility-bar .stamp-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--highlight);
  box-shadow: 0 0 0 3px rgba(244, 180, 58, 0.18);
}
.utility-bar a { color: var(--surface-2); }
.utility-bar a:hover { color: var(--highlight); text-decoration: none; }
.utility-bar .meta-row { display: flex; gap: 18px; align-items: center; }
.utility-bar .meta-row span { display: inline-flex; align-items: center; gap: 6px; }

/* ===========================
   Main header (sticky)
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 250;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(49, 32, 25, 0.06);
  background: rgba(255, 248, 242, 0.96);
}
.header-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand:hover { color: var(--text); text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary);
  color: var(--background);
  border-radius: 8px;
  font-family: var(--serif-stack);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 248, 242, 0.18) 50%);
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name strong {
  font-family: var(--serif-stack);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand-name small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  display: inline-flex; align-items: center;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.main-nav a:hover {
  background: var(--surface-2);
  color: var(--primary-ink);
  text-decoration: none;
}
.main-nav a.active {
  background: var(--surface-2);
  color: var(--primary-ink);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--sans-stack);
  letter-spacing: 0.02em;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--background);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-ink);
  color: var(--background);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--primary-ink);
  text-decoration: none;
}
.btn-large {
  padding: 14px 28px;
  font-size: 15px;
}
.btn-pill {
  padding: 9px 16px;
  font-size: 13px;
}

.cta-disclosure {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 8px;
  background: var(--surface-2);
  position: relative;
  z-index: 300;
}
.hamburger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.hamburger span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--text);
  transform: translateX(-50%);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-open span:nth-child(1) { top: 21px; transform: translateX(-50%) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 21px; transform: translateX(-50%) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--background);
  z-index: 290;
  padding: calc(var(--header-h) + 24px) 24px 100px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer .nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.mobile-drawer .nav-list li { margin: 0; }
.mobile-drawer .nav-list a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
  text-decoration: none;
}
.mobile-drawer .nav-list a:hover { color: var(--primary-ink); text-decoration: none; }
.mobile-drawer .nav-cta { margin-top: 24px; }
.mobile-drawer .nav-cta .btn { width: 100%; }
.mobile-drawer .nav-meta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.mobile-drawer .nav-meta strong { color: var(--text); display: block; margin-bottom: 4px; font-weight: 700; }

/* ===========================
   Layout families
   =========================== */

/* Utility section: page intro strip */
.page-intro {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.breadcrumb {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary-ink); }
.breadcrumb .sep { color: var(--paper-darker); }

/* Section wrapper */
.section {
  padding: 64px 0;
  position: relative;
}
.section-tight { padding: 44px 0; }
.section-loose { padding: 88px 0; }
.section-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-tinted {
  background: var(--surface-2);
}
.section-deep {
  background: var(--paper);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-eyebrow .num {
  width: 28px; height: 28px;
  background: var(--primary);
  color: var(--background);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}
.section-eyebrow .rule {
  width: 28px; height: 1px;
  background: var(--primary);
  opacity: 0.5;
}
.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.014em;
  max-width: 760px;
}
.section-lede {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ===================================
   FAMILY 1 — asymmetric-split cover
   =================================== */
.cover-split {
  padding: 56px 0 72px;
  position: relative;
  background: linear-gradient(180deg, var(--background) 0%, var(--surface-2) 100%);
}
.cover-split::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.cover-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.cover-text {
  position: relative;
  z-index: 2;
}
.cover-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 6px;
  background: var(--surface);
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 22px;
}
.cover-eyebrow .pulse {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(182, 75, 40, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(182, 75, 40, 0); }
}
.cover-title {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--text);
  margin-bottom: 18px;
}
.cover-title .ink {
  display: inline-block;
  color: var(--primary);
  font-style: italic;
  font-weight: 800;
  position: relative;
  padding: 0 4px;
}
.cover-title .ink::after {
  content: "";
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 8px;
  background: var(--paper-darker);
  z-index: -1;
  opacity: 0.6;
}
.cover-deck {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 520px;
}
.cover-byline {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.byline-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-soft);
}
.byline-author .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
  font-size: 14px;
  border: 1px solid var(--border);
}
.byline-author strong { color: var(--text); font-weight: 700; display: block; }
.byline-stamp {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  background: rgba(11, 110, 105, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(11, 110, 105, 0.2);
}
.cover-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cover-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.cover-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cover-photo .annotation {
  position: absolute;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  max-width: 180px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.3;
}
.cover-photo .annotation .pin {
  width: 22px; height: 22px;
  background: var(--primary);
  color: var(--background);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.cover-photo .annotation.a1 { top: 8%; left: -16px; }
.cover-photo .annotation.a2 { top: 36%; right: -10px; }
.cover-photo .annotation.a3 { bottom: 12%; left: 18px; }

.cover-photo .photo-credit {
  position: absolute;
  bottom: 0; right: 0;
  background: rgba(49, 32, 25, 0.78);
  color: var(--background);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px 0 0 0;
}

/* ===================================
   FAMILY 2 — numbered chapter rail
   =================================== */
.chapter-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.chapter-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chapter-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.chapter-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--paper-darker);
}
.chapter-card:hover::before { transform: scaleX(1); }
.chapter-card .chapter-no {
  font-family: var(--serif-stack);
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  font-feature-settings: "lnum";
}
.chapter-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.3;
}
.chapter-card p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.chapter-card .chapter-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.chapter-card .chapter-meta .arrow {
  color: var(--primary);
}

/* ===================================
   FAMILY 3 — floating annotation panel
   =================================== */
.notes-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.notes-photo {
  position: relative;
  background: var(--surface-2);
  min-height: 480px;
  overflow: hidden;
}
.notes-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.notes-photo .photo-num {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--text);
  color: var(--background);
  font-family: var(--serif-stack);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.notes-photo .photo-credit {
  position: absolute;
  bottom: 0; right: 0;
  background: rgba(49, 32, 25, 0.78);
  color: var(--background);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px 0 0 0;
}
.notes-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.notes-body .flag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.notes-body h3 {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
  line-height: 1.18;
}
.notes-body p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}
.notes-callouts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.notes-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.notes-callout .num {
  width: 26px; height: 26px;
  background: var(--primary);
  color: var(--background);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.notes-callout strong {
  font-size: 14px;
  color: var(--text);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}
.notes-callout span {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ===================================
   FAMILY 4 — diagram-block (meld anatomy)
   =================================== */
.meld-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  margin-top: 12px;
}
.meld-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.meld-card .meld-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.meld-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}
.meld-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 14px;
}
.meld-card .meld-tiles {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.meld-tile {
  width: 50px;
  height: 70px;
  background: var(--surface);
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--text);
  font-size: 18px;
  box-shadow: 0 2px 4px rgba(49, 32, 25, 0.08);
  position: relative;
}
.meld-tile.red { color: var(--primary); }
.meld-tile.black { color: var(--text); }
.meld-tile .suit {
  font-size: 14px;
  margin-top: 2px;
}
.meld-tile .suit-heart, .meld-tile .suit-diamond { color: var(--primary); }
.meld-tile .suit-spade, .meld-tile .suit-club { color: var(--text); }
.meld-card .diagram-rule {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding: 8px 12px;
  background: rgba(11, 110, 105, 0.08);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}

/* ===================================
   FAMILY 5 — annotated-strip walkthrough
   =================================== */
.walkthrough {
  background: var(--text);
  color: var(--background);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.walkthrough::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.walkthrough .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 12px;
}
.walkthrough h3 {
  color: var(--background);
  font-size: 24px;
  margin-bottom: 24px;
}
.walkthrough-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.walkthrough-step {
  position: relative;
  padding: 0 18px 0 0;
}
.walkthrough-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  right: -1px;
  width: 18px;
  height: 1px;
  background: rgba(255, 248, 242, 0.3);
}
.walkthrough-step .step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--background);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}
.walkthrough-step strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--background);
  margin-bottom: 4px;
}
.walkthrough-step span {
  font-size: 12px;
  color: rgba(255, 248, 242, 0.7);
  line-height: 1.5;
}

/* ===================================
   FAMILY 6 — scoring spread
   =================================== */
.scoring-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}
.score-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.score-card h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.score-card .score-num {
  width: 30px; height: 30px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--background);
  background: var(--primary);
}
.score-card .score-num.alt { background: var(--accent); }
.score-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 8px;
}
.score-card td {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text);
}
.score-card td:last-child { text-align: right; font-weight: 700; }
.score-card tr:last-child td { border-bottom: none; }
.score-card .small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}

/* ===================================
   FAMILY 7 — two-column desk
   =================================== */
.decision-desk {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.desk-col {
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1.5px solid;
  position: relative;
}
.desk-col.legal {
  background: rgba(31, 110, 74, 0.06);
  border-color: var(--safe);
}
.desk-col.doubt {
  background: rgba(140, 110, 42, 0.06);
  border-color: var(--doubt);
}
.desk-col .desk-flag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.desk-col.legal .desk-flag { color: var(--safe); }
.desk-col.doubt .desk-flag { color: var(--doubt); }
.desk-col h4 {
  font-size: 20px;
  margin-bottom: 14px;
}
.desk-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.desk-col ul li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}
.desk-col.legal ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--safe);
  font-weight: 800;
}
.desk-col.doubt ul li::before {
  content: "?";
  position: absolute;
  left: 4px;
  color: var(--doubt);
  font-weight: 800;
}

/* ===================================
   FAMILY 8 — review-card
   =================================== */
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.review-card-head {
  background: var(--text);
  color: var(--background);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.review-card-head .brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.01em;
}
.review-card-head .brand-tag .mark {
  width: 28px; height: 28px;
  background: var(--primary);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}
.review-card-head .verified {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
}
.review-card-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.review-criteria {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-criteria .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
}
.review-criteria .row:last-child { border-bottom: none; }
.review-criteria .row strong { font-weight: 700; color: var(--text); }
.review-criteria .row .badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge-good { background: rgba(31, 110, 74, 0.12); color: var(--safe); }
.badge-mid { background: rgba(140, 110, 42, 0.12); color: var(--doubt); }
.badge-soft { background: rgba(11, 110, 105, 0.12); color: var(--accent); }
.review-summary {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}
.review-summary strong { color: var(--text); font-weight: 700; }
.review-summary h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text);
}

/* ===================================
   FAMILY 9 — layered-panel (kyc, etc.)
   =================================== */
.layered-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.layered-panel .layer-photo {
  position: relative;
  min-height: 400px;
  background: var(--surface-2);
}
.layered-panel .layer-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.layered-panel .layer-body {
  padding: 32px 28px;
}
.layered-panel .layer-body h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.layered-panel .layer-body p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 12px;
}
.layered-panel .layer-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.layered-panel .layer-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}
.layered-panel .layer-list li::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 10px;
  top: 9px;
}

/* ===================================
   FAMILY 10 — ledger-table
   =================================== */
.ledger-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 14px;
  margin-top: 16px;
}
.ledger-table th {
  text-align: left;
  padding: 14px 16px;
  background: var(--text);
  color: var(--background);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ledger-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text);
  vertical-align: top;
}
.ledger-table tr:last-child td { border-bottom: none; }
.ledger-table .col-name { font-weight: 700; color: var(--text); }
.ledger-table .pill {
  display: inline-block;
  padding: 3px 9px;
  background: var(--surface-2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  border: 1px solid var(--border);
}
.ledger-table .pill.betsson { background: var(--primary); color: var(--background); border-color: var(--primary); }
.ledger-table .footnote {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}

/* ===================================
   FAMILY 11 — disclosure-panel
   =================================== */
.disclosure-panel {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1.5px solid var(--paper-darker);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}
.disclosure-panel .disclosure-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 4px 12px;
  background: rgba(182, 75, 40, 0.1);
  border-radius: 999px;
  margin-bottom: 14px;
}
.disclosure-panel h3 {
  font-size: 26px;
  margin-bottom: 12px;
}
.disclosure-panel p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 640px;
}
.disclosure-panel .disclosure-rule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--paper-darker);
}
.disclosure-panel .disclosure-rule .rule-item {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}
.disclosure-panel .disclosure-rule .rule-item strong {
  display: block;
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 4px;
}

/* ===================================
   FAMILY 12 — control map
   =================================== */
.control-map {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.control-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.control-card .ctrl-icon {
  width: 38px; height: 38px;
  background: var(--surface-2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.control-card h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text);
}
.control-card p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0;
}

/* ===================================
   FAMILY 13 — news register
   =================================== */
.news-register {
  border-left: 2px solid var(--paper-darker);
  padding-left: 24px;
  margin-top: 16px;
}
.news-item {
  position: relative;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-soft);
}
.news-item:last-child { border-bottom: none; }
.news-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 24px;
  width: 12px; height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--background);
  box-shadow: 0 0 0 1px var(--paper-darker);
}
.news-item .news-date {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.news-item h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.3;
}
.news-item h4 a { color: var(--text); }
.news-item h4 a:hover { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 3px; }
.news-item p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0;
}
.news-item .news-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 2px 8px;
  background: rgba(182, 75, 40, 0.08);
  border-radius: 999px;
  margin-top: 8px;
}

/* ===================================
   FAMILY 14 — colophon
   =================================== */
.colophon {
  background: var(--text);
  color: var(--background);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}
.colophon h4 {
  color: var(--background);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.colophon p, .colophon li {
  font-size: 13px;
  color: rgba(255, 248, 242, 0.7);
  line-height: 1.6;
}
.colophon ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.colophon ul li::before {
  content: "—";
  margin-right: 6px;
  color: var(--highlight);
}

/* ===================================
   Final CTA strip
   =================================== */
.final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-ink) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  color: var(--background);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.final-cta h3 {
  color: var(--background);
  font-size: 24px;
  margin: 0 0 6px;
  max-width: 600px;
}
.final-cta p {
  font-size: 14px;
  color: rgba(255, 248, 242, 0.9);
  margin: 0;
  max-width: 540px;
}
.final-cta .btn {
  background: var(--background);
  color: var(--primary-ink);
  border-color: var(--background);
}
.final-cta .btn:hover {
  background: var(--highlight);
  color: var(--text);
  border-color: var(--highlight);
}
.final-cta .cta-meta {
  font-size: 11px;
  color: rgba(255, 248, 242, 0.7);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* ===================================
   Footer
   =================================== */
.site-footer {
  background: var(--text);
  color: var(--background);
  padding: 56px 0 24px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand .brand-mark {
  background: var(--primary);
}
.footer-brand .brand-name strong { color: var(--background); }
.footer-brand .brand-name small { color: rgba(255, 248, 242, 0.5); }
.footer-brand p {
  font-size: 13px;
  color: rgba(255, 248, 242, 0.7);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 320px;
}
.footer-col h5 {
  color: var(--background);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin: 0 0 8px;
}
.footer-col ul a {
  color: rgba(255, 248, 242, 0.7);
  font-size: 13px;
  text-decoration: none;
}
.footer-col ul a:hover {
  color: var(--highlight);
  text-decoration: none;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 248, 242, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 248, 242, 0.5);
}
.footer-bottom .responsible-note {
  font-size: 11px;
  max-width: 720px;
  line-height: 1.55;
}
.footer-bottom .legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom .legal-links a {
  color: rgba(255, 248, 242, 0.7);
  font-size: 12px;
}

/* ===================================
   Mobile sticky CTA
   =================================== */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  z-index: 240;
  box-shadow: 0 -4px 18px rgba(49, 32, 25, 0.12);
}
.mobile-sticky-cta .btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

/* ===================================
   FAQ accordion
   =================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item .faq-body {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
}
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ===================================
   Trust strip
   =================================== */
.trust-strip {
  background: var(--text);
  color: var(--background);
  padding: 18px 0;
  border-top: 1px solid rgba(255, 248, 242, 0.08);
  border-bottom: 1px solid rgba(255, 248, 242, 0.08);
}
.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-strip .pillars {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-strip .pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 248, 242, 0.9);
  letter-spacing: 0.04em;
}
.trust-strip .pillar .dot {
  width: 6px; height: 6px;
  background: var(--highlight);
  border-radius: 50%;
}

/* ===================================
   Hub grid (3-col)
   =================================== */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.hub-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.hub-tile:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--paper-darker);
}
.hub-tile .hub-no {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.hub-tile h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.25;
}
.hub-tile p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0;
}
.hub-tile .hub-arrow {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===================================
   Generic card grid (used sparingly)
   =================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  transition: all 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--paper-darker);
}
.card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}
.card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0;
}

/* ===================================
   Two-column editorial
   =================================== */
.editorial-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}
.editorial-two .editorial-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  position: relative;
}
.editorial-two .editorial-block .marker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.editorial-two .editorial-block h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.editorial-two .editorial-block p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

/* ===================================
   Stats / numbers row
   =================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 16px;
}
.stat-cell {
  padding: 22px 22px;
  border-right: 1px solid var(--border-soft);
}
.stat-cell:last-child { border-right: none; }
.stat-cell .stat-num {
  font-family: var(--serif-stack);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.stat-cell .stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===================================
   Skip-link / a11y
   =================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  background: var(--primary);
  color: var(--background);
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 999;
  font-weight: 700;
  font-size: 13px;
}
.skip-link:focus {
  top: 8px;
  color: var(--background);
  text-decoration: none;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===================================
   Mobile hero cap
   =================================== */
@media (max-width: 900px) {
  .cover-split .cover-photo {
    aspect-ratio: 4/3 !important;
  }
  .cover-split {
    padding: 28px 0 48px !important;
  }
}

@media (max-width: 640px) {
  .cover-split .cover-photo {
    aspect-ratio: 1/1 !important;
    max-height: 420px !important;
  }
}

/* ===================================
   Required class aliases (audit compatibility)
   =================================== */
.band { display: block; }
.data-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.data-card .data-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.data-card .data-value { font-size: 22px; font-weight: 800; color: var(--text); }
.data-card .data-meta { font-size: 13px; color: var(--text-soft); }

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-card .step-num {
  width: 30px; height: 30px;
  background: var(--primary);
  color: var(--background);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 6px;
}
.step-card h4 { font-size: 16px; font-weight: 800; margin: 0; }
.step-card p { font-size: 13px; color: var(--text-soft); margin: 0; line-height: 1.5; }

.loose-card {
  background: linear-gradient(135deg, rgba(182, 75, 40, 0.10) 0%, rgba(182, 75, 40, 0.03) 100%);
  border: 1.5px solid var(--paper-darker);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 16px 0;
}

.inline-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
  align-items: center;
}
.inline-image-row img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.inline-image-row .row-text { font-size: 14px; color: var(--text-soft); line-height: 1.6; }
.inline-image-row .row-text strong { display: block; color: var(--text); font-weight: 800; margin-bottom: 6px; font-size: 16px; }
@media (max-width: 700px) {
  .inline-image-row { grid-template-columns: 1fr; }
}

.faq-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  transition: all 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--paper-darker);
}
.card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-soft); line-height: 1.55; margin: 0; }

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1080px) {
  .cover-grid { grid-template-columns: 1fr; gap: 36px; }
  .cover-photo { aspect-ratio: 4/3; }
  .notes-panel { grid-template-columns: 1fr; }
  .notes-photo { min-height: 320px; }
  .layered-panel { grid-template-columns: 1fr; }
  .layered-panel .layer-photo { min-height: 280px; }
  .meld-grid { grid-template-columns: 1fr; }
  .scoring-spread { grid-template-columns: 1fr; }
  .decision-desk { grid-template-columns: 1fr; }
  .review-card-body { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .colophon { grid-template-columns: 1fr; }
  .editorial-two { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .chapter-rail { grid-template-columns: repeat(2, 1fr); }
  .walkthrough-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .walkthrough-step:not(:last-child)::after { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--border-soft); }
  .control-map { grid-template-columns: 1fr; }
  .disclosure-panel .disclosure-rule { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-right .header-cta-ghost { display: none; }
  .hamburger { display: flex; align-items: center; justify-content: center; }
  .mobile-sticky-cta { display: block; }
  body { padding-bottom: var(--mobile-cta-h); }
  .section { padding: 48px 0; }
  .section-loose { padding: 60px 0; }
  .container { padding: 0 18px; }
  .cover-split { padding: 36px 0 56px; }
  .notes-body { padding: 24px 22px; }
}

@media (max-width: 640px) {
  h1 { font-size: 32px; line-height: 1.1; }
  h2 { font-size: 26px; line-height: 1.15; }
  h3 { font-size: 20px; }
  .cover-title { font-size: 38px; }
  .cover-photo .annotation { font-size: 10px; padding: 6px 10px; max-width: 140px; }
  .cover-photo .annotation.a1 { left: 4px; }
  .cover-photo .annotation.a2 { right: 4px; }
  .hub-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .chapter-rail { grid-template-columns: 1fr; }
  .walkthrough-steps { grid-template-columns: 1fr; }
  .header-shell { padding: 12px 0; }
  .brand-name strong { font-size: 18px; }
  .brand-mark { width: 38px; height: 38px; font-size: 17px; }
  .utility-bar .meta-row { display: none; }
  .utility-bar { font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .colophon { padding: 24px 20px; }
  .final-cta { padding: 24px 20px; }
  .final-cta h3 { font-size: 20px; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .stat-cell:last-child { border-bottom: none; }
  .review-card-body { padding: 18px; }
  .review-card-head { padding: 14px 18px; }
  .ledger-table th, .ledger-table td { padding: 10px 12px; font-size: 13px; }
  .nav-list a { font-size: 16px; padding: 14px 0; }
}

@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .cover-title { font-size: 32px; }
  .section-title { font-size: 24px; }
  .btn { padding: 11px 18px; font-size: 13px; }
  .btn-large { padding: 12px 20px; font-size: 14px; }
  .header-right { gap: 6px; }
  .cover-byline { flex-wrap: wrap; gap: 10px; }
  .cover-cta-row { flex-direction: column; width: 100%; }
  .cover-cta-row .btn { width: 100%; }
}
