:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #242123;
  --muted: #6e6669;
  --paper: #f7faf8;
  --surface: #ffffff;
  --rose: #b83a5f;
  --teal: #286b66;
  --sage: #dfeee8;
  --lilac: #eeebfb;
  --peach: #fde5d7;
  --line: #ded8d4;
  --soft-line: #ece7e3;
  --shadow: 0 16px 34px rgba(36, 33, 35, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

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

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span {
  color: var(--ink);
}

.brand strong {
  color: var(--rose);
}

.nav-toggle,
.nav-toggle-button {
  display: none;
}

.primary-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-group {
  position: relative;
}

.nav-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
}

.nav-link:hover,
.nav-link.is-active,
.subnav a:hover,
.subnav a.is-active {
  color: var(--ink);
  background: var(--sage);
}

.subnav {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 45;
  min-width: 220px;
  display: none;
  gap: 4px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.nav-group:hover .subnav,
.nav-group:focus-within .subnav {
  display: grid;
}

.subnav a {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.language-switch {
  display: flex;
  gap: 2px;
  flex: 0 0 auto;
  padding: 3px;
  background: #f0f5f3;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
}

.language-switch a {
  min-width: 38px;
  padding: 7px 9px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.language-switch a.is-active {
  color: var(--surface);
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 34px;
  align-items: end;
  padding: 58px 0 36px;
}

.hero.small {
  display: block;
  max-width: 860px;
  padding: 54px 0 26px;
}

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

h1 {
  max-width: 850px;
  margin: 0 0 18px;
  font-size: 64px;
  line-height: 1.03;
}

h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
}

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

.hero p:not(.eyebrow),
.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.featured-story {
  display: grid;
  gap: 12px;
  align-self: stretch;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.featured-story img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.story-label {
  width: max-content;
  padding: 5px 8px;
  color: var(--surface);
  background: var(--teal);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.featured-story strong {
  font-size: 24px;
  line-height: 1.15;
}

.featured-story small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.section-heading {
  margin: 38px 0 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.section-heading.compact {
  margin-top: 24px;
}

.category-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 44px;
}

.category-card {
  min-height: 148px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top-width: 4px;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(36, 33, 35, .05);
}

.category-card:nth-child(4n + 1) {
  border-top-color: var(--rose);
}

.category-card:nth-child(4n + 2) {
  border-top-color: var(--teal);
}

.category-card:nth-child(4n + 3) {
  border-top-color: #7b67b8;
}

.category-card:nth-child(4n + 4) {
  border-top-color: #c36b42;
}

.category-title {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 800;
}

.category-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-links a,
.categories a {
  padding: 8px 9px;
  color: var(--muted);
  background: #f6f8f5;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.category-links a:hover,
.categories a:hover {
  color: var(--ink);
  background: var(--lilac);
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
}

.categories a {
  background: var(--surface);
  border: 1px solid var(--line);
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

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

.card,
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(36, 33, 35, .06);
}

.card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 14px;
  border-radius: 6px;
}

.card h2,
.card h3 {
  margin: 0 0 10px;
}

.card h2 {
  font-size: 24px;
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.card a:hover {
  color: var(--rose);
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0 0 40px;
  padding: 18px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article {
  max-width: 860px;
  margin: 50px auto 72px;
}

.article h1 {
  font-size: 56px;
}

.hero-img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  margin: 26px 0;
  border-radius: 8px;
}

.affiliate-note {
  margin: 20px 0 34px;
  padding: 15px 16px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
}

.content {
  color: #302b2d;
  font-size: 18px;
  line-height: 1.75;
}

.content h2 {
  margin: 42px 0 12px;
  font-size: 32px;
}

.content h3 {
  margin: 30px 0 10px;
}

.content p {
  margin: 0 0 18px;
}

.comparison-table-wrap {
  width: 100%;
  margin: 18px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.comparison-table th,
.comparison-table td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--soft-line);
}

.comparison-table th {
  color: var(--ink);
  background: var(--sage);
  font-weight: 800;
}

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

.products {
  margin-top: 54px;
}

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

.product-card {
  padding: 14px;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 12px;
  padding: 12px;
  background: #fbfbfa;
  border-radius: 6px;
}

.product-card h3 {
  margin-bottom: 8px;
}

.product-card p {
  color: var(--muted);
}

.product-meta {
  margin-bottom: 8px;
}

.product-source {
  width: max-content;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 5px 7px;
  color: var(--teal);
  background: var(--sage);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 9px 12px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 6px;
  font-weight: 800;
}

.button:hover {
  background: var(--rose);
}

.sponsored {
  margin-bottom: 0;
  font-size: 13px;
}

.related {
  max-width: 1000px;
  margin: 0 auto 80px;
}

.related h2 {
  margin-bottom: 18px;
}

.site-footer {
  padding: 28px 6vw;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 1020px) {
  h1 {
    font-size: 52px;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .featured-story {
    max-width: 640px;
  }

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

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

  .article h1 {
    font-size: 46px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 66px;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0;
  }

  .nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .nav-toggle-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
  }

  .nav-toggle-button span {
    height: 2px;
    display: block;
    background: var(--ink);
    border-radius: 999px;
  }

  .primary-nav {
    flex: 1 0 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px 0 4px;
    border-top: 1px solid var(--line);
  }

  .nav-toggle:checked ~ .primary-nav {
    display: flex;
  }

  .nav-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    min-height: 44px;
    justify-content: space-between;
    padding: 11px 10px;
  }

  .subnav {
    position: static;
    min-width: 0;
    display: grid;
    padding: 2px 0 8px 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .subnav a {
    background: var(--surface);
    border: 1px solid var(--soft-line);
  }

  .language-switch {
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  main,
  .header-inner {
    width: calc(100% - 28px);
  }

  .brand {
    font-size: 22px;
  }

  .hero {
    gap: 22px;
    padding: 34px 0 26px;
  }

  .hero.small {
    padding: 36px 0 20px;
  }

  h1,
  .article h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  h2 {
    font-size: 25px;
  }

  .hero p:not(.eyebrow),
  .lead {
    font-size: 17px;
  }

  .featured-story strong {
    font-size: 21px;
  }

  .category-board,
  .grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: auto;
  }

  .article {
    margin-top: 34px;
  }

  .content {
    font-size: 17px;
  }

  .content h2 {
    font-size: 26px;
  }

  .site-footer {
    padding: 24px 14px;
  }
}
