@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&display=swap');

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #00ff80;
  --blue: #0000ff;
  --black: #000000;
  --white: #ffffff;
  --ink: #000000;
  --border: 2px solid #00ff80;
  --border-blue: 2px solid #0000ff;
  --border-white: 2px solid #ffffff;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'Inter', ui-monospace, monospace;
  --col-content: 720px;
  --col-sidebar: 220px;
  --gap: 24px;
  --header-h: 64px;
}

html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: auto;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a:hover, a:focus {
  color: var(--white);
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

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

ul, ol {
  list-style: none;
}

/* ─── Site Wrapper ─────────────────────────────────────────── */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ─── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: var(--border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
}

.brand {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.brand-mark {
  border: var(--border);
  display: block;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--green);
  color: var(--black);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  border: 2px solid var(--green);
  flex-shrink: 0;
}

/* Nav aside inside header */
.site-nav-aside {
  flex: 1;
  overflow: hidden;
}

.site-nav-aside nav {
  overflow: hidden;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  overflow: hidden;
}

.nav-list li a {
  display: block;
  padding: 0 10px;
  height: var(--header-h);
  line-height: var(--header-h);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  border-right: 1px solid #222;
  letter-spacing: 0.02em;
}

.nav-list li a:hover,
.nav-list li a:focus {
  background: var(--green);
  color: var(--black);
  outline: none;
}

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

.header-search {
  display: flex;
  align-items: center;
}

.search-input {
  background: #111;
  border: 1px solid #444;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.82rem;
  padding: 6px 10px;
  height: 36px;
  width: 160px;
  border-radius: 0;
  outline: none;
}

.search-input:focus {
  border-color: var(--green);
}

/* ─── CTA Buttons ──────────────────────────────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid var(--green);
}

.cta-signup {
  background: var(--green);
  color: var(--black);
}

.cta-signup:hover, .cta-signup:focus {
  background: var(--black);
  color: var(--green);
  outline: none;
}

.cta-login {
  background: transparent;
  color: var(--green);
}

.cta-login:hover, .cta-login:focus {
  background: var(--green);
  color: var(--black);
  outline: none;
}

/* ─── Hamburger ────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: var(--border);
  cursor: pointer;
  flex-shrink: 0;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green);
}

/* ─── Mobile Menu ──────────────────────────────────────────── */
.mobile-menu {
  background: var(--black);
  border-top: var(--border);
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  padding: 16px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
}

.mobile-nav-list li a {
  display: block;
  padding: 12px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid #222;
  min-height: 44px;
  line-height: 1.4;
}

.mobile-nav-list li a:hover {
  color: var(--green);
}

.mobile-ctas {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ─── Hero ─────────────────────────────────────────────────── */
.hero-block {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  background: var(--black);
  border-bottom: var(--border);
  overflow: hidden;
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #00ff80 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.07;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 16px 32px;
  text-align: center;
}

.hero-copy h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-image {
  margin-top: 24px;
  border: var(--border);
}

.hero-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

/* ─── Inner Hero ───────────────────────────────────────────── */
.inner-hero {
  position: relative;
  background: var(--black);
  border-bottom: var(--border);
  overflow: hidden;
  padding: 40px 0 32px;
}

.inner-hero .hero-texture {
  opacity: 0.05;
}

.inner-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.inner-hero-copy h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-top: 8px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.page-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  text-transform: uppercase;
  border: 1px solid var(--green);
  padding: 2px 8px;
  margin-bottom: 8px;
}

.review-hero-img-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.review-hero-img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border: var(--border);
  margin-top: 16px;
}

/* ─── Byline ───────────────────────────────────────────────── */
.byline {
  font-size: 0.82rem;
  color: #aaa;
  font-weight: 500;
  margin-bottom: 8px;
}

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

/* ─── Stage Label ──────────────────────────────────────────── */
.stage-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  margin-bottom: 6px;
  border: 1px solid #444;
  color: #888;
}

.stage-decision {
  border-color: var(--green);
  color: var(--green);
}

.stage-consideration {
  border-color: var(--blue);
  color: #5555ff;
}

/* ─── Content Layout ───────────────────────────────────────── */
.content-layout {
  display: flex;
  flex-direction: row;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 16px;
  gap: var(--gap);
  align-items: flex-start;
}

/* Sidebar to the LEFT */
.sidebar {
  width: var(--col-sidebar);
  flex-shrink: 0;
  order: -1;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  border: var(--border);
  background: #0a0a0a;
  padding: 16px;
}

.sidebar nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar nav ul li a {
  display: block;
  padding: 10px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid #1a1a1a;
  min-height: 44px;
  line-height: 1.4;
  display: flex;
  align-items: center;
}

.sidebar nav ul li a:hover {
  color: var(--green);
}

.sidebar-trust,
.sidebar-related,
.rank-sidebar-list {
  margin-top: 16px;
  border-top: 1px solid #222;
  padding-top: 12px;
}

.sidebar-trust strong,
.sidebar-related strong,
.rank-sidebar-list strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.sidebar-trust ul,
.sidebar-related ul,
.rank-sidebar-list ol {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 0;
}

.sidebar-trust ul li,
.sidebar-related ul li,
.rank-sidebar-list ol li {
  counter-increment: none;
}

.rank-sidebar-list ol {
  list-style: decimal inside;
}

.rank-sidebar-list ol li {
  padding: 6px 0;
  font-size: 0.8rem;
  border-bottom: 1px solid #1a1a1a;
}

