.guide-hero {
  padding-top: 2.25rem;
  padding-bottom: 3rem;
}

.guide-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.guide-hero h1 {
  max-width: 18ch;
  font-size: clamp(1.95rem, 4.8vw, 4.7rem);
  hyphens: auto;
  overflow-wrap: break-word;
}

.guide-byline, .guide-figure figcaption {
  margin: 0;
  color: var(--ink-soft);
  font-size: .9rem;
}

.guide-figure {
  margin: 1.5rem 0;
}

.guide-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--purple-200);
  border-radius: var(--radius);
}

.guide-figure figcaption {
  margin-top: .55rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) minmax(0, 3fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: 4rem;
}

.guide-toc {
  padding: 1.2rem;
  background: white;
  border: 1px solid var(--purple-200);
  border-radius: var(--radius);
}

.guide-toc h2 {
  font-size: 1.2rem;
}

.guide-toc ol {
  margin: 0;
  padding-left: 1.35rem;
}

.guide-toc li + li {
  margin-top: .4rem;
}

.guide-content section {
  scroll-margin-top: 6rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
}

.guide-content section:first-child {
  padding-top: 0;
}

.guide-content h2 {
  max-width: 32ch;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.guide-content p {
  max-width: 70ch;
  color: var(--ink-soft);
}

.guide-content p:last-child {
  margin-bottom: 0;
}

:is(.guide-cost-table, .guide-comparison-table) {
  width: 100%;
  margin-block: 1.25rem;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: clamp(.88rem, 1.8vw, 1rem);
  overflow-wrap: anywhere;
}

:is(.guide-cost-table, .guide-comparison-table) caption {
  padding-bottom: .55rem;
  text-align: left;
  font-weight: 700;
}

:is(.guide-cost-table, .guide-comparison-table) :is(th, td) {
  padding: .7rem clamp(.4rem, 1.5vw, .9rem);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.guide-cost-table thead th:first-child {
  width: 41%;
}

.guide-cost-table thead th:nth-child(2) {
  width: 27%;
}

.guide-cost-table thead, .guide-cost-table tbody tr:last-child, .guide-comparison-table thead {
  background: var(--mint-light);
  font-weight: 700;
}

.guide-cost-table data {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.guide-comparison-table thead th:first-child {
  width: 52%;
}

.guide-comparison-table tbody td {
  border-inline-start: 1px solid var(--line);
}

.guide-test li[id] {
  scroll-margin-top: 6rem;
}

.guide-test {
  padding-left: 1.55rem;
}

.guide-test li {
  padding-left: .45rem;
}

.guide-test li + li {
  margin-top: .9rem;
}

.guide-test li::marker {
  color: var(--purple-dark);
  font-weight: 750;
}

.guide-cta {
  margin-top: 2rem;
  padding: clamp(1.2rem, 3vw, 2.3rem);
  border: 1px solid var(--mint-border);
  border-radius: var(--radius);
  background: var(--mint-light);
}

@media (max-width: 820px) {
  .guide-hero-grid, .guide-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .guide-hero {
    padding-bottom: 1.5rem;
  }
  .guide-hero .guide-figure {
    margin-top: 0;
  }
}
