/* ==========================================================================
   CasinoNisse.cfd — "Night Grid" design system v1
   Graphite night surfaces · acid lime signal · ember alert · hard edges
   Built from scratch for this template (replaces the old main.css layers).
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg:        #050806;
  --bg-2:      #0A100D;
  --bg-3:      #0E1511;
  --bg-deep:   #030504;

  --text:      #E1E9DF;
  --text-2:    #A3B2A8;
  --text-3:    #7E9086;
  --text-inv:  #06120A;

  --lime:      #A9D24B;
  --lime-hot:  #C2E667;
  --lime-deep: #7FA836;
  --ember:     #E85D3C;

  --line:      #182420;
  --line-2:    #24332C;
  --line-lime: rgba(169, 210, 75, .26);

  --max-w: 1160px;
  --r: 2px;
  --r-lg: 4px;

  --font-display: 'Familjen Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --shadow-card: 0 18px 40px rgba(0, 0, 0, .34);
  --shadow-lime: 6px 6px 0 rgba(169, 210, 75, .16);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(169, 210, 75, .07), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--lime);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color .16s ease, opacity .16s ease;
}
a:hover { color: var(--lime-hot); text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

::selection { background: var(--lime); color: var(--text-inv); }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: #F4F9F1;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.16;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 3.7vw, 2.85rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0 0 .3em;
  max-width: 26ch;
}
h2 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); }
h3 { font-size: clamp(1.05rem, 1.3vw, 1.2rem); letter-spacing: -.01em; }
h4 { font-size: 1rem; }

p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
li::marker { color: var(--lime-deep); }
strong { color: #FFFFFF; font-weight: 600; }
em { color: var(--text); }

.flag-inline {
  display: inline-block;
  width: auto;
  height: .78em;
  vertical-align: -.04em;
  margin: 0 .2em 0 .08em;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section,
section.container,
section.content,
.content > .container {
  padding-top: 46px;
  padding-bottom: 46px;
}
section.container { padding-top: 14px; padding-bottom: 8px; }

section.reveal { margin: 0 0 46px; }
section.reveal::after { content: ""; display: block; clear: both; }
section.reveal:last-child { margin-bottom: 0; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(3, 6, 4, .95);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-lime);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
}

.site-header .logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}
.site-header .logo img {
  height: 44px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}
.nav a {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--lime);
  transition: right .18s ease;
}
.nav a:hover,
.nav a.active { color: var(--lime); text-decoration: none; }
.nav a:hover::after,
.nav a.active::after { right: 0; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  color: var(--lime);
  border: 1px solid var(--line-lime);
  border-radius: var(--r);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}
.menu-toggle:hover { background: rgba(169, 210, 75, .08); }

/* ---------- 6. Disclosure bar ---------- */
.top-disclosure {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-3);
}
.top-disclosure-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.td-badge {
  flex: 0 0 auto;
  display: inline-block;
  background: var(--lime);
  color: var(--text-inv);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 7px;
  border-radius: 1px;
}
.top-disclosure a { color: var(--text-2); text-decoration: underline; }
.top-disclosure a:hover { color: var(--lime); }
.td-mini { display: none; }

/* ---------- 7. Hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 12px 0 12px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(to bottom, rgba(169, 210, 75, .045), transparent 65%),
    repeating-linear-gradient(to right, rgba(255, 255, 255, .026) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .026) 0 1px, transparent 1px 64px);
}
.page-hero > .container { position: relative; z-index: 2; }

.page-hero .blob {
  position: absolute;
  z-index: 0;
  display: block;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(30px);
}
.page-hero .blob.a {
  top: -190px;
  right: -80px;
  background: radial-gradient(circle, rgba(169, 210, 75, .22), transparent 68%);
}
.page-hero .blob.b {
  bottom: -260px;
  left: -60px;
  background: radial-gradient(circle, rgba(232, 93, 60, .14), transparent 68%);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--lime); text-decoration: none; }
.breadcrumbs .sep { color: var(--lime-deep); }

.page-hero h1 { margin-bottom: .22em; }

.lead {
  max-width: 60ch;
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-2);
}

.hero-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero-byline img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line-lime);
}
.hero-byline a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.hero-byline a:hover { color: var(--lime); text-decoration: none; border-color: var(--lime); }
.hero-byline .by-sep { color: var(--lime-deep); }

/* ---------- 8. Ranking list ---------- */
.list-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 10px;
  padding-top: 0;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -.015em;
  color: #F4F9F1;
}
.list-heading::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  background: var(--lime);
  border-radius: 1px;
}
.list-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(to right, var(--line-2), transparent);
}

