.guide-teasers {
  padding-block: clamp(4.5rem, 11vw, 8rem);
  border-top: 1px solid var(--line);
}

.guide-teasers-heading {
  display: grid;
  gap: 0.75rem;
}

.guide-teasers-heading h2,
.guide-teasers-heading p {
  max-width: 46rem;
}

.guide-teasers-heading p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.guide-card-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.guide-card {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.3);
}

.guide-card:nth-child(2) {
  background: var(--paper-bright);
}

.guide-card:nth-child(3) {
  background: var(--green);
}

.guide-card-kicker {
  margin-bottom: 2.6rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.guide-card h3 {
  font-size: clamp(1.3rem, 5vw, 1.75rem);
  line-height: 1.08;
}

.guide-card h3 a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.guide-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.guide-index-link {
  display: inline-block;
  margin-top: 1.5rem;
}

.guide-main {
  width: min(100% - 2rem, 76rem);
  margin: 0 auto;
  padding-bottom: clamp(4rem, 10vw, 8rem);
}

.guide-breadcrumbs {
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.guide-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
}

.guide-breadcrumbs a {
  text-underline-offset: 0.2rem;
}

.guide-hero {
  padding-block: clamp(3.5rem, 11vw, 7.5rem);
  border-bottom: 1px solid var(--line);
}

.guide-hero h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 11vw, 7rem);
  line-height: 0.88;
}

.guide-hero .lede {
  max-width: 49rem;
}

.guide-reviewed {
  margin: 1.4rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-layout {
  display: grid;
  gap: 3rem;
  padding-top: clamp(3.5rem, 9vw, 6rem);
}

.guide-article {
  max-width: 48rem;
}

.guide-article h2 {
  max-width: 18ch;
  margin-top: 3.75rem;
  font-size: clamp(2.1rem, 7vw, 4rem);
}

.guide-article h2:first-child {
  margin-top: 0;
}

.guide-article h3 {
  margin-top: 2.2rem;
}

.guide-article p,
.guide-article li {
  line-height: 1.7;
}

.guide-article a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.guide-steps {
  margin: 1.5rem 0 2rem;
  padding: 0;
  counter-reset: guide-step;
  list-style: none;
}

.guide-steps li {
  position: relative;
  min-height: 3.2rem;
  margin-bottom: 0.8rem;
  padding: 0.9rem 1rem 0.9rem 3.8rem;
  border-top: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.28);
  counter-increment: guide-step;
}

.guide-steps li::before {
  content: counter(guide-step, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 0.9rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
}

.guide-callout,
.guide-limitations {
  margin: 2rem 0;
  padding: 1.2rem;
  border: 1px solid var(--ink);
}

.guide-callout {
  background: var(--paper-bright);
  box-shadow: 0.35rem 0.35rem 0 var(--green);
}

.guide-limitations {
  background: rgba(255, 255, 255, 0.32);
}

.guide-callout strong,
.guide-limitations strong {
  display: block;
  margin-bottom: 0.55rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.guide-callout p:last-child,
.guide-limitations p:last-child,
.guide-limitations ul:last-child {
  margin-bottom: 0;
}

.guide-aside {
  align-self: start;
  padding: 1.2rem;
  border-top: 1px solid var(--ink);
}

.guide-aside h2 {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.2;
}

.guide-aside ul {
  margin: 0;
  padding-left: 1.1rem;
}

.guide-aside li {
  margin-bottom: 0.65rem;
}

.guide-aside a {
  text-underline-offset: 0.2rem;
}

.guide-cta {
  margin-top: 4rem;
  padding: clamp(1.4rem, 5vw, 2.5rem);
  border: 1px solid var(--ink);
  background: var(--green);
}

.guide-cta h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 7vw, 3.4rem);
}

.guide-cta p {
  max-width: 42rem;
}

.guide-cta .button {
  margin-top: 0.5rem;
  background: var(--paper-bright);
}

.guide-index-hero h1 {
  max-width: 10ch;
}

.guide-index-grid {
  padding-top: clamp(3rem, 8vw, 5.5rem);
}

@media (min-width: 48rem) {
  .guide-main {
    width: min(100% - 3rem, 76rem);
  }

  .guide-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guide-card {
    min-height: 19rem;
    display: flex;
    flex-direction: column;
  }

  .guide-card p:last-child {
    margin-top: auto;
  }
}

@media (min-width: 64rem) {
  .guide-layout {
    grid-template-columns: minmax(0, 48rem) minmax(13rem, 1fr);
    gap: 4rem;
  }

  .guide-aside {
    position: sticky;
    top: 6rem;
  }
}
