:root {
  --navy-dark: #0b1219;
  --navy: #1a2b4b;
  --navy-bar: #152238;
  --lime: #d4ff00;
  --gold: #eab308;
  --blue: #3182ce;
  --blue-bright: #3b82f6;
  --modal-blue: #2563eb;
  --text: #1a202c;
  --text-muted: #718096;
  --bg: #ffffff;
  --border: #e2e8f0;
  --orange: #ed8936;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(11, 18, 25, 0.12);
  --font: "Outfit", system-ui, sans-serif;
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  background: transparent;
}

.logo-text {
  white-space: nowrap;
  line-height: 1.2;
}

.logo img,
.logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.logo:hover {
  color: var(--lime);
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  flex: 1;
  justify-content: center;
}

.nav-main a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--lime);
}

.header-cta {
  color: var(--lime) !important;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.search-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.35rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 18, 25, 0.92), rgba(26, 43, 75, 0.75)),
    url("/assets/images/hero/home-hero.png") center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0;
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin: 0 0 1.75rem;
}

.trust-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.75rem;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
}

.trust-logos span {
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.55;
  letter-spacing: 0.04em;
}

/* Filter bar */
.filter-bar {
  background: var(--navy);
  color: #fff;
  padding: 1rem 0;
}

.filter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.filter-inner > span {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.filter-options a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.filter-options a:hover {
  color: var(--lime);
}

/* Layout */
.page-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  padding: 2.5rem 0 4rem;
  align-items: start;
}

@media (max-width: 960px) {
  .page-grid {
    grid-template-columns: 1fr;
  }
}

/* Disclosure */
.disclosure {
  background: #f7fafc;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.disclosure strong {
  color: var(--navy);
}

/* Sections */
.section-title {
  font-size: 1.75rem;
  color: var(--navy);
  margin: 0 0 0.75rem;
  font-weight: 800;
}

.lead {
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 65ch;
}

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

/* Fallback: horizontal scroll on tablets before card layout kicks in */
@media (min-width: 641px) and (max-width: 900px) {
  .compare-table {
    min-width: 720px;
  }
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
}

.compare-table th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 0.85rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.compare-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.compare-table tr:hover td {
  background: #f8fafc;
}

.operator-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.operator-cell img {
  width: 48px;
  height: 32px;
  object-fit: contain;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-lime {
  background: var(--lime);
  color: var(--navy-dark);
}

.btn-lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 255, 0, 0.35);
  color: var(--navy-dark);
}

.btn-blue {
  background: var(--blue-bright);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.affiliate-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.affiliate-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.affiliate-card img {
  height: 36px;
  width: auto;
  margin-bottom: 0.75rem;
  object-fit: contain;
}

.affiliate-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.affiliate-card .badge {
  display: inline-block;
  background: #ebf8ff;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

/* Sidebar */
.sidebar h2 {
  font-size: 1.15rem;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 0.5rem;
  margin: 0 0 1.25rem;
}

.blog-mini {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.blog-mini:last-child {
  border-bottom: none;
}

.blog-mini img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.blog-mini h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  line-height: 1.3;
}

.blog-mini h3 a {
  color: var(--text);
}

.blog-mini h3 a:hover {
  color: var(--blue);
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  color: var(--lime);
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
}

.rg-notice {
  background: rgba(212, 255, 0, 0.08);
  border: 1px solid rgba(212, 255, 0, 0.25);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  font-size: 0.85rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 25, 0.75);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--modal-blue);
  color: #fff;
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  padding: 2rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.8;
}

.modal h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.modal label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.modal input[type="text"],
.modal input[type="email"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: none;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.modal .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.modal-check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.8rem;
  margin: 0.75rem 0 1rem;
}

/* Blog */
.breadcrumb {
  font-size: 0.85rem;
  padding: 1.25rem 0 0;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--orange);
}

.blog-hero-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
  align-items: center;
}

@media (max-width: 768px) {
  .blog-hero-featured {
    grid-template-columns: 1fr;
  }
}

