/* Slotgamein  -  Ice Blue Editorial Longform (Factory LIGHT_001 + LAYOUT_109) */
:root {
  --ice-50: #f7fbfe;
  --ice-100: #f0f6fb;
  --ice-200: #e3eef7;
  --ice-300: #c9dcec;
  --paper: #f4f8fc;
  --panel: #ffffff;
  --ink: #0f1b2d;
  --ink-soft: #3a4a60;
  --ink-mute: #5b6b82;
  --line: #d5e3f0;
  --line-strong: #b7c9db;
  --cobalt: #1b4fd8;
  --cobalt-deep: #1239a8;
  --cobalt-soft: #e8effc;
  --cyan: #0e9bb8;
  --cyan-soft: #e6f7fa;
  --ok: #0f7a4a;
  --warn: #9a5b00;
  --danger: #a11f2c;
  --shadow: 0 10px 30px rgba(15, 27, 45, 0.06);
  --shadow-sm: 0 4px 14px rgba(15, 27, 45, 0.05);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 68px;
  --sticky-cta-h: 64px;
  --max: 1180px;
  --measure: 68ch;
  --font: "Nunito Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.02rem;
  font-weight: 400;
  padding-top: var(--header-h);
  padding-bottom: calc(var(--sticky-cta-h) + 18px);
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

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

a {
  color: var(--cobalt);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--cobalt-deep);
}

:focus-visible {
  outline: 3px solid rgba(27, 79, 216, 0.45);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Sticky utility header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  height: var(--header-h);
  background: rgba(247, 251, 254, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--cobalt), #2f6af0);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(27, 79, 216, 0.25);
}

.brand-text {
  font-size: 1.08rem;
}

.brand-text span {
  color: var(--cyan);
  font-weight: 700;
}

.utility-meta {
  display: none;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.25rem;
  color: var(--ink-mute);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.utility-meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.nav-desktop {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 0.15rem;
  min-width: 0;
}

.nav-desktop ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-desktop a {
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--cobalt);
  background: var(--cobalt-soft);
}

.header-cta {
  display: none;
  margin-left: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.1;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--cobalt);
  color: #fff !important;
  padding: 0.78rem 1.2rem;
  box-shadow: 0 8px 18px rgba(27, 79, 216, 0.22);
}

.btn-primary:hover {
  background: var(--cobalt-deep);
  color: #fff !important;
}

.btn-secondary {
  background: var(--panel);
  color: var(--ink) !important;
  border: 1px solid var(--line-strong);
  padding: 0.74rem 1.1rem;
}

.btn-secondary:hover {
  border-color: var(--cobalt);
  color: var(--cobalt) !important;
  background: var(--cobalt-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft) !important;
  border: 1px solid transparent;
  padding: 0.55rem 0.8rem;
}

.btn-sm {
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
}

.menu-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 9100;
  pointer-events: none;
}

.nav-drawer[hidden] {
  display: none !important;
}

.nav-drawer.is-open {
  pointer-events: auto;
}

.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 45, 0.42);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-drawer.is-open .nav-drawer-backdrop {
  opacity: 1;
}

.nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100%;
  background: var(--panel);
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 40px rgba(15, 27, 45, 0.12);
  transform: translateX(104%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 1.4rem;
  overflow-y: auto;
}

.nav-drawer.is-open .nav-drawer-panel {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.drawer-close {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--ice-100);
  cursor: pointer;
}

.nav-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.nav-drawer a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  padding: 0.8rem 0.85rem;
  border-radius: 10px;
  background: var(--ice-50);
  border: 1px solid transparent;
}

.nav-drawer a:hover,
.nav-drawer a[aria-current="page"] {
  border-color: var(--line);
  background: var(--cobalt-soft);
  color: var(--cobalt);
}

.drawer-cta {
  margin-top: auto;
  padding-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.drawer-note {
  font-size: 0.82rem;
  color: var(--ink-mute);
  margin: 0;
}

/* Layout helpers */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.1rem;
  min-width: 0;
  width: 100%;
  overflow-x: clip;
}

