.guide-page .guide-skip-link {
  position: fixed;
  top: 0.75rem;
  left: 1rem;
  z-index: 100;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  background: white;
  color: var(--purple-deep);
  transform: translateY(-180%);
}

.guide-page .guide-skip-link:focus {
  transform: translateY(0);
}

.guide-page :focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
}

.guide-page .hero :focus-visible,
.guide-page .guide-next-step :focus-visible {
  outline-color: var(--green);
}

.guide-hero {
  padding-bottom: 0;
}

.guide-hero .hero-shell {
  display: block;
  padding: clamp(1.4rem, 5vw, 4.3rem);
}

.guide-hero .hero-copy h1 {
  max-width: 23ch;
  font-size: clamp(2.1rem, 4.6vw, 4.1rem);
  line-height: 1.07;
  letter-spacing: -0.045em;
}

.guide-hero .lead {
  max-width: 72ch;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.8;
}

.guide-hero .content-byline {
  margin-top: 1.8rem;
  line-height: 1.6;
}

.guide-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 2.75rem;
  margin-top: 1rem;
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.guide-content {
  min-width: 0;
  padding-top: clamp(2.8rem, 6vw, 5rem);
  padding-bottom: 4.5rem;
}

.guide-content h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.guide-content section {
  scroll-margin-top: 8rem;
}

.guide-table-hint {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.guide-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: white;
}

.guide-comparison {
  width: 100%;
  min-width: 870px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 0.94rem;
  line-height: 1.65;
}

.guide-comparison th,
.guide-comparison td {
  width: 25%;
  padding: 1.25rem;
  vertical-align: top;
  text-align: left;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.guide-comparison thead th {
  border-right: 1px solid var(--line-inverse);
  background: var(--surface-dark);
  color: white;
  font-size: 1rem;
}

.guide-comparison tbody th {
  font-weight: 650;
}

.guide-comparison tbody td {
  color: var(--ink-soft);
}

.guide-comparison tbody tr + tr > * {
  border-top: 1px solid var(--line);
}

.guide-comparison tbody tr:nth-child(even) > * {
  background: var(--surface-soft);
}

.guide-comparison tbody td + td {
  border-left: 1px solid var(--line);
}

.guide-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 235px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: 4rem;
}

.guide-toc {
  position: sticky;
  top: 7rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
}

.guide-toc-label {
  margin: 0 0 0.75rem;
  color: var(--purple-deep);
  font-size: 0.83rem;
  font-weight: 700;
}

.guide-toc ol {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-toc a {
  display: block;
  padding: 0.55rem 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
}

.guide-toc a:hover,
.guide-toc a:focus-visible {
  color: var(--purple-deep);
  text-decoration-color: currentColor;
}

.guide-prose {
  min-width: 0;
  max-width: 76ch;
}

.guide-text-section {
  padding-bottom: 2.9rem;
  margin-bottom: 2.9rem;
  border-bottom: 1px solid var(--line);
}

.guide-text-section p,
.guide-checklist {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.85;
}

.guide-text-section p {
  margin: 0 0 1.25rem;
}

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

.guide-checklist {
  display: grid;
  gap: 0.75rem;
  margin: 1.6rem 0;
  padding-left: 1.35rem;
}

.guide-checklist li {
  padding-left: 0.3rem;
}

.guide-checklist li::marker {
  color: var(--purple);
}

.guide-next-step {
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
  margin-bottom: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface-dark);
  color: white;
}

.guide-next-step p {
  color: rgba(255, 255, 255, 0.78);
}

.guide-next-step .button {
  margin-top: 0.6rem;
  text-align: center;
  line-height: 1.5;
}

.guide-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  .guide-reading-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.7rem;
    margin-top: 2.7rem;
  }

  .guide-toc {
    position: static;
  }

  .guide-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }

  .guide-prose {
    max-width: none;
  }

  html:not(.js) .guide-page .topbar {
    position: relative;
  }

  html:not(.js) .guide-page .nav {
    display: flex;
  }

  html:not(.js) .guide-page .nav-toggle {
    display: none;
  }
}

@media (max-width: 480px) {
  .guide-page .brand-copy small {
    max-width: clamp(120px, 37vw, 145px);
    font-size: 0.62rem;
    line-height: 1.4;
    letter-spacing: 0.06em;
  }

  .guide-page .brand-mark {
    flex-shrink: 0;
  }

  .guide-hero {
    padding-top: 1.6rem;
    padding-bottom: 0;
  }

  .guide-hero .hero-shell {
    padding: 1.35rem;
    border-radius: var(--radius-lg);
  }

  .guide-hero .hero-copy h1 {
    font-size: 2.1rem;
  }

  .guide-hero .eyebrow {
    font-size: 0.7rem;
    line-height: 1.6;
  }

  .guide-content {
    padding-top: 2.6rem;
    padding-bottom: 3rem;
  }

  .guide-toc ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-text-section p,
  .guide-checklist {
    font-size: 1rem;
    line-height: 1.8;
  }

  .guide-text-section {
    padding-bottom: 2.3rem;
    margin-bottom: 2.3rem;
  }

  .guide-next-step {
    padding: 1.35rem;
    margin-bottom: 0;
  }
}
