@import url("https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");

/* The guide layer is a little more notebook-like than the project lessons. */

body:has(.guide-page) {
  --guide-accent: var(--rust);
  --guide-accent-dark: var(--rust-dark);
  background: var(--paper);
}

.guide-page {
  width: 100%;
}

.guide-page__inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.guide-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: clamp(1.8rem, 4vw, 3rem) 0 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.055em;
  line-height: 1.5;
  text-transform: uppercase;
}

.guide-breadcrumb a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.guide-breadcrumb a:hover {
  color: var(--guide-accent-dark);
  border-bottom-color: currentColor;
}

.guide-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  gap: clamp(2.5rem, 8vw, 9rem);
  align-items: end;
  min-height: 33rem;
  overflow: hidden;
  padding: clamp(4.2rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 7rem);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.guide-hero::after {
  position: absolute;
  z-index: -1;
  right: -10vw;
  bottom: 4%;
  width: min(42vw, 34rem);
  aspect-ratio: 1;
  border: 1px solid rgba(47, 43, 39, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 1.4rem rgba(47, 43, 39, 0.025), 0 0 0 3rem rgba(47, 43, 39, 0.02);
  content: "";
  pointer-events: none;
}

.guide-hero--sage {
  --guide-accent: var(--sage-dark);
  --guide-accent-dark: #3e5244;
}

.guide-hero--blue {
  --guide-accent: #658e8d;
  --guide-accent-dark: #456d6c;
}

.guide-hero--gold {
  --guide-accent: #a8783c;
  --guide-accent-dark: #765421;
}

.guide-hero__copy {
  min-width: 0;
}

.guide-hero__copy .eyebrow {
  color: var(--guide-accent-dark);
}

.guide-hero h1 {
  max-width: 9.5ch;
  margin: 0 0 1.65rem;
  color: var(--ink);
  font-size: clamp(4rem, 8.2vw, 8rem);
  letter-spacing: -0.082em;
  line-height: 0.84;
}

.guide-hero h1 i {
  color: var(--guide-accent);
  font-style: italic;
}

.guide-hero__summary {
  max-width: 38rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.75;
}

.guide-hero__aside {
  position: relative;
  min-height: 19rem;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  color: var(--paper);
  background: var(--ink);
  border-radius: 0.15rem 0.15rem 5rem 0.15rem;
}

.guide-hero__aside::before {
  position: absolute;
  right: -10%;
  bottom: -20%;
  width: 75%;
  aspect-ratio: 1;
  border: 1px solid rgba(246, 240, 232, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 1.4rem rgba(246, 240, 232, 0.04), 0 0 0 2.8rem rgba(246, 240, 232, 0.035);
  content: "";
}

.guide-hero__aside--sage {
  background: var(--sage-dark);
}

.guide-hero__aside--cream {
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
}

.guide-hero__aside--cream::before {
  border-color: rgba(47, 43, 39, 0.16);
  box-shadow: 0 0 0 1.4rem rgba(47, 43, 39, 0.035), 0 0 0 2.8rem rgba(47, 43, 39, 0.025);
}

.guide-hero__aside-topline,
.guide-hero__aside-label {
  position: relative;
  z-index: 1;
  color: rgba(246, 240, 232, 0.7);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.075em;
  line-height: 1.5;
  text-transform: uppercase;
}

.guide-hero__aside--cream .guide-hero__aside-topline,
.guide-hero__aside--cream .guide-hero__aside-label {
  color: var(--ink-soft);
}

.guide-hero__aside-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.guide-hero__number {
  position: relative;
  z-index: 1;
  display: block;
  margin: 2.2rem 0 0.6rem;
  color: var(--saffron);
  font-family: var(--display);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 500;
  letter-spacing: -0.1em;
  line-height: 0.75;
}

.guide-hero__aside h2 {
  position: relative;
  z-index: 1;
  max-width: 10ch;
  margin: 0;
  color: inherit;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.guide-hero__aside h2 i {
  color: var(--rust);
  font-style: italic;
}

.guide-hero__aside--sage h2 i {
  color: var(--saffron);
}

.guide-hero__aside-label {
  position: absolute;
  right: 1.45rem;
  bottom: 1.4rem;
}

.guide-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 41rem;
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.guide-meta > div {
  min-width: 0;
  padding: 0.75rem 0.7rem 0 0;
}

.guide-meta > div + div {
  padding-left: 0.7rem;
  border-left: 1px solid var(--line);
}

.guide-meta dt,
.guide-meta span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.guide-meta dd,
.guide-meta strong {
  display: block;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 0.34fr) minmax(0, 0.96fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: start;
  padding: clamp(4.8rem, 9vw, 9rem) 0;
}

.guide-toc {
  position: sticky;
  top: 1.6rem;
  min-width: 0;
}

.guide-toc__label {
  margin: 0 0 0.85rem;
  color: var(--guide-accent-dark);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-toc ol {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.guide-toc li {
  border-bottom: 1px solid var(--line);
}

.guide-toc a {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.7rem;
  padding: 0.75rem 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 180ms ease, padding 180ms ease;
}

.guide-toc a span {
  color: var(--guide-accent-dark);
  font-family: var(--mono);
  font-size: 0.57rem;
}

.guide-toc a:hover {
  padding-left: 0.45rem;
  color: var(--ink);
}

.guide-toc__note {
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.05;
}

.guide-content {
  min-width: 0;
  max-width: 50rem;
}

.guide-content > section,
.guide-content > aside {
  scroll-margin-top: 1.5rem;
}

.guide-content > section + section,
.guide-content > aside + section {
  margin-top: clamp(4rem, 7vw, 7rem);
  padding-top: clamp(3rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}

.guide-content h2 {
  max-width: 13ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.guide-content h2 i,
.guide-content h3 i {
  color: var(--guide-accent);
  font-style: italic;
}

.guide-content h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.guide-content h4 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.guide-content p,
.guide-content li {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.78;
}

.guide-content p {
  margin-bottom: 1.15rem;
}

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

.guide-content strong {
  color: var(--ink);
  font-weight: 700;
}

.guide-content a:not(.button):not(.guide-card) {
  color: var(--guide-accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.guide-content ul,
.guide-content ol {
  padding-left: 1.35rem;
  margin: 1.15rem 0 0;
}

.guide-content li + li {
  margin-top: 0.5rem;
}

.guide-section__kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--guide-accent-dark);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.guide-section__kicker span {
  color: var(--ink);
}

.guide-section__kicker span::after {
  display: inline-block;
  width: 1.6rem;
  height: 1px;
  margin: 0 0.1rem 0.18rem 0.55rem;
  background: currentColor;
  content: "";
}

.guide-intro {
  max-width: 38rem;
  margin-bottom: 1.8rem;
  color: var(--ink-soft);
}

.guide-callout {
  margin: 1.8rem 0 0;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  background: var(--paper-deep);
  border-left: 3px solid var(--guide-accent);
}

.guide-callout--dark {
  color: var(--paper);
  background: var(--ink);
  border-left-color: var(--saffron);
}

.guide-callout--dark p,
.guide-callout--dark li,
.guide-callout--dark strong {
  color: rgba(246, 240, 232, 0.78);
}

.guide-callout__label {
  margin: 0 0 0.45rem;
  color: var(--guide-accent-dark);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-callout--dark .guide-callout__label {
  color: var(--saffron);
}

.guide-callout h3 {
  max-width: 15ch;
  margin-bottom: 0.65rem;
}

.guide-callout--dark h3,
.guide-callout--dark h3 i {
  color: var(--paper);
}

.guide-steps {
  display: grid;
  gap: 0;
  margin-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.guide-step {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1.25rem 0 1.45rem;
  border-bottom: 1px solid var(--line);
}

.guide-step__number {
  color: var(--guide-accent-dark);
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1.55;
}

.guide-step__label {
  margin: 0 0 0.3rem;
  color: var(--guide-accent-dark);
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.guide-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.8rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.guide-fact {
  min-height: 9.5rem;
  padding: 1.1rem;
  background: var(--cream);
}

.guide-fact:nth-child(2) {
  background: var(--paper-deep);
}

.guide-fact:nth-child(3) {
  background: #d8e1d3;
}

.guide-fact__value {
  display: block;
  margin-bottom: 1rem;
  color: var(--guide-accent-dark);
  font-family: var(--display);
  font-size: 2.45rem;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.guide-fact p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
}

.guide-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.8rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.guide-compare__column {
  padding: 1.2rem;
  background: var(--cream);
}

.guide-compare__column:nth-child(2) {
  background: var(--paper-deep);
}

.guide-compare__column h3 {
  margin-bottom: 1rem;
  font-size: 1.65rem;
}

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

.guide-compare__column li {
  font-size: 0.8rem;
  line-height: 1.6;
}

.guide-table-wrap {
  overflow-x: auto;
  margin-top: 1.8rem;
  border: 1px solid var(--line);
}

.guide-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
}

.guide-table th,
.guide-table td {
  padding: 0.85rem 0.9rem;
  color: var(--ink-soft);
  font-size: 0.77rem;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.guide-table th {
  color: var(--ink);
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.guide-table tr:last-child td {
  border-bottom: 0;
}

.guide-checklist {
  display: grid;
  gap: 0;
  margin-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.guide-checklist__item {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.guide-checklist__mark {
  display: grid;
  width: 1.05rem;
  height: 1.05rem;
  place-items: center;
  color: var(--guide-accent-dark);
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.7rem;
  line-height: 1;
}

.guide-checklist p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
}

.guide-faq {
  margin-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.guide-faq details {
  border-bottom: 1px solid var(--line);
}

.guide-faq summary {
  position: relative;
  padding: 1rem 2rem 1rem 0;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  list-style: none;
}

.guide-faq summary::-webkit-details-marker {
  display: none;
}

.guide-faq summary::after {
  position: absolute;
  top: calc(50% - 0.55rem);
  right: 0;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--guide-accent-dark);
  content: "+";
  font-family: var(--sans);
  font-size: 0.95rem;
}

.guide-faq details[open] summary::after {
  content: "–";
}

.guide-faq details p {
  max-width: 42rem;
  margin: -0.1rem 2rem 1.15rem 0;
  font-size: 0.82rem;
}

.guide-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.4rem;
  color: var(--paper);
  background: var(--sage-dark);
}

.guide-cta h3 {
  margin-bottom: 0.35rem;
  color: var(--paper);
}

.guide-cta p {
  margin: 0;
  color: rgba(246, 240, 232, 0.72);
  font-size: 0.78rem;
}

.guide-cta .button {
  flex-shrink: 0;
  color: var(--ink);
  background: var(--saffron);
}

.guide-index__hero {
  min-height: 29rem;
}

.guide-index__hero h1 {
  max-width: 8ch;
}

.guide-index__lede {
  max-width: 35rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.guide-index__section {
  padding: clamp(4.8rem, 8vw, 8rem) 0;
  border-bottom: 1px solid var(--line);
}

.guide-index__section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.guide-index__section-head h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 5.2vw, 5.5rem);
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.guide-index__section-head p {
  max-width: 23rem;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.guide-card {
  position: relative;
  display: flex;
  min-height: 17rem;
  flex-direction: column;
  padding: 1.35rem;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.guide-card:nth-child(3n + 2) {
  background: var(--cream);
}

.guide-card:nth-child(3n + 3) {
  background: var(--paper-deep);
}

.guide-card:hover {
  z-index: 1;
  background: #fffdf8;
  transform: translateY(-3px);
}

.guide-card__topline,
.guide-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.guide-card__number {
  color: var(--rust-dark);
}

.guide-card h3 {
  max-width: 12ch;
  margin: auto 0 0.65rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.guide-card h3 i {
  color: var(--rust);
  font-style: italic;
}

.guide-card p {
  max-width: 31rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.6;
}

.guide-card__meta {
  margin-top: 1.1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.guide-card__arrow {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  color: var(--rust);
  font-size: 1.4rem;
}

.guide-keyword-band {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(4.8rem, 8vw, 8rem) 0;
  border-bottom: 1px solid var(--line);
}

.guide-keyword-band h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.2rem);
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.guide-keyword-band__copy p {
  max-width: 38rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.guide-keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.3rem;
}

.guide-keyword-list span {
  padding: 0.45rem 0.6rem;
  color: var(--ink-soft);
  background: var(--cream);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.guide-template-sheet {
  margin-top: 1.8rem;
  padding: 1.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
}

.guide-template-sheet__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.guide-template-sheet__header span {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.guide-template-sheet__patterns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.guide-template-shape {
  display: grid;
  min-height: 9rem;
  place-items: center;
  padding: 0.75rem;
  border: 1px dashed rgba(47, 43, 39, 0.35);
}

.guide-template-shape svg {
  width: 100%;
  height: 7.2rem;
}

.guide-template-shape span {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.guide-print-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: 1rem;
}

.guide-print-row .button {
  padding: 0.75rem 0.95rem;
}

.guide-print-row p {
  margin: 0;
  font-size: 0.68rem;
}

@media (max-width: 900px) {
  .guide-hero {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.78fr);
    gap: 2.5rem;
  }

  .guide-layout {
    gap: 3rem;
  }

  .guide-keyword-band {
    gap: 3rem;
  }
}

@media (max-width: 780px) {
  .guide-hero,
  .guide-layout,
  .guide-keyword-band {
    grid-template-columns: 1fr;
  }

  .guide-hero {
    min-height: 0;
    padding-top: 3.5rem;
  }

  .guide-hero__aside {
    min-height: 17rem;
  }

  .guide-toc {
    position: static;
  }

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

  .guide-index__section-head {
    align-items: start;
    flex-direction: column;
  }

  .guide-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .guide-hero {
    padding-top: 3rem;
    padding-bottom: 4.5rem;
  }

  .guide-hero h1 {
    max-width: 7.8ch;
    font-size: clamp(3.5rem, 17vw, 5.8rem);
  }

  .guide-hero__aside {
    min-height: 15rem;
    border-radius: 0.15rem 0.15rem 4rem 0.15rem;
  }

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

  .guide-meta > div {
    padding-bottom: 0.7rem;
  }

  .guide-meta > div:nth-child(3) {
    padding-top: 0.7rem;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .guide-layout {
    padding-top: 4.5rem;
  }

  .guide-toc ol,
  .guide-card-grid,
  .guide-compare,
  .guide-facts {
    grid-template-columns: 1fr;
  }

  .guide-toc ol {
    display: block;
  }

  .guide-content h2 {
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }

  .guide-content p,
  .guide-content li {
    font-size: 0.86rem;
  }

  .guide-card {
    min-height: 15.5rem;
  }

  .guide-template-sheet__patterns {
    grid-template-columns: 1fr;
  }
}

@media print {
  body::before,
  .top-strip,
  .site-header,
  .site-footer,
  .guide-breadcrumb,
  .guide-hero__aside,
  .guide-toc,
  .guide-print-row,
  .guide-cta {
    display: none !important;
  }

  .site-shell,
  .guide-page__inner {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .guide-hero {
    display: block;
    min-height: 0;
    padding: 0 0 1.5rem;
  }

  .guide-hero h1 {
    max-width: none;
    font-size: 3.6rem;
  }

  .guide-layout {
    display: block;
    padding: 1.5rem 0;
  }

  .guide-content > section,
  .guide-content > aside {
    break-inside: avoid;
  }
}
