@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,800;1,800&family=IBM+Plex+Mono:wght@500&family=Source+Sans+3:wght@400;500;600&display=swap');

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

:root {
  --bg-grad-start: #D4DADC;
  --bg-grad-mid: #C7CFD2;
  --bg-grad-end: #BAC4C8;
  --surface-1: #E6ECEC;
  --surface-2: #D8E0E1;
  --border-line: #96A8AA;
  --text-primary: #101D1E;
  --text-secondary: #2B4446;
  --emerald: #14584B;
  --copper: #A9622F;
  --graphite: #25312F;
  --dark-section: #17302F;
  --dark-text: #E9F3F1;
  --dark-card: #214542;
  --blob-emerald: rgba(46, 139, 114, 0.12);
  --blob-copper: rgba(196, 129, 79, 0.12);
  --grid-line: rgba(20, 40, 45, 0.06);
  --font-heading: 'Bitter', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', Consolas, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: linear-gradient(170deg, var(--bg-grad-start) 0%, var(--bg-grad-mid) 50%, var(--bg-grad-end) 100%);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Subtle 3% noise overlay & drifting ambient blobs */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: radial-gradient(#101D1E 0.75px, transparent 0.75px);
  background-size: 4px 4px;
}

.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob-emerald {
  position: absolute;
  top: 8%;
  left: -6%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: #2E8B72;
  opacity: 0.12;
  filter: blur(150px);
  animation: driftEmerald 34s ease-in-out infinite alternate;
}

.blob-copper {
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: #C4814F;
  opacity: 0.12;
  filter: blur(140px);
  animation: driftCopper 40s ease-in-out infinite alternate;
}

@keyframes driftEmerald {
  0% { transform: translate(0, 0); }
  100% { transform: translate(90px, 70px); }
}

@keyframes driftCopper {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-80px, -60px); }
}

/* Reading Progress Bar (3px copper) */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background-color: var(--copper);
  z-index: 1100;
  transition: width 0.12s linear;
}

/* Grid System: 1160px container, 12 columns, 18px gap */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 2px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 18+ Badge (36px circle, high-contrast border) */
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background-color: var(--surface-1);
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.badge-18--dark {
  background-color: var(--dark-card);
  color: var(--dark-text);
  border: 2px solid var(--dark-text);
}

/* Sticky Solid Header (64px -> 52px on scroll, 3px emerald bottom border) */
.site-header {
  position: sticky;
  top: 3px;
  z-index: 1000;
  background-color: var(--surface-1);
  border-bottom: 3px solid var(--emerald);
  height: 64px;
  transition: height 0.3s var(--ease-out);
}

.site-header.is-shrunk {
  height: 52px;
}

.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 40px;
  width: auto;
  display: block;
  transition: height 0.3s var(--ease-out);
}

.site-header.is-shrunk .brand-logo img {
  height: 34px;
}

/* Centered Nav & Solid Mega-Menu */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  padding: 6px 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid transparent;
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--emerald);
  border-bottom-color: var(--emerald);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 640px;
  background-color: var(--surface-1);
  border: 1.5px solid var(--border-line);
  border-top: 3px solid var(--emerald);
  border-radius: 0 0 12px 12px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
  z-index: 1050;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-col h4 {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--copper);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-line);
}

.mega-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-col a {
  font-size: 15px;
  color: var(--text-primary);
  display: block;
  padding: 3px 0;
}

.mega-col a:hover {
  color: var(--emerald);
  text-decoration: underline;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  background-color: var(--emerald);
  color: #F2FAF8;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.header-cta:hover {
  background-color: var(--copper);
  color: #1B0E05;
}

.mobile-menu-btn {
  display: none;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1.5px solid var(--border-line);
  background-color: var(--surface-2);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.mobile-nav-panel {
  display: none;
  background-color: var(--surface-1);
  border-bottom: 2px solid var(--emerald);
  padding: 18px 20px;
}

.mobile-nav-panel.is-open {
  display: block;
}

.mobile-nav-panel a {
  display: block;
  font-size: 22px;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-line);
  color: var(--text-primary);
}

/* Breadcrumbs */
.breadcrumbs-bar {
  background-color: var(--surface-2);
  border-bottom: 1px solid var(--border-line);
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.breadcrumbs-bar a:hover {
  color: var(--emerald);
  text-decoration: underline;
}

/* Sections & Corner Grid Pattern (56px step) */
.section-light {
  padding: 60px 0;
  position: relative;
}

.section-dark {
  padding: 60px 0;
  background-color: var(--dark-section);
  color: var(--dark-text);
  position: relative;
}

.corner-grid::before,
.corner-grid::after {
  content: "";
  position: absolute;
  width: 224px;
  height: 224px;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 1;
}

.corner-grid::before {
  top: 0;
  left: 0;
}

.corner-grid::after {
  bottom: 0;
  right: 0;
}

/* Typography Hierarchy */
h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.1;
  color: var(--text-primary);
}

h1 em, h2 em {
  font-style: italic;
  color: var(--copper);
}

h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 33px;
  line-height: 1.2;
}

