:root {
  --bg: #0b0d10;
  --bg-2: #12151b;
  --bg-card: #161b22;
  --line: #2a313c;
  --ink: #f4f1ea;
  --muted: #9aa3af;
  --green: #2f7a4a;
  --green-2: #3d9a5c;
  --gold: #d4a017;
  --cta: #6b21a8;
  --cta-2: #be185d;
  --ribbon: #10141a;
  --font: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
  --wrap: min(1120px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

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

a {
  color: var(--green-2);
}

a:hover {
  color: var(--ink);
}

.container {
  width: var(--wrap);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 0.4rem 0.7rem;
}

.compliance-ribbon {
  margin: 0;
  background: var(--ribbon);
  color: var(--gold);
  text-align: center;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.32rem 0.6rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compliance-ribbon span {
  opacity: 0.45;
  margin: 0 0.4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(11, 13, 16, 0.94);
  border-bottom: 1px solid var(--line);
}

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

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

.logo-link img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
}

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

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--green-2);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.hero-compact {
  position: relative;
  padding: 0.65rem 0 0.5rem;
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: -2;
}

.hero-compact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.62) 0%, rgba(11, 13, 16, 0.88) 100%);
}

.hero-meta {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.hero-title {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 4.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.18;
  max-width: 34rem;
}

.hero-lead {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 58ch;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-row svg {
  width: 16px;
  height: 16px;
  stroke: var(--green-2);
  fill: none;
  stroke-width: 1.8;
}

.affiliate-note {
  margin: 0.55rem 0 0;
  font-size: 0.68rem;
  color: var(--muted);
}

.affiliate-note a {
  color: var(--muted);
}

.offers-section {
  padding: 0.35rem 0 1.5rem;
}

.offers-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.offers-header h2 {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.offers-updated {
  font-size: 0.68rem;
  color: var(--muted);
}

.offer-list {
  display: grid;
  gap: 0.85rem;
}

.offer-card {
  position: relative;
  display: grid;
  grid-template-columns: 42% 1fr;
  grid-template-areas:
    "brand body"
    "brand cta"
    "terms terms";
  gap: 0.35rem 0.65rem;
  padding: 0.9rem 0.7rem 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.offer-card--lead {
  border-color: #3d4a2f;
  box-shadow: inset 0 0 0 1px rgba(212, 160, 23, 0.18);
}

.offer-badge {
  position: absolute;
  top: 0;
  left: 0.85rem;
  transform: translateY(-50%);
  padding: 0.18rem 0.6rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.offer-badge--best {
  background: #1d4ed8;
}

.offer-badge--choice {
  background: #0e7490;
}

.offer-brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.offer-body {
  grid-area: body;
}

.offer-cta-col {
  grid-area: cta;
  width: 100%;
}

.offer-logo-wrap {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 0.35rem 0.4rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-logo-wrap img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
}

.offer-rating {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.stars {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.offer-score {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.offer-body .offer-label {
  margin: 0 0 0.1rem;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.offer-headline {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.52rem 0.6rem;
  background: linear-gradient(90deg, var(--cta), var(--cta-2));
  color: #fff;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-cta:hover {
  color: #fff;
  filter: brightness(1.08);
}

.offer-terms {
  grid-area: terms;
  margin: 0;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
  font-size: 0.5rem;
  line-height: 1.35;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.offer-cta-col .offer-score {
  display: none;
}

@media (max-width: 699px) {
  .hero-lead {
    display: none;
  }

  .affiliate-note {
    display: none;
  }

  .trust-row {
    gap: 0.35rem 0.7rem;
  }

  .trust-row li {
    font-size: 0.58rem;
  }

  .offers-header h2 {
    font-size: 0.68rem;
  }
}

@media (min-width: 700px) {
  .compliance-ribbon {
    font-size: 0.72rem;
    padding: 0.45rem 1rem;
    white-space: normal;
  }

  .header-inner {
    min-height: 64px;
  }

  .logo-link img {
    height: 48px;
    max-width: 240px;
  }

  .hero-compact {
    padding: 1.1rem 0 0.85rem;
  }

  .offer-card {
    grid-template-columns: 190px 1fr 150px;
    grid-template-areas:
      "brand body cta"
      "terms terms terms";
    align-items: center;
    padding: 1.15rem 1.15rem 0.7rem;
    column-gap: 1.1rem;
  }

  .offer-logo-wrap {
    max-width: 180px;
    min-height: 64px;
    padding: 0.55rem 0.7rem;
  }

  .offer-logo-wrap img {
    max-height: 42px;
  }

  .offer-cta-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .offer-cta-col .offer-score {
    display: block;
    text-align: center;
    font-size: 2.2rem;
  }

  .offer-brand .offer-score {
    display: none;
  }

  .offer-headline {
    font-size: 1.02rem;
  }

  .offer-score {
    font-size: 1.85rem;
  }

  .btn-cta {
    padding: 0.75rem 1rem;
    font-size: 0.78rem;
  }

  .offer-terms {
    font-size: 0.6rem;
    -webkit-line-clamp: unset;
    display: block;
  }
}

.content-section {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
}

.content-section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
}

.content-section p {
  color: var(--muted);
  max-width: 70ch;
}

.article-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 800px) {
  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}

.article-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.article-card h3 {
  margin: 0.85rem 1rem 0.35rem;
  font-size: 1rem;
}

.article-card p {
  margin: 0 1rem 1rem;
  font-size: 0.88rem;
}

.compare-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--line);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  padding: 0.8rem 0.95rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table th {
  background: var(--bg-2);
  font-weight: 600;
}

.compare-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
}

.compare-table td {
  color: var(--muted);
}

.page-hero {
  position: relative;
  padding: 2.4rem 0 1.8rem;
  isolation: isolate;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.7), rgba(11, 13, 16, 0.92));
}

.page-hero h1 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 600;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
}

.legal-content {
  padding: 2rem 0 3.2rem;
}

.legal-content h2 {
  margin: 1.8rem 0 0.6rem;
  font-family: var(--serif);
  font-size: 1.25rem;
}

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

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  margin: 0 0 1.25rem;
}

.legal-content ul {
  padding-left: 1.15rem;
}

.contact-form {
  max-width: 460px;
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.contact-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.btn-primary {
  justify-self: start;
  padding: 0.7rem 1.2rem;
  border: 0;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(11, 13, 16, 0.72);
}

.form-modal.is-open {
  display: flex;
}

.form-modal__box {
  width: min(420px, 100%);
  padding: 1.5rem 1.25rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  text-align: center;
}

.form-modal__box p {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.site-footer {
  padding: 2.4rem 0 1.3rem;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 42px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

.footer-brand p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-nav h3 {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-nav a:hover {
  color: var(--green-2);
}

.footer-nav li {
  margin-bottom: 0.35rem;
}

.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1rem 1rem;
    gap: 0;
  }

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

  .site-header .header-inner {
    position: relative;
  }

  .site-nav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
  }
}