.featured-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.feat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px 12px 12px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.feat-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-lime);
  box-shadow: var(--shadow-card);
}

.feat-card.is-top-pick {
  border-color: var(--lime);
  box-shadow: var(--shadow-lime);
}
.feat-card.is-top-pick:hover {
  border-color: var(--lime);
  box-shadow: 8px 8px 0 rgba(169, 210, 75, .22);
}

.top-pick-badge {
  display: block;
  margin: -10px -12px 10px;
  padding: 6px 12px;
  background: var(--lime);
  color: var(--text-inv);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 0;
}

.feat-thumb {
  background: #F1F5E9;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 1px;
  height: 122px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.feat-card h3 {
  margin: 9px 0 6px;
  font-size: .98rem;
  line-height: 1.28;
  letter-spacing: -.015em;
  min-height: 2.2em;
}

.feat-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  flex: 1 1 auto;
}
.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text-2);
}
.feat-list .ico {
  flex: 0 0 auto;
  width: 17px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1px solid var(--lime);
  border-radius: var(--r);
  background: var(--lime);
  color: var(--text-inv);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.btn:hover {
  background: var(--lime-hot);
  color: var(--text-inv);
  text-decoration: none;
  box-shadow: 0 0 0 1px var(--lime-hot);
}
.btn-primary { min-height: 46px; }
.btn-block { display: flex; width: 100%; }

/* ---------- 9. Trust stats ---------- */
.trust-stats-wrap { padding: 0 24px; margin: 34px auto 0; max-width: var(--max-w); }
.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ts-tile {
  padding: 18px 20px;
  border-left: 1px solid var(--line);
}
.ts-tile:first-child { border-left: 0; }
.ts-num {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--lime);
  line-height: 1.1;
}
.ts-lab {
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- 10. Content & prose ---------- */
.content { position: relative; }
.content > .container { padding-top: 20px; }

.content { counter-reset: sec; }

section.reveal > h2 {
  counter-increment: sec;
  margin-top: 0;
  padding-left: 0;
}
section.reveal > h2::before {
  content: counter(sec, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--lime);
}
section.reveal > h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-top: 14px;
  background: var(--lime);
}

.content p { color: var(--text-2); max-width: 70ch; }
.content > .container > p { color: var(--text-2); }

section.reveal > h3 {
  position: relative;
  margin-top: 1.7em;
  padding-left: 14px;
  color: #F4F9F1;
}
section.reveal > h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  bottom: .18em;
  width: 3px;
  background: var(--lime-deep);
  border-radius: 1px;
}

.reveal a { border-bottom: 1px solid rgba(169, 210, 75, .35); }
.reveal a:hover { border-color: var(--lime-hot); }

/* Tables */
.table-wrap {
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
  -webkit-overflow-scrolling: touch;
}
.table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}
.table-wrap th {
  padding: 12px 16px;
  background: var(--bg-3);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
  vertical-align: middle;
}
.table-wrap td {
  padding: 12px 16px;
  color: var(--text-2);
  border-top: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}
.table-wrap tbody tr:nth-child(even) { background: rgba(255, 255, 255, .014); }
.table-wrap tbody tr:hover { background: rgba(169, 210, 75, .05); }
.table-wrap td:first-child { color: var(--text); font-weight: 500; }

/* TOC */
.toc {
  position: relative;
  margin: 0 0 46px;
  padding: 22px 26px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  border-radius: var(--r);
}
.toc-title {
  margin: 0 0 14px;
  padding-right: 46px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime);
}
.toc ol {
  counter-reset: toc;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 28px;
}
.toc li {
  counter-increment: toc;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 5px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(34, 48, 42, .6);
}
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--lime-deep);
  padding-top: 3px;
}
.toc a { color: var(--text-2); border: 0; }
.toc a:hover { color: var(--lime); text-decoration: none; }

/* TOC header/toggle (one page ships it in markup) */
.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.toc-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-lime);
  border-radius: var(--r);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease;
}
.toc-toggle:hover {
  background: rgba(169, 210, 75, .1);
  border-color: var(--lime);
}
.toc.is-collapsed ol { display: none; }