h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.3;
}

.prose-limit {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.prose-limit .lead-box {
  max-width: none;
}

.lead-box {
  background-color: var(--surface-2);
  border-left: 4px solid var(--emerald);
  padding: 18px 22px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-primary);
  border-radius: 0 10px 10px 0;
  max-width: 680px;
  margin-top: 20px;
}

/* Buttons */
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  background-color: var(--emerald);
  color: #F2FAF8;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--emerald);
  cursor: pointer;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.btn-main .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

.btn-main:hover {
  background-color: var(--copper);
  border-color: var(--copper);
  color: #1B0E05;
}

.btn-main:hover .arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  background-color: var(--surface-1);
  color: var(--text-primary);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--emerald);
  cursor: pointer;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.btn-secondary .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

.btn-secondary:hover {
  background-color: var(--emerald);
  color: #F2FAF8;
}

.btn-secondary:hover .arrow {
  transform: translateX(4px);
}

/* Hero 7/5 Asymmetric Layout */
.hero-col-7 {
  grid-column: span 7;
}

.hero-col-5 {
  grid-column: span 5;
}

.audit-panel {
  background-color: var(--surface-1);
  border: 1.5px solid var(--border-line);
  border-top: 4px solid var(--emerald);
  border-radius: 14px;
  padding: 24px;
}

.audit-panel h2 {
  font-size: 22px;
  margin-bottom: 14px;
}

.audit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audit-list li {
  background-color: var(--surface-2);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 16px;
  color: var(--text-primary);
  border-left: 3px solid var(--copper);
}

/* Affiliate Disclosure Strip above Cards */
.section-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.affiliate-note {
  background-color: var(--surface-2);
  border: 1px solid var(--border-line);
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-secondary);
}

/* Horizontal Operator Cards (4 items, equal height, full container width) */
.operator-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.op-card {
  background-color: var(--surface-1);
  border: 1.5px solid var(--border-line);
  border-radius: 14px;
  position: relative;
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  overflow: hidden;
}

.op-card:nth-child(odd) {
  border-top: 4px solid var(--emerald);
}

.op-card:nth-child(even) {
  border-top: 4px solid var(--copper);
}

.op-card:hover {
  transform: translateY(-4px);
  border-color: var(--emerald);
}

.editors-ribbon {
  display: inline-block;
  background-color: var(--emerald);
  color: #F2FAF8;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 0 0 10px 0;
}

.op-card-main {
  display: grid;
  grid-template-columns: 280px 1fr 310px;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  min-height: 156px;
}

.op-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rank-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background-color: var(--surface-2);
  border: 2px solid var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--text-primary);
}

.op-logo-box {
  background-color: var(--surface-2);
  border: 1px solid var(--border-line);
  padding: 8px;
  border-radius: 10px;
}

.op-logo-box img {
  height: 54px;
  width: auto;
  display: block;
}

.op-center {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.op-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prop-pill {
  background-color: var(--surface-2);
  border: 1px solid var(--border-line);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.license-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-primary);
}

.op-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

/* Circular Score Ring (CSS conic-gradient animated via JS) */
.score-ring {
  width: 92px;
  height: 92px;
  min-width: 92px;
  border-radius: 50%;
  background: conic-gradient(var(--emerald) calc(var(--pct, 0) * 1%), var(--surface-2) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.score-ring--mid {
  background: conic-gradient(var(--copper) calc(var(--pct, 0) * 1%), var(--surface-2) 0);
}

.score-ring-inner {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background-color: var(--surface-1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-big {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  color: var(--emerald);
}

.score-big--mid {
  color: var(--copper);
}

.op-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 175px;
}

.op-actions .btn-main,
.op-actions .btn-secondary {
  height: 44px;
  padding: 0 14px;
  font-size: 15px;
  width: 100%;
}

/* Accordion Bar at Bottom of Card */
.op-accordion-toggle {
  width: 100%;
  background-color: var(--surface-2);
  border: none;
  border-top: 1px solid var(--border-line);
  padding: 10px 24px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.op-accordion-toggle:hover {
  background-color: #CED8D9;
}

.op-accordion-body {
  background-color: var(--surface-1);
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.op-accordion-body.is-open {
  padding: 16px 24px 20px;
  max-height: 260px;
  border-top: 1px solid var(--border-line);
}

/* Comparison Table */
.table-wrap {
  overflow-x: auto;
  border: 1.5px solid var(--border-line);
  border-radius: 14px;
  background-color: var(--surface-1);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 16px;
}

.comp-table th,
.comp-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-line);
}

.comp-table thead th {
  background-color: var(--dark-section);
  color: var(--dark-text);
  font-family: var(--font-heading);
  font-size: 18px;
}

.comp-table tbody tr:nth-child(odd) {
  background-color: var(--surface-1);
}

.comp-table tbody tr:nth-child(even) {
  background-color: var(--surface-2);
}

.sticky-col {
  position: sticky;
  left: 0;
  z-index: 3;
  background-color: inherit;
  font-weight: 600;
  border-right: 1.5px solid var(--border-line);
}

.comp-table thead .sticky-col {
  background-color: var(--dark-section);
}

.best-cell {
  border-left: 4px solid var(--emerald);
  font-weight: 600;
  color: var(--emerald);
}

/* Checkerboard 6/6 Trust Blocks on Dark Section */
.trust-card {
  grid-column: span 6;
  background-color: var(--dark-card);
  border: 1.5px solid var(--border-line);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.trust-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  color: #E9F3F1;
  background-color: var(--emerald);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  width: fit-content;
}

.trust-card h3 {
  color: var(--dark-text);
  margin-bottom: 10px;
}

.trust-card p {
  color: #D2E2DF;
  font-size: 17px;
}

/* Dense 12-Column Mosaic (Zero empty gaps) */
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
}

.mosaic-tile {
  background-color: var(--surface-1);
  border: 1.5px solid var(--border-line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tile-8 { grid-column: span 8; }
.tile-4 { grid-column: span 4; }
.tile-6 { grid-column: span 6; }

.quote-tile {
  background-color: var(--dark-section);
  color: var(--dark-text);
  border: 1.5px solid var(--border-line);
  border-radius: 14px;
  padding: 26px;
}

.quote-tile blockquote {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.4;
  color: var(--dark-text);
  margin-bottom: 12px;
}

.quote-tile cite {
  font-family: var(--font-mono);
  font-size: 14px;
  font-style: normal;
  color: #B9CECA;
}

/* Articles Strip with Horizontal Scroll & Duotone Images */
.articles-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-card {
  background-color: var(--surface-1);
  border: 1.5px solid var(--border-line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.duotone-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--graphite);
  overflow: hidden;
}

.duotone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.15);
  mix-blend-mode: luminosity;
  border-radius: 10px 10px 0 0;
  transition: filter 0.4s var(--ease-out), mix-blend-mode 0.4s var(--ease-out);
}

.article-card:hover .duotone-frame img {
  filter: none;
  mix-blend-mode: normal;
}

.img-caption {
  background-color: var(--surface-2);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-line);
}

.article-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--copper);
}

