:root {
  color-scheme: light;
  --ink: #142025;
  --muted: #66727a;
  --line: #dde8e3;
  --surface: #ffffff;
  --soft: #f4f8f5;
  --accent: #0f8a6d;
  --accent-dark: #0d5548;
  --mint: #dff3ea;
  --cream: #fff8e8;
  --gold: #ebb94a;
  --sky: #b8dce7;
  --coral: #df795f;
  --shadow: 0 22px 50px rgba(20, 32, 37, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(223, 243, 234, 0.75), transparent 34%),
    linear-gradient(180deg, #fbfcf9 0%, #f6faf7 520px, #fbfcf9 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 138, 109, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #72c8a6);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(15, 138, 109, 0.18);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--accent-dark);
}

nav a[aria-current="page"] {
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 58px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 74px 24px 76px;
}

.hero-copy {
  max-width: 650px;
}

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

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

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

h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.lead {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 138, 109, 0.22);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-points span {
  padding: 7px 10px;
  border: 1px solid rgba(15, 138, 109, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.home-hero {
  position: relative;
}

.hero-visual {
  position: relative;
  min-height: 470px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 125, 100, 0.12), rgba(146, 200, 232, 0.24)),
    repeating-linear-gradient(90deg, rgba(22, 32, 42, 0.06) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, rgba(22, 32, 42, 0.05) 0 1px, transparent 1px 54px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.finder-card {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(15, 138, 109, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, rgba(223, 243, 234, 0.86), rgba(184, 220, 231, 0.68));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.finder-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(20, 32, 37, 0.05) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(0deg, rgba(20, 32, 37, 0.04) 0 1px, transparent 1px 58px);
  pointer-events: none;
}

.finder-top,
.finder-search,
.finder-results {
  position: relative;
  z-index: 1;
}

.finder-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.finder-top strong {
  max-width: 260px;
  font-size: 28px;
  line-height: 1.15;
  text-align: right;
}

.finder-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--cream);
  color: #7b5a0c;
  font-size: 13px;
  font-weight: 900;
}

.finder-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(20, 32, 37, 0.08);
  border-radius: 8px;
  background: #fff;
}

.finder-search span {
  color: var(--ink);
  font-weight: 800;
}

.finder-search small {
  color: var(--muted);
  font-weight: 700;
}

.finder-results {
  display: grid;
  gap: 10px;
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(20, 32, 37, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.result-row.featured {
  border-color: rgba(15, 138, 109, 0.28);
  background: #fff;
  box-shadow: 0 12px 24px rgba(20, 32, 37, 0.08);
}

.result-row strong,
.result-row small {
  display: block;
}

.result-row strong {
  font-size: 18px;
}

.result-row small {
  margin-top: 3px;
  color: var(--muted);
}

.result-row b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--accent-dark);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(22, 32, 42, 0.12);
  border-radius: 8px;
}

.benefit-card {
  position: absolute;
  width: min(280px, 70%);
  padding: 20px;
  border: 1px solid rgba(22, 32, 42, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(22, 32, 42, 0.11);
}

.benefit-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.benefit-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
}

.card-a {
  top: 78px;
  left: 48px;
  border-top: 5px solid var(--accent);
}

.card-b {
  right: 42px;
  top: 190px;
  border-top: 5px solid var(--gold);
}

.card-c {
  left: 90px;
  bottom: 70px;
  border-top: 5px solid var(--coral);
}

.intro-band,
.ranking-section,
.content-section,
.guides,
.article {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px;
}

.ranking-section {
  padding-top: 26px;
  padding-bottom: 54px;
}

.ranked-list {
  display: grid;
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: ranked-items;
}

.ranked-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(160px, 0.72fr) minmax(280px, 1.35fr) minmax(112px, 0.38fr) minmax(156px, 0.5fr);
  align-items: center;
  gap: 22px;
  min-height: 178px;
  padding: 26px;
  border: 1px solid rgba(20, 32, 37, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(20, 32, 37, 0.08);
}

.ranked-item::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: calc(44px + 26px + 22px + 20%);
  width: 1px;
  background: var(--line);
}

.ranked-item.featured {
  border-color: rgba(15, 138, 109, 0.2);
  background:
    linear-gradient(90deg, rgba(223, 243, 234, 0.38), rgba(255, 255, 255, 0.92) 42%),
    #fff;
}

.ranked-item.placeholder {
  opacity: 0.78;
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(20, 32, 37, 0.06);
}

