:root {
  --ink: #10242c;
  --muted: #61717a;
  --paper: #f5f1e8;
  --panel: #fffdf7;
  --line: #d9d0c2;
  --deep: #122c34;
  --teal: #1f7a7a;
  --gold: #e8b85a;
  --red: #9d3f36;
  --green: #31745e;
  --shadow: 0 22px 70px rgba(16, 36, 44, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(232, 184, 90, .13), transparent 32rem),
    linear-gradient(225deg, rgba(31, 122, 122, .12), transparent 38rem),
    var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(217, 208, 194, .86);
  background: rgba(245, 241, 232, .92);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.hero-actions,
.trust-row,
.score-box,
.footer p,
.table-row,
.review-title,
.pros-cons,
.flag-grid,
.guide-grid,
.method-grid,
.intent-grid {
  display: flex;
}

.brand {
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  font-family: Verdana, Geneva, sans-serif;
  font-weight: 800;
  letter-spacing: .01em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: .7rem;
  background: var(--deep);
  color: var(--gold);
  font-size: .82rem;
  box-shadow: inset 0 0 0 2px rgba(232, 184, 90, .3);
}

.site-header nav {
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: Verdana, Geneva, sans-serif;
  font-size: .82rem;
  color: var(--muted);
}

.site-header nav a,
.header-cta,
.button,
.score-box a,
.table-row a {
  text-decoration: none;
}

.site-header nav a:hover,
.rank-main h3 a:hover,
.footer a:hover,
.table-row a:hover {
  color: var(--teal);
}

.header-cta,
.button,
.score-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .45rem;
  font-family: Verdana, Geneva, sans-serif;
  font-size: .8rem;
  font-weight: 800;
}

.header-cta,
.button.primary {
  background: var(--deep);
  color: #fffdf7;
  box-shadow: 0 12px 30px rgba(18, 44, 52, .18);
}

.header-cta {
  padding: .65rem .95rem;
  white-space: nowrap;
}

.button {
  min-height: 3rem;
  padding: .8rem 1.05rem;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, .74);
  color: var(--deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, .9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: 86vh;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem) 3rem;
}

.hero-copy {
  max-width: 50rem;
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--teal);
  font-family: Verdana, Geneva, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  max-width: 12ch;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: .9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: .8rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: .5rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.1;
}

