:root {
  --bg: #f9fbff;
  --bg-alt: #eef4ff;
  --card: #ffffff;
  --accent: #6c8cff;
  --accent-2: #ffd28d;
  --accent-3: #a6e6d7;
  --text: #1b1f2a;
  --muted: #5a6272;
  --border: #dfe6f5;
  --shadow: 0 12px 30px rgba(59, 72, 105, 0.12);
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(108, 140, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: -1;
}

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

ul {
  list-style: none;
  padding-left: 0;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.price-bar {
  background: #10141f;
  color: #fff;
  font-size: 0.9rem;
}

.price-grid {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 0;
  flex-wrap: wrap;
}

.price-label {
  font-weight: 700;
  letter-spacing: 0.06em;
}

.price-value {
  font-weight: 700;
}

.price-change.up {
  color: #7bf1a8;
}

.price-change.down {
  color: #ff9b9b;
}

.price-updated {
  color: rgba(255,255,255,0.65);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 251, 255, 0.92);
  border-bottom: 2px solid var(--border);
  backdrop-filter: blur(14px);
}

.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo strong {
  color: var(--accent);
}

.logo-mark {
  font-size: 1.4rem;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: var(--card);
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  position: fixed;
  top: 72px;
  right: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 50;
}

.mobile-menu.open {
  display: flex;
}

.hero {
  padding: 90px 0 70px;
  background: radial-gradient(circle at top right, rgba(91, 124, 255, 0.15), transparent 55%),
    radial-gradient(circle at top left, rgba(255, 179, 71, 0.2), transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.eyebrow {
  font-family: 'Comic Neue', cursive;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2rem, 2.8vw + 1.2rem, 3.1rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-island {
  display: flex;
  justify-content: center;
}

.island-card {
  background: var(--card);
  border: 2px dashed var(--accent);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  width: min(360px, 100%);
}

.island-card ul {
  display: grid;
  gap: 10px;
  color: var(--muted);
  margin: 16px 0 18px;
}

.topic-week {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 16px;
  background: var(--bg-alt);
  margin-bottom: 18px;
}

.topic-week img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px;
}

.topic-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.topic-week h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.topic-desc {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* removed top-pick-hero */

.section {
  padding: 70px 0;
}

.trust-bar {
  padding: 28px 0;
  background: var(--bg-alt);
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  box-shadow: inset 0 0 0 2px rgba(27, 31, 42, 0.06);
}

.trust-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  font-size: 0.9rem;
  color: var(--muted);
}

.trust-grid strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 4px;
}

.section.alt {
  background: var(--bg-alt);
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.about-card {
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 0 0 2px rgba(27, 31, 42, 0.08), var(--shadow);
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
}

.about-avatar {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid var(--border);
  background: #fff;
}

.about-card h3 {
  margin-bottom: 8px;
}

.why-grid .why-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.faq-grid {
  display: grid;
  gap: 16px;
}

.faq-grid details {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 0 0 0 2px rgba(27, 31, 42, 0.08), var(--shadow);
}

.faq-grid summary {
  font-weight: 700;
  cursor: pointer;
}

.faq-grid p {
  margin-top: 10px;
  color: var(--muted);
}

.category-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 0 0 2px rgba(27, 31, 42, 0.08), var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(59, 72, 105, 0.18);
}

.compare-section {
  position: relative;
}

.top-picks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.top-picks.single {
  grid-template-columns: minmax(240px, 360px);
}

.top-picks h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-pick-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 2px;
}

.top-picks article {
  background: var(--card);
  border-radius: 20px;
  padding: 18px;
  border: 2px solid #ffdba6;
  box-shadow: 0 0 0 2px rgba(27, 31, 42, 0.08), var(--shadow);
}

.top-picks span {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
}

.compare-controls {
  margin-bottom: 16px;
  color: var(--muted);
}

.compare-search {
  margin-bottom: 16px;
}

.compare-search input {
  width: min(420px, 100%);
  padding: 10px 14px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: var(--card);
  font-weight: 500;
}

.compare-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.provider-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--card);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.provider-chip.active {
  border-color: var(--accent);
  background: rgba(91, 124, 255, 0.15);
}

.table-wrap {
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 0 0 2px rgba(27, 31, 42, 0.08), var(--shadow);
  overflow-x: auto;
}

.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  background: var(--bg-alt);
  font-size: 0.9rem;
}

.compare-table tr.hidden {
  display: none;
}

.provider-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.provider-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 2px;
}

.yes {
  color: #1b8b4b;
  font-weight: 700;
}

.no {
  color: #9aa3b2;
}

.link {
  color: var(--accent);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 18px rgba(108, 140, 255, 0.35);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(108, 140, 255, 0.45);
}

.btn-outline {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-ghost {
  background: #fff7e6;
  color: #b06900;
  border-color: #ffdba6;
}

.site-footer {
  padding: 50px 0 30px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

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

.footer-bottom {
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

@media (max-width: 860px) {
  .header-grid {
    grid-template-columns: 1fr auto;
    justify-items: start;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .btn.btn-outline {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 70px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
}