/* Feature tiles */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 8px;
}
.feature-card {
  padding: 20px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .16s ease, transform .16s ease;
}
.feature-card:hover { border-color: var(--line-lime); transform: translateY(-2px); }
.feature-card .ico {
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 12px;
  filter: saturate(1.1);
}
.feature-card h3 {
  margin: 0 0 8px;
  font-size: .98rem;
  letter-spacing: -.01em;
}
.feature-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-3);
}

/* Steps */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 8px;
  counter-reset: none;
}
.step-box {
  position: relative;
  padding: 20px 18px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--lime-deep);
  border-radius: var(--r);
}
.step-num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--lime);
  line-height: 1;
}
.step-box h3 { margin: 0 0 8px; font-size: .97rem; }
.step-box p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--text-3); }

/* Pros & cons */
.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 8px;
}
.pros, .cons {
  padding: 20px 20px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.pros { border-top: 3px solid var(--lime); }
.cons { border-top: 3px solid var(--ember); }
.pros h3, .cons h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.pros h3 { color: var(--lime); }
.cons h3 { color: var(--ember); }
.pros ul, .cons ul { list-style: none; margin: 0; padding: 0; }
.pros li, .cons li {
  position: relative;
  margin: 0 0 9px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}
.pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--lime);
  font-weight: 700;
}
.cons li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ember);
  font-weight: 700;
}

/* Callouts */
.callout {
  position: relative;
  margin: 26px 0;
  padding: 20px 22px;
  background: #07100B;
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  border-radius: var(--r);
}
.callout.is-warning {
  background: #140D0B;
  border-left-color: var(--ember);
}
.callout h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
}
.callout.is-warning h3 { color: var(--ember); }
.callout p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
}
.callout a { border-bottom: 1px solid rgba(169, 210, 75, .4); }

/* FAQ */
.faq-accordion { margin: 22px 0 0; }
.faq-item {
  margin: 0 0 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .16s ease;
}
.faq-item[open] { border-color: var(--line-lime); }
.faq-item summary {
  position: relative;
  padding: 16px 52px 16px 18px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #F4F9F1;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lime);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--lime); }
.faq-answer { padding: 0 18px 16px; }
.faq-answer p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
}

.prose-img { display: none; }

/* ---------- 11. Author box ---------- */
.author-box {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin: 8px 0 46px;
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.author-avatar {
  width: 168px;
  height: 168px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 8px 8px 0 rgba(169, 210, 75, .18);
}
.author-info { min-width: 0; }
.author-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime);
}
.author-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 6px;
}
.author-name {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -.02em;
}
.author-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--line-lime);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
}
.author-email-btn:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--text-inv);
  text-decoration: none;
}
.author-role {
  display: block;
  margin-bottom: 12px;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--text-3);
}
.author-bio {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}

/* ---------- Author page ---------- */
.author-figure {
  float: none;
  width: 200px;
  max-width: 100%;
  margin: 20px 0 8px;
}
.author-figure img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 5px 5px 0 rgba(169, 210, 75, .14);
}
.author-figure figcaption {
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-3);
}
.author-sign {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #F4F9F1;
}
.author-sign span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- 12. Related ---------- */
.related-title {
  margin: 0 0 18px;
  font-size: 10.5px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .16s ease, transform .16s ease;
}
.related-card:hover {
  border-color: var(--line-lime);
  transform: translateY(-2px);
  text-decoration: none;
}
.r-tag {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime-deep);
}
.r-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #F4F9F1;
  line-height: 1.3;
}
.related-card:hover .r-title { color: var(--lime); }



