/* ============================================================
   Second Brain — Comparison pages shared stylesheet
   Reuses the design language of the main site (index.html):
   warm paper palette, Source Serif display, Geist sans.
   ============================================================ */

:root {
  --bg: #f4f1ea;
  --bg-soft: #efebe0;
  --bg-card: #fbf9f4;
  --bg-deep: #2a2722;
  --ink: #1f1e1b;
  --ink-2: #4a4742;
  --ink-3: #807c72;
  --ink-4: #b5b0a4;
  --accent: #c96442;
  --accent-2: #b3553a;
  --accent-wash: #f2e2d9;
  --good: #5d7a52;
  --good-wash: #e6ece0;
  --rule: rgba(31, 30, 27, 0.08);
  --rule-2: rgba(31, 30, 27, 0.14);
  --shadow-md: 0 1px 3px rgba(31, 30, 27, 0.04), 0 8px 28px rgba(31, 30, 27, 0.05);
  --shadow-lg: 0 2px 4px rgba(31, 30, 27, 0.05), 0 20px 60px rgba(31, 30, 27, 0.08);
  --serif: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  --sans: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
::selection {
  background: var(--accent-wash);
  color: var(--ink);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  top: -50px;
  left: 12px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  z-index: 200;
  text-decoration: none;
  font-size: 13px;
  border-radius: 100px;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- NAV (matches main site) ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.nav-logo-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-link {
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 100px;
  transition:
    background 160ms ease,
    color 160ms ease;
}
.nav-link:hover,
.nav-link[aria-current='page'] {
  color: var(--ink);
  background: rgba(31, 30, 27, 0.04);
}
.nav-cta {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bg);
  background: var(--ink);
  padding: 9px 18px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 160ms ease;
}
.nav-cta:hover {
  background: var(--bg-deep);
}
.cf-badge-mark {
  display: inline-flex;
  align-items: center;
}
.cf-badge-mark img {
  width: 18px;
  height: 18px;
  display: block;
}
.nav-cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 100, 66, 0.18);
}
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
  color: var(--ink);
  transition: background 160ms ease;
}
.nav-burger:hover {
  background: rgba(31, 30, 27, 0.06);
}
.nav-burger svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(244, 241, 234, 0.97);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--rule);
  padding: 16px 18px 24px;
  gap: 4px;
}
.nav-mobile[data-open] {
  display: flex;
}
.nav-mobile a {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 12px 4px;
  border-bottom: 1px solid var(--rule);
}
.nav-mobile a:last-child {
  border-bottom: none;
}
.nav-mobile .nav-mobile-cta {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--bg);
  background: var(--ink);
  padding: 13px 24px;
  border-radius: 100px;
  text-decoration: none;
  border-bottom: none;
}

/* ---------- GitHub star button (matches main site) ---------- */
.gh-star {
  display: inline-flex;
  align-items: stretch;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--rule-2);
  border-radius: 100px;
  overflow: hidden;
  transition:
    border-color 160ms ease,
    transform 120ms ease,
    background 160ms ease;
}
.gh-star:hover {
  border-color: var(--ink-3);
  background: var(--bg);
  transform: translateY(-1px);
}
.gh-star-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 14px;
  white-space: nowrap;
}
.gh-star-label svg {
  width: 13px;
  height: 13px;
  fill: #e3b341;
  stroke: #b88a1f;
  stroke-width: 1;
  transition: transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gh-star:hover .gh-star-label svg {
  transform: rotate(-12deg) scale(1.08);
}
.gh-star-count {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  border-left: 1px solid var(--rule);
  min-width: 44px;
  justify-content: center;
  position: relative;
}
.gh-star-count[data-state='loading'] {
  color: transparent;
  background: linear-gradient(90deg, var(--bg-soft) 0%, var(--bg) 50%, var(--bg-soft) 100%);
  background-size: 200% 100%;
  animation: ghShimmer 1.4s ease-in-out infinite;
}
@keyframes ghShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ---------- Shared typographic helpers ---------- */
.label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.label::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--accent);
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.lead {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-2);
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-pad {
  padding-top: 104px;
  padding-bottom: 104px;
}
.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .lead {
  margin: 18px auto 0;
  max-width: 600px;
}

