/* Long pages: comparisons and guides. Builds on site.css. */

.page { max-width: 820px; margin: 0 auto; padding: 150px var(--gutter) 96px; }
.page .kicker { margin-bottom: 18px; }
.page h1 { font-size: clamp(44px, 6.4vw, 84px); }
.page h2 { font-size: clamp(32px, 3.6vw, 48px); margin-top: 80px; }
.page h3 { font-size: clamp(22px, 2vw, 26px); margin-top: 34px; }
.page p, .page li { color: var(--body); margin-top: 14px; }
.page ul, .page ol { padding-left: 22px; }
.page li { padding-left: 4px; }
.page strong { color: var(--ink); font-weight: 500; }
.page a:not(.btn) {
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.page a:not(.btn):hover { color: var(--ink); }
.page .checked { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Comparison table. It scrolls inside its own box on a narrow phone, never the page. */
.table-scroll { margin-top: 30px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 14px 14px 0; border-bottom: 1px solid var(--hair); }
.compare thead th {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1.5px solid var(--ink);
}
.compare tbody th { width: 30%; font-weight: 500; color: var(--ink); }
.compare td { color: var(--body); }
.compare.wide { min-width: 560px; }
.compare .kept { color: var(--ink); }

/* Steps */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 20px 0 0 56px; margin-top: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 18px;
  width: 36px; height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  background: var(--page);
}
.steps li strong { display: block; font-size: 19px; }

/* Questions */
.faq h3 { font-family: var(--sans); font-size: 19px; font-weight: 500; letter-spacing: 0; line-height: 1.35; }
.faq p { margin-top: 8px; }

/* Call to action inside a page */
.callout {
  margin-top: 80px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--panel);
  border: 1.5px solid var(--ink);
  border-radius: 24px;
}
.callout h2 { margin-top: 0; font-size: clamp(30px, 3.2vw, 42px); }
.callout .btn-row { margin-top: 26px; }
.callout .fine { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Links to the other guides */
.related { margin-top: 64px; padding-top: 24px; border-top: 1.5px solid var(--ink); }
.related ul { list-style: none; padding: 0; }
.related li { padding: 0; margin-top: 10px; }

@media (max-width: 600px) {
  .page { padding-top: 120px; }
  .page h2 { margin-top: 64px; }
}