.section {
  padding: 3.2rem 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

.section-tight {
  padding: 1.6rem 0;
}

main {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

.section-band {
  background: var(--ice-100);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.soft-panel {
  background: linear-gradient(180deg, #ffffff 0%, var(--ice-50) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 0.7rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--cyan);
}

h1,
h2,
h3,
h4 {
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-weight: 800;
}

h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: var(--measure);
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.muted {
  color: var(--ink-mute);
}

.small {
  font-size: 0.9rem;
}

.kicker {
  font-size: 0.92rem;
  color: var(--ink-mute);
  font-weight: 600;
}

/* Signature: cinematic chapter breaks */
.chapter-break {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1.1rem;
  align-items: end;
  margin: 0 0 1.4rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line-strong);
}

.chapter-num {
  font-family: var(--mono);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--cobalt);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.chapter-meta {
  min-width: 0;
}

.chapter-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}

.chapter-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--cyan);
}

.chapter-title {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}

/* Hero split */
.hero-split {
  display: grid;
  gap: 1.4rem;
  align-items: stretch;
  padding: 1.4rem 0 0.4rem;
}

.hero-media,
.frame {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--ice-200);
  box-shadow: var(--shadow);
  min-width: 0;
}

.hero-media img,
.frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.frame-caption {
  padding: 0.7rem 0.9rem;
  font-size: 0.84rem;
  color: var(--ink-mute);
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0.2rem 0;
}

.hero-copy h1 {
  max-width: 16ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0.4rem 0 0.9rem;
}

.trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  color: var(--ink-mute);
  font-weight: 600;
}

.trust-inline li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-inline li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

/* Proof strip */
.proof-strip {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.proof-chip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-width: 0;
}

.proof-tick {
  width: 10px;
  height: 10px;
  margin-top: 0.35rem;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-soft);
}

.proof-chip strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.proof-chip span {
  color: var(--ink-mute);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Format map / cards */
.slab-grid {
  display: grid;
  gap: 1rem;
}

.slab {
  padding: 1.15rem 1.15rem 1.2rem;
  min-width: 0;
}

.slab h3 {
  margin-bottom: 0.45rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.6rem 0 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cobalt);
  background: var(--cobalt-soft);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  white-space: nowrap;
}

/* Meld desk */
.meld-grid {
  display: grid;
  gap: 1rem;
}

.meld-card {
  padding: 1.1rem;
  min-width: 0;
}

.meld-card.good {
  border-color: rgba(15, 122, 74, 0.25);
  background: linear-gradient(180deg, #fff, #f3fbf7);
}

.meld-card.warn {
  border-color: rgba(161, 31, 44, 0.2);
  background: linear-gradient(180deg, #fff, #fff6f6);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  margin-bottom: 0.55rem;
  white-space: nowrap;
}

.status-pill.ok {
  color: var(--ok);
  background: #e7f7ef;
}

.status-pill.bad {
  color: var(--danger);
  background: #fdecee;
}

/* Filter desk */
.filter-desk {
  display: grid;
  gap: 1rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-chip {
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
  white-space: nowrap;
}

.filter-chip[aria-pressed="true"] {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #fff;
}

.topic-grid {
  display: grid;
  gap: 0.85rem;
}

.topic-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.05rem 1.1rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.topic-card:hover {
  border-color: var(--cobalt);
  box-shadow: var(--shadow);
}

.topic-card h3 {
  color: var(--ink);
  margin: 0;
}

.topic-card p {
  margin: 0;
  font-size: 0.95rem;
}

.topic-card[hidden] {
  display: none !important;
}

/* Horizontal rail */
.rail-wrap {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 0.4rem;
  margin: 0;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 240px);
  gap: 0.85rem;
  padding: 0.2rem;
  width: max-content;
  max-width: none;
}

.rail-step {
  padding: 1rem;
  min-width: 0;
}

.rail-step .step-no {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.4rem;
}

/* Ledger table */
.ledger {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ledger th,
.ledger td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  min-width: 0;
}

.ledger th {
  background: var(--ice-100);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 800;
}

.ledger tr:last-child td {
  border-bottom: 0;
}

.ledger td strong {
  color: var(--ink);
}

.note-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--warn);
  background: #fff4e5;
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  margin-top: 0.35rem;
  white-space: nowrap;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  min-width: 0;
}

.table-scroll .ledger {
  min-width: 280px;
}

/* Split editorial */
.split-2 {
  display: grid;
  gap: 1.2rem;
  min-width: 0;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  min-width: 0;
}

