.guide-library, .guide-reading { padding-block: clamp(2rem, 5vw, 4.75rem); }
.guide-library { --edge: #d5dbda; }
.guide-library h1, .guide-reading h1 { letter-spacing: -.05em; line-height: 1.06; }
.guide-library h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
.guide-library header > p, .guide-lead { margin-top: 1rem; font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: #495662; line-height: 1.55; }
.guide-shelf { margin-top: clamp(2.2rem, 4.5vw, 4rem); }
.guide-shelf > h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.045em; }
.guide-cards { margin-top: 1.15rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.7rem); }
.guide-feature { display: flex; flex-direction: column; position: relative; border: 1px solid var(--edge); border-radius: .7rem; overflow: hidden; background: white; }
.guide-feature:focus-within, .guide-feature:hover { border-color: #69737b; }
.guide-feature a::after { content: ""; position: absolute; inset: 0; }
.guide-feature-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.15rem, 2.3vw, 1.8rem); }
.guide-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; color: #5b372d; font-size: .79rem; font-weight: 700; }
.guide-kicker svg { flex: none; }
.guide-feature h3, .guide-free-list h3 { font-size: clamp(1.25rem, 2.4vw, 1.68rem); letter-spacing: -.035em; line-height: 1.24; }
.guide-feature h3 { margin-top: .68rem; }
.guide-feature p, .guide-free-list p { color: #52616a; font-size: 1rem; line-height: 1.6; margin-top: .55rem; }
.guide-entry-action { margin-top: auto; padding-top: 1.2rem; color: var(--accent); font-size: .89rem; font-weight: 700; }
.guide-free-list { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid var(--edge); }
.guide-free-list li { position: relative; padding: 1.25rem 3rem 1.25rem 0; border-bottom: 1px solid var(--edge); }
.guide-free-list a::after { content: ""; position: absolute; inset: 0; }
.guide-free-list a::before { content: "→"; position: absolute; right: .25rem; top: 1.25rem; color: var(--accent); }
.guide-free-list a:hover, .guide-feature a:hover { text-decoration: underline; text-underline-offset: .14em; }
.guide-art { display: flex; align-items: center; justify-content: center; min-height: 9.25rem; padding: 1.35rem; border-bottom: 1px solid var(--edge); color: #3b302a;
  background-color: #f6efe7; background-image: radial-gradient(#d8c7b7 .8px, transparent .8px); background-size: .6rem .6rem; }
.guide-art-log { background-color: #e9f1ef; background-image: radial-gradient(#c3d4cf .8px, transparent .8px); color: #24463f; }
.guide-specimen { width: min(100%, 21.5rem); padding: .8rem 1rem; border: 1px solid #d2c2b3; border-radius: .3rem; background: #fffcf8; box-shadow: 3px 3px 0 #e0cfc1; font: .76rem/1.6 var(--mono); }
.guide-specimen b { display: block; margin-bottom: .35rem; font: 700 .66rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.guide-specimen div { display: flex; gap: 1rem; justify-content: space-between; border-top: 1px solid #e4d8ca; padding-top: .14rem; }
.guide-art-log .guide-specimen { border-color: #b2cbc3; background: #f8fcfa; box-shadow: 3px 3px 0 #c4d7d1; }
.guide-art-log .guide-specimen div { border-color: #d3e2dc; }
/* Guide content follows the shared site-main width and responsive gutters. */
@media (min-width: 60rem) and (min-height: 28rem) {
  /* Leave room for the fixed contents tab on narrower desktop screens. */
  .site-main:has(> .guide-reading) { width: min(1160px, calc(100% - 128px)); }
}
.guide-reading, .guide-body { min-width: 0; }
.guide-reading h1 { margin-block: .62rem 0; font-size: clamp(2.3rem, 5vw, 4.4rem); text-wrap: balance; }
.guide-reading-header { border-bottom: 1px solid var(--line); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 1.6rem; }
.guide-reading .guide-back { display: inline-block; margin-bottom: 1.5rem; color: var(--accent); font-size: .88rem; font-weight: 650; }
.guide-reading .guide-back:hover { text-decoration: underline; }
.guide-body.prose { width: 100%; max-width: none; font-size: clamp(1.05rem, 1.3vw, 1.24rem); overflow-wrap: break-word; }
.guide-section { margin: 0 0 clamp(2rem, 3vw, 3rem); }
.guide-body .guide-section h2 { margin: 0 0 .75rem; letter-spacing: -.033em; }
.guide-section p + p, .guide-section ul, .guide-section ol { margin-top: .85rem; }
.guide-section .guide-quote { margin: 1rem 0; padding: 1rem 1.3rem; background: #faf6f1; color: #49392f; font-style: normal; }
.guide-section .guide-results { display: table; width: 100%; margin: 1.1rem 0; font-size: .95rem; font-variant-numeric: tabular-nums; }
.guide-results caption { padding: .7rem 0; text-align: left; font-weight: 650; }
.guide-results :is(th,td) { padding: .6rem clamp(.4rem, 1vw, .9rem); overflow-wrap: anywhere; }
.guide-body :is(h2,h3), .guide-gate { scroll-margin-top: 1.75rem; }
.guide-body .highlight, .guide-body pre, .guide-body table { max-width: 100%; overflow-x: auto; }
.guide-excerpt-fade { max-height: 20rem; overflow: hidden; mask-image: linear-gradient(to bottom, #000 18%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 18%, transparent 100%); }
.guide-excerpt-fade .guide-section { margin-bottom: 0; }
.guide-gate { position: relative; width: min(100%, 44rem); margin: .5rem auto 3rem; padding: clamp(1.6rem, 4vw, 3.2rem); border: 1px solid #dae4f2; border-radius: 1.1rem; background: #f6f9ff; text-align: center; }
.guide-gate h2 { max-width: 30rem; margin: .8rem auto 1rem; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.17; letter-spacing: -.04em; text-wrap: balance; }
.guide-gate p { max-width: 31rem; margin-inline: auto; font-size: 1rem; line-height: 1.65; color: #536174; }
.guide-gate .guide-gate-label { margin-top: 0; color: #2458b4; font-size: .74rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.guide-actions { display: flex; justify-content: center; align-items: center; margin-top: 1.5rem; }
.guide-cta { display: inline-flex; justify-content: center; align-items: center; min-width: 9.5rem; min-height: 46px; padding: .7rem 1.7rem; border-radius: 999px; background: #104bc7; color: white; font-size: .95rem; font-weight: 650; text-decoration: none; }
.guide-cta:hover { background: #123c91; color: white; }
.guide-gate .guide-member-signin { margin-top: 1.25rem; margin-bottom: 0; font-size: .9rem; }
.guide-member-signin a { color: #174fae; font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.guide-reading-footer { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .9rem; }
.guide-reading-footer a { text-decoration: underline; text-underline-offset: .2em; padding-block: .6rem; }
.guide-library a:focus-visible, .guide-reading a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 46rem) { .guide-cards { grid-template-columns: 1fr; } .guide-art { min-height: 8.2rem; } }
@media print { .guide-reading-footer, .guide-actions, .guide-preview-note { display: none; } }
