:root {
  --bg: #f6f4ee;
  --ink: #151515;
  --muted: #64605a;
  --line: #d9d2c4;
  --panel: #fffaf0;
  --panel-strong: #102a2b;
  --accent: #0c7a74;
  --accent-2: #d95f32;
  --good: #e9f5e8;
  --warn: #fff0dc;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(31, 27, 20, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(12, 122, 116, 0.08), transparent 38%),
    radial-gradient(circle at 85% 12%, rgba(217, 95, 50, 0.16), transparent 28%),
    var(--bg);
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  background: rgba(246, 244, 238, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--panel-strong);
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: white;
  background: var(--accent);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(12, 122, 116, 0.18);
}

.button-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.button-secondary {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.button-dark {
  border-color: var(--panel-strong);
  background: var(--panel-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: 78vh;
  padding: clamp(54px, 8vw, 100px) clamp(20px, 5vw, 72px) 60px;
}

.hero-ranking {
  min-height: 70vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 8px 0 10px;
  font-size: 22px;
  line-height: 1.15;
}

.lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: #3c3833;
  font-size: 20px;
  line-height: 1.55;
}

.intent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.intent-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(16, 42, 43, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.92);
  color: var(--panel-strong);
  font-size: 14px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.disclosure {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.hero-visual {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(16, 42, 43, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: var(--shadow);
}

.score-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  border-radius: var(--radius);
  color: white;
  background: var(--panel-strong);
}

.score-label,
.metric-grid span,
.card-kicker {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.score-card .score-label {
  color: #b8d3ce;
}

.score-card strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.score {
  font-size: 56px;
  font-weight: 900;
}

.funnel-map {
  display: grid;
  grid-template-columns: 1fr 12px 1fr 12px 1fr 12px 1fr;
  align-items: center;
}

.funnel-step {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  font-weight: 800;
  text-align: center;
}

.funnel-step.active {
  color: white;
  background: var(--accent-2);
}

.connector {
  height: 2px;
  background: var(--line);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-grid div {
  min-height: 94px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 19px;
  line-height: 1.1;
}

.section {
  padding: 72px clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.text-block p {
  margin: 0 0 18px;
  color: #3c3833;
  font-size: 18px;
  line-height: 1.7;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.cards {
  display: grid;
  gap: 16px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.ranking-section {
  display: grid;
  gap: 18px;
}

.rank-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) minmax(210px, 0.28fr);
  gap: 20px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.92);
  box-shadow: 0 14px 32px rgba(31, 27, 20, 0.08);
}

.rank-card.featured {
  border-color: rgba(12, 122, 116, 0.42);
  background: white;
}

.rank-position {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--panel-strong);
  font-size: 24px;
  font-weight: 900;
}

.rank-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.rank-title-row h3 {
  margin-top: 0;
  font-size: 30px;
}

.rank-title-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.rank-score {
  min-width: 86px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  background: #f8f3e8;
}

.rank-score span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rank-score strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: #39342f;
  line-height: 1.5;
}

.rank-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.deal {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(12, 122, 116, 0.1);
  font-size: 13px;
  font-weight: 900;
}

.review-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.comparison {
  background: #eee9de;
}

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

.comparison-note {
  max-width: 820px;
  margin: 0 0 22px;
  color: #3c3833;
  font-size: 18px;
  line-height: 1.65;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--panel-strong);
  background: #f8f3e8;
  font-size: 14px;
}

td {
  color: #39342f;
  line-height: 1.45;
}

.inline-cta {
  color: var(--accent);
  font-weight: 900;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.positive {
  background: var(--good);
}

.caution {
  background: var(--warn);
}

.panel ul {
  margin: 20px 0 0;
  padding-left: 20px;
  color: #39342f;
  line-height: 1.8;
}

.faq {
  border-top: 1px solid var(--line);
}

details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 850;
}

details p {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.65;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 30px clamp(20px, 5vw, 72px) 80px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius);
  color: white;
  background: var(--accent);
}

.final-cta h2,
.final-cta p {
  max-width: 780px;
}

.final-cta p {
  color: #e1fffa;
  font-size: 18px;
  line-height: 1.6;
}

.final-cta .eyebrow {
  color: #ffe5c9;
}

.footer {
  padding: 30px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero,
  .split,
  .pros-cons {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .cards.three,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .funnel-map {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .connector {
    width: 2px;
    height: 12px;
    justify-self: center;
  }

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

  .rank-card {
    grid-template-columns: 1fr;
  }

  .rank-action {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }

  .rank-title-row {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions .button {
    width: 100%;
  }
}
