:root {
    --bg: #071915;
    --surface: #0b211c;
    --surface-2: #102a24;
    --accent: #e8c45b;
    --mint: #3bc29a;
    --text: #f4f8f6;
    --muted: #afc2ba;
    --border: #29483e;
    --focus: #79e0be;
    --max: 1180px;
    --article: 780px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Noto Sans", "DejaVu Sans", system-ui, -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.78;
    overflow-wrap: anywhere;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(59,194,154,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(59,194,154,.025) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}
a { color: #8ce8cb; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 12px 18px; background: var(--accent); color: #071915; font-weight: 800; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 100; min-height: 68px; background: rgba(7,25,21,.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(14px); }
.site-header__inner { width: min(calc(100% - 40px), var(--max)); min-height: 68px; margin: 0 auto; display: flex; align-items: center; gap: 26px; }
.site-branding { flex: 0 0 auto; margin-right: auto; }
.custom-logo-link { display: block; line-height: 0; }
.custom-logo { display: block; width: auto; height: 48px; max-width: min(310px, 64vw); object-fit: contain; }
.site-branding__fallback { color: var(--text); font-weight: 800; text-decoration: none; }
.primary-nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: flex; min-height: 44px; align-items: center; padding: 8px 10px; border-radius: 8px; color: var(--text); font-size: 14px; font-weight: 700; text-decoration: none; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { background: var(--surface-2); color: var(--accent); }
.menu-toggle { display: none; min-width: 48px; min-height: 48px; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); color: var(--text); font: inherit; font-weight: 700; }
.site-main { min-height: 65vh; }
.article-shell { width: min(calc(100% - 40px), var(--article)); margin: 0 auto; padding: 72px 0 100px; }
.article-shell--home { width: min(calc(100% - 40px), 900px); }
.article-header { padding: 30px 0 42px; border-top: 3px solid var(--accent); }
.eyebrow { margin: 0 0 12px; color: var(--mint); font-size: 14px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--text); font-weight: 780; letter-spacing: -.025em; line-height: 1.16; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.4vw, 68px); }
h2 { position: relative; margin: 88px 0 24px; padding-top: 24px; border-top: 1px solid var(--border); font-size: clamp(28px, 3.5vw, 42px); }
h2::before { content: ""; position: absolute; top: -2px; left: 0; width: 70px; height: 3px; background: var(--accent); }
h3 { margin: 46px 0 18px; color: var(--mint); font-size: clamp(22px, 2.5vw, 29px); }
p { margin: 0 0 1.25em; }
.article-content > p:first-child { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.62; color: #e7f1ed; }
.article-content strong { color: #fff5cc; }
.editorial-image { margin: 38px 0 56px; }
.editorial-image img { display: block; width: 100%; height: auto; max-height: 680px; object-fit: cover; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 18px 42px rgba(0,0,0,.2); }
.editorial-image--portrait { width: min(100%, 640px); margin-inline: auto; }
.editorial-image figcaption { padding: 12px 4px 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.article-content ul, .article-content ol { margin: 0 0 28px; padding-left: 1.35em; }
.article-content li { margin-bottom: 10px; }
.table-scroll { margin: 32px 0 46px; overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
th, td { padding: 15px 16px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { background: #15372f; color: #fff2bd; }
tr:last-child td { border-bottom: 0; }
th:last-child, td:last-child { border-right: 0; }
.decision-tree, .checklist-asset, .matrix-asset { margin: 34px 0 46px; padding: 26px 30px; border-left: 4px solid var(--mint); border-radius: 0 12px 12px 0; background: var(--surface-2); }
.faq-section { margin-top: 88px; padding-top: 24px; border-top: 1px solid var(--border); }
.faq-section > h2 { margin-top: 0; }
.faq-item { margin: 0 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.faq-item summary { min-height: 54px; padding: 15px 52px 15px 18px; cursor: pointer; color: var(--text); font-weight: 750; line-height: 1.45; }
.faq-item p { padding: 0 18px 18px; color: #dae8e2; }
.site-footer { border-top: 1px solid var(--border); background: #05130f; }
.site-footer__inner { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 62px 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; }
.site-footer p { color: var(--muted); }
.site-footer strong { color: var(--text); }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; align-content: start; }
.footer-nav a { min-height: 44px; display: flex; align-items: center; color: var(--text); }
@media (max-width: 1040px) {
    .menu-toggle { display: inline-flex; }
    .primary-nav { display: none; position: fixed; inset: 69px 0 auto 0; max-height: calc(100vh - 69px); overflow-y: auto; padding: 18px 20px 30px; background: #071915; border-bottom: 1px solid var(--border); }
    .primary-nav.is-open { display: block; }
    .primary-nav__list { display: grid; gap: 6px; }
    .primary-nav a { min-height: 48px; padding: 11px 14px; font-size: 16px; }
    body.menu-open { overflow: hidden; }
}
@media (max-width: 768px) {
    body { font-size: 16px; }
    .article-shell, .article-shell--home { width: min(calc(100% - 32px), var(--article)); padding: 42px 0 72px; }
    .article-header { padding: 18px 0 30px; }
    h1 { font-size: clamp(34px, 10vw, 42px); }
    h2 { margin-top: 52px; padding-top: 18px; }
    .editorial-image { margin: 28px 0 42px; }
    .site-footer__inner { grid-template-columns: 1fr; gap: 28px; padding: 46px 0; }
    .footer-nav { grid-template-columns: 1fr; gap: 4px; }
    .decision-tree, .checklist-asset, .matrix-asset { padding: 20px; }
}
@media (max-width: 390px) {
    .site-header__inner { width: calc(100% - 24px); }
    .custom-logo { max-width: 225px; height: 42px; }
    .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