.blog-hero-featured img {
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  object-fit: cover;
}

.tag {
  display: inline-block;
  background: var(--blue-bright);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.category-bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin: 2rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.category-bar-label {
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0;
  color: var(--navy);
}

.category-bar-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.post-card.is-hidden {
  display: none !important;
}

.cat-btn {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: none;
  background: #edf2f7;
  color: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  flex-shrink: 0;
  min-height: 40px;
  -webkit-tap-highlight-color: transparent;
}

.cat-btn.active {
  background: var(--blue-bright);
  color: #fff;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.post-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.post-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

.post-card .body {
  padding: 1rem 1.15rem 1.25rem;
}

.post-card h3 {
  margin: 0.5rem 0 0.35rem;
  font-size: 1.05rem;
}

/* Article */
.article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin: 0.75rem 0;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.article-featured {
  border-radius: var(--radius);
  margin-bottom: 2rem;
  aspect-ratio: 16/7;
  object-fit: cover;
  width: 100%;
}

.article-body {
  max-width: 72ch;
}

.article-body h2 {
  color: var(--navy);
  margin-top: 2rem;
}

.article-body p {
  margin-bottom: 1rem;
}

.article-context,
.page-resources-intro {
  background: #f0f7ff;
  border-left: 4px solid var(--lime, #84cc16);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.article-related,
.article-sources,
.page-resources {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.article-related h2,
.article-sources h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.related-list,
.source-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-list li,
.source-list li {
  margin-bottom: 0.65rem;
  padding-left: 1.25rem;
  position: relative;
}

.related-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--lime, #84cc16);
  font-weight: 700;
}

.source-list li::before {
  content: "↗";
  position: absolute;
  left: 0;
  color: var(--navy);
  font-size: 0.85rem;
}

.breadcrumb {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--navy);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Contact */
.form-page {
  max-width: 560px;
  padding: 2rem 0 4rem;
}

.form-page label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.form-page input,
.form-page textarea,
.form-page select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-family: inherit;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--navy);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 300;
  transform: translateY(120%);
  transition: transform 0.3s;
}

.toast.show {
  transform: translateY(0);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-main {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 0 0.5rem;
    gap: 0.25rem;
    order: 10;
  }

  .nav-main.open {
    display: flex;
  }

  .nav-main a {
    padding: 0.65rem 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-inner {
    gap: 0.65rem 1rem;
  }

  .search-btn {
    display: none;
  }

  .header-cta {
    order: 5;
    margin-left: auto;
    font-size: 0.7rem;
    white-space: nowrap;
  }
}

/* ——— Mobile layout & components ——— */
@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  body {
    overflow-x: clip;
  }

  .hero {
    min-height: 320px;
  }

  .hero-content {
    padding: 2rem 0;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .trust-logos {
    gap: 0.75rem 1.25rem;
  }

  .filter-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .filter-options {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }

  .filter-options a {
    padding: 0.65rem 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.85rem;
  }

  .page-grid {
    padding: 1.5rem 0 3rem;
    gap: 2rem;
  }

  .section-title {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

  .disclosure,
  .rg-notice {
    font-size: 0.85rem;
    padding: 0.85rem 1rem;
  }

  /* Comparison table → stacked cards */
  .table-wrap {
    overflow-x: visible;
    margin-left: -0.125rem;
    margin-right: -0.125rem;
  }

  .compare-table {
    font-size: 0.875rem;
    min-width: 0;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 2px 14px rgba(11, 18, 25, 0.08);
    background: #fff;
    overflow: hidden;
  }

  .compare-table tbody tr:hover td {
    background: transparent;
  }

  .compare-table td {
    display: grid;
    grid-template-columns: 6.75rem 1fr;
    align-items: start;
    gap: 0.2rem 0.65rem;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
  }

  .compare-table td::before {
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    line-height: 1.4;
  }

  .compare-table td:nth-child(1) {
    display: block;
    padding: 1rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
  }

  .compare-table td:nth-child(1)::before {
    display: none;
  }

  .compare-table td:nth-child(2)::before {
    content: "Best for";
  }

  .compare-table td:nth-child(3)::before {
    content: "Welcome bonus";
  }

  .compare-table td:nth-child(4)::before {
    content: "Highlights";
  }

  .compare-table td:nth-child(5)::before {
    content: "Payout";
  }

  .compare-table td:last-child {
    display: block;
    padding: 1rem;
    border-bottom: none;
    background: #fff;
  }

  .compare-table td:last-child::before {
    display: none;
  }

  .compare-table .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .operator-cell {
    justify-content: center;
  }

  /* Sign-up modal */
  .modal-overlay {
    padding: 0.75rem;
    align-items: center;
  }

  .modal-overlay.open {
    padding: max(0.75rem, env(safe-area-inset-top))
      max(0.75rem, env(safe-area-inset-right))
      max(0.75rem, env(safe-area-inset-bottom))
      max(0.75rem, env(safe-area-inset-left));
  }

  .modal {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 1.25rem 1rem 1.5rem;
    max-height: min(92vh, 640px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
  }

  .modal-art {
    display: none;
  }

  .modal h2 {
    font-size: 1.2rem;
    line-height: 1.3;
    padding-right: 2rem;
  }

  .modal p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .modal .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .modal input[type="text"],
  .modal input[type="email"] {
    font-size: 16px;
    margin-bottom: 0.85rem;
  }

  .modal-check {
    font-size: 0.75rem;
    line-height: 1.45;
  }

  .modal-check input {
    margin-top: 0.2rem;
    flex-shrink: 0;
  }

  /* Contact / demo forms */
  .form-page {
    max-width: none;
    padding: 1.25rem 0 3rem;
  }

  .form-page input,
  .form-page textarea,
  .form-page select {
    font-size: 16px;
  }

  .form-page .btn {
    width: 100%;
    padding: 0.85rem 1rem;
  }

  /* Cards & blog */
  .card-grid,
  .post-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .affiliate-card {
    padding: 1rem;
  }

  .category-bar {
    margin-left: 0;
    margin-right: 0;
    gap: 0.65rem;
  }

  .category-bar-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 0 0.5rem;
    margin: 0 -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }

  .cat-btn {
    scroll-snap-align: start;
    font-size: 0.75rem;
    padding: 0.55rem 0.85rem;
  }

  .blog-mini {
    flex-direction: column;
    gap: 0.65rem;
  }

  .blog-mini img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .article-featured {
    aspect-ratio: 16/10;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    text-align: center;
  }

  .btn {
    min-height: 44px;
  }
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 0.85rem 0 max(0.85rem, env(safe-area-inset-bottom));
  background: var(--navy-bar);
  color: #e2e8f0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: auto;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.cookie-consent__inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-consent__text {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #cbd5e0;
}

.cookie-consent__text a {
  color: var(--lime);
  text-decoration: underline;
}

.cookie-consent__actions {
  flex: 0 0 auto;
}

.cookie-consent__actions .btn {
  min-width: 7.5rem;
  margin: 0;
}

@media (max-width: 720px) {
  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .cookie-consent__actions .btn {
    width: 100%;
  }
}

/* Article rich content (SEO + UX) */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.article-table th,
.article-table td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.article-table th {
  background: var(--navy-bar);
  color: #fff;
  font-weight: 600;
}

.article-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.article-callout {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--lime);
  background: #f0fff4;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.article-card {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.article-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--navy);
}

.article-context {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: #f7fafc;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.92rem;
}

.semantic-link-list {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.semantic-link-list a {
  font-weight: 600;
}

@media (max-width: 400px) {
  .logo-text {
    font-size: 0.85rem;
  }

  .logo-mark,
  .logo img {
    width: 36px;
    height: 36px;
  }

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

  .compare-table td {
    grid-template-columns: 1fr;
  }

  .compare-table td::before {
    margin-bottom: 0.15rem;
  }
}
