:root {
  --bg: #f7f8f3;
  --bg-2: #eef1e8;
  --panel: #ffffff;
  --panel-2: #f3f7eb;
  --line: #e1e6da;
  --line-2: #c8d1bc;
  --text: #121713;
  --muted: #4f5b52;
  --dim: #667168;
  --lime: #a33a2a;
  --lime-bright: #ff6b57;
  --lime-soft: #ffe7e2;
  --teal: #0b6b63;
  --teal-soft: #e0f4f0;
  --amber: #a15c00;
  --danger: #b42318;
  --rail: 252px;
  --r: 12px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(85, 119, 0, .045) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(85, 119, 0, .035) 1px, transparent 1px) 0 0 / 56px 100%,
    radial-gradient(900px 520px at 78% -12%, rgba(211, 247, 127, .34), transparent 62%),
    radial-gradient(720px 430px at 8% 4%, rgba(11, 107, 99, .07), transparent 65%),
    var(--bg);
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--lime); }
button { font: inherit; color: inherit; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--lime-bright); color: #121713; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--lime-bright); color: #121713; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico.mini { width: 14px; height: 14px; }

/* rail */
.rail {
  position: fixed; inset: 0 auto 0 0; z-index: 40;
  width: var(--rail);
  display: flex; flex-direction: column; gap: 14px;
  padding: 20px 16px 16px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand:hover { color: var(--text); }
.brand-img {
  width: 38px; height: 38px; flex: none;
  object-fit: contain;
  filter: drop-shadow(0 2px 0 rgba(18, 23, 19, .10));
  transform: rotate(-3deg);
  transition: transform .18s ease;
}
.brand:hover .brand-img { transform: rotate(2deg) translateY(-1px); }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; }
.brand-t b { font-size: 20px; letter-spacing: -.035em; }
.brand-t small { font: 10px var(--mono); letter-spacing: .13em; color: var(--dim); margin-top: 3px; }
.rail-search {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 9px 10px;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--panel); color: var(--muted);
  cursor: pointer; text-align: left;
}
.rail-search:hover { border-color: var(--line-2); color: var(--text); }
.rail-search span { flex: 1; font-size: 13px; }
.rail-search kbd, .panel-input kbd {
  font: 9px var(--mono); color: var(--dim);
  border: 1px solid var(--line); border-radius: 4px; padding: 2px 4px;
  white-space: nowrap;
}
.rail-nav { display: flex; flex-direction: column; gap: 1px; overflow-y: auto; min-height: 0; padding-right: 2px; scrollbar-width: thin; }
.rail-label { font: 9px var(--mono); letter-spacing: .16em; color: var(--dim); padding: 12px 8px 5px; }
.rail-nav a {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 8px; border-radius: 6px;
  color: var(--muted); font-size: 13px;
}
.rail-nav a span { font: 9px var(--mono); color: var(--dim); width: 14px; }
.rail-nav a:hover { background: var(--panel); color: var(--text); }
.rail-nav a.on { background: var(--lime-soft); color: var(--lime); }
.rail-nav a.on span { color: var(--lime); }
.rail-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; flex: none; }
.rail-saved {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 13px; color: var(--text);
}
.rail-saved b { margin-left: auto; font: 11px var(--mono); color: #121713; background: var(--lime-bright); border-radius: 20px; padding: 1px 7px; }
.rail-foot p { font: 9px var(--mono); color: var(--dim); letter-spacing: .06em; margin-top: 9px; }

/* shell */
.content { margin-left: var(--rail); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 36px; }
.topbar { display: none; }
.tabbar { display: none; }

/* hero */
.hero { padding: 66px 0 44px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(211, 247, 127, .16), rgba(247, 248, 243, 0) 74%); }
.kicker { display: flex; align-items: center; gap: 8px; font: 10px var(--mono); letter-spacing: .18em; color: var(--lime); text-transform: uppercase; }
.kicker span { width: 22px; height: 1px; background: var(--lime); }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -.055em; font-weight: 800; margin: 20px 0 18px; }
.hero h1 em { font-style: normal; color: #3b1712; background: linear-gradient(transparent 58%, var(--lime-bright) 58%); padding: 0 .06em; }
.lede { max-width: 640px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.searchbar {
  display: flex; gap: 6px; max-width: 660px; margin-top: 28px;
  padding: 6px; border: 1px solid var(--line-2); border-radius: 13px;
  background: var(--panel); box-shadow: 0 18px 50px rgba(18, 23, 19, .10);
}
.searchbar input {
  flex: 1; min-width: 0; border: 0; background: none; color: var(--text);
  font-size: 16px; padding: 11px 12px; outline: none;
}
.searchbar input::placeholder { color: var(--dim); }
.searchbar button {
  border: 0; border-radius: 8px; padding: 0 20px;
  background: var(--lime-bright); color: #121713; font-weight: 800; cursor: pointer;
}
.searchbar button:hover { filter: brightness(1.06); }
.chips { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; font-size: 12px; color: var(--dim); }
.chips span { margin-right: 4px; font: 9px var(--mono); letter-spacing: .12em; }
.chips button {
  border: 1px solid var(--line); border-radius: 20px; background: none;
  color: var(--muted); padding: 4px 10px; cursor: pointer; font-size: 12px;
}
.chips button:hover { border-color: var(--lime); color: var(--lime); }
.stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 34px; }
.stats div { display: flex; flex-direction: column; }
.stats b { font: 500 25px var(--mono); letter-spacing: -.04em; }
.stats span { font: 9px var(--mono); letter-spacing: .1em; color: var(--dim); margin-top: 3px; }

/* sections */
.section { padding: 46px 0; border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.eyebrow { font: 9px var(--mono); letter-spacing: .16em; color: var(--dim); margin-bottom: 7px; }
.section-head h2, .related h2 { font-size: clamp(21px, 2.6vw, 27px); letter-spacing: -.03em; font-weight: 750; }
.section-note { font: 10px var(--mono); color: var(--dim); }
.more { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.more:hover { color: var(--lime); }

.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick a {
  display: flex; align-items: center; gap: 10px;
  padding: 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel);
}
.quick a:hover { border-color: var(--line-2); background: var(--panel-2); }
.quick .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none; }
.quick a > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.quick b { font-size: 13px; }
.quick small { font: 9px var(--mono); color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick .ico { color: var(--dim); }
.quick a:hover .ico { color: var(--lime); }

.dir { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dir a {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px;
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 9px;
  background: rgba(255, 255, 255, .72);
}
.dir a:hover { border-color: var(--line-2); background: var(--panel); }
.dir .num { font: 10px var(--mono); color: var(--lime); }
.dir .dname { font-weight: 700; font-size: 14px; display: flex; flex-direction: column; }
.dir .dname small { font: 9px var(--mono); color: var(--dim); font-weight: 400; letter-spacing: .03em; margin-top: 2px; }
.dir .count { font: 10px var(--mono); color: var(--dim); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.step { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(180deg, #ffffff, #fbfcf7); }
.step b { font: 10px var(--mono); color: var(--lime); letter-spacing: .1em; }
.step h3 { font-size: 18px; margin: 12px 0 6px; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 13px; line-height: 1.7; }

.standard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.standard > div { padding: 22px; border-right: 1px solid var(--line); background: var(--panel); }
.standard > div:last-child { border-right: 0; }
.standard b { font-size: 14px; color: var(--lime); }
.standard p { color: var(--muted); font-size: 12.5px; line-height: 1.7; margin-top: 7px; }

.guides { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.guide-card {
  display: flex; flex-direction: column;
  padding: 20px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel);
}
.guide-card:hover { border-color: var(--line-2); background: var(--panel-2); }
.gnum { font: 10px var(--mono); color: var(--teal); letter-spacing: .1em; }
.guide-card h3 { font-size: 16px; line-height: 1.45; letter-spacing: -.02em; margin: 9px 0 7px; }
.guide-card p { color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.gmeta { display: inline-flex; align-items: center; gap: 5px; font: 9px var(--mono); color: var(--dim); margin-top: auto; padding-top: 14px; }

/* page head */
.crumb { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; padding-top: 26px; font: 10px var(--mono); color: var(--dim); }
.crumb a:hover { color: var(--lime); }
.page-head { padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.page-head .kicker { margin-bottom: 13px; }
.page-head h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -.05em; font-weight: 800; }
.page-head > p:not(.kicker) { color: var(--muted); max-width: 720px; margin-top: 14px; line-height: 1.8; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font: 10px var(--mono); color: var(--dim); }
.meta span { display: inline-flex; align-items: center; gap: 5px; }

/* field cards */
.field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 30px 0 56px; }
.field-card { padding: 20px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); display: flex; flex-direction: column; }
.field-card:hover { border-color: var(--line-2); background: var(--panel-2); }
.field-top { display: flex; align-items: center; justify-content: space-between; color: var(--lime); }
.field-top .num { font: 10px var(--mono); color: var(--dim); }
.field-card h2 { font-size: 18px; margin: 14px 0 7px; letter-spacing: -.02em; }
.field-card p { color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.field-foot { margin-top: auto; padding-top: 14px; font: 9px var(--mono); color: var(--dim); display: flex; align-items: center; gap: 5px; }

/* category */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 34px; padding: 26px 0 56px; }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.filter { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.filter .ico { color: var(--dim); }
.filter input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); padding: 10px 0; outline: none; font-size: 13px; }
.filter input::placeholder { color: var(--dim); }
#filter-count { font: 10px var(--mono); color: var(--dim); white-space: nowrap; }
.sites { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.site {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--panel);
}
.site:hover { border-color: var(--line-2); background: var(--panel-2); }
.site .idx { font: 10px var(--mono); color: var(--dim); }
.site-main { display: flex; flex-direction: column; min-width: 0; }
.sname { font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 5px; width: fit-content; max-width: 100%; }
.sname .ico { color: var(--dim); }
.sname:hover .ico { color: var(--lime); }
.sdom { font: 9.5px var(--mono); color: var(--teal); margin-top: 2px; overflow-wrap: anywhere; }
.acts { display: flex; align-items: center; gap: 5px; }
.save, .visit, .btn {
  border: 1px solid var(--line-2); border-radius: 7px; background: none;
  padding: 6px 10px; font-size: 11px; color: var(--muted); cursor: pointer; white-space: nowrap;
}
.save:hover, .visit:hover, .btn:hover { border-color: var(--lime); color: var(--lime); }
.save[aria-pressed="true"] { background: var(--lime-soft); border-color: var(--lime); color: var(--lime); }
.visit { background: var(--lime-soft); }
.btn { padding: 8px 13px; font-size: 12px; }
.btn-lime { background: var(--lime-bright); border-color: var(--lime-bright); color: #121713; font-weight: 750; }
.btn-lime:hover { background: #c4ec6a; color: #121713; }
.btn-ghost { background: none; }
.empty { font-size: 13px; color: var(--dim); padding: 16px 0; }

.note { margin-top: 24px; padding: 22px; border: 1px solid var(--line); border-left: 2px solid var(--lime); border-radius: 0 10px 10px 0; background: var(--panel); }
.note h2 { font-size: 16px; letter-spacing: -.02em; margin-bottom: 9px; }
.note ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.note li { position: relative; padding-left: 14px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.note li::before { content: ""; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; background: var(--lime); border-radius: 50%; }
.note p { color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.note a { color: var(--lime); font-size: 12px; display: inline-block; margin-top: 10px; }

.aside { display: flex; flex-direction: column; gap: 10px; }
.aside-box { padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, .72); }
.aside-h { font: 9px var(--mono); letter-spacing: .14em; color: var(--dim); margin-bottom: 9px; }
.aside-box a { display: block; font-size: 12px; color: var(--muted); padding: 5px 0; border-bottom: 1px solid var(--line); }
.aside-box a:last-child { border-bottom: 0; }
.aside-box a:hover { color: var(--lime); }
.aside-box p { color: var(--muted); font-size: 11.5px; line-height: 1.65; }
.aside-box p + a { margin-top: 6px; }

.related { margin-top: 34px; }
.related h2 { font-size: 18px; margin-bottom: 11px; }
.related-links { display: flex; flex-wrap: wrap; gap: 6px; }
.related-links a { border: 1px solid var(--line); border-radius: 20px; padding: 6px 12px; font-size: 11.5px; color: var(--muted); }
.related-links a:hover { border-color: var(--lime); color: var(--lime); }

/* guides */
.guide-list { display: flex; flex-direction: column; gap: 7px; padding: 28px 0 0; }
.guide-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.guide-row:hover { border-color: var(--line-2); background: var(--panel-2); }
.guide-row h2 { font-size: 16px; letter-spacing: -.02em; }
.guide-row p { color: var(--muted); font-size: 12px; margin-top: 3px; }
.guide-row .gmeta { margin: 0; padding: 0; }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 238px; gap: 38px; padding: 34px 0 56px; }
.prose { min-width: 0; }
.prose h2 { font-size: 22px; letter-spacing: -.03em; margin: 34px 0 10px; }
.prose p { color: #3d483f; font-size: 14.5px; line-height: 1.9; margin: 10px 0; }
.prose strong { color: var(--text); }
.prose a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.lead-box { padding: 18px 20px; border: 1px solid var(--line); border-left: 2px solid var(--teal); border-radius: 0 9px 9px 0; background: var(--panel); color: #3d483f; font-size: 13.5px; line-height: 1.8; }
.takeaway { margin-top: 32px; padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: var(--lime-soft); }
.takeaway b { font: 10px var(--mono); color: var(--lime); letter-spacing: .12em; }
.takeaway p { color: var(--text); font-size: 13.5px; line-height: 1.75; margin-top: 7px; }
.toc { position: sticky; top: 22px; align-self: start; }
.toc ol { list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 3px; }
.toc li { counter-increment: toc; }
.toc ol a { display: flex; gap: 8px; font-size: 11.5px; color: var(--muted); padding: 4px 0; line-height: 1.5; }
.toc ol a::before { content: counter(toc, decimal-leading-zero); font: 9px var(--mono); color: var(--dim); padding-top: 2px; }
.toc ol a:hover { color: var(--lime); }
.toc .aside-box a::before { content: none; }
.toc .aside-box { margin-top: 16px; }

/* verify / about / policy / faq / contact */
.verify { display: flex; flex-direction: column; gap: 8px; padding: 28px 0 0; }
.verify-step { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.verify-step > b { font: 500 22px var(--mono); color: var(--lime); }
.verify-step h2 { font-size: 17px; letter-spacing: -.02em; }
.verify-step p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-top: 6px; }
.about { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 38px; padding: 30px 0 56px; }
.about .prose h2 { font-size: 18px; margin-top: 26px; }
.about-side { display: flex; flex-direction: column; gap: 10px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.facts div { padding: 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.facts div:nth-child(2n) { border-right: 0; }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts b { font: 500 20px var(--mono); color: var(--lime); }
.facts span { font: 9px var(--mono); color: var(--dim); margin-top: 2px; }
.policy { max-width: 780px; padding-bottom: 56px; }
.policy section { margin-top: 26px; }
.policy ul { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }
.policy li { position: relative; padding-left: 15px; color: #3d483f; font-size: 13.5px; line-height: 1.8; }
.policy li::before { content: ""; position: absolute; left: 0; top: 9px; width: 4px; height: 4px; background: var(--lime); border-radius: 50%; }
.faq { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 0; font-size: 13.5px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 14px var(--mono); color: var(--lime); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); font-size: 12.5px; line-height: 1.8; padding: 0 0 16px; max-width: 780px; }
.faq-page { padding: 18px 0 0; max-width: 820px; }
.faq-page summary { padding: 17px 0; }
.contact { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; padding: 30px 0 56px; }
.contact-card { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); align-self: start; }
.contact-card .mail { display: block; font: 13px var(--mono); color: var(--lime); overflow-wrap: anywhere; margin-bottom: 10px; }
.contact-card p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.contact-list h2 { font-size: 16px; margin: 0 0 8px; }
.contact-list ul { list-style: none; display: flex; flex-direction: column; gap: 5px; margin-bottom: 24px; }
.contact-list li { position: relative; padding-left: 14px; color: var(--muted); font-size: 12.5px; }
.contact-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; background: var(--lime); border-radius: 50%; }
.contact-list p { color: var(--muted); font-size: 12.5px; line-height: 1.75; margin-bottom: 22px; }

/* saved */
.saved-tools { display: flex; align-items: center; gap: 7px; padding: 22px 0 14px; }
.copy-note { font: 10px var(--mono); color: var(--teal); margin-left: 6px; }
.saved-list { display: flex; flex-direction: column; gap: 7px; padding-bottom: 56px; }
.saved-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.saved-card .sname { font-size: 15px; }
.saved-card .sdom { color: var(--teal); }
.saved-acts { display: flex; gap: 5px; }
.empty-state { max-width: 480px; padding: 42px 0 70px; }
.empty-state b { font-size: 18px; }
.empty-state p { color: var(--muted); font-size: 13px; margin: 8px 0 18px; }

/* notfound */
.notfound { padding: 100px 0 120px; max-width: 620px; }
.notfound h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -.04em; margin: 12px 0; }
.notfound p { color: var(--muted); line-height: 1.8; margin-bottom: 18px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 38px 0 30px; margin-top: auto; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.foot-desc { color: var(--muted); font-size: 12px; line-height: 1.75; max-width: 360px; margin-top: 12px; }
.foot-h { font: 9px var(--mono); letter-spacing: .14em; color: var(--dim); margin-bottom: 9px; }
.foot-links { display: flex; flex-direction: column; gap: 5px; }
.foot-links a { color: var(--muted); font-size: 11.5px; overflow-wrap: anywhere; }
.foot-links a:hover { color: var(--lime); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 16px; }
.foot-bottom p { font: 9px var(--mono); color: var(--dim); letter-spacing: .02em; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 10vh 18px 18px; background: rgba(18, 23, 19, .42); backdrop-filter: blur(7px); }
.modal[hidden] { display: none; }
.panel { width: min(680px, 100%); background: #ffffff; border: 1px solid var(--line-2); border-radius: 15px; box-shadow: 0 36px 90px rgba(18, 23, 19, .22); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px 8px 18px; }
.panel-head h2 { font: 10px var(--mono); letter-spacing: .14em; color: var(--dim); }
.icon-btn { border: 1px solid transparent; background: none; color: var(--muted); border-radius: 7px; padding: 6px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { color: var(--text); background: var(--panel); }
.panel-head .icon-btn { font-size: 20px; line-height: 1; }
.panel-input { display: flex; align-items: center; gap: 9px; margin: 0 14px 10px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--panel); }
.panel-input .ico { color: var(--lime); }
.panel-input input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font-size: 16px; padding: 13px 0; outline: none; }
.panel-body { max-height: 46vh; overflow-y: auto; border-top: 1px solid var(--line); }
.sd-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--line); cursor: pointer; }
.sd-row:hover, .sd-row.on { background: var(--panel); }
.sd-kind { font: 8px var(--mono); letter-spacing: .08em; color: var(--dim); border: 1px solid var(--line); border-radius: 4px; padding: 2px 4px; text-align: center; }
.sd-name { font-size: 13.5px; font-weight: 650; display: block; }
.sd-sub { font: 9px var(--mono); color: var(--teal); display: block; margin-top: 1px; overflow-wrap: anywhere; }
.sd-row .ico { color: var(--dim); }
.sd-empty { padding: 30px 18px; color: var(--dim); font-size: 12.5px; }
.panel-foot { padding: 11px 18px; font: 9px var(--mono); color: var(--dim); border-top: 1px solid var(--line); }

/* responsive */
@media (max-width: 1120px) {
  .quick { grid-template-columns: repeat(3, 1fr); }
  .field-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  :root { --rail: 0px; }
  .rail { display: none; }
  .content { margin-left: 0; }
  .topbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); }
  .topbar .brand-t small { display: none; }
  .topbar .brand-t b { font-size: 17px; }
  .topbar .mark { width: 30px; height: 30px; }
  .top-actions { display: flex; gap: 6px; }
  .top-actions .icon-btn { border: 1px solid var(--line); border-radius: 8px; padding: 7px; }
  .saved-btn { position: relative; }
  .saved-btn b { position: absolute; top: -6px; right: -5px; background: var(--lime-bright); color: #121713; font: 8px var(--mono); border-radius: 20px; padding: 1px 5px; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); backdrop-filter: blur(12px); }
  .tabbar a, .tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: none; color: var(--dim); font-size: 9px; padding: 4px 0; position: relative; }
  .tabbar a.on, .tabbar button:hover { color: var(--lime); }
  .tabbar b { position: absolute; top: -1px; right: 24%; background: var(--lime-bright); color: #121713; font: 7px var(--mono); border-radius: 20px; padding: 0 4px; }
  body { padding-bottom: 62px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 44px 0 34px; }
  .layout { grid-template-columns: 1fr; gap: 26px; }
  .aside { display: grid; grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: 1fr; gap: 10px; }
  .toc { position: static; order: -1; }
  .toc ol { display: grid; grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .quick { grid-template-columns: 1fr 1fr; }
  .dir { grid-template-columns: 1fr; }
  .steps, .standard { grid-template-columns: 1fr; }
  .standard > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .standard > div:last-child { border-bottom: 0; }
  .guides { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .stats { gap: 22px; }
  .section { padding: 34px 0; }
  .page-head h1 { font-size: 34px; }
  .site { grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; padding: 12px; }
  .save, .visit { padding: 6px 8px; }
  .about-side { order: -1; }
  .guide-row { grid-template-columns: 34px minmax(0, 1fr); }
  .guide-row .gmeta { grid-column: 2; padding-top: 3px; }
  .contact-card { order: -1; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .foot-bottom { flex-direction: column; gap: 5px; }
  .saved-card { grid-template-columns: 1fr; }
  .saved-acts { justify-content: flex-end; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 15px; }
  .hero h1 { font-size: 39px; }
  .lede { font-size: 14.5px; }
  .searchbar { flex-direction: column; padding: 7px; }
  .searchbar button { padding: 11px; }
  .chips { gap: 5px; }
  .stats b { font-size: 21px; }
  .site { grid-template-columns: 1fr auto; }
  .site .idx { display: none; }
  .site .sdom { font-size: 9px; }
  .save { font-size: 10px; }
  .visit { display: none; }
  .meta { gap: 6px 12px; font-size: 9px; }
  .verify-step { grid-template-columns: 1fr; gap: 8px; }
  .facts b { font-size: 17px; }
  .toc ol { grid-template-columns: 1fr; }
  .aside { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

.modal-open { overflow: hidden; }

/* light theme additions */
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 12px; }
.hero-links a { display: inline-flex; align-items: center; gap: 4px; color: var(--teal); font-weight: 650; }
.hero-links a:hover { color: var(--lime); }
.hub-banner-wrap { padding: 26px 0 0; border-bottom: 0; }
.hub-banner { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: 12px; background: linear-gradient(100deg, var(--lime-soft), #ffffff 68%); }
.hub-banner:hover { border-color: var(--lime); background: linear-gradient(100deg, #e6f6c6, #ffffff 68%); }
.hub-badge { font: 9px var(--mono); letter-spacing: .12em; color: #3b1712; background: var(--lime-bright); border-radius: 20px; padding: 5px 9px; flex: none; }
.hub-banner > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hub-banner b { font-size: 15px; letter-spacing: -.02em; }
.hub-banner small { color: var(--muted); font-size: 12px; margin-top: 3px; }
.hub-banner .ico { color: var(--teal); }

.term-table { width: 100%; border-collapse: collapse; margin: 16px 0 10px; font-size: 13px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.term-table th, .term-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.term-table th { background: var(--panel-2); font-size: 12px; letter-spacing: -.01em; }
.term-table td:first-child { font-weight: 700; color: var(--text); white-space: nowrap; }
.term-table tr:last-child td { border-bottom: 0; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.checklist li { position: relative; padding-left: 18px; color: #3d483f; font-size: 13.5px; line-height: 1.8; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--lime-bright); border: 1px solid var(--lime); }
.hub-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.hub-cat { display: flex; flex-direction: column; gap: 3px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.hub-cat:hover { border-color: var(--line-2); background: var(--panel-2); }
.hub-cat b { font-size: 13.5px; }
.hub-cat span { font: 10px var(--mono); color: var(--teal); overflow-wrap: anywhere; }
.hub-cat small { font: 9px var(--mono); color: var(--dim); margin-top: 3px; }
.latest-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.latest-step { padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.latest-step b { display: block; font: 10px var(--mono); color: var(--lime); letter-spacing: .08em; margin-bottom: 6px; }
.latest-step h3 { font-size: 14px; letter-spacing: -.02em; }
.latest-step p { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 5px; }
@media (max-width: 1000px) {
  .latest-step { padding: 14px; }
}
@media (max-width: 760px) {
  .hub-cats, .latest-steps { grid-template-columns: 1fr; }
  .hub-banner { align-items: flex-start; gap: 10px; padding: 17px; }
  .hub-banner .ico { display: none; }
  .term-table { display: block; overflow-x: auto; }
}

/* ============================================================
   BOLD CONSOLE THEME — 2026-11-24
   Deep forest rail/hero + electric lime. Light reading surfaces.
   ============================================================ */
:root {
  --bg: #edf1e4;
  --bg-2: #e4ead6;
  --panel: #fffef9;
  --panel-2: #f4f8e9;
  --line: #d7dfcb;
  --line-2: #b7c3aa;
  --text: #0d1711;
  --muted: #445148;
  --dim: #5c695f;
  --lime: #a33a2a;
  --lime-bright: #ff6b57;
  --lime-soft: #ffe7e2;
  --teal: #0b6b5f;
  --teal-soft: #dff5ee;
  --acid: #ff6b57;
  --ink: #0a1410;
  --ink-2: #13231a;
  --rail: 268px;
  --r: 14px;
}

html { color-scheme: light; text-rendering: optimizeLegibility; }
body { font-size: 16.5px; line-height: 1.75; background: var(--bg); color: var(--text); }
body::before {
  background:
    linear-gradient(rgba(10, 20, 16, .05) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, rgba(10, 20, 16, .04) 1px, transparent 1px) 0 0 / 64px 100%,
    radial-gradient(900px 520px at 82% -10%, rgba(255, 107, 87, .32), transparent 62%),
    radial-gradient(720px 430px at 4% 2%, rgba(11, 107, 95, .08), transparent 65%),
    var(--bg);
}
::selection { background: var(--acid); color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* rail */
.rail {
  background: linear-gradient(180deg, #0a1410 0%, #0d1b14 100%);
  border-right: 1px solid #223429;
  padding: 22px 16px 16px;
  gap: 16px;
  color: #c8d5c3;
}
.brand:hover { color: #fff; }
.brand-t b { font-size: 21px; color: #fff; letter-spacing: -.04em; }
.brand-t small { font-size: 10px; color: #8fa28b; letter-spacing: .16em; }
.mark { width: 38px; height: 38px; border-color: #2e4434; background: #14251a; padding: 7px; border-radius: 10px; }
.mark i { background: #334a38; }
.mark i:nth-child(1) { background: var(--acid); }
.mark i:nth-child(4) { background: #2dd4bf; }
.rail-search { background: #13231a; border: 1px solid #2b4031; color: #d9e5d5; border-radius: 11px; padding: 11px 12px; }
.rail-search:hover { border-color: var(--acid); color: #fff; background: #172a1e; }
.rail-search span { font-size: 13.5px; }
.rail-search kbd { color: #9fb39a; border-color: #354b3a; }
.rail-label { color: #7f937c; font-size: 10px; letter-spacing: .18em; padding: 16px 9px 7px; }
.rail-nav a { color: #c2d0bf; font-size: 14px; padding: 9px; border-radius: 8px; }
.rail-nav a span { font-size: 10px; color: #7f937c; }
.rail-nav a:hover { background: #172a1e; color: #fff; }
.rail-nav a.on { background: var(--acid); color: var(--ink); font-weight: 800; }
.rail-nav a.on span { color: var(--ink); }
.rail-foot { border-top: 1px solid #2a3d30; }
.rail-saved { background: #13231a; border-color: #2b4031; color: #e3ece0; border-radius: 11px; }
.rail-saved b { background: var(--acid); color: var(--ink); font-size: 11px; }
.rail-foot p { color: #859983; font-size: 10px; }

/* mobile chrome */
.topbar { background: rgba(10, 20, 16, .96); border-bottom: 1px solid #223429; color: #fff; }
.topbar .brand-t b { color: #fff; font-size: 19px; }
.topbar .mark { width: 32px; height: 32px; }
.top-actions .icon-btn { border-color: #2b4031; color: #dbe6d8; background: #13231a; }
.top-actions .icon-btn:hover { color: var(--acid); border-color: var(--acid); }
.saved-btn b { background: var(--acid); color: var(--ink); }
.tabbar { background: rgba(10, 20, 16, .98); border-top: 1px solid #223429; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
.tabbar a, .tabbar button { color: #93a690; font-size: 10px; }
.tabbar a.on, .tabbar button:hover { color: var(--acid); }
.tabbar b { background: var(--acid); color: var(--ink); top: 0; }

/* hero poster */
.hero {
  position: relative;
  overflow: hidden;
  margin: 24px 0 0;
  padding: 62px 48px 46px;
  border: 0;
  border-radius: 26px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 30px 80px rgba(10, 20, 16, .22);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 100% 60px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 60px 100%;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 88%);
  mask-image: linear-gradient(90deg, #000, transparent 88%);
}
.hero::after {
  content: "";
  position: absolute; z-index: -1;
  width: 560px; height: 560px; right: -170px; top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 87, .58), rgba(255, 107, 87, .14) 45%, transparent 68%);
  filter: blur(10px);
}
.hero > * { position: relative; z-index: 1; }
.kicker { font-size: 11px; letter-spacing: .2em; color: var(--acid); }
.kicker span { width: 28px; height: 2px; background: var(--acid); }
.hero h1 {
  font-size: clamp(44px, 5.2vw, 66px);
  line-height: 1;
  letter-spacing: -.06em;
  font-weight: 900;
  color: #fff;
  margin: 24px 0 22px;
  max-width: 960px;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: initial;
}
.hero h1 em {
  color: var(--ink);
  background: var(--acid);
  padding: 0 .08em;
  border-radius: 8px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.lede { color: #c6d2c3; font-size: 18px; line-height: 1.78; max-width: 720px; }
.searchbar {
  max-width: 720px;
  margin-top: 30px;
  padding: 8px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .32);
  gap: 8px;
}
.searchbar input { font-size: 17px; padding: 12px 14px; color: var(--ink); }
.searchbar input::placeholder { color: #75827a; }
.searchbar button { padding: 0 26px; border-radius: 11px; background: var(--acid); color: var(--ink); font-size: 15px; font-weight: 850; letter-spacing: -.01em; }
.searchbar button:hover { background: #ff8a78; filter: none; }
.chips { color: #9caf99; font-size: 12.5px; gap: 8px; margin-top: 16px; }
.chips span { font-size: 10px; color: #9caf99; letter-spacing: .14em; }
.chips button { border-color: #334a38; color: #d4e0d1; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; background: #13231a; }
.chips button:hover { border-color: var(--acid); color: var(--acid); background: #172a1e; }
.hero-links { gap: 10px 22px; margin-top: 20px; font-size: 13px; }
.hero-links a { color: var(--acid); border-bottom: 1px solid rgba(255, 107, 87, .35); padding-bottom: 2px; font-weight: 700; }
.hero-links a:hover { color: #fff; border-color: #fff; }
.stats { gap: 0; margin-top: 36px; }
.stats div { padding-right: 28px; margin-right: 28px; border-right: 1px solid #2c4033; }
.stats div:last-child { border: 0; margin: 0; padding: 0; }
.stats b { font-size: 32px; color: var(--acid); font-weight: 600; }
.stats span { font-size: 11px; color: #98ab95; letter-spacing: .12em; margin-top: 4px; }

/* lime poster banner */
.hub-banner-wrap { padding: 30px 0 0; }
.hub-banner {
  gap: 18px;
  padding: 22px 24px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--acid);
  box-shadow: 7px 7px 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.hub-banner:hover { border-color: var(--ink); background: #ff8a78; transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--ink); }
.hub-badge { background: var(--ink); color: var(--acid); font-size: 10px; padding: 6px 10px; border-radius: 999px; }
.hub-banner b { font-size: 17px; color: var(--ink); letter-spacing: -.03em; }
.hub-banner small { color: #6b2a20; font-size: 13px; margin-top: 4px; }
.hub-banner .ico { color: var(--ink); }

/* sections + type scale */
.section { padding: 76px 0; border-bottom: 1px solid var(--line); }
.section-head { align-items: flex-end; margin-bottom: 30px; gap: 24px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--teal); letter-spacing: .18em; margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--acid); border: 1px solid var(--ink); border-radius: 2px; }
.section-head h2, .related h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.045em; font-weight: 850; line-height: 1.15; }
.section-note { font-size: 11px; }
.more { font-size: 13px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--line-2); padding-bottom: 2px; }
.more:hover { color: var(--teal); border-color: var(--teal); }

/* cards and directory */
.quick { gap: 12px; }
.quick a { padding: 17px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.quick a:hover { border-color: var(--ink); background: var(--panel); box-shadow: 5px 5px 0 var(--acid); transform: translate(-2px, -2px); }
.quick .dot { width: 9px; height: 9px; background: var(--acid); border: 1px solid var(--ink); }
.quick b { font-size: 15.5px; }
.quick small { font-size: 10.5px; color: var(--dim); margin-top: 2px; }
.dir { gap: 10px; }
.dir a { grid-template-columns: 42px 1fr auto; padding: 15px 16px; border: 1px solid var(--line-2); border-left: 4px solid transparent; border-radius: 12px; background: var(--panel); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.dir a:hover { border-color: var(--ink); border-left-color: var(--acid); background: #fff; box-shadow: 4px 4px 0 rgba(255, 107, 87, .7); transform: translate(-1px, -1px); }
.dir .num { font-size: 12px; color: var(--teal); font-weight: 600; }
.dir .dname { font-size: 16px; }
.dir .dname small { font-size: 10.5px; color: var(--dim); margin-top: 3px; }
.dir .count { font-size: 12px; color: var(--ink); font-weight: 700; }

.steps { gap: 14px; }
.step { padding: 26px 24px; border: 1px solid var(--line-2); border-top: 5px solid var(--acid); border-radius: 14px; background: var(--panel); transition: transform .16s ease, box-shadow .16s ease; }
.step:hover { transform: translateY(-2px); box-shadow: 5px 5px 0 rgba(10, 20, 16, .12); }
.step b { font-size: 11px; color: var(--teal); letter-spacing: .14em; }
.step h3 { font-size: 24px; margin: 14px 0 8px; letter-spacing: -.04em; }
.step p { font-size: 14.5px; line-height: 1.75; color: var(--muted); }

.standard { border: 0; border-radius: 18px; background: var(--ink); overflow: hidden; box-shadow: 0 16px 40px rgba(10, 20, 16, .16); }
.standard > div { padding: 28px; background: transparent; border-right: 1px solid #2c4033; }
.standard b { font-size: 17px; color: var(--acid); letter-spacing: -.02em; }
.standard p { font-size: 14px; color: #b9c8b6; line-height: 1.8; margin-top: 9px; }

.guides { gap: 14px; }
.guide-card { padding: 24px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.guide-card:hover { border-color: var(--ink); background: var(--panel); box-shadow: 5px 5px 0 var(--acid); transform: translate(-2px, -2px); }
.guide-card:first-child { background: var(--ink); border-color: var(--ink); color: #fff; }
.guide-card:first-child p { color: #b9c8b6; }
.guide-card:first-child .gnum { color: var(--acid); }
.guide-card:first-child:hover { background: var(--ink); }
.gnum { font-size: 11px; color: var(--teal); letter-spacing: .14em; }
.guide-card h3 { font-size: 20px; line-height: 1.4; margin: 11px 0 9px; letter-spacing: -.035em; }
.guide-card p { font-size: 14px; line-height: 1.75; color: var(--muted); }
.gmeta { font-size: 10.5px; padding-top: 18px; }

/* page heads = dark posters */
.crumb { padding-top: 24px; font-size: 11.5px; color: var(--dim); gap: 8px; }
.crumb a:hover { color: var(--teal); }
.page-head {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  padding: 40px 44px 38px;
  border: 0;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 20px 50px rgba(10, 20, 16, .18);
  isolation: isolate;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 56px 100%;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 90%);
  mask-image: linear-gradient(90deg, #000, transparent 90%);
}
.page-head::after {
  content: "";
  position: absolute; z-index: -1;
  width: 420px; height: 420px; right: -160px; bottom: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 87, .42), transparent 68%);
}
.page-head .kicker { color: var(--acid); margin-bottom: 14px; }
.page-head h1 { color: #fff; font-size: clamp(36px, 4.8vw, 56px); line-height: 1.06; letter-spacing: -.055em; font-weight: 900; max-width: 980px; text-wrap: balance; }
.page-head > p:not(.kicker) { color: #c4d1c1; font-size: 17px; line-height: 1.8; max-width: 800px; margin-top: 16px; }
.page-head .meta { color: #98ab95; font-size: 11px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #2b4031; gap: 8px 20px; }
.page-head .meta span { color: #b7c7b4; }

/* category */
.layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 44px; padding: 38px 0 72px; }
.toolbar { gap: 14px; margin-bottom: 16px; }
.filter { border: 1px solid var(--line-2); border-radius: 11px; background: var(--panel); padding: 0 14px; }
.filter input { font-size: 14px; padding: 13px 0; }
#filter-count { font-size: 11.5px; color: var(--dim); }
.sites { gap: 9px; }
.site { grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 15px 17px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.site:hover { border-color: var(--ink); background: #fff; box-shadow: 4px 4px 0 rgba(255, 107, 87, .65); transform: translate(-1px, -1px); }
.site .idx { font-size: 11px; color: var(--dim); }
.sname { font-size: 16px; letter-spacing: -.02em; }
.sdom { font-size: 11px; color: var(--teal); margin-top: 3px; }
.save, .visit, .btn { border-radius: 8px; padding: 8px 12px; font-size: 12.5px; font-weight: 600; }
.visit { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.visit:hover { background: #ff8a78; border-color: var(--ink); color: var(--ink); }
.save { background: #fff; }
.save:hover { border-color: var(--ink); color: var(--ink); }
.save[aria-pressed="true"] { background: var(--lime-soft); border-color: var(--teal); color: var(--teal); }
.note { margin-top: 30px; padding: 26px; border: 1px solid var(--line-2); border-left: 5px solid var(--acid); border-radius: 0 14px 14px 0; background: var(--panel); }
.note h2 { font-size: 20px; margin-bottom: 12px; letter-spacing: -.03em; }
.note li, .note p { font-size: 14.5px; line-height: 1.8; }
.note li::before { width: 5px; height: 5px; top: 10px; background: var(--teal); }
.note a { font-size: 13.5px; font-weight: 700; }
.aside { gap: 12px; }
.aside-box { padding: 20px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); }
.aside-h { font-size: 10px; color: var(--teal); letter-spacing: .16em; margin-bottom: 10px; }
.aside-box a { font-size: 13px; padding: 7px 0; border-color: var(--line); }
.aside-box p { font-size: 13px; line-height: 1.7; }
.related { margin-top: 40px; }
.related h2 { font-size: 22px; margin-bottom: 14px; }
.related-links { gap: 8px; }
.related-links a { padding: 8px 14px; font-size: 12.5px; border-color: var(--line-2); background: var(--panel); }
.related-links a:hover { border-color: var(--ink); color: var(--ink); background: var(--acid); }

/* fields */
.field-grid { gap: 14px; padding: 36px 0 72px; }
.field-card { padding: 24px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.field-card:hover { border-color: var(--ink); background: var(--panel); box-shadow: 5px 5px 0 var(--acid); transform: translate(-2px, -2px); }
.field-top .num { font-size: 12px; color: var(--teal); }
.field-card h2 { font-size: 22px; margin: 16px 0 9px; letter-spacing: -.04em; }
.field-card p { font-size: 14px; line-height: 1.75; }
.field-foot { font-size: 10.5px; padding-top: 16px; }

/* guides + article */
.guide-list { gap: 10px; padding: 34px 0 0; }
.guide-row { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 18px; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.guide-row:hover { border-color: var(--ink); background: #fff; box-shadow: 4px 4px 0 rgba(255, 107, 87, .6); transform: translate(-1px, -1px); }
.guide-row h2 { font-size: 19px; letter-spacing: -.03em; }
.guide-row p { font-size: 13.5px; margin-top: 4px; }
.doc { grid-template-columns: minmax(0, 1fr) 250px; gap: 46px; padding: 42px 0 72px; }
.prose h2 { font-size: 28px; letter-spacing: -.04em; margin: 44px 0 14px; padding-left: 16px; border-left: 5px solid var(--acid); line-height: 1.3; }
.prose p { color: #334037; font-size: 16.5px; line-height: 1.95; margin: 14px 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lead-box { padding: 24px 26px; border: 1px solid var(--line-2); border-left: 5px solid var(--teal); border-radius: 0 14px 14px 0; background: var(--panel); color: #334037; font-size: 16px; line-height: 1.85; }
.takeaway { margin-top: 40px; padding: 28px; border: 2px solid var(--ink); border-radius: 14px; background: var(--acid); box-shadow: 5px 5px 0 var(--ink); }
.takeaway b { font-size: 11px; color: var(--ink); letter-spacing: .14em; }
.takeaway p { color: var(--ink); font-size: 15.5px; line-height: 1.8; margin-top: 8px; }
.toc ol { gap: 5px; }
.toc ol a { font-size: 13px; padding: 6px 0; line-height: 1.55; }
.toc ol a::before { font-size: 10px; color: var(--teal); }
.toc .aside-box { margin-top: 18px; }

/* verify / about / policy / faq / contact */
.verify { gap: 12px; }
.verify-step { grid-template-columns: 74px minmax(0, 1fr); gap: 22px; padding: 28px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); }
.verify-step > b { font-size: 30px; color: var(--teal); }
.verify-step h2 { font-size: 21px; letter-spacing: -.03em; }
.verify-step p { font-size: 15px; line-height: 1.85; margin-top: 8px; }
.about { grid-template-columns: minmax(0, 1fr) 280px; gap: 44px; padding: 38px 0 72px; }
.about .prose h2 { font-size: 24px; margin-top: 34px; }
.facts { border-color: var(--line-2); border-radius: 14px; }
.facts div { padding: 18px; border-color: var(--line); }
.facts b { font-size: 26px; color: var(--teal); }
.facts span { font-size: 10px; }
.policy { padding-bottom: 72px; }
.policy section { margin-top: 34px; }
.policy li { font-size: 15px; line-height: 1.85; padding-left: 18px; }
.policy li::before { top: 11px; width: 5px; height: 5px; background: var(--teal); }
.faq { counter-reset: faq; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { align-items: flex-start; justify-content: flex-start; gap: 14px; padding: 20px 0; font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; }
.faq summary::before { counter-increment: faq; content: "Q" counter(faq); flex: none; margin-top: 3px; padding: 2px 7px; border: 1px solid var(--ink); border-radius: 6px; background: var(--acid); color: var(--ink); font: 11px var(--mono); }
.faq summary::after { content: "+"; margin-left: auto; font-size: 22px; line-height: 1; color: var(--teal); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { font-size: 14.5px; line-height: 1.85; color: var(--muted); padding: 0 0 22px; max-width: 820px; }
.faq-page { padding: 24px 0 0; max-width: 900px; }
.faq-page summary { padding: 22px 0; }
.contact { grid-template-columns: 340px minmax(0, 1fr); gap: 24px; padding: 38px 0 72px; }
.contact-card { padding: 26px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); }
.contact-card .mail { font-size: 14px; color: var(--teal); margin-bottom: 12px; }
.contact-card p { font-size: 13.5px; line-height: 1.75; }
.contact-list h2 { font-size: 20px; margin-bottom: 10px; }
.contact-list li { font-size: 14px; }
.contact-list p { font-size: 14px; line-height: 1.8; }

/* saved / 404 */
.saved-tools { padding: 28px 0 16px; }
.saved-list { gap: 9px; padding-bottom: 72px; }
.saved-card { padding: 18px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); }
.saved-card .sname { font-size: 16px; }
.empty-state b { font-size: 22px; }
.empty-state p { font-size: 15px; }
.notfound { padding: 110px 0 140px; }
.notfound h1 { font-size: clamp(38px, 5vw, 58px); }
.notfound p { font-size: 16px; }

/* footer */
.foot { background: var(--ink); border-top: 5px solid var(--acid); padding: 56px 0 30px; color: #c7d4c3; }
.foot .brand-t b { color: #fff; }
.foot .brand-t small { color: #8fa28b; font-size: 10px; }
.foot .brand-img { width: 44px; height: 44px; padding: 4px; border-radius: 50%; background: #f6f2e6; }
.foot-desc { color: #b5c4b2; font-size: 13.5px; line-height: 1.8; max-width: 380px; margin-top: 16px; }
.foot-h { color: #8fa28b; font-size: 10px; letter-spacing: .16em; margin-bottom: 12px; }
.foot-links { gap: 7px; }
.foot-links a { color: #c2d0bf; font-size: 13px; }
.foot-links a:hover { color: var(--acid); }
.foot-bottom { border-top: 1px solid #2a3d30; margin-top: 38px; padding-top: 20px; }
.foot-bottom p { color: #8b9d88; font-size: 10.5px; }

/* modal + hub components */
.panel { border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 40px 100px rgba(0, 0, 0, .4); }
.panel-head h2 { font-size: 11px; color: var(--teal); }
.panel-input { border-color: var(--line-2); border-radius: 12px; background: var(--panel); }
.panel-input .ico { color: var(--teal); }
.panel-input input { font-size: 16px; padding: 15px 0; }
.sd-row { padding: 13px 20px; }
.sd-name { font-size: 15px; }
.sd-sub { font-size: 10.5px; }
.sd-empty { padding: 36px 20px; font-size: 14px; }
.panel-foot { padding: 13px 20px; font-size: 10.5px; }

.term-table { border-color: var(--line-2); border-radius: 14px; font-size: 14.5px; }
.term-table th { padding: 15px 18px; background: var(--ink); color: #fff; font-size: 13px; }
.term-table td { padding: 15px 18px; line-height: 1.75; border-color: var(--line); }
.term-table td:first-child { font-size: 15px; color: var(--ink); }
.checklist { gap: 10px; margin: 16px 0; }
.checklist li { padding-left: 20px; color: #334037; font-size: 15px; line-height: 1.85; }
.checklist li::before { top: 11px; width: 7px; height: 7px; }
.hub-cats { gap: 10px; margin: 20px 0; }
.hub-cat { padding: 16px 18px; border-color: var(--line-2); border-radius: 12px; background: var(--panel); }
.hub-cat:hover { border-color: var(--ink); background: #fff; box-shadow: 4px 4px 0 rgba(255, 107, 87, .6); }
.hub-cat b { font-size: 16px; }
.hub-cat span { font-size: 11px; color: var(--teal); }
.hub-cat small { font-size: 10px; margin-top: 4px; }
.latest-steps { gap: 10px; margin: 20px 0; }
.latest-step { padding: 20px; border-color: var(--line-2); border-top: 4px solid var(--acid); border-radius: 12px; background: var(--panel); }
.latest-step b { font-size: 11px; color: var(--teal); margin-bottom: 8px; }
.latest-step h3 { font-size: 17px; letter-spacing: -.03em; }
.latest-step p { font-size: 13.5px; line-height: 1.75; margin-top: 6px; }

h1, h2, h3 { word-break: keep-all; overflow-wrap: normal; }
.page-head h1, .hero h1 { text-wrap: balance; }
.section-head h2, .related h2, .guide-card h3, .step h3, .prose h2, .faq summary { word-break: keep-all; }
.faq summary { text-wrap: pretty; }

/* B typography pass: readable, consistent sizes */
body { font-size: 16px; line-height: 1.7; }
.brand-t b { font-size: 20px; }
.brand-t small, .foot .brand-t small { font-size: 10px; }
.rail-search span, .rail-nav a, .rail-saved { font-size: 14px; }
.rail-search kbd, .panel-input kbd, .rail-label, .rail-nav a span, .rail-foot p, .rail-saved b { font-size: 10.5px; }
.kicker, .eyebrow { font-size: 11px; letter-spacing: .14em; }
.lede { font-size: 17.5px; line-height: 1.8; }
.hero h1 { font-size: clamp(42px, 5.6vw, 64px); }
.page-head h1 { font-size: clamp(34px, 4.4vw, 50px); }
.section-head h2, .related h2 { font-size: clamp(27px, 2.9vw, 34px); }
.page-head > p:not(.kicker) { font-size: 16.5px; }
.crumb, .meta, .page-head .meta, .gmeta, .section-note { font-size: 11px; }
.stats b { font-size: 30px; }
.stats span { font-size: 11.5px; }
.searchbar input { font-size: 16px; }
.searchbar button { font-size: 15px; }
.chips, .chips button { font-size: 13px; }
.chips span { font-size: 11px; }
.quick b, .hub-cat b { font-size: 16.5px; }
.quick small, .dir .dname small, .site .idx, .field-top .num, .field-foot, .foot-h { font-size: 11px; }
.field-card p, .latest-step p, .contact-card p { font-size: 13.5px; }
.field-card h2, .sname, .saved-card .sname, .dir .dname { font-size: 16.5px; }
.dir .num, .dir .count { font-size: 12.5px; }
.filter input { font-size: 14px; }
.step p, .faq details p, .checklist li, .policy li { font-size: 15px; }
.faq summary { font-size: 17px; }
.prose h2 { font-size: 25px; }
.prose p { font-size: 16px; line-height: 1.85; }
.foot-desc { font-size: 14px; }
.foot-links a { font-size: 13.5px; }
.foot-bottom p { font-size: 11px; }

/* responsive tuning */
@media (max-width: 1120px) {
  :root { --rail: 264px; }
}
@media (max-width: 1000px) {
  body { padding-bottom: 70px; }
  .hero { margin-top: 18px; padding: 48px 34px 38px; border-radius: 22px; }
  .hero h1 { font-size: clamp(44px, 6.6vw, 58px); }
  .page-head { padding: 34px 30px 32px; border-radius: 18px; }
  .layout, .doc, .about, .contact { grid-template-columns: 1fr; }
  .doc { gap: 28px; }
}
@media (max-width: 760px) {
  .hero { padding: 38px 24px 32px; border-radius: 18px; }
  .hero h1 { font-size: clamp(38px, 8.6vw, 46px); line-height: 1.03; }
  .lede { font-size: 16px; }
  .stats b { font-size: 26px; }
  .section { padding: 54px 0; }
  .section-head h2, .related h2 { font-size: 27px; }
  .page-head { padding: 30px 24px; border-radius: 16px; }
  .page-head h1 { font-size: clamp(30px, 6.8vw, 38px); }
  .page-head > p:not(.kicker) { font-size: 16px; }
  .layout { padding: 28px 0 58px; }
  .doc { padding: 32px 0 58px; }
  .prose h2 { font-size: 24px; }
  .prose p { font-size: 16px; line-height: 1.85; }
  .guide-row { grid-template-columns: 38px minmax(0, 1fr); }
  .guide-row .gmeta { grid-column: 2; padding-top: 4px; }
  .site { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 14px; }
  .site .idx { display: none; }
  .sname { font-size: 16.5px; }
  .footer-grid { gap: 26px; }
  .foot { padding: 44px 0 26px; }
}
@media (max-width: 360px) {
  .quick { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 32px 20px 28px; border-radius: 16px; }
  .brand-img { width: 34px; height: 34px; }
  .brand-t b { font-size: 19px; }
  .foot .brand-img { width: 40px; height: 40px; }
  .hero h1 { font-size: 36px; line-height: 1.03; letter-spacing: -.06em; }
  .hero .lede { font-size: 15px; }
  .kicker { font-size: 10.5px; }
  .searchbar input { font-size: 16px; }
  .searchbar button { font-size: 14px; }
  .stats { flex-wrap: wrap; row-gap: 16px; }
  .stats div { padding-right: 20px; margin-right: 20px; }
  .stats b { font-size: 24px; }
  .section { padding: 46px 0; }
  .section-head h2, .related h2 { font-size: 24px; }
  .eyebrow { font-size: 10.5px; }
  .dir a { grid-template-columns: 34px 1fr auto; padding: 14px; }
  .dir .dname { font-size: 15px; }
  .hub-banner { padding: 18px; box-shadow: 5px 5px 0 var(--ink); }
  .hub-banner b { font-size: 15px; }
  .hub-banner small { font-size: 12px; }
  .page-head { padding: 26px 20px 24px; }
  .page-head h1 { font-size: 30px; }
  .faq summary { font-size: 15px; }
  .faq summary::before { font-size: 10px; }
  .foot { padding: 42px 0 24px; }
}
