.guide-page .container {
  max-width: 1160px;
}

.compare-overview-link, .scope-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.compare-overview-link {
  margin-top: 10px;
  white-space: nowrap;
}

.compare-overview-link:hover, .scope-link:hover {
  background: #edf4ff;
}

.scope-link {
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.comparison {
  padding-bottom: 44px;
}

.comparison-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.comparison-scroll:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.compare-scroll-hint {
  display: none;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.comparison-wide .compare-scroll-hint {
  display: block;
}

.comparison-table {
  width: 100%;
  border-spacing: 0;
  text-align: left;
  overflow-wrap: anywhere;
  font-size: 14px;
}

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

.comparison-table tr > :first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 144px;
  min-width: 144px;
  background: #f0f4f9;
  color: var(--navy);
  box-shadow: 1px 0 var(--line);
}

.comparison-table th:not(:first-child), .comparison-table td {
  min-width: 220px;
  border-left: 1px solid var(--line);
}

.comparison-table thead th {
  background: #eaf2fc;
  color: var(--navy);
}

.comparison-table tbody tr:last-child > * {
  border-bottom: 0;
}

.comparison-program {
  scroll-margin-inline-start: 144px;
}

.comparison-program span {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
  line-height: 1.2;
}

.comparison-program p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.comparison-program:target {
  box-shadow: inset 0 4px var(--blue);
  background: #d9eaff;
}

.comparison-features {
  margin: 0;
  padding-inline-start: 18px;
}

.comparison-features li + li {
  margin-top: 7px;
}

.comparison-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.comparison-choose {
  --accent: var(--blue);
}

@media (max-width: 1080px) {
  .compare-scroll-hint {
    display: block;
  }
}

@media (max-width: 600px) {
  .comparison-table th, .comparison-table td {
    padding: 10px;
  }

  .comparison-table tr > :first-child {
    width: 98px;
    min-width: 98px;
    font-size: 12px;
  }

  .comparison-table th:not(:first-child), .comparison-table td {
    min-width: 154px;
  }

  .comparison-program {
    scroll-margin-inline-start: 98px;
  }

  .comparison-program span {
    font-size: 16px;
  }

  .comparison-choose {
    padding-inline: 6px;
    font-size: 13px;
  }
}
