.guide-nav, .guide-nav nav, .guide-footer, .trail, .other-guides {
  display: flex; align-items: center; flex-wrap: wrap;
}
.guide-nav { justify-content: space-between; min-height: 74px; gap: .25rem 1.5rem; padding-block: .45rem; border-bottom: 1px solid var(--rule); }
.guide-nav nav, .guide-footer, .other-guides { gap: .25rem clamp(1rem,3vw,2.4rem); }
.guide-nav a, .guide-footer a, .other-guides a, .trail a { display: inline-flex; align-items: center; min-height: 44px; }
.guide-nav nav a, .guide-footer a:not(.wordmark), .other-guides a { font-size: .92rem; }
.compare-page a:not(.primary):hover { text-decoration: underline; text-underline-offset: .25em; }
.compare-page :is(h1,h2,h3,p,li,dd,dt,a,small,strong,span,label) { overflow-wrap: anywhere; }
.compare-page :focus-visible { outline: 3px solid var(--action); outline-offset: 4px; }
.trail { gap: .55rem; margin: 1.2rem 0 .65rem; font-size: .85rem; color: #c5c2b7; }
.trail a { text-decoration: underline; text-underline-offset: .25rem; }
.trail span[aria-hidden] { color: #8c8c80; }
.guide-hero, .index-heading, .guide-proof, .decision-notes, .index-plan {
  display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr);
  gap: clamp(2rem,7vw,7rem); align-items: center;
}
.index-intro { padding-bottom: clamp(2.1rem,4.4vw,4rem); }
.index-guides { margin-top: clamp(1.4rem,3vw,2.8rem); }
.index-guides p { font-size: .85rem; color: var(--muted); }
.index-guides div { display: flex; flex-wrap: wrap; column-gap: 1.4rem; }
.index-guides a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; font-size: 1rem; text-decoration: underline; text-decoration-color: #797b6d; text-underline-offset: .25em; }
.index-heading { align-items: end; padding-block: .5rem 0; }
.index-heading h1, .guide-title h1 { font-weight: 545; letter-spacing: -.082em; line-height: .97; }
.index-heading h1 { font-size: clamp(3.4rem,6.45vw,6rem); }
.index-heading p, .guide-title > p, .index-plan p, .proof-copy > p:not(.context-line), .decision-notes p { color: var(--muted); max-width: 45ch; font-size: clamp(1rem,1.25vw,1.18rem); line-height: 1.55; }
.guide-hero { padding: .4rem 0 clamp(2.8rem,5vw,5rem); }
.guide-title h1 { font-size: clamp(3.6rem,6.8vw,7rem); }
.guide-title h1 em { color: #b8b8ab; font-size: .45em; font-weight: 450; font-style: normal; letter-spacing: -.065em; }
.guide-title > p { margin: 1.35rem 0 1.55rem; }
.guide-title .primary, .index-plan .primary { min-height: 48px; max-width: 100%; }
.evidence-link, .proof-open { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: .95rem; }
.evidence-link { text-decoration: underline; text-underline-offset: .25em; }
.guide-title .evidence-link { margin-inline-start: .85rem; }
.cost-tool { padding: clamp(1.15rem,2.4vw,2.45rem); background: #24251f; border: 1px solid #494a3f; border-top: 3px solid var(--action); border-radius: .3rem; min-width: 0; }
.cost-tool h2 { font-size: clamp(1.55rem,2.15vw,2.25rem); line-height: 1.13; letter-spacing: -.055em; font-weight: 575; }
.cost-example, .cost-field { margin: 1.12rem 0; }
.cost-field label { display: block; font-size: .92rem; color: #e3dfd3; margin-bottom: .35rem; }
.cost-field input { width: 100%; min-height: 46px; border: 1px solid #77796a; background: #161813; color: #faf7ef; padding: .65rem .8rem; border-radius: .25rem; font-weight: 560; }
.cost-field input[aria-invalid=true] { border-color: #ffb59b; }
.cost-error { margin-block: .6rem; color: #ffcab7; }
.cost-results { margin: .65rem 0 .75rem; }
.cost-results > div { display: grid; align-items: baseline; grid-template-columns: minmax(0,1fr) auto; gap: .2rem .75rem; padding: .55rem 0; border-bottom: 1px solid #44463b; }
.cost-results dt { font-size: .94rem; }
.cost-results dd { margin: 0; font-size: 1.25rem; letter-spacing: -.04em; font-weight: 560; font-variant-numeric: tabular-nums; }
.cost-results > div:first-child dd { color: #ffad87; }
.cost-note, .checked-date { font-size: .83rem; line-height: 1.55; }
.cost-note { color: #c8c6b8; }
.cost-note a, .reference { text-decoration: underline; text-underline-offset: .22em; }
.guide-sheet { background: #f2eee4; color: #21231c; }
.guide-sheet :focus-visible { outline-color: #98431f; }
.sheet-inner, .index-plan, .guide-proof, .decision-notes { padding-block: clamp(2.8rem,5.4vw,5.75rem); }
.sheet-inner > h2, .proof-copy h2, .index-plan h2 { font-size: clamp(2.15rem,3.8vw,4.2rem); line-height: 1.05; letter-spacing: -.067em; font-weight: 545; }
.sheet-inner > h2 { margin-bottom: 1.55rem; }
.workflow-row, .workflow-head { display: grid; gap: .65rem clamp(1.25rem,3.2vw,3.75rem); border-top: 1px solid #bcbbae; }
.workflow-head, .workflow-row { grid-template-columns: minmax(0,.67fr) repeat(2,minmax(0,1fr)); }
.workflow-head { border: 0; color: #55564d; font-size: .84rem; padding: .5rem 0; font-weight: 580; }
.workflow-row { padding: 1.25rem 0; }
.workflow-row h3 { font-size: 1.18rem; line-height: 1.25; font-weight: 620; letter-spacing: -.043em; }
.workflow-row p { max-width: 43ch; }
.reference { display: inline-block; font-size: .85rem; color: #634631; padding-block: .4rem; }
.mobile-col { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.checked-date { margin-top: 1rem; color: #58594e; }
.guide-proof { align-items: center; }
.proof-copy .context-line { color: #e5aa88; font-size: .88rem; font-weight: 565; margin-bottom: .8rem; }
.proof-copy h2 { max-width: 18ch; }
.proof-copy > p:not(.context-line), .index-plan p, .decision-notes p { margin-top: .85rem; }
.proof-open { color: #ffb291; font-weight: 560; margin-top: .65rem; }
.proof-image { display: block; height: clamp(230px,26vw,370px); padding: 1.5rem 1rem 0; background: #bbaa94; overflow: hidden; border-radius: .4rem; }
.proof-image img { width: min(100%,272px); height: auto; display: block; margin-inline: auto; border: 4px solid #292b24; border-radius: .95rem; box-shadow: 0 10px 30px #30271940; }
.decision-notes { align-items: start; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--rule); }
.decision-notes h2,.index-plan h2 { font-size: clamp(1.85rem,3vw,3.15rem); line-height: 1.09; }
.decision-notes .evidence-link { margin-inline-end: .5rem; }
.decision-notes .proof-open { margin-inline-end: 1rem; }
.compare-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.25rem; }
.other-guides { padding-block: 1.35rem; border-top: 1px solid var(--rule); }
.other-guides > span { color: var(--muted); font-size: .85rem; }
.guide-footer { padding-block: 1.1rem; }
@media (max-width: 760px) {
  .guide-hero,.index-heading,.guide-proof,.decision-notes,.index-plan { grid-template-columns: minmax(0,1fr); gap: 1.45rem; }
  .guide-title .evidence-link { margin-inline: .25rem; }
  .guide-nav { min-height: 60px; }
  .trail { margin-top: .5rem; }
  .workflow-head { display: none; }
  .workflow-row { grid-template-columns: minmax(0,1fr); gap: .75rem; }
  .mobile-col { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; display: block; color: #5a5145; font-size: .84rem; font-weight: 650; margin-bottom: .15rem; }
  .guide-hero .primary { margin-right: .6rem; }
  .cost-results > div { grid-template-columns: minmax(0,1fr) fit-content(47%); }
}
@media (max-width: 430px) {
  .guide-nav { gap: 0 .45rem; }
  .guide-nav nav { gap: .75rem; }
  .guide-title h1, .index-heading h1 { font-size: clamp(2.8rem,12.5vw,4rem); }
}

.estimate-inputs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:end; gap:.75rem 2rem; max-width:52rem; }
.estimate-inputs label, .rate-fields label { display:block; font-size:.95rem; font-weight:555; line-height:1.35; margin-bottom:.45rem; }
.estimate-inputs input, .rate-fields input { width:100%; min-height:46px; border:1px solid #888a7e; border-radius:.25rem; background:#fffcf5; color:#20231c; padding:.55rem .8rem; font:inherit; font-variant-numeric:tabular-nums; }
.estimate-inputs input[aria-invalid=true], .rate-fields input[aria-invalid=true] { border-color:#a14024; }
.statement-check { padding-block:3rem; }
.statement-check h2 { margin:0 0 1rem; }
.statement-check p { max-width:62ch; color:var(--muted); }
.statement-check .estimate-terms { color:var(--muted); }
.statement-check .estimate-inputs { margin-top:1.5rem; }
.statement-check select { width:100%; min-height:46px; padding:.55rem .8rem; border:1px solid #888a7e; border-radius:.25rem; background:#fffcf5; color:#20231c; font:inherit; }
.statement-check output { display:block; max-width:58ch; font-weight:600; }
.estimate-error { margin:.35rem 0 0; color:#89391e; font-size:.88rem; }
.estimate-example,.estimate-terms,.estimate-row p { color:#505247; }
.estimate-terms { margin:.8rem 0 1.25rem; font-size:.86rem; }
.estimate-announcement { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.estimate-row { display:grid; grid-template-columns: minmax(0,.94fr) minmax(0,1fr); gap:.7rem 3rem; align-items:start; border-top:1px solid #bcbbae; padding:clamp(1.1rem,2.05vw,1.8rem) 0; }
.estimate-row:last-child { border-bottom:1px solid #bcbbae; }
.estimate-row h3 { font-size:clamp(1.2rem,1.95vw,2rem); font-weight:570; line-height:1.2; letter-spacing:-.05em; }
.estimate-guide { display:inline-block; min-height:44px; padding:.4rem 0; text-decoration:underline; text-decoration-color:#9e9e90; text-underline-offset:.19em; text-decoration-thickness:1px; }
.estimate-guide span { display:inline-block; text-decoration:none; font-size:.85em; }
.estimate-row p { margin:.2rem 0; font-size:.94rem; }
.estimate-row dl { margin:0; }
.estimate-row dl>div { display:grid; grid-template-columns:minmax(0,1fr) fit-content(44%); gap:.35rem .65rem; align-items:baseline; padding:.3rem 0; }
.estimate-row dt { color:#44473c; font-size:.94rem; line-height:1.4; }
.estimate-row dd { margin:0; text-align:right; font-weight:605; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.estimate-core { background:#e8e6db; padding-inline:clamp(.6rem,1.2vw,1rem); }
@media (max-width:620px) {
  .estimate-inputs,.estimate-row { grid-template-columns:minmax(0,1fr); }
  .estimate-row { gap:.4rem; }
  .estimate-core { gap:.15rem; }
}

.statement-check .statement-error:not(:empty) { display:block; color:#fda17a; margin:.35rem 0; font-size:.88rem; }
.statement-check .rate-estimate { margin-top:1rem; padding-block:.25rem; max-width:52rem; border-block:1px solid var(--rule); }
.statement-check .rate-estimate[open] { padding-bottom:1rem; }
.rate-estimate summary { padding:.75rem 0; min-height:44px; font-weight:580; cursor:pointer; }
.statement-check .rate-help { font-size:.95rem; }
.rate-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem 2rem; margin:1rem 0; }
.rate-estimate button { min-height:44px; padding:.55rem .8rem; background:transparent; color:inherit; border:1px solid currentColor; border-radius:.3rem; font:inherit; cursor:pointer; }
.rate-estimate output:not(:empty) { display:block; padding:0; margin:0 0 .7rem; }
@media (max-width:490px) { .rate-fields { grid-template-columns:minmax(0,1fr); } }

.rate-estimate .discard-estimate { border:0; text-decoration:underline; text-underline-offset:.18em; }

.compare-estimate-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .45rem;
  gap: .65rem;
  color: #ffad87;
  font-weight: 575;
  text-decoration: underline;
  text-underline-offset: .25em;
}
#directory-title { scroll-margin-top: 1rem; }
.index-heading h1 { max-width: 13ch; }
.index-guides > div { column-gap: .5rem; row-gap: .45rem; margin-top: .5rem; }
.index-guides a {
  min-height: 44px;
  padding-inline: .8rem;
  border: 1px solid #57594e;
  border-radius: .45rem;
  text-decoration: none;
}
@media (max-width: 760px) {
  .index-intro { padding-bottom: 1.9rem; }
  .index-heading { gap: .8rem; }
  .index-heading h1, .guide-title h1 { font-size: clamp(2.55rem, 9vw, 4.15rem); }
  .guide-title > p { margin-block: .75rem 1rem; }
  .index-guides { margin-top: .8rem; }
}
