/* House guide pages. Colors, type, and radii come from site.css tokens. */
body.guide-page{padding-bottom:0}

.guide-hero{padding:3.5rem 0 1.25rem}
.guide-hero h1{font-size:clamp(2.4rem,5.5vw,4.4rem);margin-bottom:.35em}
.guide-hero .lede{max-width:40rem}
.guide-hero__title{display:flex;align-items:flex-start;gap:.8rem}
.guide-hero__title .guide-section__icon{margin-top:.35rem}
.guide-hero__title > span:last-child{min-width:0}

.guide-jump{margin:1.5rem 0 0;max-width:44rem}
.guide-jump__label{font-family:var(--sans);font-size:.78rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--tide);margin:0 0 .6rem}
.guide-jump ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.6rem}
.guide-jump a{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;padding:.45rem 1rem .45rem .8rem;border:2px solid var(--ink);border-radius:999px;background:transparent;color:var(--ink);text-decoration:none;font-weight:700;font-size:.95rem;line-height:1.2}
.guide-jump a:hover{background:transparent;color:var(--ink)}
.guide-jump svg{width:20px;height:20px;flex:none}

.guide-icon{width:24px;height:24px;flex:none;color:var(--ink)}
.guide-icon .a,.guide-jump .a{stroke:var(--tide)}

.guide-body{padding-bottom:3rem}
.guide-col{max-width:44rem}
.guide-col--hub{max-width:62rem}
section.guide-section{padding:2.25rem 0 .75rem;margin-top:1.5rem;border-top:1px solid var(--line);scroll-margin-top:96px}
@media(min-width:900px){section.guide-section{scroll-margin-top:112px}}
.guide-section__title{display:flex;align-items:center;gap:.8rem;font-size:clamp(1.6rem,3vw,2.1rem);line-height:1.15;margin:0 0 .75rem}
.guide-section__icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:12px;background:var(--glass-2);border:1px solid var(--line)}
.guide-col h2{font-size:clamp(1.45rem,2.4vw,1.8rem);line-height:1.2;margin:1.75rem 0 .5rem;scroll-margin-top:96px}
.guide-hero + .guide-body h2:first-child,.guide-col > h2:first-child{margin-top:0}
.guide-section h2{font-size:clamp(1.45rem,2.4vw,1.8rem);margin:0 0 .75rem}
.guide-col h3{font-size:1.25rem;line-height:1.25;margin:1.75rem 0 .5rem}
.guide-col p{margin:0 0 1em}
.guide-body strong{font-weight:700}
.guide-top{display:inline-flex;align-items:center;min-height:44px;font-size:.95rem;color:var(--tide);font-weight:600}

a.guide-link{color:var(--ink);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;font-weight:600;display:inline}
a.guide-link{position:relative}
a.guide-link::after{content:"";position:absolute;inset:-11px -4px}
p>a.guide-link[href="/userguides/"]{display:inline-block;padding:11px 0}
a.guide-link:hover{color:var(--tide)}

.guide-steps{margin:.5rem 0 1.25rem;padding-left:1.25rem}
@media(min-width:600px){.guide-steps{padding-left:1.5rem}}
.guide-steps>li{margin:0 0 .85rem;padding-left:.25rem}
.guide-steps>li::marker{color:var(--tide);font-weight:700}
.guide-steps ul,.guide-steps ol{margin:.5rem 0 0;padding-left:1.1rem}
.guide-steps ul{list-style:disc}
.guide-steps li li{margin:0 0 .5rem}
ul.guide-list{margin:.25rem 0 1.25rem;padding-left:1.25rem;list-style:disc}
ul.guide-list li{margin:0 0 .4rem}

.guide-callout{background:var(--glass-2);border-left:4px solid var(--ink);border-radius:0 var(--r-s) var(--r-s) 0;padding:1rem 1.15rem .35rem;margin:1.25rem 0}
.guide-callout__label{font-family:var(--serif);font-weight:500;font-size:1.05rem;margin:0 0 .4rem;color:var(--ink)}
.guide-callout p:last-child,.guide-callout .guide-steps:last-child{margin-bottom:.9rem}
.guide-callout--note{padding-bottom:.1rem}

.guide-table{border-collapse:collapse;width:100%;max-width:22rem;margin:.5rem 0 1.25rem;background:var(--white);border-radius:var(--r-s);overflow:hidden;font-variant-numeric:tabular-nums}
.guide-table th,.guide-table td{text-align:left;padding:.55rem 1rem;border-bottom:1px solid var(--line)}
.guide-table th{background:var(--glass-2);font-size:.95rem;font-weight:700}
.guide-table tr:last-child td{border-bottom:0}

.guide-fig{margin:1rem 0 1.25rem}
.guide-fig img{width:auto;max-width:100%;height:auto;border-radius:var(--r-s)}
.guide-fig--wide img{width:100%}
.guide-fig--small{max-width:20rem}
.guide-fig figcaption{font-size:.95rem;color:var(--stone);margin-top:.5rem;line-height:1.4}
.guide-steps .guide-fig{margin:.75rem 0 .5rem}

.guide-diagram{margin:.75rem 0 .5rem}
.guide-diagram__steps{display:grid;gap:.75rem;margin:0;padding:0;list-style:none}
.guide-diagram__step{display:grid;grid-template-columns:1fr;gap:.55rem;align-items:start;min-width:0;background:var(--white);border:1px solid var(--line);border-radius:var(--r-s);padding:.7rem .8rem .8rem}
.guide-diagram__art{width:7.5rem;max-width:100%;min-width:0}
.guide-diagram__step svg{width:100%;height:auto;display:block}
.guide-diagram__text{min-width:0;max-width:100%;font-size:.95rem;line-height:1.4;margin:0;overflow-wrap:break-word}
.guide-diagram__text span:not(.guide-diagram__n),.guide-diagram__text strong{display:block}
.guide-diagram__text strong{font-weight:700}
.guide-diagram__n{display:inline-grid;place-items:center;width:1.6rem;height:1.6rem;border-radius:50%;background:var(--tide);color:var(--white);font-weight:700;font-size:.9rem;margin-bottom:.35rem}
.guide-diagram__note{font-size:.9rem;color:var(--stone);margin:.75rem 0 0;line-height:1.4}
.guide-diagram figcaption{margin-top:.6rem}
@media(min-width:640px){
  .guide-diagram__steps{grid-template-columns:repeat(3,1fr)}
  .guide-diagram__art{width:100%}
}

.guide-fig--ill{width:min(15rem,100%)}
.guide-fig--controls{width:min(22rem,100%)}
.guide-ill{display:block;width:100%;height:auto;box-sizing:border-box;background:var(--white);border:1px solid var(--line);border-radius:var(--r-s);padding:.5rem}
.guide-legend{list-style:none;counter-reset:lg;margin:.6rem 0 0;padding:0;display:grid;gap:.35rem}
.guide-legend li{counter-increment:lg;display:flex;align-items:center;gap:.6rem;font-size:1rem;line-height:1.3}
.guide-legend li::before{content:counter(lg);flex:none;display:grid;place-items:center;width:1.6rem;height:1.6rem;border-radius:50%;background:var(--tide);color:var(--white);font-weight:700;font-size:.9rem}

.guide-closer{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid var(--line);font-size:1.0625rem}

.guide-page :focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.guide-page .foot :focus-visible,.guide-page .drawer :focus-visible{outline-color:var(--sun)}
