:root {
    color-scheme: dark;
    --md2-bg: #07101d;
    --md2-panel: #0d1b2b;
    --md2-panel-2: #12263a;
    --md2-border: rgba(135, 211, 201, .22);
    --md2-text: #effaf7;
    --md2-muted: #adc5c4;
    --md2-teal: #71e6cf;
    --md2-teal-strong: #24bfa4;
    --md2-lime: #d5ee71;
    --md2-gold: #f3c96a;
    --md2-danger: #ff9e82;
    --md2-max: 1240px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body { margin: 0; }
img { display: block; width: 100%; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.md2-body {
    min-width: 0;
    color: var(--md2-text);
    background:
        radial-gradient(circle at 78% 4%, rgba(40, 196, 165, .17), transparent 29rem),
        radial-gradient(circle at 10% 28%, rgba(99, 83, 199, .13), transparent 32rem),
        linear-gradient(180deg, #07111f 0, #07101d 32rem, #08121f 100%);
    font-size: 1rem;
    line-height: 1.72;
}

.md2-body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
    opacity: .18;
    background-image:
        linear-gradient(rgba(123, 219, 201, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(123, 219, 201, .08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.md2-skip-link {
    position: fixed;
    top: .75rem;
    left: .75rem;
    z-index: 100;
    padding: .7rem 1rem;
    border-radius: .4rem;
    color: #06110f;
    background: var(--md2-teal);
    transform: translateY(-180%);
}
.md2-skip-link:focus { transform: translateY(0); }

.md2-site-header {
    position: sticky;
    top: var(--md2-top-overlay, 0px);
    z-index: 50;
    contain: inline-size;
    overflow-x: clip;
    overflow-y: visible;
    border-bottom: 1px solid rgba(127, 222, 205, .17);
    background: rgba(5, 14, 26, .92);
    backdrop-filter: blur(18px);
}

.md2-site-header__inner {
    width: min(calc(100% - 2rem), var(--md2-max));
    min-width: 0;
    min-height: 76px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.md2-brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    color: var(--md2-text);
    text-decoration: none;
}

.md2-brand__text { font-size: 1rem; line-height: 1.05; letter-spacing: .025em; white-space: nowrap; }

.md2-primary-nav {
    min-width: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .25rem;
    overflow: visible;
}

.md2-nav-item {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    border-radius: .45rem;
}

.md2-nav-link {
    flex: 0 0 auto;
    padding: .62rem .22rem .62rem .7rem;
    color: var(--md2-muted);
    font-size: .78rem;
    font-weight: 720;
    letter-spacing: .015em;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.md2-nav-item:hover,
.md2-nav-item:focus-within,
.md2-nav-item--current { background: var(--md2-teal); }
.md2-nav-item:hover > .md2-nav-link,
.md2-nav-item:focus-within > .md2-nav-link,
.md2-nav-link[aria-current="page"] { color: #06110f; outline: none; }

.md2-nav-dropdown { position: relative; }
.md2-nav-dropdown summary {
    width: 1.7rem;
    height: 2.15rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--md2-muted);
    list-style: none;
}
.md2-nav-dropdown summary::-webkit-details-marker { display: none; }
.md2-nav-dropdown summary:focus-visible { outline: 2px solid #06110f; outline-offset: -3px; }
.md2-nav-item:hover summary,
.md2-nav-item:focus-within summary,
.md2-nav-item--current summary { color: #06110f; }
.md2-nav-dropdown summary svg { width: .9rem; height: .9rem; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .16s ease; }
.md2-nav-dropdown[open] summary svg { transform: rotate(180deg); }
.md2-nav-menu {
    position: absolute;
    top: calc(100% + .65rem);
    left: -.4rem;
    z-index: 80;
    width: max-content;
    min-width: 220px;
    max-width: min(320px, calc(100vw - 2rem));
    margin: 0;
    padding: .45rem;
    display: none;
    list-style: none;
    border: 1px solid rgba(113, 230, 207, .38);
    border-radius: .65rem;
    background: #0b1a29;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .48);
}
.md2-nav-menu::before { position: absolute; inset: -.7rem 0 auto; height: .7rem; content: ""; }
.md2-nav-dropdown[open] > .md2-nav-menu,
.md2-nav-item:hover .md2-nav-menu,
.md2-nav-item:focus-within .md2-nav-menu { display: grid; }
.md2-nav-item:nth-last-child(-n+3) .md2-nav-menu { right: -.35rem; left: auto; }
.md2-nav-menu a {
    display: block;
    padding: .62rem .72rem;
    border-radius: .38rem;
    color: #d8e9e6;
    font-size: .78rem;
    font-weight: 720;
    line-height: 1.35;
    text-decoration: none;
}
.md2-nav-menu a:hover,
.md2-nav-menu a:focus-visible { color: #06110f; background: var(--md2-teal); outline: none; }

.md2-main { min-width: 0; }
.md2-article { width: min(calc(100% - 2rem), var(--md2-max)); margin-inline: auto; }

.md2-breadcrumbs { margin: 1.35rem 0 0; }
.md2-breadcrumbs ol { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; color: var(--md2-muted); font-size: .78rem; }
.md2-breadcrumbs li:not(:last-child)::after { margin-left: .45rem; content: "/"; color: rgba(173, 197, 196, .55); }
.md2-breadcrumbs a:hover { color: var(--md2-teal); }

.md2-hero {
    min-width: 0;
    padding: clamp(2rem, 5vw, 5.4rem) 0 clamp(2.4rem, 5vw, 4.8rem);
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

.md2-hero__copy { min-width: 0; }
.md2-eyebrow,
.md2-section-kicker {
    margin: 0 0 .65rem;
    color: var(--md2-teal);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.md2-hero h1 {
    max-width: 16ch;
    margin: 0;
    font-size: clamp(2.45rem, 5.25vw, 5.35rem);
    line-height: .98;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.md2-lead { max-width: 63ch; margin: 1.25rem 0 0; color: #d0e3e0; font-size: clamp(1.02rem, 1.65vw, 1.23rem); line-height: 1.62; }
.md2-badges { margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; }
.md2-badges li { padding: .45rem .7rem; border: 1px solid var(--md2-border); border-radius: 999px; color: #dff8f2; background: rgba(14, 33, 50, .72); font-size: .75rem; font-weight: 700; }
.md2-updated { margin: 1.2rem 0 0; color: var(--md2-muted); font-size: .78rem; }

.md2-hero__media,
.md2-inline-figure { min-width: 0; margin: 0; }
.md2-hero__media { position: relative; }
.md2-hero__media::before { position: absolute; inset: -12px 16px 14px -12px; z-index: -1; content: ""; border: 1px solid rgba(113, 230, 207, .35); background: rgba(14, 36, 53, .48); clip-path: polygon(0 0, 94% 0, 100% 12%, 100% 100%, 6% 100%, 0 88%); }
.md2-hero__media img { aspect-ratio: 16 / 9; object-fit: cover; clip-path: polygon(0 0, 94% 0, 100% 12%, 100% 100%, 6% 100%, 0 88%); box-shadow: 0 24px 70px rgba(0, 0, 0, .45); }
figcaption { margin-top: .65rem; color: var(--md2-muted); font-size: .74rem; line-height: 1.5; }

.md2-content-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem);
}

.md2-guide-rail { position: sticky; top: 6rem; min-width: 0; padding-bottom: 2rem; }
.md2-toc { padding: 1.15rem; border: 1px solid var(--md2-border); background: rgba(11, 27, 42, .72); }
.md2-toc strong { color: var(--md2-text); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.md2-toc ol { margin: .8rem 0 0; padding: 0 0 0 1.2rem; color: var(--md2-muted); font-size: .78rem; }
.md2-toc li + li { margin-top: .5rem; }
.md2-toc a { text-decoration: none; }
.md2-toc a:hover,
.md2-toc a:focus-visible { color: var(--md2-teal); text-decoration: underline; }

.md2-guide-body { min-width: 0; }
.md2-section { min-width: 0; padding: clamp(2.4rem, 5vw, 4.5rem) 0; border-top: 1px solid var(--md2-border); }
.md2-section > header { max-width: 780px; margin-bottom: 1.3rem; }
.md2-section h2,
.md2-article-footer h2 { margin: 0; font-size: clamp(1.7rem, 3.1vw, 2.8rem); line-height: 1.08; letter-spacing: -.028em; text-wrap: balance; }
.md2-section h3 { margin: 1.7rem 0 .7rem; color: var(--md2-lime); font-size: 1.05rem; line-height: 1.35; }
.md2-section > p { max-width: 78ch; color: #c7d9d6; }

.md2-quick-answers dl { margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--md2-border); border: 1px solid var(--md2-border); }
.md2-quick-answers dl div { min-width: 0; padding: 1rem; background: var(--md2-panel); }
.md2-quick-answers dt { color: var(--md2-teal); font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.md2-quick-answers dd { margin: .38rem 0 0; color: var(--md2-text); font-size: .94rem; line-height: 1.5; }

.md2-check-list { max-width: 82ch; margin: 1rem 0 0; padding: 0; list-style: none; }
.md2-check-list li { position: relative; padding: .72rem .75rem .72rem 2rem; border-bottom: 1px solid rgba(135, 211, 201, .13); color: #c9dbd8; }
.md2-check-list li::before { position: absolute; left: .35rem; top: 1.18rem; width: .58rem; aspect-ratio: 1; content: ""; background: var(--md2-teal); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

.md2-steps { margin: 1.4rem 0 0; padding: 0; display: grid; gap: .85rem; list-style: none; counter-reset: md2-steps; }
.md2-steps li { min-width: 0; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 1rem; counter-increment: md2-steps; }
.md2-steps li::before { width: 54px; aspect-ratio: 1; display: grid; place-items: center; content: counter(md2-steps, decimal-leading-zero); border: 1px solid rgba(113, 230, 207, .35); color: var(--md2-teal); background: rgba(11, 29, 44, .82); font-size: .8rem; font-weight: 850; }
.md2-steps li > div { min-width: 0; padding: .8rem 1rem; border-left: 2px solid var(--md2-teal-strong); background: rgba(13, 31, 47, .7); }
.md2-steps strong { display: block; color: var(--md2-text); }
.md2-steps p { margin: .2rem 0 0; color: var(--md2-muted); font-size: .91rem; }

.md2-card-grid { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.md2-card-grid article { min-width: 0; padding: 1.2rem; border: 1px solid var(--md2-border); background: linear-gradient(145deg, rgba(15, 37, 54, .92), rgba(8, 24, 37, .9)); }
.md2-card-grid h3 { margin: 0; color: var(--md2-text); font-size: 1rem; }
.md2-card-grid p { margin: .5rem 0 0; color: var(--md2-muted); font-size: .89rem; }
.md2-card-grid a { display: inline-block; margin-top: .85rem; color: var(--md2-teal); font-size: .78rem; font-weight: 800; text-decoration: none; }
.md2-card-grid a:hover,
.md2-card-grid a:focus-visible { text-decoration: underline; }

.md2-table-wrap { max-width: 100%; margin-top: 1.4rem; overflow-x: auto; border: 1px solid var(--md2-border); scrollbar-width: thin; }
.md2-table-wrap table { width: 100%; min-width: 690px; border-collapse: collapse; background: rgba(9, 24, 38, .88); }
.md2-table-wrap caption { padding: .8rem 1rem; color: var(--md2-muted); text-align: left; font-size: .78rem; font-weight: 700; }
.md2-table-wrap th,
.md2-table-wrap td { min-width: 0; padding: .9rem 1rem; border-top: 1px solid var(--md2-border); text-align: left; vertical-align: top; }
.md2-table-wrap th { color: var(--md2-teal); background: rgba(16, 44, 59, .72); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.md2-table-wrap td { color: #c9d9d7; font-size: .88rem; }
.md2-table-wrap a { color: var(--md2-teal); }
.md2-table-wrap code,
.md2-callout code { color: var(--md2-lime); overflow-wrap: anywhere; }

.md2-definitions { margin: 1.4rem 0 0; display: grid; gap: .75rem; }
.md2-definitions div { min-width: 0; padding: 1rem 1.1rem; border-left: 3px solid var(--md2-gold); background: rgba(14, 31, 46, .75); }
.md2-definitions dt { color: var(--md2-text); font-weight: 800; }
.md2-definitions dd { margin: .28rem 0 0; color: var(--md2-muted); }

.md2-callout { max-width: 82ch; margin: 1.5rem 0 0; padding: 1rem 1.15rem; border: 1px solid var(--md2-border); background: rgba(16, 42, 57, .74); }
.md2-callout--warning { border-color: rgba(255, 158, 130, .48); background: rgba(80, 33, 34, .38); }
.md2-callout h3 { margin: 0; color: var(--md2-text); }
.md2-callout p { margin: .45rem 0 0; color: #d4e2df; }

.md2-inline-figure { margin-top: 1.7rem; }
.md2-inline-figure img { aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--md2-border); }

.md2-faq details { border-top: 1px solid var(--md2-border); }
.md2-faq details:last-child { border-bottom: 1px solid var(--md2-border); }
.md2-faq summary { padding: 1rem 2.2rem 1rem .25rem; cursor: pointer; color: var(--md2-text); font-weight: 760; }
.md2-faq summary:hover,
.md2-faq summary:focus-visible { color: var(--md2-teal); outline: none; }
.md2-faq details div { padding: 0 1rem 1rem .25rem; color: var(--md2-muted); }
.md2-faq details p { max-width: 76ch; margin: 0; }

.md2-sources > p { color: var(--md2-muted); }
.md2-sources ul { margin: 1.2rem 0 0; padding: 0; display: grid; gap: .6rem; list-style: none; }
.md2-sources li { min-width: 0; padding: .8rem 1rem; border: 1px solid rgba(135, 211, 201, .13); background: rgba(9, 24, 37, .65); }
.md2-sources a { color: var(--md2-teal); font-weight: 750; overflow-wrap: anywhere; }
.md2-sources span { display: block; margin-top: .22rem; color: var(--md2-muted); font-size: .8rem; }

.md2-article-footer { padding: clamp(2.7rem, 6vw, 5.5rem) 0; border-top: 1px solid var(--md2-border); }
.md2-article-footer nav { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.md2-article-footer a { min-width: 0; padding: 1rem; border: 1px solid var(--md2-border); background: var(--md2-panel); text-decoration: none; }
.md2-article-footer a:hover,
.md2-article-footer a:focus-visible { border-color: var(--md2-teal); outline: none; }
.md2-article-footer strong { display: block; color: var(--md2-teal); }
.md2-article-footer span { display: block; margin-top: .3rem; color: var(--md2-muted); font-size: .78rem; line-height: 1.45; }

.md2-framework h2,
.md2-source-disclosure > summary {
    margin: 0;
    font-size: clamp(1.7rem, 3.1vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -.028em;
    text-wrap: balance;
}

.md2-hub-opening { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 1.25rem; align-items: start; }
.md2-hub-opening > * { border: 1px solid var(--md2-border); padding-inline: clamp(1rem, 2.5vw, 2rem); background: rgba(9, 25, 39, .72); }
.md2-hub-opening .md2-quick-answers dl { grid-template-columns: minmax(0, 1fr); }
.md2-topic-directory .md2-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.md2-hub-faq { margin-top: 1rem; padding-inline: clamp(1rem, 3vw, 2.4rem); border: 1px solid var(--md2-border); background: linear-gradient(135deg, rgba(24, 51, 65, .72), rgba(10, 27, 42, .75)); }
.md2-session-plan { max-width: 920px; margin-left: auto; }

.md2-platform-facts,
.md2-beginner-brief,
.md2-gear-dashboard,
.md2-sift-facts,
.md2-review-scorecard { margin: 0 0 2rem; padding: clamp(1rem, 2.8vw, 2rem); border: 1px solid var(--md2-border); background: rgba(10, 28, 42, .78); }
.md2-platform-facts > h2,
.md2-beginner-brief > h2,
.md2-gear-dashboard > h2,
.md2-sift-facts > h2,
.md2-review-scorecard > h2 { font-size: clamp(1.3rem, 2.3vw, 2rem); }
.md2-platform-storefront { padding-top: 2rem; border-top: 3px solid var(--md2-teal); }
.md2-edition-matrix { margin: 1rem 0; padding-inline: clamp(1rem, 3vw, 2.2rem); background: rgba(16, 36, 53, .58); }
.md2-install-workflow { width: min(900px, 100%); margin-left: auto; }
.md2-source-disclosure > summary { cursor: pointer; color: var(--md2-teal); font-weight: 800; }
.md2-source-disclosure > summary:focus-visible { outline: 2px solid var(--md2-teal); outline-offset: .3rem; }
.md2-source-disclosure > div { margin-top: 1.2rem; }

.md2-route-index { margin: 0 0 2rem; padding: 1rem; border: 1px solid var(--md2-border); background: rgba(8, 24, 38, .72); }
.md2-route-index ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; list-style: none; counter-reset: md2-route; }
.md2-route-index li { counter-increment: md2-route; }
.md2-route-index a { min-height: 100%; padding: .75rem; display: block; color: var(--md2-muted); background: var(--md2-panel); text-decoration: none; }
.md2-route-index a::before { display: block; content: counter(md2-route, decimal-leading-zero); color: var(--md2-teal); font-size: .7rem; font-weight: 850; }
.md2-route-index a:hover,
.md2-route-index a:focus-visible { color: var(--md2-text); outline: 1px solid var(--md2-teal); }
.md2-learning-path { margin: 0; padding: 0; display: grid; gap: 1rem; list-style: none; counter-reset: md2-learning; }
.md2-learning-path > li { position: relative; padding-left: 4rem; counter-increment: md2-learning; }
.md2-learning-path > li::before { position: absolute; left: 0; top: 2.25rem; width: 2.8rem; aspect-ratio: 1; display: grid; place-items: center; content: counter(md2-learning); border: 1px solid var(--md2-teal); color: var(--md2-teal); font-weight: 850; }
.md2-learning-path > li > article { padding: clamp(1.4rem, 3vw, 2.5rem); border-left: 3px solid var(--md2-teal-strong); background: rgba(10, 28, 43, .7); }

.md2-coop-facts { margin-bottom: 2rem; overflow-x: auto; border: 1px solid var(--md2-border); }
.md2-coop-facts table { width: 100%; border-collapse: collapse; background: rgba(9, 24, 38, .88); }
.md2-coop-facts caption { padding: 1rem; color: var(--md2-teal); text-align: left; font-weight: 850; }
.md2-coop-facts th,
.md2-coop-facts td { padding: .85rem 1rem; border-top: 1px solid var(--md2-border); text-align: left; }
.md2-coop-facts th { width: 32%; color: var(--md2-text); }
.md2-coop-facts td { color: var(--md2-muted); }
.md2-coop-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.md2-coop-board > * { min-width: 0; padding: clamp(1.2rem, 2.6vw, 2rem); border: 1px solid var(--md2-border); background: rgba(10, 28, 43, .68); }
.md2-coop-board > :nth-child(2),
.md2-coop-board > :nth-child(3) { background: rgba(18, 41, 56, .78); }
.md2-coop-board h2 { font-size: clamp(1.4rem, 2.4vw, 2.15rem); }

.md2-workbench { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.md2-workbench > article { min-width: 0; padding: clamp(1.2rem, 2.8vw, 2.2rem); border: 1px solid var(--md2-border); background: linear-gradient(145deg, rgba(16, 40, 57, .9), rgba(8, 24, 37, .9)); }
.md2-workbench data { display: block; color: var(--md2-gold); font-size: .76rem; font-weight: 850; letter-spacing: .14em; }
.md2-workbench h2 { margin-top: .45rem; font-size: clamp(1.4rem, 2.5vw, 2.2rem); }
.md2-gear-faq { margin-top: 2rem; }

.md2-sift-cover { margin: 2rem 0 0; }
.md2-sift-cover img { aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--md2-border); }
.md2-sift-intro { width: min(900px, 100%); padding: clamp(2rem, 5vw, 4rem) 0; }
.md2-sift-intro h1 { margin: 0; max-width: 16ch; font-size: clamp(2.45rem, 5.25vw, 5.35rem); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.md2-expedition-map { padding: clamp(1rem, 3vw, 2rem); border: 1px solid rgba(243, 201, 106, .38); background: rgba(42, 35, 25, .36); }
.md2-expedition-map h2 { color: var(--md2-gold); font-size: 1.35rem; }
.md2-expedition-map ol { margin: 1rem 0 0; padding-left: 1.4rem; columns: 2; column-gap: 2rem; }
.md2-expedition-map li { break-inside: avoid; margin-bottom: .55rem; }
.md2-expedition-map a { color: #f8e4ad; }
.md2-expedition-log { margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; list-style: none; counter-reset: md2-checkpoint; }
.md2-expedition-log > li { counter-increment: md2-checkpoint; }
.md2-expedition-log > li > article { position: relative; padding: clamp(1.3rem, 3vw, 2.4rem); border-left: 4px solid var(--md2-gold); background: rgba(13, 29, 43, .7); }
.md2-expedition-log > li > article::after { position: absolute; top: 1rem; right: 1rem; content: "0" counter(md2-checkpoint); color: rgba(243, 201, 106, .45); font-size: 1.8rem; font-weight: 900; }

.md2-verdict-panel { margin-bottom: 1.25rem; padding: clamp(1.4rem, 3.2vw, 2.7rem); border: 1px solid rgba(213, 238, 113, .42); background: linear-gradient(135deg, rgba(48, 63, 32, .45), rgba(10, 29, 43, .82)); }
.md2-verdict-panel h2 { max-width: 16ch; font-size: clamp(2rem, 4vw, 3.7rem); }
.md2-review-faq { padding-inline: clamp(1rem, 3vw, 2rem); border: 1px solid var(--md2-border); }
.md2-review-balance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.md2-review-balance > section { min-width: 0; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--md2-border); background: rgba(10, 28, 42, .72); }
.md2-review-balance > section:first-child { border-top: 3px solid var(--md2-teal); }
.md2-review-balance > section:last-child { border-top: 3px solid var(--md2-danger); }
.md2-review-balance h2 { font-size: clamp(1.45rem, 2.8vw, 2.4rem); }
.md2-buying-choice { margin-top: 1rem; }

.md2-boss-dossier,
.md2-build-blueprint,
.md2-route-facts,
.md2-farm-metrics,
.md2-threat-scale { margin-bottom: 2rem; padding: clamp(1rem, 2.8vw, 2rem); border: 1px solid var(--md2-border); background: rgba(9, 27, 42, .8); }
.md2-boss-dossier { border-color: rgba(255, 158, 130, .42); background: linear-gradient(135deg, rgba(83, 34, 35, .36), rgba(9, 27, 42, .85)); }
.md2-boss-dossier > h2,
.md2-build-blueprint > h2,
.md2-route-facts > h2,
.md2-farm-metrics > h2,
.md2-threat-scale > h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); }
.md2-boss-arena { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.md2-boss-arena > section { min-width: 0; padding: clamp(1.2rem, 3vw, 2.2rem); border: 1px solid var(--md2-border); background: rgba(11, 29, 44, .76); }
.md2-boss-arena > section:first-child { border-top: 4px solid var(--md2-danger); }
.md2-boss-arena > section:last-child { border-top: 4px solid var(--md2-gold); }
.md2-boss-arena h2 { font-size: clamp(1.5rem, 2.7vw, 2.4rem); }
.md2-boss-support { width: min(980px, 100%); }
.md2-boss-support:nth-of-type(even) { margin-left: auto; }

.md2-build-blueprint { border-top: 3px solid var(--md2-lime); }
.md2-build-modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.md2-build-modules > article { min-width: 0; padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--md2-border); background: linear-gradient(145deg, rgba(16, 40, 57, .88), rgba(8, 24, 37, .9)); }
.md2-build-modules data { display: block; color: var(--md2-lime); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.md2-build-modules h2 { margin-top: .45rem; font-size: clamp(1.45rem, 2.6vw, 2.3rem); }
.md2-build-faq { margin-top: 2rem; }

.md2-route-facts { border-left: 4px solid var(--md2-gold); }
.md2-farm-metrics { border-top: 3px solid var(--md2-teal); }
.md2-farm-comparison { background: rgba(15, 38, 54, .5); }
.md2-farm-loop { width: min(960px, 100%); margin-left: auto; border-left: 4px solid var(--md2-teal-strong); padding-inline: clamp(1rem, 3vw, 2rem); }
.md2-farm-note { width: min(900px, 100%); border: 1px solid var(--md2-border); padding-inline: clamp(1rem, 3vw, 2rem); background: rgba(14, 31, 46, .6); }
.md2-farm-note:nth-of-type(even) { margin-left: auto; }

.md2-threat-scale { border-color: rgba(255, 158, 130, .45); background: linear-gradient(135deg, rgba(76, 30, 34, .36), rgba(9, 27, 42, .84)); }
.md2-threat-plan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.md2-threat-plan > section { min-width: 0; padding: clamp(1.25rem, 3vw, 2.2rem); border: 1px solid var(--md2-border); background: rgba(11, 28, 43, .74); }
.md2-threat-plan > section:nth-child(1) { border-top: 4px solid var(--md2-gold); }
.md2-threat-plan > section:nth-child(2) { border-top: 4px solid var(--md2-teal); }
.md2-threat-plan > section:nth-child(3) { border-top: 4px solid var(--md2-lime); }
.md2-threat-plan > section:nth-child(4) { border-top: 4px solid var(--md2-danger); }
.md2-threat-plan h2 { font-size: clamp(1.45rem, 2.7vw, 2.35rem); }
.md2-threat-faq { margin-top: 2rem; }

.md2-world-map-index { margin-bottom: 1rem; padding: clamp(1rem, 2.8vw, 2rem); border: 1px solid rgba(113, 230, 207, .38); background: linear-gradient(135deg, rgba(14, 52, 61, .62), rgba(8, 25, 40, .82)); }
.md2-world-map-index h2 { color: var(--md2-teal); font-size: 1.35rem; }
.md2-world-map-index ol { margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; list-style: none; counter-reset: md2-map-index; }
.md2-world-map-index li { counter-increment: md2-map-index; }
.md2-world-map-index a { min-height: 100%; padding: .8rem; display: block; border: 1px solid rgba(135, 211, 201, .17); color: var(--md2-text); background: rgba(7, 24, 37, .7); text-decoration: none; }
.md2-world-map-index a::before { display: block; content: counter(md2-map-index, decimal-leading-zero); color: var(--md2-teal); font-size: .68rem; font-weight: 850; }
.md2-world-map-index a:hover,
.md2-world-map-index a:focus-visible { border-color: var(--md2-teal); outline: none; }
.md2-map-legend { margin-bottom: 2rem; padding: clamp(1rem, 2.8vw, 2rem); border-left: 4px solid var(--md2-gold); background: rgba(10, 28, 42, .78); }
.md2-map-legend > h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); }
.md2-map-progression { border-top: 3px solid var(--md2-teal); }
.md2-dimension-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.md2-dimension-grid > article { min-width: 0; padding: clamp(1.25rem, 3vw, 2.2rem); border: 1px solid var(--md2-border); background: rgba(10, 29, 44, .72); }
.md2-dimension-grid > article:first-child { border-top: 4px solid var(--md2-lime); }
.md2-dimension-grid > article:last-child { border-top: 4px solid #8b77e8; }
.md2-dimension-grid h2 { font-size: clamp(1.45rem, 2.7vw, 2.35rem); }
.md2-map-markers { margin-top: 1rem; }
.md2-map-command { margin-bottom: 1.2rem; padding: clamp(1.2rem, 3vw, 2.4rem); border: 1px solid rgba(113, 230, 207, .42); background: radial-gradient(circle at 85% 0, rgba(113, 230, 207, .12), transparent 20rem), rgba(7, 24, 38, .88); }
.md2-map-command > header { max-width: 820px; }
.md2-map-command > header h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
.md2-map-command > header p:last-child { color: var(--md2-muted); }
.md2-map-tools { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.md2-map-tools article { min-width: 0; padding: 1.2rem; border: 1px solid var(--md2-border); background: linear-gradient(145deg, rgba(17, 42, 58, .92), rgba(8, 25, 38, .92)); }
.md2-map-tools h3 { margin: 0; color: var(--md2-text); }
.md2-map-tools p { color: var(--md2-muted); }
.md2-map-tools ul { margin: .8rem 0 0; padding-left: 1.2rem; color: #c9dbd8; font-size: .85rem; }
.md2-map-tools a { margin-top: 1rem; padding: .65rem .85rem; display: inline-flex; border: 1px solid var(--md2-teal); border-radius: .45rem; color: #06110f; background: var(--md2-teal); font-size: .8rem; font-weight: 850; text-decoration: none; }
.md2-map-tools a:hover,
.md2-map-tools a:focus-visible { color: var(--md2-text); background: transparent; outline: none; }
.md2-map-stats { margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; list-style: none; background: var(--md2-border); border: 1px solid var(--md2-border); }
.md2-map-stats li { min-width: 0; padding: .85rem; background: #0b1b2a; }
.md2-map-stats data { display: block; color: var(--md2-gold); font-size: 1.35rem; font-weight: 900; }
.md2-map-stats strong,
.md2-map-stats span { display: block; }
.md2-map-stats strong { color: var(--md2-text); font-size: .76rem; }
.md2-map-stats span { margin-top: .25rem; color: var(--md2-muted); font-size: .68rem; line-height: 1.35; }
.md2-world-schematic { margin: 0 0 1.2rem; padding: clamp(.75rem, 2vw, 1.4rem); border: 1px solid rgba(139, 119, 232, .35); background: linear-gradient(180deg, rgba(8, 27, 42, .96), rgba(16, 25, 49, .92)); }
.md2-world-schematic svg { display: block; width: 100%; height: auto; }
.md2-map-line { fill: none; stroke: rgba(113, 230, 207, .62); stroke-width: 5; stroke-linecap: round; }
.md2-map-line--rift { stroke: rgba(139, 119, 232, .75); stroke-dasharray: 12 10; }
.md2-map-node circle { fill: #102d3e; stroke: var(--md2-teal); stroke-width: 4; }
.md2-map-node--hub circle { fill: #2b3c2e; stroke: var(--md2-lime); }
.md2-map-node--rift circle { fill: #282346; stroke: #a794ff; }
.md2-map-node text { fill: var(--md2-text); font-size: 13px; font-weight: 800; text-anchor: middle; }
.md2-map-label { fill: var(--md2-teal); font-size: 20px; font-weight: 900; letter-spacing: 5px; }
.md2-map-label--rift { fill: #b8a9ff; }
.md2-map-portal-label { fill: var(--md2-gold); font-size: 14px; font-weight: 900; letter-spacing: 3px; }

.md2-site-footer {
    width: min(calc(100% - 2rem), var(--md2-max));
    margin: 2rem auto 0;
    padding: 2rem 0 2.8rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    border-top: 1px solid var(--md2-border);
    color: var(--md2-muted);
    font-size: .78rem;
}
.md2-site-footer strong { color: var(--md2-text); }
.md2-site-footer p { max-width: 76ch; margin: .4rem 0 0; }
.md2-site-footer nav { display: flex; flex-wrap: wrap; align-items: start; justify-content: end; gap: .9rem; }
.md2-site-footer a:hover { color: var(--md2-teal); }

@media (max-width: 1080px) {
    .md2-site-header__inner { align-items: stretch; flex-direction: column; gap: .45rem; padding: .7rem 0 .45rem; }
    .md2-brand { align-self: flex-start; }
    .md2-primary-nav { width: 100%; margin-left: 0; padding-bottom: .25rem; overflow-x: auto; scrollbar-width: thin; }
    .md2-primary-nav:has(.md2-nav-dropdown[open]) { overflow: visible; }
    .md2-nav-link { padding: .5rem .18rem .5rem .65rem; }
    .md2-nav-dropdown summary { height: 1.9rem; }
    .md2-nav-menu,
    .md2-nav-item:nth-last-child(-n+3) .md2-nav-menu {
        position: fixed;
        top: 6.25rem;
        right: 1rem;
        left: 1rem;
        width: auto;
        max-width: none;
        max-height: calc(100dvh - 7.25rem);
        overflow-y: auto;
    }
    .md2-hero { grid-template-columns: minmax(0, 1fr); }
    .md2-hero h1 { max-width: 20ch; }
    .md2-hero__media { max-width: 860px; }
    .md2-content-grid { grid-template-columns: minmax(0, 1fr); }
    .md2-guide-rail { position: static; padding-bottom: 0; }
    .md2-toc ol { columns: 2; column-gap: 2rem; }
    .md2-hub-opening { grid-template-columns: minmax(0, 1fr); }
    .md2-hub-opening .md2-quick-answers dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md2-route-index ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    html { scroll-padding-top: 8.5rem; }
    .md2-site-header__inner,
    .md2-article,
    .md2-site-footer { width: min(calc(100% - 1.25rem), var(--md2-max)); }
    .md2-brand__text { font-size: .94rem; }
    .md2-hero { padding-top: 2rem; gap: 1.8rem; }
    .md2-hero h1 { font-size: clamp(2.25rem, 12vw, 3.75rem); }
    .md2-lead { font-size: 1rem; }
    .md2-hero__media::before { inset: -7px 8px 8px -7px; }
    .md2-content-grid { gap: 1.2rem; }
    .md2-toc ol { columns: 1; }
    .md2-quick-answers dl { grid-template-columns: minmax(0, 1fr); }
    .md2-card-grid,
    .md2-article-footer nav { grid-template-columns: minmax(0, 1fr); }
    .md2-topic-directory .md2-card-grid,
    .md2-hub-opening .md2-quick-answers dl,
    .md2-coop-board,
    .md2-workbench,
    .md2-review-balance,
    .md2-boss-arena,
    .md2-build-modules,
    .md2-threat-plan,
    .md2-dimension-grid { grid-template-columns: minmax(0, 1fr); }
    .md2-map-tools { grid-template-columns: minmax(0, 1fr); }
    .md2-map-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md2-route-index ol { grid-template-columns: minmax(0, 1fr); }
    .md2-world-map-index ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md2-learning-path > li { padding-left: 0; }
    .md2-learning-path > li::before { position: static; margin-bottom: .45rem; }
    .md2-expedition-map ol { columns: 1; }
    .md2-world-map-index ol { grid-template-columns: minmax(0, 1fr); }
    .md2-map-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md2-sift-intro h1 { font-size: clamp(2.25rem, 12vw, 3.75rem); }
    .md2-steps li { grid-template-columns: 42px minmax(0, 1fr); gap: .7rem; }
    .md2-steps li::before { width: 42px; }
    .md2-site-footer { grid-template-columns: minmax(0, 1fr); }
    .md2-site-footer nav { justify-content: start; }
}

@media (hover: none) {
    .md2-nav-item:hover .md2-nav-menu { display: none; }
    .md2-nav-dropdown[open] > .md2-nav-menu { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
