@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --primary: #99ffcc;
  --secondary: #00ff41;
  --ink: #001e3c;
  --ink-mid: #002a54;
  --ink-light: #003366;
  --ink-border: #004080;
  --text-main: #cce8ff;
  --text-muted: #7fb3d3;
  --text-dim: #4a7fa0;
  --card-bg: #001830;
  --card-bg-hover: #002040;
  --font-mono: 'Share Tech Mono', 'Fira Code', 'Courier New', monospace;
  --font-body: 'Fira Code', 'Share Tech Mono', monospace;
  --radius-card: 18px;
  --radius-btn: 24px;
  --max-content: 780px;
  --max-wide: 1200px;
  --header-height: 110px;
  --transition-fast: 0.18s ease;
  --transition-med: 0.3s ease;
  --shadow-card: 0 2px 24px rgba(0, 255, 65, 0.07), 0 1px 8px rgba(0, 30, 60, 0.4);
  --shadow-card-hover: 0 6px 32px rgba(153, 255, 204, 0.14), 0 2px 12px rgba(0, 30, 60, 0.5);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: var(--primary);
  color: var(--ink);
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--secondary);
  text-decoration-color: var(--secondary);
}

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

ul, ol {
  list-style: none;
}

/* =============================================
   ANNOUNCEMENT STRIP
   ============================================= */
.announcement-strip {
  background: var(--secondary);
  color: var(--ink);
  text-align: center;
  padding: 7px 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

/* =============================================
   SITE HEADER — TWO ROW
   ============================================= */
.site-header {
  background: var(--ink-mid);
  border-bottom: 1px solid var(--ink-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.header-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  gap: 12px;
  min-height: 56px;
}

.brand {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.brand:hover {
  color: var(--secondary);
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* CTA Buttons — always visible */
.cta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.cta-signup {
  background: var(--primary);
  color: var(--ink);
  border: 2px solid var(--primary);
}

.cta-signup:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--ink);
}

.cta-login {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cta-login:hover {
  background: rgba(153, 255, 204, 0.1);
  color: var(--secondary);
  border-color: var(--secondary);
}

/* Nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 2px solid var(--ink-border);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast);
  flex-shrink: 0;
}

.nav-toggle:hover {
  border-color: var(--primary);
}

.toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition-med), opacity var(--transition-med);
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Header nav row */
.header-nav-row {
  background: var(--ink);
  border-top: 1px solid var(--ink-border);
}

/* Nav aside (structure lottery: aside > nav > ul > li > a) */
.nav-aside {
  width: 100%;
}

.nav-aside nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 16px;
}

.nav-aside nav ul li a {
  display: block;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.nav-aside nav ul li a:hover {
  color: var(--primary);
  border-bottom-color: var(--secondary);
}

/* =============================================
   MOBILE NAV (≤768px)
   ============================================= */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .header-nav-row {
    overflow: hidden;
    max-height: 0;
    transition: max-height var(--transition-med);
  }

  .header-nav-row.is-open {
    max-height: 600px;
  }

  .nav-aside[aria-hidden="true"] {
    visibility: hidden;
  }

  .nav-aside[aria-hidden="false"] {
    visibility: visible;
  }

  .nav-aside nav ul {
    flex-direction: column;
    padding: 8px 0;
  }

  .nav-aside nav ul li a {
    padding: 14px 20px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--ink-border);
    border-left: 3px solid transparent;
  }

  .nav-aside nav ul li a:hover {
    border-left-color: var(--secondary);
    border-bottom-color: var(--ink-border);
    background: rgba(153, 255, 204, 0.04);
  }

  .header-brand-row {
    padding: 8px 16px;
    gap: 8px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .cta {
    font-size: 0.68rem;
    padding: 8px 10px;
    min-height: 44px;
  }
}

@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }

  .header-nav-row {
    max-height: none !important;
  }

  .nav-aside {
    visibility: visible !important;
  }

  .nav-aside[aria-hidden="true"] {
    visibility: visible;
  }
}

