/* ==========================================================================
   CasinoNisse.live — "Ledger Rail" design system
   Left vertical rail · graphite surfaces · amber signal · hairline ledgers
   Written from scratch for this site.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink:       #0B0B0C;
  --ink-2:     #0F0F11;
  --panel:     #17161A;
  --panel-2:   #1C1B1F;
  --panel-3:   #1F242B;

  --text:      #F0EEE9;
  --text-2:    #C1BBB1;
  --text-3:    #99938A;
  --text-inv:  #191308;

  --amber:     #F5A93F;
  --amber-2:   #FFC877;
  --amber-dim: #C07E22;
  --good:      #74C79A;
  --bad:       #E4795F;

  --line:      #35302B;
  --line-soft: #272320;

  --rail-w:    278px;
  --maxw:      1064px;
  --pad:       34px;

  --r:         3px;

  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Consolas', monospace;

  --shadow: 0 22px 48px rgba(0, 0, 0, .42);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.74;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--amber);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color .15s ease;
}
a:hover { color: var(--amber-2); text-decoration: underline; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--text-inv); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.022em;
  margin: 0;
  color: var(--text);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: var(--text-inv);
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- 3. Rail (desktop left navigation) ---------- */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 20px 22px 22px;
  background: linear-gradient(180deg, #12151A 0%, #0C0E12 58%, #0A0B0E 100%);
  border-right: 1px solid var(--line);
  z-index: 80;
  overflow-y: auto;
}
.rail::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber) 0%, rgba(245, 169, 63, 0) 78%);
}

.rail .logo { display: inline-block; }
.rail .logo img { width: 100%; max-width: 236px; height: auto; }

.rail-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1.65;
  margin: 0;
}

.rail-rule { height: 1px; background: var(--line-soft); margin: 0; border: 0; }

.nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 10px 10px 12px;
  border-left: 2px solid transparent;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.nav a .n-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: .06em;
  flex: 0 0 auto;
  padding-top: 2px;
}
.nav a:hover {
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  border-left-color: var(--line);
}
.nav a.active {
  color: var(--text);
  background: linear-gradient(90deg, rgba(245, 169, 63, .12), rgba(245, 169, 63, 0));
  border-left-color: var(--amber);
}
.nav a.active .n-num { color: var(--amber); }

.rail-sub { display: flex; flex-direction: column; gap: 5px; }
.rail-sub a {
  font-size: 13px;
  color: var(--text-3);
  padding-left: 12px;
  border-left: 2px solid transparent;
}
.rail-sub a:hover { color: var(--amber); text-decoration: none; border-left-color: var(--line); }

.rail-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.rail-foot .resp {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--text-2);
}
.rail-foot .resp b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--amber);
  font-size: 10.5px;
  font-weight: 700;
}
.rail-help { font-size: 12px; line-height: 1.6; color: var(--text-3); margin: 0; }
.rail-help a { color: var(--text-2); text-decoration: underline; }

/* Mobile bar + drawer */
.topbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 70;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 16px;
  background: rgba(11, 12, 15, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .logo img { height: 24px; width: auto; }
.bar-right { display: flex; align-items: center; gap: 10px; }
.bar-age {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--amber);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 7px;
}
.menu-toggle {
  appearance: none;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  width: 42px;
  height: 38px;
  border-radius: var(--r);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.menu-toggle:hover { border-color: var(--amber); color: var(--amber); }

.rail-scrim {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 7, .66);
  z-index: 75;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
body.rail-open .rail-scrim { opacity: 1; pointer-events: auto; }

/* ---------- 4. Shell ---------- */
.shell {
  margin-left: var(--rail-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 420px at 82% -6%, rgba(245, 169, 63, .055), transparent 62%),
    var(--ink);
}
main { flex: 1 0 auto; }

.top-disclosure { border-bottom: 1px solid var(--line-soft); background: var(--ink-2); }
.top-disclosure-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 12px;
  color: var(--text-3);
}
.td-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--amber);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 7px;
  flex: 0 0 auto;
}
.top-disclosure a { color: var(--text-2); text-decoration: underline; }
.td-mini { display: none; }

/* ---------- 5. Hero ---------- */
.page-hero {
  position: relative;
  padding: 52px 0 36px;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 19px;
}
.breadcrumbs a { color: var(--text-3); }
.breadcrumbs a:hover { color: var(--amber); text-decoration: none; }
.breadcrumbs .sep, .by-sep { color: var(--text-3); }