.checklist .mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--cyan-soft);
  border: 1px solid rgba(14, 155, 184, 0.35);
  margin-top: 0.15rem;
  position: relative;
}

.checklist .mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--cyan);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Conversion panel */
.conversion-panel {
  display: grid;
  gap: 1.1rem;
  padding: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(14, 155, 184, 0.12), transparent 40%),
    linear-gradient(160deg, #ffffff 0%, #eef5ff 100%);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  min-width: 0;
}

.conversion-panel h2 {
  max-width: 18ch;
}

.disclosure {
  font-size: 0.86rem;
  color: var(--ink-mute);
  max-width: none;
}

/* Controls desk */
.controls-grid {
  display: grid;
  gap: 0.85rem;
}

.control-card {
  padding: 1.05rem 1.1rem;
  min-width: 0;
}

/* Dated notes */
.notes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.note-item {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  min-width: 0;
}

.note-date {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 700;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
  background: var(--ice-50);
}

.faq-item .faq-body {
  padding: 0.9rem 1.1rem 1.1rem;
}

.faq-item .faq-body p:last-child {
  margin-bottom: 0;
}

/* Colophon */
.colophon {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.colophon-grid {
  display: grid;
  gap: 0.85rem;
}

/* Page hero (inner) */
.page-hero {
  padding: 2.2rem 0 1.2rem;
}

.page-hero .hero-frame {
  margin-top: 1.1rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  font-size: 0.86rem;
  color: var(--ink-mute);
  font-weight: 600;
}

.breadcrumbs a {
  color: var(--ink-mute);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--cobalt);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--line-strong);
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 2rem;
}

.prose h3 {
  margin-top: 1.4rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  color: var(--ink-soft);
  max-width: var(--measure);
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose .frame {
  margin: 1.4rem 0;
}

.inline-cta {
  display: grid;
  gap: 0.7rem;
  padding: 1.15rem;
  margin: 1.5rem 0;
}

/* Footer */
.site-footer {
  background: #0f1b2d;
  color: #d7e2ef;
  padding: 3rem 0 2rem;
  margin-top: 1rem;
}

.site-footer a {
  color: #dce8f7;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand p {
  color: #a9b9cd;
  max-width: 36ch;
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 0.7rem;
}

.footer-col h3 {
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-col a {
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: #93a5bb;
}

/* Mobile sticky CTA */
.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8800;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(247, 251, 254, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(15, 27, 45, 0.08);
  backdrop-filter: blur(10px);
}

.mobile-sticky-cta .sticky-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 0.3rem;
}

.mobile-sticky-cta .sticky-label {
  font-size: 0.78rem;
  color: var(--ink-mute);
  font-weight: 700;
  text-align: center;
}

.mobile-sticky-cta .btn-primary {
  width: 100%;
  min-height: 48px;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

/* Age / compliance strip */
.compliance-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  align-items: center;
  font-size: 0.86rem;
  color: var(--ink-mute);
  font-weight: 600;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  padding: 0 0.4rem;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Fact box */
.fact-box {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--cobalt);
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.1rem 0;
}

.fact-box h3 {
  margin-bottom: 0.45rem;
}

.fact-box ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

/* Related */
.related-grid {
  display: grid;
  gap: 0.85rem;
}

/* Desktop */
@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .utility-meta {
    display: inline-flex;
  }

  .nav-desktop {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-sticky-cta {
    display: none;
  }

  .hero-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem;
    padding-top: 2rem;
  }

  .proof-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .slab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slab-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .meld-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-2 {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.6rem;
    align-items: start;
  }

  .controls-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }

  .colophon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .conversion-panel {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .slab-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .hero-copy h1 {
    max-width: none;
  }

  .ledger th,
  .ledger td {
    padding: 0.75rem 0.7rem;
    font-size: 0.92rem;
  }

  .wrap {
    padding: 0 0.9rem;
  }

  .chapter-break {
    grid-template-columns: 1fr;
    gap: 0.35rem 0;
  }

  .chapter-num {
    font-size: 2rem;
  }

  h1,
  h2,
  .chapter-title {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .conversion-panel,
  .soft-panel,
  .panel,
  .inline-cta {
    max-width: 100%;
    min-width: 0;
  }

  .mobile-sticky-cta {
    max-width: 100vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