.sidebar-trust ul li a,
.sidebar-related ul li a {
  display: block;
  padding: 7px 0;
  font-size: 0.8rem;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid #1a1a1a;
}

.sidebar-trust ul li a:hover,
.sidebar-related ul li a:hover {
  color: var(--green);
}

/* ─── Main Content ─────────────────────────────────────────── */
main {
  flex: 1;
  min-width: 0;
}

main section {
  /* direct child of main */
}

main section article {
  /* direct child of section */
}

.body-content {
  font-size: 1rem;
  line-height: 1.7;
}

.body-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin: 2rem 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  border-left: 4px solid var(--green);
  padding-left: 12px;
}

.body-content h2 + p.subtitle,
.body-content h2 + p {
  /* intentional, subtitle follows h2 */
}

.body-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green);
  margin: 1.5rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.body-content p {
  margin-bottom: 1rem;
  color: #ddd;
}

.body-content a {
  color: var(--green);
  text-decoration: underline;
}

.body-content ul,
.body-content ol {
  margin: 0.75rem 0 1.25rem 1.25rem;
}

.body-content ul {
  list-style: square;
}

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

.body-content li {
  margin-bottom: 0.4rem;
  color: #ddd;
}

.body-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.body-content table th {
  background: var(--green);
  color: var(--black);
  font-weight: 700;
  text-align: left;
  padding: 10px 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
}

.body-content table td {
  padding: 9px 12px;
  border-bottom: 1px solid #1a1a1a;
  color: #ddd;
}

.body-content table tr:nth-child(even) td {
  background: #0a0a0a;
}

.body-content blockquote {
  border-left: 4px solid var(--blue);
  padding: 12px 16px;
  margin: 1.5rem 0;
  background: #0a0a0a;
  color: #ccc;
  font-style: italic;
}

/* ─── Subtitle / Subhead ───────────────────────────────────── */
.subtitle {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* ─── Child Cards (home/category) ──────────────────────────── */
.child-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: var(--border);
}

.child-section h2 {
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  border-left: 4px solid var(--green);
  padding-left: 12px;
  margin-bottom: 4px;
}

.child-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.child-list li {
  list-style: none;
}

.child-card {
  border: var(--border);
  padding: 16px;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.child-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

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

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

.child-card p {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

.card-date {
  font-size: 0.75rem;
  color: #555;
}

/* ─── Author Section ───────────────────────────────────────── */
.author-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: var(--border);
}

.author-section h2 {
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  border-left: 4px solid var(--green);
  padding-left: 12px;
  margin-bottom: 4px;
}

.author-card {
  border: var(--border);
  padding: 20px;
  background: #0a0a0a;
  margin-top: 16px;
}

.author-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.author-credentials {
  font-size: 0.82rem;
  color: #777;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.author-bio {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.7;
}

/* ─── FAQ specific ─────────────────────────────────────────── */
.faq-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  border-left: 4px solid var(--green);
  padding-left: 12px;
  margin-bottom: 4px;
}

/* ─── Compare specific ─────────────────────────────────────── */
.compare-content .body-content table th {
  background: var(--blue);
  color: var(--white);
}

/* ─── Footer ───────────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  border-top: var(--border);
  background: #050505;
}

.footer-cta {
  background: #0a0a0a;
  border-bottom: var(--border);
  padding: 40px 16px;
  text-align: center;
}

.footer-cta h2 {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.footer-cta .subtitle {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 20px;
}

.footer-cta-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid #1a1a1a;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  padding: 32px 24px;
  border-right: 1px solid #1a1a1a;
}

.footer-col:last-child {
  border-right: none;
}

.footer-brand {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.footer-col strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  border-bottom: 1px solid #222;
  padding-bottom: 8px;
}

.footer-col p {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.6;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-col ul li a {
  display: block;
  padding: 8px 0;
  font-size: 0.82rem;
  color: #999;
  text-decoration: none;
  border-bottom: 1px solid #111;
  min-height: 44px;
  line-height: 1.3;
  display: flex;
  align-items: center;
}

.footer-col ul li a:hover {
  color: var(--green);
}

.footer-bottom {
  padding: 20px 24px;
  background: var(--black);
}

.rg-notice {
  font-size: 0.78rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 12px;
  max-width: 900px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.copyright {
  font-size: 0.78rem;
  color: #444;
}

.footer-trust-links {
  font-size: 0.78rem;
  color: #555;
}

.footer-trust-links a {
  color: #666;
  text-decoration: underline;
}

.footer-trust-links a:hover {
  color: var(--green);
}

/* ─── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.stagger-list li {
  opacity: 0;
  transform: translateY(16px);
}

.stagger-list li.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .stagger-list li {
    opacity: 1;
    transform: none;
  }
}

/* ─── Home-specific ────────────────────────────────────────── */
.home-body .hero-block {
  min-height: 45vh;
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-list {
    display: none;
  }

  .header-search {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-actions .cta {
    display: none;
  }

  .content-layout {
    flex-direction: column;
    padding: 24px 16px;
  }

  .sidebar {
    width: 100%;
    position: static;
    order: 0;
  }

  .footer-cols {
    flex-direction: column;
  }

  .footer-col {
    border-right: none;
    border-bottom: 1px solid #1a1a1a;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 56px;
  }

  .hero-copy h1,
  .inner-hero-copy h1 {
    font-size: 1.5rem;
  }

  .child-list {
    grid-template-columns: 1fr;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .mobile-ctas .cta {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 375px) {
  .inner-hero-copy h1 {
    font-size: 1.3rem;
  }

  .search-input {
    width: 120px;
  }
}

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