.page-hero h1 {
  font-size: clamp(29px, 3.5vw, 48px);
  max-width: 23ch;
  margin: 0 0 17px;
}
.flag-inline {
  display: inline-block;
  width: 28px;
  height: auto;
  vertical-align: -.06em;
  margin: 0 4px;
  border-radius: 2px;
}
.lead {
  font-size: 18px;
  line-height: 1.62;
  color: var(--text-2);
  max-width: 62ch;
  margin: 0 0 20px;
}

.hero-byline {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: .02em;
}
.hero-byline img.by-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  object-fit: cover;
  flex: 0 0 auto;
}
.hero-byline a { color: var(--text-2); text-decoration: underline; }
.by-date-short { display: none; }

/* Telegram pill */
.tg-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px 0 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text-2);
  flex: 0 0 auto;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.tg-cta:hover { border-color: var(--amber-dim); color: var(--text); text-decoration: none; background: var(--panel-2); }
.tg-cta-ring { display: none; }
.tg-cta-core {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(245, 169, 63, .14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.tg-cta-core svg { width: 11px; height: 11px; fill: none; stroke: var(--amber); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tg-cta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

/* ---------- 6. Ranked list (protected markup) ---------- */
section.container { padding-top: 42px; padding-bottom: 8px; }

.list-heading {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.featured-cards { display: flex; flex-direction: column; border-bottom: 1px solid var(--line-soft); }

.feat-card {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "thumb title cta"
    "thumb list  cta";
  align-items: center;
  column-gap: 24px;
  row-gap: 7px;
  padding: 20px 18px 20px 16px;
  border-top: 1px solid var(--line-soft);
  transition: background .16s ease;
}
.feat-card:first-child { border-top: 0; }
.feat-card:hover { background: rgba(255, 255, 255, .016); }

.feat-card.is-top-pick {
  background: linear-gradient(90deg, rgba(245, 169, 63, .065), rgba(245, 169, 63, 0) 62%);
  border-left: 2px solid var(--amber);
  padding-left: 14px;
}

.feat-thumb {
  grid-area: thumb;
  align-self: center;
  width: 116px;
  height: 116px;
  border-radius: var(--r);
  background: #F3EADB;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  transition: transform .3s ease;
}
.feat-card:hover .feat-thumb img { transform: scale(1.04); }

.feat-card h3 {
  grid-area: title;
  align-self: end;
  font-size: 19px;
  line-height: 1.24;
  margin: 0;
  max-width: 42ch;
}

.feat-list {
  grid-area: list;
  align-self: start;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
}
.feat-list .ico { flex: 0 0 15px; width: 15px; text-align: center; font-size: 11.5px; line-height: 1.7; opacity: .6; filter: grayscale(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .14s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.btn-primary { background: var(--amber); color: var(--text-inv); border-color: var(--amber); }
.btn-primary:hover {
  background: var(--amber-2);
  border-color: var(--amber-2);
  color: var(--text-inv);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary:active { transform: none; }
.featured-cards .feat-card:not(.is-top-pick) .btn-primary {
  background: transparent;
  color: var(--amber);
  border-color: rgba(245, 169, 63, .42);
}
.featured-cards .feat-card:not(.is-top-pick) .btn-primary:hover {
  background: rgba(245, 169, 63, .1);
  border-color: var(--amber);
  color: var(--amber-2);
}
.btn-block {
  grid-area: cta;
  align-self: center;
  display: inline-flex;
  width: 194px;
  min-width: 194px;
  white-space: nowrap;
}

.top-pick-badge {
  position: absolute;
  top: 0;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 0 0 var(--r) var(--r);
  background: var(--amber);
  color: var(--text-inv);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- 7. Article + TOC ---------- */
.content { padding: 40px 0 14px; }

.article {
  display: grid;
  grid-template-columns: minmax(0, 640px) 262px;
  justify-content: space-between;
  gap: 46px;
  align-items: start;
}
.prose { order: 1; min-width: 0; }

.toc {
  order: 2;
  position: sticky;
  top: 26px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 17px 17px 12px;
}
.toc-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 10px;
  padding-right: 34px;
}
.toc ol {
  counter-reset: toc;
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc li { counter-increment: toc; border-top: 1px solid var(--line-soft); }
.toc li:first-child { border-top: 0; }
.toc a { display: flex; gap: 9px; padding: 7px 0; font-size: 13px; line-height: 1.42; color: var(--text-2); }
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  padding-top: 2px;
  flex: 0 0 auto;
}
.toc a:hover { color: var(--amber); text-decoration: none; }
.toc-toggle {
  position: absolute;
  top: 10px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
}
.toc-toggle:hover { color: var(--amber); background: var(--panel-2); }
.toc.is-collapsed ol { display: none; }
.toc { position: sticky; }

/* ---------- 8. Prose ---------- */
.prose > section.reveal { padding-bottom: 26px; }
.prose > section.reveal > h2 {
  font-size: clamp(21px, 2vw, 28px);
  margin: 30px 0 13px;
  padding-top: 21px;
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: 96px;
}
.prose > section.reveal:first-child > h2 { margin-top: 0; padding-top: 0; border-top: 0; }

.prose p {
  margin: 0 0 15px;
  color: var(--text-2);
  font-size: 16.5px;
  line-height: 1.76;
}
.prose p strong { color: var(--text); font-weight: 700; }
.prose h3 { font-size: 17.5px; margin: 24px 0 7px; }
.prose ul, .prose ol { margin: 0 0 17px; padding-left: 20px; color: var(--text-2); }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--amber-dim); }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 18px 0 20px;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 15px 15px 13px;
  min-width: 0;
}
.feature-card .ico { font-size: 17px; display: block; margin-bottom: 7px; line-height: 1; }
.feature-card h3 { font-size: 15.5px; margin: 0 0 5px; }
.feature-card p { margin: 0; font-size: 14px; line-height: 1.6; }

.step-grid { margin: 16px 0 20px; border-top: 1px solid var(--line-soft); }
.step-box {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.step-num {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--amber);
  padding-top: 1px;
}
.step-box h3 { grid-column: 2; font-size: 16px; margin: 0; }
.step-box p { grid-column: 2; margin: 4px 0 0; font-size: 14.5px; }

.table-wrap {
  overflow-x: auto;
  margin: 16px 0 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--panel);
  -webkit-overflow-scrolling: touch;
}
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 13.6px; }
.table-wrap th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10.8px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber-2);
  background: var(--panel-2);
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  vertical-align: bottom;
}
.table-wrap td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-2);
  vertical-align: top;
  line-height: 1.55;
}
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child { color: var(--text); font-weight: 600; }
.table-wrap tbody tr:hover td { background: rgba(255, 255, 255, .018); }

