:root{--brand:#a31832;--brand-dark:#741023;--brand-soft:#f7e8eb;--ink:#201b1d;--muted:#6f6669;--line:#ded8d3;--paper:#fffdfb;--canvas:#f5f1ed;--soft:#eee8e3;--green:#1f6b4b;--green-soft:#e5f3eb;--shadow:0 14px 40px rgba(49,28,34,.08);--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:radial-gradient(circle at 85% 0,rgba(163,24,50,.08),transparent 28rem),var(--canvas);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.5}
button,input,select{font:inherit}a{color:inherit}button,summary,a,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,summary:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(163,24,50,.28);outline-offset:3px}
.site-header{max-width:1220px;min-height:74px;margin:0 auto;padding:15px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:12px 4px 12px 4px;color:#fff;background:var(--brand);font-weight:800;letter-spacing:-.04em}.brand-name{font-size:19px;font-weight:750;letter-spacing:-.03em}.back-link{color:var(--brand);font-size:14px;font-weight:700;text-underline-offset:4px}
.page-shell{width:min(1180px,calc(100% - 32px));margin:0 auto 72px}.hero{min-height:260px;padding:clamp(30px,6vw,70px);border-radius:32px;color:#fff;background:linear-gradient(115deg,rgba(67,5,19,.96),rgba(163,24,50,.93)),var(--brand);box-shadow:var(--shadow);display:flex;align-items:flex-end;justify-content:space-between;gap:30px;overflow:hidden;position:relative}.hero:after{content:"";width:330px;aspect-ratio:1;position:absolute;right:-95px;top:-120px;border:58px solid rgba(255,255,255,.08);border-radius:50%}.hero-copy{max-width:750px;position:relative;z-index:1}.eyebrow{margin:0 0 12px;text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:800;opacity:.75}h1{margin:0;max-width:720px;font-size:clamp(34px,5.4vw,66px);line-height:.98;letter-spacing:-.055em}.lead{max-width:700px;margin:24px 0 0;font-size:clamp(16px,2vw,20px);color:rgba(255,255,255,.82)}.hero-date{position:relative;z-index:1;flex:none;padding:11px 14px;border:1px solid rgba(255,255,255,.24);border-radius:999px;color:rgba(255,255,255,.78);font-size:13px;backdrop-filter:blur(8px)}.hero-date strong{color:#fff}
.stats{margin:18px 0 0;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.stats article{min-height:108px;padding:20px;border:1px solid rgba(116,16,35,.08);border-radius:var(--radius);background:var(--paper);box-shadow:0 5px 18px rgba(49,28,34,.04)}.stats strong{display:block;color:var(--brand);font-size:30px;line-height:1;letter-spacing:-.04em}.stats span{display:block;margin-top:9px;color:var(--muted);font-size:13px}
.tree-stem{width:1px;height:28px;margin:0 auto;background:var(--line)}.branch-nav{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding-top:14px;border-top:1px solid var(--line)}.branch-button{min-height:58px;padding:10px 14px;border:1px solid var(--line);border-radius:13px;color:var(--ink);background:rgba(255,253,251,.78);cursor:pointer;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;font-weight:720}.branch-button:hover{border-color:rgba(163,24,50,.35);background:var(--paper)}.branch-button[aria-pressed=true]{border-color:var(--brand);color:var(--brand-dark);background:var(--brand-soft)}.branch-count{min-width:28px;padding:3px 7px;border-radius:999px;color:var(--muted);background:var(--soft);font-size:11px;text-align:center}.branch-button[aria-pressed=true] .branch-count{color:#fff;background:var(--brand)}
.toolbar{margin-top:24px;padding:14px;display:grid;grid-template-columns:minmax(260px,1fr) minmax(180px,240px) auto;gap:10px;align-items:end;border-radius:18px;background:rgba(255,253,251,.82);box-shadow:0 5px 18px rgba(49,28,34,.04)}.toolbar label{display:grid;gap:6px;min-width:0}.toolbar label span{padding-left:3px;color:var(--muted);font-size:12px;font-weight:700}.toolbar input,.toolbar select{width:100%;min-height:46px;border:1px solid var(--line);border-radius:11px;color:var(--ink);background:var(--paper)}.toolbar input{padding:0 14px}.toolbar select{padding:0 38px 0 12px}.outline-button{min-height:46px;padding:0 16px;border:1px solid var(--brand);border-radius:11px;color:var(--brand);background:transparent;cursor:pointer;font-weight:750}.outline-button:hover,.outline-button[aria-pressed=true]{color:#fff;background:var(--brand)}
.result-line{min-height:46px;padding:20px 4px 8px;color:var(--muted);font-size:13px}.map-section{margin-top:12px;padding:clamp(18px,3vw,30px);border:1px solid var(--line);border-radius:24px;background:rgba(255,253,251,.86);box-shadow:var(--shadow)}.section-heading{margin:0 0 22px;display:flex;align-items:end;justify-content:space-between;gap:16px}.section-heading h2{margin:0;font-size:clamp(23px,3vw,34px);letter-spacing:-.04em}.section-heading span{color:var(--muted);font-size:13px}.category+.category{margin-top:26px;padding-top:26px;border-top:1px solid var(--line)}.category-heading{margin:0 0 10px;display:flex;align-items:baseline;gap:9px;font-size:16px}.category-heading span{color:var(--muted);font-size:12px;font-weight:500}.page-list{display:grid;gap:7px}
.page-node{border:1px solid transparent;border-radius:13px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.page-node[open]{border-color:var(--line);box-shadow:0 7px 24px rgba(49,28,34,.05)}.page-summary{min-height:58px;padding:11px 12px;list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px}.page-summary::-webkit-details-marker{display:none}.page-title-wrap{min-width:0;display:flex;align-items:center;gap:10px}.chevron{width:25px;height:25px;flex:none;display:grid;place-items:center;border-radius:50%;color:var(--brand);background:var(--brand-soft);font-size:18px;transition:transform .15s ease}.page-node[open] .chevron{transform:rotate(90deg)}.page-title{min-width:0;font-size:14px;font-weight:740}.page-url{margin-top:2px;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;overflow-wrap:anywhere}.page-badges{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.badge{padding:5px 8px;border-radius:999px;color:var(--muted);background:var(--soft);font-size:11px;font-weight:750;white-space:nowrap}.badge-existing{color:var(--green);background:var(--green-soft)}.badge-new{color:var(--brand-dark);background:var(--brand-soft)}
.page-body{padding:0 16px 16px 47px}.page-meta{margin:0 0 12px;display:flex;flex-wrap:wrap;gap:7px 18px;color:var(--muted);font-size:12px}.page-link{color:var(--brand);font-weight:720;text-underline-offset:3px}.query-list{margin:0;padding:0;list-style:none;display:grid;gap:5px}.query-item{min-height:36px;padding:8px 10px;border-radius:9px;background:var(--canvas);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:baseline;font-size:13px}.query-frequency{color:var(--brand);font-weight:800;font-variant-numeric:tabular-nums}.blog-target{color:var(--muted);font-size:12px}.blog-target a{color:var(--brand);font-weight:700}.empty-state{margin:18px 0 0;padding:36px 20px;border-radius:18px;color:var(--muted);background:var(--paper);text-align:center}.site-footer{padding:28px 24px 40px;border-top:1px solid var(--line);color:var(--muted);background:var(--paper);text-align:center;font-size:13px}.site-footer p{margin:0 0 5px}.site-footer a{color:var(--brand);font-weight:750}mark{padding:0 2px;color:inherit;background:#ffe1a8;border-radius:3px}
@media(max-width:820px){.hero{min-height:0;align-items:flex-start;flex-direction:column}.stats{grid-template-columns:repeat(2,1fr)}.branch-nav{grid-template-columns:repeat(2,1fr)}.toolbar{grid-template-columns:1fr 1fr}.search-field{grid-column:1/-1}}
@media(max-width:560px){.site-header{min-height:64px;padding-inline:16px}.brand-mark{width:36px;height:36px}.back-link{font-size:12px}.page-shell{width:min(100% - 20px,1180px)}.hero{padding:28px 22px;border-radius:22px}h1{font-size:38px}.stats article{min-height:92px;padding:16px}.branch-nav{grid-template-columns:1fr}.toolbar{grid-template-columns:1fr}.search-field{grid-column:auto}.outline-button{width:100%}.map-section{padding:16px 10px;border-radius:18px}.section-heading{padding-inline:6px;align-items:flex-start;flex-direction:column}.page-summary{grid-template-columns:1fr;gap:7px}.page-badges{padding-left:35px;justify-content:flex-start}.page-body{padding-left:47px;padding-right:11px}.query-item{grid-template-columns:1fr auto}}

