:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #5f6368;
  --line: #dedede;
  --surface: #ffffff;
  --soft: #f5f5f5;
  --accent: #b4121b;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent);
}

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

.guide-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.guide-nav,
.guide-main,
.guide-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.guide-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.guide-nav img {
  width: 210px;
  max-height: 62px;
  object-fit: contain;
}

.guide-nav a {
  font-weight: 700;
  text-decoration: none;
}

.guide-hero {
  padding: 70px 0 48px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.08;
}

.guide-intro {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.guide-content {
  padding: 54px 0 76px;
}

.guide-content section {
  max-width: 820px;
  margin: 0 0 48px;
}

.guide-content h2 {
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.guide-content li {
  margin-bottom: 8px;
}

.guide-image {
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.guide-image img {
  display: block;
  width: 100%;
}

.guide-image figcaption {
  padding: 12px 16px;
  background: var(--soft);
  color: var(--muted);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--max);
}

.comparison-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.comparison-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.comparison-card h2,
.comparison-card p {
  margin-right: 20px;
  margin-left: 20px;
}

.notice {
  padding: 24px;
  border-left: 5px solid var(--accent);
  background: var(--soft);
}

.guide-links {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.guide-links ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  padding: 0;
  list-style: none;
}

.guide-footer {
  padding-top: 28px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: .9rem;
}

.button {
  display: inline-block;
  margin-top: 10px;
  padding: 13px 20px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 680px) {
  .guide-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .comparison-grid,
  .guide-links ul {
    grid-template-columns: 1fr;
  }

  .guide-hero {
    padding-top: 48px;
  }
}