/* ---------- Telegram CTA: inline in the byline, floating once the margin fits ---------- */
.tg-cta {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: auto;
  border-radius: 50%;
  background: #F3F7F4;
  text-decoration: none;
}
.tg-cta-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: tgspin 20s linear infinite;
}
.tg-cta-ring text {
  fill: #0E2233;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .04em;
}
.tg-cta-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #29A9EB;
}
.tg-cta-core svg { width: 8px; height: 8px; fill: #FFFFFF; }

@keyframes tgspin { to { transform: rotate(360deg); } }
.tg-cta:hover .tg-cta-ring { animation-play-state: paused; }

.by-date-short { display: none; }

@media (max-width: 860px) {
  .by-date-long { display: none; }
  .by-date-short { display: inline; }
}

@media (min-width: 860px) {
  .tg-cta { width: 52px; height: 52px; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
  .tg-cta-core { width: 22px; height: 22px; }
  .tg-cta-core svg { width: 11px; height: 11px; }
}

@media (min-width: 1240px) {
  .tg-cta {
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 72px;
    height: 72px;
    margin: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .45), 0 0 0 1px rgba(41, 169, 235, .22);
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .tg-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .5), 0 0 0 1px rgba(41, 169, 235, .45);
  }
  .tg-cta-core { width: 30px; height: 30px; }
  .tg-cta-core svg { width: 14px; height: 14px; }
}

@media (min-width: 1360px) {
  .tg-cta {
    right: 14px;
    bottom: 14px;
    width: 84px;
    height: 84px;
    margin: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .45), 0 0 0 1px rgba(41, 169, 235, .22);
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .tg-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .5), 0 0 0 1px rgba(41, 169, 235, .45);
  }
  .tg-cta-core { width: 34px; height: 34px; }
  .tg-cta-core svg { width: 16px; height: 16px; }
}

@media (min-width: 1420px) {
  .tg-cta { right: 24px; bottom: 24px; width: 104px; height: 104px; }
  .tg-cta-core { width: 44px; height: 44px; }
  .tg-cta-core svg { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .tg-cta-ring { animation: none; }
}

@media (max-width: 360px) {
  .hero-byline { gap: 6px; font-size: 9.5px; letter-spacing: .07em; }
  .hero-byline img { width: 20px; height: 20px; }
  .tg-cta { width: 30px; height: 30px; }
  .tg-cta-core { width: 13px; height: 13px; }
  .tg-cta-core svg { width: 6px; height: 6px; }
}

/* ---------- 13. Footer ---------- */
.site-footer {
  margin-top: 64px;
  padding: 52px 0 0;
  background: #040705;
  border-top: 1px solid var(--line-lime);
  color: var(--text-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
}
.footer-grid .logo { display: inline-block; line-height: 0; margin-bottom: 4px; }
.footer-grid .logo img {
  height: 38px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}
.footer-grid p {
  margin: 14px 0 0;
  max-width: 44ch;
  font-size: 13.5px;
  line-height: 1.6;
  color: #84968B;
}
.footer-grid h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime-deep);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0 0 7px; }
.footer-grid a {
  color: #C4D2C8;
  font-size: 13.5px;
  font-weight: 400;
  border-bottom: 1px solid transparent;
}
.footer-grid a:hover {
  color: var(--lime);
  text-decoration: none;
  border-bottom-color: var(--lime);
}
.responsible-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 11px;
  border: 1px solid rgba(169, 210, 75, .35);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px 0 22px;
  border-top: 1px solid #14201B;
  font-size: 11.5px;
  color: #6C7F74;
}

/* ---------- 14. Motion ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.reveal { animation: rise .5s cubic-bezier(.2, .7, .3, 1) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none !important; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Short desktop viewports: keep the first CTA above the fold ---------- */
@media (min-width: 861px) and (max-height: 820px) {
  .page-hero { padding: 6px 0 6px; }
  h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
  .lead { font-size: .95rem; line-height: 1.5; margin-bottom: 8px; }
  .breadcrumbs { margin-bottom: 5px; }
  section.container { padding-top: 8px; }
  .feat-thumb { height: 104px; }
  .feat-card h3 { min-height: 0; margin: 8px 0 5px; }
  .feat-list li { font-size: 13px; margin-bottom: 3px; }
}

