:root {
  --ink: #10231f;
  --ink-2: #18342e;
  --paper: #f4f6f1;
  --white: #fff;
  --line: #cfd8d1;
  --muted: #5f6e69;
  --mint: #64e6b3;
  --mint-soft: #dff8ed;
  --amber: #f4b942;
  --danger: #d85f52;
  --shadow: 0 18px 50px rgba(16, 35, 31, .11);
  --radius: 4px;
  --shell: 1200px;
  --reading: 820px;
  --tool: 1000px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 132px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--mint); color: var(--ink); }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow { max-width: var(--reading); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; padding: 10px 16px; background: var(--amber); color: var(--ink); transform: translateY(-140%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244,246,241,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-main { min-height: 76px; display: grid; grid-template-columns: auto minmax(280px, 510px) auto; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--mint); background: var(--ink); font: 800 22px/1 var(--mono); }
.brand-mark span { color: var(--amber); }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font: 850 19px/1 var(--font); letter-spacing: .09em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.site-search { position: relative; display: flex; align-items: center; width: 100%; }
.site-search svg { position: absolute; left: 15px; width: 19px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.site-search input { width: 100%; height: 44px; padding: 0 48px 0 44px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.site-search input:focus { border-color: var(--ink); outline: 0; box-shadow: 0 0 0 3px rgba(100,230,179,.35); }
.site-search kbd { position: absolute; right: 12px; display: grid; place-items: center; width: 24px; height: 24px; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 3px; font: 12px var(--mono); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; background: var(--ink); border: 0; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--white); transition: .2s; }
.primary-nav { border-top: 1px solid rgba(207,216,209,.8); }
.nav-track { display: flex; align-items: center; min-height: 47px; overflow-x: auto; scrollbar-width: none; }
.nav-track::-webkit-scrollbar { display: none; }
.nav-track a { position: relative; flex: 0 0 auto; padding: 12px 18px 11px; color: #334a43; font-size: 13px; font-weight: 750; }
.nav-track a:first-child { padding-left: 0; }
.nav-track a::after { content: ""; position: absolute; right: 18px; bottom: 7px; left: 18px; height: 2px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-track a:first-child::after { left: 0; }
.nav-track a:hover::after { transform: scaleX(1); }

.hero { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg,#000,transparent 84%); }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -230px; border: 1px solid rgba(100,230,179,.45); border-radius: 50%; box-shadow: 0 0 0 55px rgba(100,230,179,.03), 0 0 0 110px rgba(100,230,179,.03); }
.hero-grid { position: relative; z-index: 1; min-height: 580px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 72px; padding-block: 80px; }
.eyebrow, .section-index { display: inline-flex; align-items: center; gap: 9px; color: #35534a; font: 750 11px/1.2 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.hero .eyebrow { color: var(--mint); }
.status-dot { width: 8px; height: 8px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 5px rgba(100,230,179,.12); }
.hero h1 { max-width: 700px; margin: 24px 0 22px; font-size: clamp(42px,5.2vw,72px); line-height: .99; letter-spacing: -.052em; }
.hero-copy > p { max-width: 690px; margin: 0; color: #c6d5cf; font-size: 18px; line-height: 1.7; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 21px; border: 1px solid transparent; border-radius: 2px; font-size: 14px; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--mint); }
.button-primary:hover { background: #82f2c6; }
.button-secondary { color: inherit; background: transparent; border-color: #557069; }
.button-secondary:hover { border-color: var(--mint); }
.button-dark { color: var(--white); background: var(--ink); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; padding: 0; margin: 31px 0 0; color: #aebfba; list-style: none; font-size: 12px; }
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 15px; fill: none; stroke: var(--mint); stroke-width: 2.5; }
.signal-panel { overflow: hidden; border: 1px solid #3c5d54; background: rgba(8,25,21,.74); box-shadow: 22px 24px 0 rgba(100,230,179,.08); }
.signal-head { min-height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 17px; color: #91aaa2; border-bottom: 1px solid #355049; font: 700 10px var(--mono); letter-spacing: .08em; }
.signal-live { color: var(--mint); }
.signal-live i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: var(--mint); border-radius: 50%; animation: blink 1.6s infinite; }
.signal-body { padding: 13px 17px 21px; }
.terminal-line { min-height: 62px; display: grid; grid-template-columns: 30px 52px 1fr auto; align-items: center; gap: 8px; border-bottom: 1px dashed #304840; font: 12px var(--mono); }
.terminal-line > span { color: #627e75; }
.terminal-line strong { color: var(--white); }
.terminal-line em { color: #8fa59e; font-style: normal; }
.terminal-line b { padding: 3px 6px; color: var(--mint); border: 1px solid #315c4e; font-size: 9px; }
.signal-wave { height: 82px; display: flex; align-items: center; gap: 8px; padding: 15px 4px 8px; }
.signal-wave i { flex: 1; height: 22%; background: var(--mint); opacity: .68; animation: wave 2.4s ease-in-out infinite; }
.signal-wave i:nth-child(2n) { height: 58%; animation-delay: -.4s; }
.signal-wave i:nth-child(3n) { height: 90%; animation-delay: -.9s; }
.signal-wave i:nth-child(5n) { height: 40%; animation-delay: -1.3s; }
.signal-body > p { margin: 7px 0 0; color: #b8cac4; font: 12px var(--mono); }
.signal-body > p span { color: var(--amber); }
.cursor { display: inline-block; width: 7px; height: 14px; margin-left: 7px; background: var(--mint); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
@keyframes wave { 50% { transform: scaleY(.45); opacity: .34; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

.section { padding-block: 96px; }
.section-heading { margin-bottom: 35px; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2, .page-hero h1 { margin: 12px 0 0; font-size: clamp(32px,4vw,50px); line-height: 1.08; letter-spacing: -.04em; }
.text-link { padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 800; }
.text-link span { margin-left: 10px; }
.tool-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tool-card { position: relative; min-height: 285px; display: flex; flex-direction: column; padding: 24px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s, transform .25s; }
.tool-card:hover { z-index: 2; background: var(--mint-soft); transform: translateY(-5px); box-shadow: var(--shadow); }
.tool-number { color: #82908b; font: 11px var(--mono); }
.tool-icon { width: 43px; height: 43px; display: grid; place-items: center; margin: 24px 0 18px; color: var(--mint); background: var(--ink); font: 700 13px var(--mono); }
.tool-card h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.tool-card h3 a::after { content: ""; position: absolute; inset: 0; }
.tool-card p { margin: 11px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.card-action { position: relative; z-index: 2; display: inline-flex; justify-content: space-between; gap: 16px; margin-top: auto; font-size: 12px; font-weight: 800; }
.card-action span { color: #678078; }

.issue-section { padding-block: 0; color: var(--white); background: var(--ink); }
.issue-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 88px; padding-block: 88px; }
.section-index.light { color: var(--mint); }
.issue-intro h2 { margin: 17px 0; font-size: clamp(36px,4.2vw,58px); line-height: 1.03; letter-spacing: -.045em; }
.issue-intro > p { color: #b5c5c0; max-width: 430px; }
.route-key { display: flex; align-items: center; gap: 10px; margin-top: 40px; color: #8fa69e; font: 10px var(--mono); text-transform: uppercase; }
.route-key span { width: 8px; height: 8px; background: var(--amber); }
.route-key i { color: var(--mint); font-style: normal; }
.issue-routes { border-top: 1px solid #385249; }
.issue-routes a { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 18px; min-height: 103px; padding: 13px 4px; border-bottom: 1px solid #385249; transition: padding .2s, background .2s; }
.issue-routes a:hover { padding-inline: 15px; background: #172f29; }
.issue-routes a > span { width: 45px; height: 45px; display: grid; place-items: center; color: var(--ink); background: var(--mint); font: 800 12px var(--mono); }
.issue-routes strong { display: block; margin-bottom: 4px; font-size: 18px; }
.issue-routes small { color: #8fa69e; font-size: 12px; }
.issue-routes b { color: var(--mint); }

.knowledge-section { background: #e9eee9; }
.knowledge-layout { display: grid; grid-template-columns: .93fr 1.07fr; gap: 64px; }
.knowledge-featured { display: flex; min-height: 420px; padding: 42px; color: var(--white); background: var(--ink); }
.knowledge-featured article { display: flex; flex-direction: column; }
.article-meta { display: flex; flex-wrap: wrap; gap: 11px; color: var(--muted); font: 10px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.article-meta > * + *::before { content: "/"; margin-right: 11px; color: #9cada7; }
.knowledge-featured .article-meta { color: #93aaa2; }
.knowledge-featured .article-meta span:first-child { color: var(--mint); }
.knowledge-featured h3 { margin: 70px 0 17px; font-size: clamp(27px,3vw,40px); line-height: 1.1; letter-spacing: -.035em; }
.knowledge-featured p { color: #adc0b9; }
.knowledge-featured .button { width: max-content; margin-top: auto; color: var(--ink); background: var(--mint); }
.knowledge-stream { border-top: 1px solid #bcc8c0; }
.knowledge-stream article { min-height: 84px; display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 18px; border-bottom: 1px solid #bcc8c0; }
.stream-index { color: #74847e; font: 10px var(--mono); }
.knowledge-stream h3 { margin: 4px 0 0; font-size: 15px; line-height: 1.35; }
.knowledge-stream > article > a { font-size: 18px; }
.commercial-slot { min-height: 132px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-block: 72px 28px; padding: 26px 34px; border: 1px dashed #9baaa5; }
.commercial-slot span, .ad-slot span { color: #798983; font: 9px var(--mono); letter-spacing: .15em; }
.commercial-slot p { max-width: 660px; margin: 0; color: var(--muted); font-size: 13px; }
.ad-slot { min-height: 120px; display: grid; place-items: center; margin-bottom: 72px; background: #e7ebe7; border: 1px solid #d5dcd6; }
.ad-slot.compact { min-height: 250px; margin: 24px 0 0; }

.breadcrumb { min-height: 54px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #98a59f; }
.page-hero { min-height: 315px; display: flex; align-items: center; justify-content: space-between; gap: 60px; padding-block: 58px; border-bottom: 1px solid var(--line); }
.page-hero > div:first-child { max-width: 760px; }
.page-hero p { max-width: 680px; color: var(--muted); font-size: 17px; }
.privacy-stamp { min-width: 260px; display: flex; align-items: center; gap: 14px; padding: 17px; color: #d8e8e2; background: var(--ink); }
.privacy-stamp svg { width: 34px; fill: none; stroke: var(--mint); stroke-width: 1.7; }
.privacy-stamp span { display: grid; font-size: 11px; }
.privacy-stamp strong { margin-bottom: 3px; color: var(--mint); font: 800 12px var(--mono); text-transform: uppercase; }
.page-hero-code { min-width: 180px; display: grid; padding: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: 11px 11px 0 var(--mint-soft); }
.page-hero-code span, .page-hero-code small { color: var(--muted); font: 9px var(--mono); }
.page-hero-code strong { font: 700 54px/1.2 var(--mono); }
.tool-directory { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.directory-card { position: relative; min-height: 220px; display: grid; grid-template-columns: 36px 1fr auto; gap: 18px; padding: 28px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.directory-label { color: #70817b; font: 9px var(--mono); letter-spacing: .1em; }
.directory-card h2 { margin: 9px 0; font-size: 21px; line-height: 1.2; }
.directory-card h2 a::after { content: ""; position: absolute; inset: 0; }
.directory-card p { color: var(--muted); font-size: 13px; }
.directory-open { align-self: end; font-size: 20px; }
.tool-explainer { padding-block: 70px; background: var(--mint-soft); }

.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 70px; padding-block: 65px 96px; }
.article-list { border-top: 1px solid var(--line); }
.article-list article { padding: 34px 0; border-bottom: 1px solid var(--line); }
.article-list h2 { margin: 11px 0; font-size: clamp(22px,2.5vw,30px); line-height: 1.18; letter-spacing: -.025em; }
.article-list p { max-width: 720px; color: var(--muted); }
.topic-sidebar { align-self: start; position: sticky; top: 150px; }
.sidebar-block { padding: 25px; background: var(--ink); color: var(--white); }
.sidebar-block .section-index { color: var(--mint); }
.sidebar-block h2 { margin: 12px 0 19px; font-size: 21px; }
.sidebar-block a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; color: #b8cac4; border-bottom: 1px solid #355049; font-size: 13px; }
.sidebar-block a:hover { color: var(--mint); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 38px; }
.pagination a, .pagination span { min-width: 39px; height: 39px; display: grid; place-items: center; padding: 0 10px; background: var(--white); border: 1px solid var(--line); font-size: 12px; }
.pagination .page-num-current, .pagination span { color: var(--ink); background: var(--mint); border-color: var(--mint); }

.article-shell { padding-bottom: 90px; }
.article-header { max-width: 920px; padding: 58px 0 50px; }
.article-header h1 { max-width: 900px; margin: 20px 0; font-size: clamp(40px,5.5vw,68px); line-height: 1.01; letter-spacing: -.05em; }
.article-lead { max-width: 760px; margin: 0; color: var(--muted); font-size: 19px; }
.article-byline { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.byline-mark { width: 37px; height: 37px; display: grid; place-items: center; color: var(--mint); background: var(--ink); font: 750 11px var(--mono); }
.article-byline div { display: grid; }
.article-byline strong { font-size: 12px; }
.article-byline small { color: var(--muted); font-size: 10px; }
.article-layout { display: grid; grid-template-columns: 190px minmax(0,var(--reading)) 190px; gap: 36px; align-items: start; border-top: 1px solid var(--line); padding-top: 46px; }
.toc { position: sticky; top: 150px; }
.toc nav { display: grid; gap: 8px; margin-top: 16px; }
.toc a { padding-left: 10px; color: var(--muted); border-left: 1px solid var(--line); font-size: 11px; line-height: 1.45; }
.toc a:hover, .toc a.active { color: var(--ink); border-color: var(--mint); }
.article-aside { position: sticky; top: 150px; }
.aside-note { padding: 18px; background: var(--mint-soft); border-top: 3px solid var(--mint); }
.aside-note strong { font: 750 11px var(--mono); text-transform: uppercase; }
.aside-note p { margin-bottom: 0; color: #476058; font-size: 11px; }
.article-footer { max-width: var(--reading); margin: 56px 226px 0; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; }
.prev-next > div { display: grid; }
.prev-next small { color: var(--muted); font: 9px var(--mono); text-transform: uppercase; }

.prose { color: #253b35; line-height: 1.78; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin: 2.2em 0 .65em; color: var(--ink); font-size: 30px; line-height: 1.18; letter-spacing: -.025em; }
.prose h3 { margin: 1.8em 0 .55em; color: var(--ink); font-size: 22px; line-height: 1.25; }
.prose h4 { margin: 1.5em 0 .5em; font-size: 17px; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose table, .prose pre { margin: 0 0 1.35em; }
.prose a { color: #087d5b; text-decoration: underline; text-underline-offset: 3px; }
.prose code { padding: 2px 5px; color: #b9483b; background: #e7ebe7; font: .9em var(--mono); }
.prose pre { position: relative; overflow: auto; padding: 24px; color: #d9e7e2; background: var(--ink); border-left: 4px solid var(--mint); }
.prose pre code { padding: 0; color: inherit; background: none; }
.code-copy { position: absolute; top: 9px; right: 9px; padding: 5px 8px; color: var(--mint); background: #203a33; border: 1px solid #49665d; font: 9px var(--mono); cursor: pointer; }
.prose blockquote { padding: 17px 20px; background: #fff8e9; border-left: 4px solid var(--amber); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { padding: 11px; border: 1px solid var(--line); text-align: left; }
.prose th { background: #e7ece7; }
.related-section { padding-block: 70px; background: #e7ece7; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #bdc8c0; border-left: 1px solid #bdc8c0; }
.related-grid article { min-height: 180px; display: flex; flex-direction: column; padding: 24px; background: rgba(255,255,255,.45); border-right: 1px solid #bdc8c0; border-bottom: 1px solid #bdc8c0; }
.related-grid article > span { color: var(--muted); font: 9px var(--mono); text-transform: uppercase; }
.related-grid h3 { margin: 18px 0; font-size: 18px; line-height: 1.3; }
.related-grid article > a { margin-top: auto; font-size: 11px; font-weight: 800; }

.tool-hero { min-height: 300px; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.tool-hero > div:first-child { max-width: 760px; }
.tool-hero h1 { margin: 19px 0 14px; font-size: clamp(38px,5vw,62px); line-height: 1; letter-spacing: -.048em; }
.tool-hero p { color: var(--muted); font-size: 17px; }
.tool-workspace { max-width: var(--tool); padding-bottom: 76px; }
.local-notice { display: flex; align-items: center; gap: 13px; padding: 14px 18px; color: #cde0d9; background: var(--ink); }
.local-notice svg { flex: 0 0 auto; width: 24px; fill: none; stroke: var(--mint); stroke-width: 1.7; }
.local-notice p { margin: 0; font-size: 11px; }
.local-notice strong { margin-right: 9px; color: var(--mint); font-family: var(--mono); text-transform: uppercase; }
.tool-app { min-height: 420px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-top: 0; box-shadow: var(--shadow); }
.tool-panel { display: grid; gap: 22px; }
.tool-grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tool-field { display: grid; gap: 7px; min-width: 0; }
.tool-field > label, .tool-field > .field-label { color: #465d55; font: 750 10px var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.tool-field textarea, .tool-field input, .tool-field select, .tool-output { width: 100%; border: 1px solid #bcc8c0; border-radius: 2px; background: #f9faf8; }
.tool-field textarea { min-height: 280px; resize: vertical; padding: 14px; font: 13px/1.55 var(--mono); }
.tool-field input, .tool-field select { min-height: 46px; padding: 0 12px; }
.tool-field textarea:focus, .tool-field input:focus, .tool-field select:focus { outline: 0; border-color: #17815f; box-shadow: 0 0 0 3px rgba(100,230,179,.28); }
.tool-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-button { min-height: 41px; padding: 0 15px; color: var(--white); background: var(--ink); border: 1px solid var(--ink); border-radius: 2px; font-size: 12px; font-weight: 750; cursor: pointer; }
.tool-button:hover { background: var(--ink-2); }
.tool-button.accent { color: var(--ink); background: var(--mint); border-color: var(--mint); }
.tool-button.ghost { color: var(--ink); background: transparent; border-color: #aebdb5; }
.tool-status { min-height: 22px; margin: 0; color: var(--muted); font: 11px var(--mono); }
.tool-status.error { color: var(--danger); }
.tool-status.success { color: #087d5b; }
.tool-output { min-height: 180px; overflow: auto; padding: 14px; white-space: pre-wrap; word-break: break-word; font: 13px/1.55 var(--mono); }
.tool-output.diff-output { min-height: 280px; }
.diff-line { display: block; padding: 1px 6px; }
.diff-add { color: #085b42; background: #daf5e8; }
.diff-del { color: #8d3127; background: #fde4df; }
.diff-same { color: #5d6a66; }
.tool-option-row { display: flex; flex-wrap: wrap; gap: 15px; }
.check-field { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.check-field input { width: 17px; height: 17px; accent-color: var(--ink); }
.tool-guide { display: grid; grid-template-columns: minmax(0,var(--reading)) 220px; gap: 60px; padding-bottom: 90px; }
.tool-guide aside { position: sticky; top: 150px; align-self: start; }

.page-document { padding: 60px 0 100px; }
.page-document > header { padding-bottom: 38px; margin-bottom: 42px; border-bottom: 1px solid var(--line); }
.page-document h1 { margin: 14px 0; font-size: clamp(38px,5vw,58px); line-height: 1.04; letter-spacing: -.045em; }
.page-document header p { color: var(--muted); font-size: 18px; }
.search-page { min-height: 650px; padding-block: 70px 100px; }
.search-page > h1 { margin: 14px 0 36px; font-size: clamp(38px,5vw,58px); letter-spacing: -.04em; }
.search-large label { display: block; margin-bottom: 7px; color: var(--muted); font: 10px var(--mono); text-transform: uppercase; }
.search-large > div { display: flex; }
.search-large input { flex: 1; min-width: 0; height: 54px; padding: 0 17px; border: 1px solid var(--line); }
.search-large button { height: 54px; border: 0; }
.search-results { margin-top: 50px; border-top: 1px solid var(--line); }
.search-results article { padding: 27px 0; border-bottom: 1px solid var(--line); }
.search-results article > span { color: var(--muted); font: 9px var(--mono); text-transform: uppercase; }
.search-results h2 { margin: 7px 0; font-size: 23px; }
.search-results p { color: var(--muted); }
.search-results article > a { font-size: 12px; font-weight: 800; }
.empty-state { padding: 42px; text-align: center; background: var(--white); }
.error-page { min-height: 650px; display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 80px; padding-block: 80px; }
.error-code { position: relative; display: grid; padding: 36px; color: var(--white); background: var(--ink); box-shadow: 18px 18px 0 var(--mint); }
.error-code span { color: var(--mint); font: 12px var(--mono); }
.error-code strong { font: 800 clamp(90px,14vw,170px)/1 var(--mono); letter-spacing: -.1em; }
.error-code i { height: 7px; background: var(--amber); }
.error-page h1 { margin: 14px 0; font-size: clamp(42px,5vw,68px); line-height: 1; letter-spacing: -.05em; }
.error-page p { color: var(--muted); font-size: 18px; }

.site-footer { color: #b9cac4; background: #0c1b18; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3,1fr); gap: 64px; padding-block: 70px; }
.brand-footer .brand-mark { border: 1px solid #355049; }
.brand-footer .brand-copy strong { color: var(--white); }
.brand-footer .brand-copy small { color: #7f9990; }
.footer-intro p { max-width: 370px; margin: 22px 0; color: #7f9990; font-size: 13px; }
.local-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font: 9px var(--mono); text-transform: uppercase; }
.local-badge i { width: 7px; height: 7px; background: var(--mint); border-radius: 50%; }
.footer-grid h2 { margin: 0 0 15px; color: var(--white); font: 800 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) a { display: block; padding: 5px 0; color: #8ba198; font-size: 12px; }
.footer-grid a:hover { color: var(--mint); }
.footer-base { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #647d74; border-top: 1px solid #293f38; font: 9px var(--mono); text-transform: uppercase; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 100; max-width: 340px; padding: 12px 16px; color: var(--white); background: var(--ink); border-left: 4px solid var(--mint); box-shadow: var(--shadow); font-size: 12px; opacity: 0; transform: translateY(15px); pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: none; }
.toast.error { border-color: var(--danger); }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 420px; gap: 45px; }
  .tool-grid { grid-template-columns: repeat(3,1fr); }
  .article-layout { grid-template-columns: 150px minmax(0,1fr); }
  .article-aside { display: none; }
  .article-footer { margin-inline: 186px 0; }
  .footer-grid { gap: 34px; }
}

@media (max-width: 900px) {
  .header-main { grid-template-columns: auto 1fr auto; gap: 18px; }
  .site-search { max-width: 390px; justify-self: end; }
  .brand-copy small { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 70px; }
  .hero-copy { max-width: 760px; }
  .signal-panel { max-width: 650px; }
  .tool-grid { grid-template-columns: repeat(2,1fr); }
  .issue-grid, .knowledge-layout { grid-template-columns: 1fr; }
  .issue-grid { gap: 50px; }
  .knowledge-featured { min-height: 360px; }
  .content-grid { grid-template-columns: 1fr; }
  .topic-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .topic-sidebar .ad-slot { margin: 0; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; padding: 17px; background: var(--white); }
  .toc nav { grid-template-columns: 1fr 1fr; }
  .article-footer { margin-inline: 0; }
  .tool-guide { grid-template-columns: 1fr; }
  .tool-guide aside { position: static; }
  .footer-grid { grid-template-columns: 1.5fr repeat(2,1fr); }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 75px; }
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .site-header { position: sticky; }
  .header-main { min-height: 67px; grid-template-columns: 1fr auto; }
  .brand-mark { width: 38px; height: 38px; }
  .site-search { display: none; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 67px 0 0; display: none; overflow-y: auto; background: var(--ink); border: 0; }
  .primary-nav.open { display: block; }
  .nav-track { width: 100%; display: grid; align-content: start; padding: 20px 24px 40px; }
  .nav-track a, .nav-track a:first-child { padding: 15px 0; color: var(--white); border-bottom: 1px solid #30483f; font-size: 16px; }
  .nav-track a::after { display: none; }
  .hero-grid { min-height: auto; gap: 42px; padding-block: 54px; }
  .hero h1 { font-size: clamp(39px,12.5vw,58px); }
  .hero-copy > p { font-size: 16px; }
  .button-row .button { flex: 1 1 100%; }
  .hero-trust { gap: 10px 16px; }
  .signal-panel { box-shadow: 9px 10px 0 rgba(100,230,179,.1); }
  .terminal-line { grid-template-columns: 24px 42px 1fr auto; font-size: 10px; }
  .section { padding-block: 66px; }
  .split-heading { align-items: start; }
  .split-heading .text-link { margin-top: 5px; white-space: nowrap; }
  .section-heading h2 { font-size: 34px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 240px; }
  .issue-grid { padding-block: 64px; }
  .route-key { flex-wrap: wrap; }
  .knowledge-featured { min-height: 420px; padding: 28px; }
  .knowledge-featured h3 { margin-top: 50px; }
  .knowledge-stream article { grid-template-columns: 25px 1fr auto; }
  .commercial-slot { display: grid; margin-block: 45px 20px; }
  .page-hero { min-height: auto; display: grid; gap: 25px; padding-block: 40px; }
  .page-hero h1 { font-size: 39px; }
  .privacy-stamp, .page-hero-code { min-width: 0; width: 100%; }
  .tool-directory { grid-template-columns: 1fr; }
  .directory-card { grid-template-columns: 27px 1fr auto; padding: 22px 18px; }
  .content-grid { gap: 45px; padding-top: 38px; }
  .topic-sidebar { grid-template-columns: 1fr; }
  .topic-sidebar .ad-slot { min-height: 120px; }
  .article-header { padding-top: 35px; }
  .article-header h1 { font-size: 39px; }
  .article-lead { font-size: 17px; }
  .article-layout { padding-top: 30px; }
  .toc nav { grid-template-columns: 1fr; }
  .prev-next { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .tool-hero { min-height: auto; display: grid; gap: 22px; padding-block: 38px; }
  .tool-hero h1 { font-size: 40px; }
  .tool-workspace { width: 100%; padding-bottom: 55px; }
  .local-notice { align-items: start; }
  .local-notice strong { display: block; }
  .tool-app { padding: 18px 14px; box-shadow: none; }
  .tool-grid-two { grid-template-columns: 1fr; }
  .tool-field textarea { min-height: 220px; }
  .tool-actions .tool-button { flex: 1 1 calc(50% - 8px); }
  .tool-guide { padding-bottom: 65px; }
  .prose h2 { font-size: 26px; }
  .prose table { display: block; overflow-x: auto; }
  .search-large > div { display: grid; }
  .error-page { grid-template-columns: 1fr; gap: 55px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 22px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-base { align-items: start; flex-direction: column; justify-content: center; padding-block: 17px; }
}

@media (max-width: 390px) {
  .brand-copy strong { font-size: 17px; }
  .hero h1 { font-size: 38px; }
  .section-heading h2 { font-size: 30px; }
  .split-heading { display: grid; }
  .issue-routes a { grid-template-columns: 42px 1fr auto; gap: 12px; }
  .knowledge-featured { padding: 23px; }
  .article-header h1, .tool-hero h1 { font-size: 35px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-intro, .footer-grid > div:last-child { grid-column: auto; }
}