/* ---------- HERO ---------- */
.cmp-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.cmp-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.cmp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 110px 32px 96px;
  text-align: center;
}
.cmp-versus {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0 auto 34px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 100px;
  box-shadow: var(--shadow-md);
}
.cmp-versus-side {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 4px 6px;
}
.cmp-versus-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.cmp-versus-logo img,
.cmp-versus-logo svg {
  width: 26px;
  height: 26px;
}
.cmp-versus-logo--mono {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}
.cmp-versus-vs {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-3);
}
.cmp-hero h1 {
  margin: 0 auto 22px;
  max-width: 880px;
}
.cmp-hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 600px;
  margin: 0 auto 36px;
}
.cmp-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 120ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
  white-space: nowrap;
}
.btn-primary {
  color: var(--bg);
  background: var(--ink);
}
.btn-primary:hover {
  background: var(--bg-deep);
  transform: translateY(-1px);
}
.btn-secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--rule-2);
}
.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--ink-3);
}
.btn-primary svg,
.btn-secondary svg {
  width: 16px;
  height: 16px;
}

/* ---------- TL;DR verdict card ---------- */
.verdict {
  margin: -56px auto 0;
  position: relative;
  z-index: 2;
}
.verdict-card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 36px 40px;
}
.verdict-card .label {
  margin-bottom: 14px;
}
.verdict-card p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
}
.verdict-card p + p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--ink-2);
}
.verdict-card strong {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- COMPARISON TABLE ---------- */
.cmp-table-wrap {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.cmp-table thead th {
  position: sticky;
  top: 0;
  background: var(--bg-deep);
  color: var(--bg);
  font-family: var(--sans);
  font-weight: 500;
  text-align: left;
  padding: 18px 22px;
  font-size: 14px;
}
.cmp-table thead th:first-child {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: lowercase;
  letter-spacing: 0.03em;
  color: rgba(251, 249, 244, 0.6);
  font-weight: 400;
}
.cmp-table thead th.is-us {
  color: #fff;
}
.cmp-table thead th .th-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cmp-table thead th .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.cmp-table tbody td {
  padding: 16px 22px;
  border-top: 1px solid var(--rule);
  vertical-align: top;
  color: var(--ink-2);
  line-height: 1.5;
}
.cmp-table tbody tr:nth-child(even) {
  background: rgba(31, 30, 27, 0.012);
}
.cmp-table tbody td:first-child {
  font-weight: 500;
  color: var(--ink);
  width: 24%;
}
.cmp-table td.is-us {
  background: rgba(201, 100, 66, 0.05);
  color: var(--ink);
  font-weight: 450;
}
.cmp-table tbody tr:hover td {
  background: rgba(201, 100, 66, 0.04);
}
.cmp-table tbody tr:hover td.is-us {
  background: rgba(201, 100, 66, 0.09);
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.mark svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.mark.yes svg {
  color: var(--good);
}
.mark.no svg {
  color: var(--ink-4);
}
.mark.partial svg {
  color: var(--accent);
}
.cmp-note {
  max-width: 1000px;
  margin: 16px auto 0;
  font-size: 12.5px;
  color: var(--ink-3);
  font-family: var(--mono);
  line-height: 1.6;
}

/* ---------- DEEP DIVE rows ---------- */
.dive {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.dive + .dive {
  margin-top: 96px;
}
.dive.flip .dive-text {
  order: 2;
}
.dive-kicker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.dive-text h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.dive-text p {
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.dive-text p strong {
  color: var(--ink);
  font-weight: 600;
}
.dive-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.dive-card.dark {
  background: var(--bg-deep);
  color: var(--bg);
}
.dive-row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--rule);
}
.dive-row:last-child {
  border-bottom: none;
}
.dive-card.dark .dive-row {
  border-color: rgba(251, 249, 244, 0.12);
}
.dive-row-ico {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--accent-wash);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.dive-row-ico svg {
  width: 17px;
  height: 17px;
}
.dive-card.dark .dive-row-ico {
  background: rgba(201, 100, 66, 0.2);
}
.dive-row-body h4 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 3px;
}
.dive-row-body p {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0;
}
.dive-card.dark .dive-row-body p {
  color: rgba(251, 249, 244, 0.6);
}

/* code chip */
.code-chip {
  font-family: var(--mono);
  font-size: 12.5px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 7px;
  padding: 2px 7px;
  color: var(--accent-2);
  white-space: nowrap;
}
.dive-card.dark .code-chip {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(251, 249, 244, 0.12);
  color: #e9b8a3;
}

/* ---------- FAIRNESS / when-to-pick-them ---------- */
.fair {
  background: var(--bg-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.fair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.fair-col {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 32px;
}
.fair-col.us {
  border-color: rgba(201, 100, 66, 0.35);
  box-shadow: var(--shadow-md);
}
.fair-col h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 6px;
}
.fair-col .sub {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 20px;
  font-family: var(--mono);
}
.fair-list {
  list-style: none;
}
.fair-list li {
  display: flex;
  gap: 11px;
  padding: 11px 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  border-top: 1px solid var(--rule);
}
.fair-list li:first-child {
  border-top: none;
}
.fair-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}
.fair-col:not(.us) .fair-list li svg {
  color: var(--ink-4);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-top: 1px solid var(--rule);
  padding: 22px 0;
}
.faq-item:last-child {
  border-bottom: 1px solid var(--rule);
}
.faq-item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.faq-item p {
  color: var(--ink-2);
  line-height: 1.65;
  font-size: 15.5px;
}

/* ---------- CTA ---------- */
.cta-band {
  max-width: 1080px;
  margin: 0 auto 100px;
  padding: 0 32px;
}
.cta {
  background: var(--bg-deep);
  color: var(--bg);
  border-radius: 28px;
  padding: 76px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(ellipse at top, rgba(201, 100, 66, 0.16), transparent 60%);
  pointer-events: none;
}
.cta > * {
  position: relative;
}
.cta .label {
  color: var(--accent);
}
.cta .label::before {
  background: var(--accent);
}
.cta h2 {
  color: var(--bg);
  margin-bottom: 18px;
}
.cta p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  color: rgba(251, 249, 244, 0.7);
  max-width: 520px;
  margin: 0 auto 36px;
}
.cta .cmp-hero-actions .btn-secondary {
  color: var(--bg);
  border-color: rgba(251, 249, 244, 0.25);
}
.cta .cmp-hero-actions .btn-secondary:hover {
  background: rgba(251, 249, 244, 0.08);
  border-color: rgba(251, 249, 244, 0.4);
}
.cta .cmp-hero-actions .btn-primary {
  background: var(--accent);
  color: #fff;
}
.cta .cmp-hero-actions .btn-primary:hover {
  background: var(--accent-2);
}

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--rule);
  padding: 36px 32px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink-2);
}
.footer-left svg {
  width: 22px;
  height: 22px;
}
.footer-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 100px;
  transition:
    background 160ms ease,
    color 160ms ease;
}
.footer-links a:hover {
  color: var(--ink);
  background: rgba(31, 30, 27, 0.04);
}