/* ---------- 15. Responsive (widest → narrowest) ---------- */
@media (max-width: 1180px) {
  .nav { gap: 14px; }
  .nav a { font-size: 10.5px; letter-spacing: .05em; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { position: relative; }

  .nav.open,
  .nav.is-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 6px 0 10px;
    background: #050A07;
    border-top: 1px solid var(--line-lime);
    border-bottom: 1px solid var(--line-lime);
    box-shadow: 0 18px 30px rgba(0, 0, 0, .5);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav.open a,
  .nav.is-open a {
    display: block;
    padding: 13px 24px;
    font-size: 12px;
    border-bottom: 1px solid rgba(34, 48, 42, .8);
    white-space: normal;
  }
  .nav.open a:last-child,
  .nav.is-open a:last-child { border-bottom: 0; }
  .nav.open a::after,
  .nav.is-open a::after { display: none; }

  .feature-cards, .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}

@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .container { padding: 0 20px; }
  .section, section.container, section.content, .content > .container {
    padding-top: 34px;
    padding-bottom: 34px;
  }
  .page-hero { padding: 16px 0 14px; }
  h1 { max-width: none; }
  .lead { font-size: 1rem; }

  .featured-cards { grid-template-columns: 1fr; gap: 12px; }

  .toc { padding: 18px 18px 14px; }
  .toc ol { grid-template-columns: 1fr; }
  .toc li { padding: 7px 0; }

  .pros-cons { grid-template-columns: 1fr; }
  .author-box { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 18px; }
  .author-avatar { width: 120px; height: 120px; box-shadow: 5px 5px 0 rgba(169, 210, 75, .18); }
  .trust-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ts-tile { padding: 14px 16px; }
  .ts-tile:nth-child(3) { border-left: 0; }
  .ts-tile:nth-child(n+3) { border-top: 1px solid var(--line); }
  .related-grid { grid-template-columns: 1fr; }
  .site-footer { margin-top: 44px; padding-top: 38px; }

}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }

  .site-header .logo img { height: 36px; max-width: 300px; }
  .header-inner { min-height: 62px; }
  .nav.open, .nav.is-open { max-height: calc(100vh - 62px); }

  .top-disclosure-inner { min-height: 34px; }
  .td-full { display: none; }
  .td-mini { display: inline; }

  h1 { font-size: 1.92rem; line-height: 1.08; letter-spacing: -.03em; }
  .lead { margin-bottom: 16px; font-size: .96rem; }
  .breadcrumbs { font-size: 9.5px; letter-spacing: .12em; margin-bottom: 14px; }

  .list-heading { font-size: 1.15rem; gap: 10px; }

  /* mobile ranking card: thumb beside title, CTA above bullets */
  .feat-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-areas:
      "thumb title"
      "cta cta"
      "list list";
    gap: 10px 12px;
    padding: 12px;
    align-items: start;
  }
  .feat-card.is-top-pick {
    grid-template-areas:
      "badge badge"
      "thumb title"
      "cta cta"
      "list list";
  }
  .top-pick-badge { margin: -12px -12px 2px; }
  .feat-thumb { grid-area: thumb; height: 104px; }
  .feat-card h3 { grid-area: title; margin: 0; font-size: .98rem; min-height: 0; align-self: center; }
  .feat-list { grid-area: list; margin: 2px 0 0; }
  .feat-list li { font-size: 13px; margin-bottom: 6px; }
  .feat-card .btn { grid-area: cta; min-height: 48px; }

  .feature-cards, .step-grid { grid-template-columns: 1fr; }
  .feature-card, .step-box { padding: 16px; }

  .table-wrap { margin: 20px 0; }
  .table-wrap table { font-size: 13px; min-width: 480px; }
  .table-wrap th, .table-wrap td { padding: 10px 12px; }

  section.reveal { margin-bottom: 34px; }
  section.reveal > h2::after { margin-top: 10px; }

  .author-figure { float: none; width: 100%; max-width: 200px; margin: 16px 0 8px; }
  .author-box { grid-template-columns: 1fr; gap: 14px; }
  .author-avatar { width: 104px; height: 104px; }
  .author-name { font-size: 1.18rem; }
  .author-bio { font-size: 13.5px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 26px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { font-size: 11px; }

  .page-hero .blob { width: 300px; height: 300px; }
}

@media (max-width: 400px) {
  .page-hero { padding: 14px 0 12px; }
  .breadcrumbs { margin-bottom: 10px; }
  h1 { font-size: 1.68rem; margin-bottom: .35em; }
  .lead { margin-bottom: 10px; }
  .feat-card { padding: 10px; }
  .top-pick-badge { margin: -10px -10px 2px; padding: 6px 10px; }
  .feat-card { grid-template-columns: 96px minmax(0, 1fr); }
  .feat-thumb { height: 96px; }
  .trust-stats { grid-template-columns: 1fr 1fr; }
  .ts-num { font-size: 1.3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { font-size: 12px; letter-spacing: .08em; }
}