.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 18px 0 20px;
}
.pros, .cons {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--line);
  border-radius: var(--r);
  padding: 15px 15px 9px;
}
.pros { border-left-color: var(--good); }
.cons { border-left-color: var(--bad); }
.pros h3, .cons h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.pros h3 { color: var(--good); }
.cons h3 { color: var(--bad); }
.pros ul, .cons ul { list-style: none; margin: 0; padding: 0; }
.pros li, .cons li {
  position: relative;
  padding-left: 17px;
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 1.58;
  color: var(--text-2);
}
.pros li::before, .cons li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 12px;
}
.pros li::before { content: "+"; color: var(--good); }
.cons li::before { content: "–"; color: var(--bad); }

.callout {
  background: rgba(245, 169, 63, .07);
  border: 1px solid rgba(245, 169, 63, .22);
  border-left: 3px solid var(--amber);
  border-radius: var(--r);
  padding: 16px 17px 13px;
  margin: 20px 0 22px;
}
.callout h3 { margin: 0 0 7px; font-size: 16px; }
.callout p { margin: 0; font-size: 15px; }
.callout a { color: var(--amber); text-decoration: underline; }
.callout.is-warning { background: rgba(228, 121, 95, .07); border-color: rgba(228, 121, 95, .26); border-left-color: var(--bad); }
.callout.is-warning h3 { color: #F0A08B; }

.faq-accordion { margin: 16px 0 22px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 15.8px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--amber);
  flex: 0 0 auto;
  line-height: 1.2;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { color: var(--amber); }
.faq-answer { padding: 0 0 15px; }
.faq-answer p { margin: 0 0 9px; font-size: 15px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- 9. Author ---------- */
.author-wrap { padding: 24px 0 8px; }
.author-box {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 20px;
}
.author-avatar {
  width: 92px;
  height: 92px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  object-fit: cover;
}
.author-info { min-width: 0; }
.author-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 7px;
}
.author-name-row { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; margin-bottom: 3px; }
.author-name { font-size: 19px; margin: 0; }
.author-email-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .03em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  color: var(--text-2);
}
.author-email-btn:hover { border-color: var(--amber); color: var(--amber); text-decoration: none; }
.author-role {
  display: block;
  font-size: 12.5px;
  color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: .02em;
  margin-bottom: 9px;
}
.author-bio { margin: 0; font-size: 14.5px; line-height: 1.66; color: var(--text-2); max-width: 74ch; }

/* ---------- 10. Related ---------- */
.related-wrap { padding: 30px 0 50px; }
.related-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 13px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.related-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 13px 14px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  min-width: 0;
  transition: border-color .16s ease, background .16s ease;
}
.related-card:hover { border-color: var(--amber-dim); background: var(--panel-2); text-decoration: none; }
.r-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.r-title { font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--text); font-family: var(--font-body); }
.related-card:hover .r-title { color: var(--amber); }