/* Criteria Progress Bars */
.criterion-card {
  grid-column: span 4;
  background-color: var(--surface-1);
  border: 1.5px solid var(--border-line);
  border-radius: 14px;
  padding: 22px;
}

.bar-track {
  width: 100%;
  height: 10px;
  background-color: var(--surface-2);
  border-radius: 6px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--border-line);
}

.bar-fill {
  height: 100%;
  width: 0%;
  background-color: var(--emerald);
  transition: width 0.8s var(--ease-out);
}

/* Mandatory Responsible Play Strip (min 15px font) */
.responsible-strip {
  background-color: var(--dark-section);
  color: var(--dark-text);
  border-top: 3px solid var(--copper);
  border-bottom: 3px solid var(--copper);
  padding: 32px 0;
}

.responsible-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.responsible-text {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 740px;
  font-size: 16px;
}

.responsible-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Newsletter / Digest Subscription Box */
.digest-box {
  background-color: var(--surface-1);
  border: 1.5px solid var(--border-line);
  border-left: 5px solid var(--emerald);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.digest-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.digest-form input {
  height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border-line);
  background-color: var(--surface-2);
  color: var(--text-primary);
  font-size: 16px;
  min-width: 260px;
}

/* Footer (Solid #17302F, 5 equal columns + mandatory 18+ row + copyright) */
.site-footer {
  background-color: var(--dark-section);
  color: var(--dark-text);
  padding: 56px 0 28px;
  position: relative;
  z-index: 2;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(233, 243, 241, 0.16);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--dark-text);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
}

.footer-col a {
  color: #C7DCD8;
}

.footer-col a:hover {
  color: var(--dark-text);
  text-decoration: underline;
}

.footer-safety-row {
  padding: 22px 0;
  border-bottom: 1px solid rgba(233, 243, 241, 0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

.footer-safety-left {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
}

.footer-bottom-row {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: #B4CBC7;
}

/* Reveal Animation (IntersectionObserver once) */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Interactive Filter Pills on Comparison */
.criteria-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.switch-btn {
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border-line);
  background-color: var(--surface-1);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.switch-btn.active {
  background-color: var(--emerald);
  border-color: var(--emerald);
  color: #F2FAF8;
}

/* Visual Self-Check Widget (client-side only, zero data sent) */
.selfcheck-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.selfcheck-item {
  background-color: var(--surface-1);
  border: 1.5px solid var(--border-line);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.selfcheck-result {
  background-color: var(--surface-2);
  border-left: 4px solid var(--emerald);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  font-size: 17px;
}

/* Responsive: Tablet 2x2 cards, Mobile 1 column */
@media (max-width: 1024px) {
  .nav-desktop, .header-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
  }
  .operator-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .op-card-main {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .op-right {
    justify-content: space-between;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  .hero-col-7, .hero-col-5, .trust-card, .tile-8, .tile-4, .tile-6, .criterion-card {
    grid-column: span 12;
  }
  .operator-list, .articles-strip, .footer-cols {
    grid-template-columns: 1fr;
  }
}