.lede {
  max-width: 46rem;
  color: #344750;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.hero-actions {
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.trust-row {
  gap: .65rem;
  flex-wrap: wrap;
}

.trust-row span,
.tag,
.table-row small,
.score-box small,
.intent-grid article span {
  font-family: Verdana, Geneva, sans-serif;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.trust-row span {
  padding: .42rem .65rem;
  border: 1px solid rgba(217, 208, 194, .9);
  border-radius: 999px;
  background: rgba(255, 253, 247, .68);
  color: var(--muted);
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 9% -5% -6% 10%;
  border-radius: 2rem;
  background: var(--gold);
  transform: rotate(4deg);
}

.hero-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(217, 208, 194, .9);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}

.notice,
.section {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
}

.notice > div {
  max-width: 74rem;
  margin: 0 auto;
  padding: 1.2rem 1.4rem;
  border-left: .35rem solid var(--gold);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.notice strong {
  font-family: Verdana, Geneva, sans-serif;
}

.section-heading {
  max-width: 48rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading.wide {
  max-width: 68rem;
}

.intent-grid,
.guide-grid,
.method-grid,
.flag-grid {
  max-width: 78rem;
  margin: 0 auto;
  gap: 1rem;
}

.intent-grid,
.guide-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.intent-grid article,
.guide-grid article,
.method-grid article,
.long-review,
.rank-card,
.page-card,
.flag-grid div {
  border: 1px solid rgba(217, 208, 194, .9);
  border-radius: .75rem;
  background: rgba(255, 253, 247, .82);
  box-shadow: 0 18px 60px rgba(16, 36, 44, .08);
}

.intent-grid article,
.guide-grid article,
.method-grid article,
.flag-grid div {
  padding: 1.2rem;
}

.intent-grid article span {
  color: var(--teal);
}

.ranked-list,
.reviews-long {
  max-width: 82rem;
  margin: 0 auto;
}

.rank-card {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) 10rem;
  gap: 1.2rem;
  align-items: start;
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.rank-card.top {
  border-color: rgba(232, 184, 90, .95);
  background: linear-gradient(135deg, rgba(255, 253, 247, .96), rgba(232, 184, 90, .16));
}

.rank-number {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: .7rem;
  background: var(--deep);
  color: var(--gold);
  font-family: Verdana, Geneva, sans-serif;
  font-weight: 900;
}

.tag {
  color: var(--teal);
  margin-bottom: .35rem;
}

.rank-main ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.score-box {
  flex-direction: column;
  align-items: stretch;
  gap: .55rem;
  text-align: center;
}

.score-box span {
  display: block;
  color: var(--deep);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 2.25rem;
  font-weight: 900;
}

.score-box small {
  color: var(--muted);
}

.score-box a,
.table-row a {
  padding: .55rem .7rem;
  background: var(--deep);
  color: #fffdf7;
}

.score-box a + a {
  background: var(--gold);
  color: var(--deep);
}

.comparison-table {
  max-width: 86rem;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.table-row {
  display: grid;
  grid-template-columns: .6fr 1.5fr 1.7fr .8fr 1.7fr 1.1fr;
  gap: .75rem;
  align-items: center;
  padding: .9rem 1rem;
  border-top: 1px solid var(--line);
}

.table-head {
  border-top: 0;
  background: var(--deep);
  color: #fffdf7;
  font-family: Verdana, Geneva, sans-serif;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.table-row small {
  display: block;
  color: var(--muted);
  margin-top: .15rem;
}

.table-head small {
  color: #fffdf7;
}

.table-row .score {
  color: var(--green);
  font-family: Verdana, Geneva, sans-serif;
  font-weight: 900;
}

.table-row span:last-child {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.table-row a {
  border-radius: .38rem;
  font-family: Verdana, Geneva, sans-serif;
  font-size: .76rem;
  font-weight: 800;
}

.long-review {
  padding: clamp(1.2rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
}

.review-title {
  align-items: center;
  gap: .8rem;
}

.review-title span {
  display: inline-grid;
  place-items: center;
  min-width: 2.4rem;
  height: 2.4rem;
  border-radius: .55rem;
  background: var(--gold);
  color: var(--deep);
  font-family: Verdana, Geneva, sans-serif;
  font-weight: 900;
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.pros-cons > div {
  padding: 1rem;
  border-radius: .65rem;
  background: rgba(18, 44, 52, .06);
}

.pros-cons strong {
  font-family: Verdana, Geneva, sans-serif;
}

.flag-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flag-grid strong {
  color: var(--red);
  font-family: Verdana, Geneva, sans-serif;
}

.faq details {
  max-width: 58rem;
  margin: .75rem auto;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: var(--panel);
}

.faq summary {
  cursor: pointer;
  font-family: Verdana, Geneva, sans-serif;
  font-weight: 900;
}

.footer {
  padding: 2rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  background: var(--deep);
  color: #fffdf7;
}

.footer p {
  max-width: 72rem;
  margin: 0 auto .65rem;
  color: rgba(255, 253, 247, .86);
}

.footer a {
  color: var(--gold);
}

.page-shell {
  min-height: 70vh;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.page-card {
  max-width: 54rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.page-card h1 {
  max-width: none;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .intent-grid,
  .guide-grid,
  .method-grid,
  .flag-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rank-card {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .score-box {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    text-align: left;
  }

  .score-box span {
    font-size: 1.8rem;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .table-head {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4rem);
  }

  .intent-grid,
  .guide-grid,
  .method-grid,
  .flag-grid,
  .pros-cons {
    grid-template-columns: 1fr;
  }

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

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

  .rank-number,
  .score-box {
    grid-column: auto;
  }

  .score-box a {
    flex: 1;
  }
}