/* ---------- 11. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  padding: 42px 0 24px;
  margin-top: auto;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .logo img { height: 24px; width: auto; }
.footer-grid p { margin: 12px 0 0; font-size: 13px; line-height: 1.66; color: var(--text-3); max-width: 40ch; }
.footer-grid h3 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 11px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.footer-grid li a { font-size: 13.5px; color: var(--text-2); }
.footer-grid li a:hover { color: var(--amber); text-decoration: none; }
.responsible-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .02em;
  color: var(--text-3);
}

/* ---------- 12. Responsive ---------- */
@media (max-width: 1279px) {
  .article { grid-template-columns: minmax(0, 1fr) 236px; gap: 36px; }
}

@media (max-width: 1129px) {
  .rail {
    transform: translateX(-100%);
    transition: transform .24s ease;
    box-shadow: var(--shadow);
    width: 292px;
  }
  body.rail-open .rail { transform: none; }
  .shell { margin-left: 0; }
  .topbar { display: flex; }
  .page-hero { padding: 32px 0 26px; }
  .article { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .toc { order: 1; position: static; }
  .prose { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}

@media (max-width: 900px) {
  .feat-card {
    grid-template-columns: 100px minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "thumb title"
      "thumb list"
      "cta   cta";
    column-gap: 18px;
    padding: 18px 14px;
  }
  .feat-thumb { width: 100px; height: 100px; }
  .btn-block { width: 100%; min-width: 0; margin-top: 6px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-cards, .pros-cons { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --pad: 18px; }
  body { font-size: 16px; }
  .topbar { padding: 8px 14px; }
  .bar-age { display: none; }
  .topbar .logo img { height: 22px; }
  .menu-toggle { height: 36px; width: 40px; }
  .top-disclosure-inner { font-size: 10.5px; gap: 8px; padding-top: 7px; padding-bottom: 7px; }
  .td-full { display: none; }
  .td-mini { display: inline; }

  .page-hero { padding: 16px 0 15px; }
  .breadcrumbs { margin-bottom: 8px; font-size: 9px; }
  .page-hero h1 { font-size: 24px; line-height: 1.12; margin-bottom: 8px; max-width: none; }
  .flag-inline { width: 18px; }
  .lead { font-size: 14.8px; line-height: 1.55; margin-bottom: 11px; }
  .hero-byline { font-size: 10.4px; gap: 5px; letter-spacing: 0; }
  .by-date, .by-sep { display: none; }
  .hero-byline img.by-avatar { width: 22px; height: 22px; }
  .tg-cta { height: 28px; padding: 0 10px 0 4px; gap: 6px; margin-left: 0; }
  .tg-cta-core { width: 19px; height: 19px; }
  .tg-cta-core svg { width: 9px; height: 9px; }
  .tg-cta-label { font-size: 9.5px; letter-spacing: .07em; }

  section.container { padding-top: 18px; }
  .list-heading { margin-bottom: 8px; padding-bottom: 8px; font-size: 10px; }

  .feat-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "thumb"
      "title"
      "cta"
      "list";
    justify-items: center;
    text-align: center;
    row-gap: 8px;
    column-gap: 0;
    padding: 20px 14px 16px;
  }
  .feat-card.is-top-pick { padding-left: 14px; }
  .feat-thumb { width: 88px; height: 88px; }
  .feat-card h3 { font-size: 16.5px; line-height: 1.2; max-width: 31ch; }
  .feat-list { align-items: flex-start; text-align: left; width: 100%; max-width: 33ch; margin: 2px auto 0; }
  .feat-list li { font-size: 12.5px; }
  .btn-block { width: 100%; min-height: 46px; margin-top: 2px; }
  .top-pick-badge { left: 14px; }

  .content { padding: 26px 0 8px; }
  .prose p { font-size: 15.5px; }
  .prose > section.reveal > h2 { font-size: 20.5px; margin-top: 24px; padding-top: 17px; }
  .step-box { grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; }
  .author-box { grid-template-columns: minmax(0, 1fr); gap: 13px; padding: 17px; }
  .author-avatar { width: 74px; height: 74px; }
  .author-bio { font-size: 14px; }
  .related-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}

@media (max-width: 380px) {
  .topbar .logo img { height: 19px; }
  .page-hero h1 { font-size: 23.5px; }
  .feat-thumb { width: 90px; height: 90px; }
  .hero-byline img.by-avatar { display: none; }
}