/* =============================================
   SLANT DIVIDER
   ============================================= */
.slant-divider {
  height: 48px;
  background: var(--ink);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  margin-top: -1px;
}

/* =============================================
   HERO SECTIONS
   ============================================= */
.hero-section {
  background: linear-gradient(135deg, var(--ink-mid) 0%, var(--ink) 60%);
  border-bottom: 1px solid var(--ink-border);
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 80% 50%, rgba(153, 255, 204, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-article {
  width: 100%;
}

.hero-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 64px 32px 40px;
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: flex-end;
}

.hero-copy {
  text-align: right;
  max-width: 580px;
  flex: 1;
}

.hero-copy h1 {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-graphic {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cell-svg {
  width: 100%;
  height: 100%;
  animation: breathe 5s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.06); filter: brightness(1.15); }
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
  min-height: 48px;
  align-items: center;
  display: inline-flex;
}

.btn-primary:hover {
  background: var(--secondary);
  color: var(--ink);
  transform: translateY(-1px);
}

/* Inner page heroes */
.page-hero,
.review-header-section,
.compare-header-section,
.faq-header-section,
.inner-header-section {
  background: linear-gradient(160deg, var(--ink-mid) 0%, var(--ink) 70%);
  border-bottom: 1px solid var(--ink-border);
  position: relative;
  overflow: hidden;
}

.page-hero::before,
.review-header-section::before,
.compare-header-section::before,
.faq-header-section::before,
.inner-header-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(0, 255, 65, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-inner,
.review-header-inner,
.compare-header-inner,
.faq-header-inner,
.inner-header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 52px 32px 36px;
}

.page-hero-inner h1,
.review-header-inner h1,
.review-header-copy h1,
.compare-header-inner h1,
.faq-header-inner h1,
.inner-header-inner h1 {
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.page-lead,
.review-lead,
.compare-lead,
.faq-lead,
.inner-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 680px;
  margin-top: 8px;
}

.review-header-inner {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.review-header-copy {
  flex: 1;
}

.review-hero-media {
  flex-shrink: 0;
  max-width: 260px;
}

.review-hero-img {
  border-radius: var(--radius-card);
  width: 100%;
}

/* =============================================
   BYLINE
   ============================================= */
.byline {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.byline time {
  color: var(--primary);
}

.author-name {
  color: var(--text-muted);
}

/* Stage label */
.stage-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
  background: rgba(153, 255, 204, 0.1);
  color: var(--primary);
  border: 1px solid rgba(153, 255, 204, 0.3);
}

/* =============================================
   MAIN CONTENT LAYOUT
   ============================================= */
main {
  min-height: 50vh;
}

.wrap {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.content-section {
  padding: 48px 32px;
}

.content-with-aside {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

/* Body copy typography */
.main-content h2 {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 40px 0 4px;
  letter-spacing: 0.02em;
  border-left: 3px solid var(--secondary);
  padding-left: 12px;
}

.main-content h2:first-child {
  margin-top: 0;
}

.main-content h2 + p {
  margin-top: 0;
}

.main-content h3 {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 28px 0 8px;
}

.main-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 16px;
}

.main-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.main-content a:hover {
  color: var(--secondary);
}

.main-content ul,
.main-content ol {
  margin: 0 0 16px 0;
  padding-left: 20px;
}

.main-content ul {
  list-style: disc;
}

.main-content ol {
  list-style: decimal;
}

.main-content ul li,
.main-content ol li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--text-main);
}

.main-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.main-content table th,
.main-content table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--ink-border);
}

.main-content table th {
  color: var(--primary);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  background: var(--ink-mid);
}

.main-content table td {
  color: var(--text-main);
}

.main-content table tr:hover td {
  background: rgba(153, 255, 204, 0.03);
}

.subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  font-style: normal;
}

/* =============================================
   ASIDE
   ============================================= */
.content-aside {
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.aside-inner {
  background: var(--card-bg);
  border: 1px solid var(--ink-border);
  border-radius: var(--radius-card);
  padding: 24px;
  border-bottom: 3px solid var(--secondary);
}

.aside-inner h2 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
  border-left: none;
  padding-left: 0;
}

