﻿* {
  box-sizing: border-box;
}

html {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
  color: #202124;
  background: #ffffff;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

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

.container {
  width: min(1120px, 90%);
  margin-inline: auto;
}

.narrow {
  max-width: 780px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 2px solid #202124;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  border-bottom: 1px solid #dddddd;
  background: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1rem;
}

.site-name {
  flex: 0 0 auto;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
}

.main-nav a,
.footer-nav a {
  text-decoration: none;
}

.main-nav a:hover,
.footer-nav a:hover {
  text-decoration: underline;
}

.hero {
  padding: 6rem 0;
  background: #f4f4f4;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.eyebrow {
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.intro {
  max-width: 720px;
  font-size: 1.2rem;
}

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.15rem;
  background: #202124;
  color: #ffffff;
  border-radius: 0.35rem;
  text-decoration: none;
  font-weight: 700;
}

.button:hover {
  text-decoration: underline;
}

.section {
  padding-block: 4rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.category-card {
  display: block;
  padding: 1.4rem;
  border: 1px solid #dddddd;
  border-radius: 0.5rem;
  text-decoration: none;
}

.category-card:hover {
  border-color: #777777;
}

.category-card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
}

.category-card p {
  margin-bottom: 0;
}

.page {
  max-width: 780px;
  padding-block: 4rem 5rem;
}

.page-header {
  margin-bottom: 2.5rem;
}

.page-header h1 {
  margin-top: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.page h2 {
  margin-top: 2.5rem;
  line-height: 1.2;
}

.notice {
  padding: 1rem 1.1rem;
  border-left: 4px solid #202124;
  background: #f4f4f4;
}

.site-footer {
  border-top: 1px solid #dddddd;
  padding-block: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

.footer-brand {
  margin: 0;
  font-weight: 700;
}

@media (max-width: 900px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
  }

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

@media (max-width: 620px) {
  .hero {
    padding: 4rem 0;
  }

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

  .main-nav {
    gap: 0.55rem 1rem;
  }
}


/* Buying guide article */
.article-page {
  max-width: 860px;
  padding-block: 4rem 5rem;
}

.article-header {
  margin-bottom: 1.5rem;
}

.article-header h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.article-dek {
  max-width: 760px;
  font-size: 1.2rem;
}

.article-meta {
  font-size: 0.95rem;
}

.affiliate-note,
.quick-answer,
.method-note {
  margin-block: 1.5rem;
  padding: 1rem 1.1rem;
  background: #f4f4f4;
}

.affiliate-note {
  border-left: 4px solid #202124;
}

.quick-answer {
  border: 1px solid #cccccc;
  border-radius: 0.5rem;
}

.quick-answer h2 {
  margin-top: 0;
}

.article-body h2 {
  margin-top: 3rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.article-body h3 {
  margin-top: 2rem;
  line-height: 1.2;
}

.table-wrap {
  overflow-x: auto;
  margin-block: 1.5rem;
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 0.8rem;
  border: 1px solid #d7d7d7;
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: #f4f4f4;
}

.product-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-block: 1.25rem;
  padding: 1.25rem;
  border: 1px solid #d7d7d7;
  border-radius: 0.5rem;
}

.product-box h3 {
  margin: 0 0 0.4rem;
}

.product-box p {
  margin-bottom: 0;
}

.product-box .button {
  flex: 0 0 auto;
  margin-top: 0;
}

.product-label {
  margin-top: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.guide-list {
  margin-top: 2rem;
}

.guide-card {
  padding: 1.5rem;
  border: 1px solid #d7d7d7;
  border-radius: 0.5rem;
}

.guide-card h2 {
  margin-top: 0;
}

.guide-card h2 a {
  text-decoration: none;
}

.guide-card h2 a:hover,
.text-link:hover {
  text-decoration: underline;
}

.text-link {
  font-weight: 700;
}

@media (max-width: 700px) {
  .product-box {
    align-items: flex-start;
    flex-direction: column;
  }
}
.guide-card + .guide-card {
  margin-top: 1rem;
}