/* ---------- compare hub cards ---------- */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.hub-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 28px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.hub-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink-3);
  box-shadow: var(--shadow-lg);
}
.hub-card-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.hub-card-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  overflow: hidden;
}
.hub-card-logo img,
.hub-card-logo svg {
  width: 36px;
  height: 36px;
}
.hub-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
}
.hub-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.hub-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}
.hub-card-link svg {
  width: 15px;
  height: 15px;
  transition: transform 160ms ease;
}
.hub-card:hover .hub-card-link svg {
  transform: translateX(3px);
}

/* ---------- reveal animation (GSAP enhances; CSS is fallback) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}
.reveal-ready [data-reveal] {
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
/* If JS/GSAP unavailable, never hide content. */
.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links li.hide-sm {
    display: none;
  }
  .nav-burger {
    display: inline-flex;
  }
  .dive,
  .dive.flip .dive-text {
    grid-template-columns: 1fr;
    gap: 28px;
    order: 0;
  }
  .dive + .dive {
    margin-top: 64px;
  }
  .fair-grid,
  .hub-grid {
    grid-template-columns: 1fr;
  }
  .section-pad {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .cmp-hero-inner {
    padding: 72px 24px 80px;
  }
}
@media (max-width: 640px) {
  .nav-inner {
    padding: 18px 20px;
  }
  .wrap {
    padding: 0 20px;
  }
  .verdict-card,
  .fair-col,
  .dive-card {
    padding: 24px;
  }
  .cta {
    padding: 56px 26px;
  }
  /* table -> horizontal scroll on small screens */
  .cmp-table-wrap {
    overflow-x: auto;
  }
  .cmp-table {
    min-width: 560px;
  }
  .cmp-versus {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