.aside-inner h2 + p.subtitle {
  margin-bottom: 16px;
}

.aside-links li {
  border-bottom: 1px solid var(--ink-border);
}

.aside-links li:last-child {
  border-bottom: none;
}

.aside-links li a {
  display: block;
  padding: 10px 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.4;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.aside-links li a:hover {
  color: var(--primary);
  padding-left: 8px;
}

/* =============================================
   CARDS
   ============================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--ink-border);
  border-radius: var(--radius-card);
  padding: 24px 20px 16px;
  border-bottom: 3px solid var(--primary);
  transition: background var(--transition-med), box-shadow var(--transition-med), transform var(--transition-med);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card:hover {
  background: var(--card-bg-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.card h3 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.card h3 a {
  color: var(--text-main);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--primary);
}

.card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.card-date {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.card-cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  border: 1px solid var(--secondary);
  border-radius: 12px;
  padding: 6px 14px;
  transition: background var(--transition-fast), color var(--transition-fast);
  min-height: 36px;
  align-items: center;
  display: inline-flex;
  align-self: flex-start;
}

.card-cta:hover {
  background: var(--secondary);
  color: var(--ink);
}

/* =============================================
   RANKING TABLE (structure lottery: table>tbody>tr>td)
   ============================================= */
.child-table-wrap {
  margin-top: 40px;
}

.child-table-wrap h2 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 4px;
  border-left: 3px solid var(--secondary);
  padding-left: 12px;
}

.ranked-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.88rem;
}

.ranked-table thead th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--secondary);
  padding: 12px 14px;
  text-align: left;
  background: var(--ink-mid);
  border-bottom: 2px solid var(--secondary);
  text-transform: uppercase;
}

.ranked-table tbody tr {
  border-bottom: 1px solid var(--ink-border);
  transition: background var(--transition-fast);
}

.ranked-table tbody tr:hover {
  background: rgba(153, 255, 204, 0.04);
}

.ranked-table tbody td {
  padding: 14px 14px;
  color: var(--text-main);
  vertical-align: top;
}

.rank-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  width: 40px;
}

.ranked-table tbody td a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.ranked-table tbody td a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.ranked-table tbody td time {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* =============================================
   RANKING HIGHLIGHTS
   ============================================= */
.ranking-highlights {
  margin-top: 40px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--ink-border);
  border-radius: var(--radius-card);
  border-bottom: 3px solid var(--secondary);
}

.ranking-highlights h2 {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
  border-left: none;
  padding-left: 0;
}

.ranking-list {
  margin-top: 12px;
}

.ranking-list li {
  border-bottom: 1px solid var(--ink-border);
}

.ranking-list li:last-child {
  border-bottom: none;
}

.ranking-list li a {
  display: block;
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.ranking-list li a:hover {
  color: var(--primary);
}

/* =============================================
   CHILD CARDS / SIBLINGS
   ============================================= */
.child-cards,
.sibling-links,
.related-compares {
  margin-top: 40px;
}

.child-cards h2,
.sibling-links h2,
.related-compares h2 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 4px;
  border-left: 3px solid var(--secondary);
  padding-left: 12px;
}

.sibling-links ul,
.related-compares ul {
  margin-top: 12px;
  list-style: none;
}

.sibling-links ul li,
.related-compares ul li {
  border-bottom: 1px solid var(--ink-border);
}

.sibling-links ul li a,
.related-compares ul li a {
  display: flex;
  align-items: center;
  padding: 12px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  min-height: 44px;
  transition: color var(--transition-fast);
}

.sibling-links ul li a:hover,
.related-compares ul li a:hover {
  color: var(--primary);
}

/* =============================================
   AUTHOR SECTION
   ============================================= */
.author-section {
  margin-top: 48px;
  padding: 28px;
  background: var(--card-bg);
  border: 1px solid var(--ink-border);
  border-radius: var(--radius-card);
  border-bottom: 3px solid var(--primary);
}

