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

:root {
  --navy: #071526;
  --navy-2: #0c2240;
  --navy-3: #123057;
  --green: #22c55e;
  --green-dark: #16a34a;
  --text: #102033;
  --muted: #5b6b7c;
  --line: #e6ebf2;
  --bg: #f5f7fb;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(7, 21, 38, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

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

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

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.page {
  min-height: 100vh;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 21, 38, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo span {
  color: var(--green);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-green:hover {
  background: var(--green-dark);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-navy {
  background: var(--navy-2);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-3);
}

.btn-sm {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

.btn-xs {
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 35%, rgba(34, 197, 94, 0.12), transparent 28%),
    radial-gradient(circle at 80% 55%, rgba(56, 189, 248, 0.18), transparent 32%),
    linear-gradient(160deg, #071526 0%, #0c2240 55%, #102a4d 100%);
  color: #fff;
  padding: 3.5rem 0 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, transparent 0 18%, rgba(56, 189, 248, 0.08) 18% 19%, transparent 20%),
    radial-gradient(circle at 78% 48%, transparent 0 26%, rgba(56, 189, 248, 0.06) 26% 27%, transparent 28%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-copy .accent {
  color: var(--green);
}

.hero-sub {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  margin-bottom: 1.75rem;
}

.hero-features li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.hero-features strong {
  display: block;
  font-size: 0.9rem;
}

.hero-features small {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
}

.feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  width: min(520px, 100%);
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(0, 180, 255, 0.25));
}

/* Trust */
.trust-bar {
  background: #eef2f7;
  border-bottom: 1px solid var(--line);
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.trust-icon {
  color: var(--green-dark);
}

/* Sections */
.section {
  padding: 4rem 0;
}

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

.section-head {
  margin-bottom: 1.75rem;
}

.section-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section-head-row h2 {
  margin: 0;
}

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

.section-link {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.section-link:hover {
  text-decoration: underline;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cards-table,
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.matrix-table {
  min-width: 820px;
}

.cards-table th,
.cards-table td,
.matrix-table th,
.matrix-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.cards-table th,
.matrix-table th {
  background: #f8fafc;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cards-table tr:last-child td,
.matrix-table tr:last-child td {
  border-bottom: none;
}

.card-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-cell strong {
  display: block;
}

.card-cell span {
  color: var(--muted);
  font-size: 0.8rem;
}

.card-thumb {
  width: 72px;
  height: 46px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(7, 21, 38, 0.18);
  background: #e5e7eb;
}

.check {
  color: var(--green-dark);
  font-weight: 800;
}

.cross {
  color: #ef4444;
  font-weight: 800;
}

.partial {
  color: #f59e0b;
  font-weight: 800;
}

.no {
  color: #94a3b8;
}

.rating {
  color: #f59e0b;
  font-weight: 700;
  white-space: nowrap;
}

/* Editor picks */
.picks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pick-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.pick-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pick-visual-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.58 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(7, 21, 38, 0.15);
  background: #e5e7eb;
}

.pick-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.pick-card ul {
  margin-bottom: 1.1rem;
}

.pick-card li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.pick-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 800;
}

.pick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Category finder */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.category-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.85rem;
  border-radius: 12px;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.category-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.category-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.category-card a {
  color: #2563eb;
  font-weight: 700;
  font-size: 0.88rem;
}

.category-card a:hover {
  text-decoration: underline;
}

/* Pre-footer CTA banner */
.cta-banner {
  background: var(--white);
  padding: 2rem 0 2.5rem;
}

.cta-banner-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 4px 18px rgba(7, 21, 38, 0.04);
}

.cta-banner-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.cta-cards {
  flex-shrink: 0;
  line-height: 0;
}

.cta-banner-copy h2 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  color: #111;
}

.cta-banner-copy p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn-cta {
  border-radius: 6px;
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
}

.btn-outline-blue {
  background: #fff;
  color: #2563eb;
  border-color: #2563eb;
}

.btn-outline-blue:hover {
  background: #eff6ff;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand p {
  margin: 0.85rem 0 1rem;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.logo-light {
  color: #fff;
}

.social {
  display: flex;
  gap: 0.6rem;
}

.social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
}

.site-footer h4 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.95rem;
}

.site-footer ul li {
  margin-bottom: 0.45rem;
}

.site-footer ul a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

.site-footer ul a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-features,
  .hero-actions {
    justify-content: center;
  }

  .hero-visual img {
    width: min(420px, 90%);
  }

  .picks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 800px) {
  .nav-toggle {
    display: inline-block;
    order: 3;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-2);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .trust-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 2.5rem 0 3rem;
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .picks-grid,
  .trust-inner,
  .category-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pick-actions .btn,
  .cta-banner-actions .btn {
    width: 100%;
  }

  .cta-banner-box {
    flex-direction: column;
    align-items: stretch;
    padding: 1.15rem;
  }

  .cta-banner-left {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner-actions {
    justify-content: stretch;
  }
}

/* Legal pages */
.legal-main {
  padding: 2.75rem 0 3.5rem;
  background: var(--bg);
}

.legal-card {
  width: min(820px, 100%);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.legal-card h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--navy);
  text-align: center;
}

.legal-updated {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.legal-card p {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-list {
  margin: 0;
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-list li {
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.65;
}

.contact-details {
  margin-top: 1.25rem;
  padding: 1.1rem 1.2rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.contact-details p {
  margin: 0 0 0.55rem;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

.contact-details a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}