.rank-brand {
  display: grid;
  gap: 8px;
}

.rank-brand strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.rank-brand small {
  color: var(--muted);
  font-weight: 800;
}

.rank-badge {
  justify-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--cream);
  color: #7b5a0c;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rank-badge.muted {
  background: var(--soft);
  color: var(--muted);
}

.rank-details h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.28;
}

.rank-details ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-details li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
}

.rank-details li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 9px;
  height: 9px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: #fff;
}

.rank-score {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.rank-score strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.rank-score span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.rank-score.empty strong {
  background: var(--soft);
  color: var(--muted);
}

.rank-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.rank-cta.disabled {
  background: var(--soft);
  color: var(--muted);
}

.hub-ranking {
  padding-right: 0;
  padding-left: 0;
}

.intro-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 42px;
  padding-bottom: 42px;
  border-top: 1px solid rgba(15, 138, 109, 0.14);
  border-bottom: 1px solid rgba(15, 138, 109, 0.14);
  background: rgba(255, 255, 255, 0.46);
}

.intro-band p,
.content-section p,
.guide-card p,
.highlight p,
details p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-kicker {
  margin: -4px 0 14px;
  color: var(--accent-dark);
  font-size: 18px;
  font-weight: 900;
}

.text-link {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-size: 20px;
  font-weight: 800;
}

.section-heading {
  margin-bottom: 24px;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.split-heading > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(20, 32, 37, 0.05);
}

.guide-card.priority {
  border-color: rgba(15, 138, 109, 0.26);
  background: linear-gradient(180deg, #ffffff, #f6fbf8);
}

.card-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.guide-card a {
  display: inline-block;
  margin-top: 24px;
  color: var(--accent-dark);
  font-weight: 800;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 36px;
}

.article {
  max-width: 920px;
}

.hub-article {
  max-width: 1040px;
}

.article-header {
  padding: 48px 0 40px;
}

.article-header h1 {
  font-size: clamp(40px, 7vw, 68px);
}

.hub-header {
  max-width: 860px;
  padding-bottom: 26px;
}

.answer-box {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(39, 107, 93, 0.18);
  border-radius: 8px;
  background: var(--mint);
  color: var(--accent-dark);
}

.answer-box span {
  color: #34514a;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 24px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.toc a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.hub-section {
  padding-top: 44px;
  padding-bottom: 44px;
}

.table-wrap {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow-x: auto;
  box-shadow: 0 10px 28px rgba(22, 32, 42, 0.06);
}

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

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

th {
  background: #f1f6f2;
  color: var(--accent-dark);
  font-size: 14px;
}

td {
  color: var(--muted);
  font-size: 15px;
}

td:first-child {
  color: var(--ink);
  font-weight: 800;
}

tr:last-child td {
  border-bottom: 0;
}

.featured-row td {
  background: #fbf7e9;
}

.featured-row td:first-child a {
  color: var(--accent-dark);
}

.highlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: 8px 0 32px;
  padding: 28px;
  border-left: 7px solid var(--accent);
  border-radius: 8px;
  background: var(--soft);
}

.highlight h2 {
  font-size: 30px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 18px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.info-grid div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.info-grid h3 {
  font-size: 21px;
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 24px;
  color: var(--muted);
  font-size: 18px;
}

.step-list li::marker {
  color: var(--accent-dark);
  font-weight: 800;
}

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

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

summary + p {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 28px 24px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header,
  .intro-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 38px;
    gap: 36px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .finder-top,
  .finder-search,
  .split-heading,
  .about-section {
    align-items: flex-start;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .finder-top strong {
    max-width: none;
    text-align: left;
  }

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

  .ranked-item {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
  }

  .ranked-item::before {
    display: none;
  }

  .rank-brand,
  .rank-details,
  .rank-score,
  .rank-cta {
    grid-column: 2;
  }

  .rank-score {
    justify-items: start;
    text-align: left;
  }

  .rank-cta {
    justify-self: start;
  }

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

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

  .highlight .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .intro-band,
  .ranking-section,
  .content-section,
  .guides,
  .article,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 43px;
  }

  .lead {
    font-size: 18px;
  }

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

  .benefit-card {
    width: calc(100% - 56px);
  }

  .card-a {
    left: 28px;
    top: 46px;
  }

  .card-b {
    left: 28px;
    right: auto;
    top: 165px;
  }

  .card-c {
    left: 28px;
    bottom: 44px;
  }
}