.author-section h2 {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
  border-left: 3px solid var(--secondary);
  padding-left: 12px;
}

.author-name-large {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.author-credentials {
  font-size: 0.82rem;
  color: var(--secondary);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.author-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   FAQ CONTENT
   ============================================= */
.faq-content details {
  border-bottom: 1px solid var(--ink-border);
  margin-bottom: 8px;
}

.faq-content summary {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.faq-content summary:hover {
  color: var(--primary);
}

.faq-content details[open] summary {
  color: var(--primary);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--ink-mid);
  border-top: 1px solid var(--ink-border);
  margin-top: 48px;
}

.footer-brand-row {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 48px 32px 24px;
  border-bottom: 1px solid var(--ink-border);
}

.footer-wordmark {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 520px;
}

/* Footer columns (structure lottery: footer ≥3 dl) */
.footer-cols {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 36px 32px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink-border);
}

.footer-col dd {
  margin-bottom: 8px;
}

.footer-col dd a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  min-height: 32px;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.footer-col dd a:hover {
  color: var(--primary);
}

.rg-notice {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 12px;
  padding: 8px 10px;
  background: rgba(0, 255, 65, 0.04);
  border: 1px solid var(--ink-border);
  border-radius: 6px;
}

.footer-bottom {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid var(--ink-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.copyright {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer-legal-links a {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--primary);
}

/* =============================================
   SCROLL REVEAL ANIMATION
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* Stagger */
.card:nth-child(1) { transition-delay: 0s; }
.card:nth-child(2) { transition-delay: 0.08s; }
.card:nth-child(3) { transition-delay: 0.16s; }
.card:nth-child(4) { transition-delay: 0.24s; }
.card:nth-child(5) { transition-delay: 0.32s; }
.card:nth-child(6) { transition-delay: 0.40s; }

/* =============================================
   ORGANIC / BIOMIMETIC DECORATIVE ELEMENTS
   ============================================= */
.content-section::before {
  content: '';
  display: block;
  height: 0;
}

/* Breathing glow on primary h1 in hero */
.hero-copy h1 {
  text-shadow: 0 0 32px rgba(153, 255, 204, 0.2);
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { text-shadow: 0 0 32px rgba(153, 255, 204, 0.2); }
  50% { text-shadow: 0 0 48px rgba(153, 255, 204, 0.38); }
}

/* =============================================
   PREFERS REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .cell-svg {
    animation: none;
  }

  .hero-copy h1 {
    animation: none;
    text-shadow: none;
  }
}

/* =============================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================= */
@media (max-width: 1024px) {
  .content-with-aside {
    grid-template-columns: 1fr 220px;
    gap: 28px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-cols .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

/* =============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================= */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 20px 28px;
    gap: 28px;
  }

  .hero-copy {
    text-align: left;
    max-width: 100%;
  }

  .hero-graphic {
    width: 120px;
    height: 120px;
    order: -1;
  }

  .content-section {
    padding: 32px 20px;
  }

  .content-with-aside {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .content-aside {
    position: static;
    order: 2;
  }

  .page-hero-inner,
  .review-header-inner,
  .compare-header-inner,
  .faq-header-inner,
  .inner-header-inner {
    padding: 36px 20px 24px;
  }

  .review-header-inner {
    flex-direction: column;
    gap: 20px;
  }

  .review-hero-media {
    max-width: 200px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    padding: 24px 20px 16px;
    gap: 20px;
  }

  .footer-cols .footer-col:last-child {
    grid-column: auto;
  }

  .footer-brand-row {
    padding: 32px 20px 20px;
  }

  .footer-wordmark {
    font-size: 1.5rem;
  }

  .footer-bottom {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

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

  .ranked-table thead th:nth-child(3),
  .ranked-table tbody td:nth-child(3) {
    display: none;
  }

  .announcement-strip {
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .cta {
    font-size: 0.65rem;
    padding: 8px 8px;
  }

  .hero-copy h1 {
    font-size: 1.35rem;
  }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}