:root {
    color-scheme: light;
    --ink: #0b1020;
    --ink-soft: #141d35;
    --paper: #ffffff;
    --canvas: #f3f5f9;
    --line: #dce2ea;
    --muted: #586477;
    --signal: #b8ff39;
    --signal-dark: #436d00;
    --blue: #4d72ff;
    --blue-soft: #e8edff;
    --danger: #a62b31;
    --shadow: 0 22px 55px rgba(7, 15, 35, .12);
    --radius-sm: .55rem;
    --radius: 1rem;
    --radius-lg: 1.6rem;
    --shell: 75rem;
    --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .13em; }
:where(a, button, input, summary):focus-visible {
    outline: .2rem solid var(--blue);
    outline-offset: .2rem;
    border-radius: .2rem;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.35rem, 10vw, 5.5rem); }
h2 { font-size: clamp(1.85rem, 6.5vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 4vw, 1.45rem); }
p, ul, ol { margin-top: 0; }
code { padding: .12em .35em; border: 1px solid var(--line); border-radius: .3rem; background: var(--canvas); font-size: .9em; }

.shell { width: min(100% - 2rem, var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: .75rem; left: .75rem; translate: 0 -200%; padding: .7rem 1rem; background: var(--signal); color: var(--ink); font-weight: 800; }
.skip-link:focus { translate: 0; }
.icon { width: 1.5rem; height: 1.5rem; flex: 0 0 auto; }
.icon--small { width: 1.05rem; height: 1.05rem; display: inline-block; vertical-align: -.15em; }

.trust-bar { background: var(--ink); color: #dce4f7; font-size: .76rem; font-weight: 750; letter-spacing: .02em; }
.trust-bar .shell { display: flex; min-height: 2.25rem; align-items: center; justify-content: center; gap: 1rem; }
.trust-bar span { display: inline-flex; align-items: center; white-space: nowrap; }
.trust-bar i { width: .5rem; height: .5rem; margin-right: .45rem; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 .2rem rgba(184,255,57,.15); }
.trust-bar__wide { display: none !important; }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(11,16,32,.12); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.header-inner { display: flex; min-height: 4.6rem; align-items: center; gap: .8rem; }
.brand { display: grid; grid-template-columns: 2.45rem auto; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; }
.brand img { grid-row: 1 / 3; width: 2.45rem; height: 2.45rem; }
.brand > span { align-self: end; font-size: 1.35rem; font-weight: 900; line-height: 1; letter-spacing: -.07em; }
.brand > span span { color: var(--blue); }
.brand small { align-self: start; color: var(--muted); font-size: .61rem; font-weight: 800; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.desktop-nav, .header-cta { display: none; }
.mobile-nav { position: relative; margin-left: auto; }
.mobile-nav summary { display: inline-flex; min-height: 2.75rem; cursor: pointer; list-style: none; align-items: center; gap: .45rem; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 800; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav[open] summary { border-color: var(--ink); background: var(--ink); color: white; }
.mobile-nav nav { position: absolute; top: calc(100% + .65rem); right: 0; width: min(18rem, calc(100vw - 2rem)); max-height: calc(100vh - 7.5rem); overflow-y: auto; padding: .65rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.mobile-nav nav a { display: block; padding: .7rem .8rem; border-radius: .5rem; font-weight: 720; text-decoration: none; }
.mobile-nav nav a:hover { background: var(--canvas); }

.eyebrow { display: flex; align-items: center; gap: .55rem; margin-bottom: .9rem; color: var(--signal); font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow > span { width: 1.9rem; height: .18rem; background: currentColor; }
.eyebrow--dark { color: var(--signal-dark); }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: .45rem; padding: .72rem 1.05rem; border: 1px solid transparent; border-radius: .65rem; font-weight: 850; line-height: 1.2; text-decoration: none; transition: translate .18s ease, box-shadow .18s ease, background-color .18s ease; }
.button:hover { translate: 0 -.12rem; text-decoration: none; }
.button--primary { background: var(--signal); color: var(--ink); box-shadow: 0 .55rem 1.25rem rgba(125,177,26,.2); }
.button--dark { background: var(--ink); color: white; }
.button--light { background: white; color: var(--ink); }
.button--ghost { border-color: rgba(255,255,255,.35); color: white; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; color: #294fc9; font-weight: 850; }
.text-link--light { color: var(--signal); }

.hero-section { overflow: hidden; background: var(--ink); color: white; }
.hero-grid { display: grid; gap: 2.5rem; padding-block: clamp(3.6rem, 10vw, 7rem); }
.hero-copy { min-width: 0; }
.hero-copy h1 { max-width: 13ch; }
.hero-copy h1 em { color: var(--signal); font-style: normal; }
.hero-lead { max-width: 43rem; margin: 1.4rem 0 0; color: #c4cde0; font-size: clamp(1.05rem, 3vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.hero-proof { display: grid; gap: .55rem; margin: 1.75rem 0 0; padding: 0; color: #d8e0ef; list-style: none; font-size: .9rem; }
.hero-proof li { display: flex; align-items: center; gap: .45rem; }
.hero-proof .icon { color: var(--signal); }
.hero-model { position: relative; display: grid; gap: .7rem; align-content: center; min-width: 0; }
.hero-model::before { content: ""; position: absolute; top: 5%; right: -20%; width: 26rem; height: 26rem; border: 1px solid rgba(184,255,57,.2); border-radius: 50%; }
.hero-model div { position: relative; display: grid; grid-template-columns: 2.15rem minmax(0,1fr); gap: .1rem .7rem; padding: .9rem; border: 1px solid rgba(255,255,255,.12); border-radius: .8rem; background: rgba(255,255,255,.055); }
.hero-model span { grid-row: 1 / 3; color: var(--signal); font-size: .73rem; font-weight: 900; }
.hero-model strong { font-size: 1rem; }
.hero-model small { color: #aeb9ce; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats div { min-width: 0; padding: 1.1rem 0; }
.hero-stats strong, .hero-stats span { display: block; overflow-wrap: anywhere; }
.hero-stats strong { color: var(--signal); font-size: 1.55rem; }
.hero-stats span { color: #aeb9ce; font-size: .76rem; }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--light { background: var(--canvas); }
.section--white { background: white; }
.section--ink { background: var(--ink); color: white; }
.section--signal { background: var(--signal); }
.section-head { display: grid; gap: 1rem; margin-bottom: 2rem; }
.section-head > p { max-width: 36rem; color: var(--muted); }
.section-head--inverse p { color: #aeb9ce; }
.section-head--inverse h2 { color: white; }

.topic-grid, .article-grid { display: grid; gap: 1rem; }
.topic-card, .article-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.topic-card { display: block; padding: 1.25rem; text-decoration: none; transition: border-color .18s ease, translate .18s ease, box-shadow .18s ease; }
.topic-card:hover { translate: 0 -.2rem; border-color: var(--blue); box-shadow: 0 .85rem 2rem rgba(12,29,63,.09); text-decoration: none; }
.topic-card__icon { width: 2.2rem; height: 2.2rem; margin-bottom: 1.5rem; color: var(--blue); }
.topic-card h3 { margin-bottom: .65rem; }
.topic-card p { color: var(--muted); }
.article-card { position: relative; padding: 1.25rem; color: var(--ink); }
.article-card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; margin-bottom: 1.05rem; color: var(--muted); font-size: .72rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.article-card h3 { margin-bottom: .75rem; }
.article-card h3 a { text-decoration: none; }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; }
.article-card p { color: var(--muted); }
.article-card .text-link { position: relative; z-index: 1; }
.section--ink .article-card { border-color: #28334e; background: var(--ink-soft); color: white; }
.section--ink .article-card p, .section--ink .article-card__meta { color: #abb6cb; }

.decision-section, .principles-layout, .split-feature { display: grid; gap: 2rem; }
.decision-section > div:first-child > p, .principles-layout > div > p, .split-feature > div > p { color: var(--muted); }
.decision-matrix { display: grid; gap: .8rem; }
.decision-matrix article { padding: 1.15rem; border-left: .28rem solid var(--signal); background: var(--canvas); }
.decision-matrix strong { color: var(--signal-dark); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.decision-matrix h3 { margin: .25rem 0 .6rem; }
.decision-matrix p { margin-bottom: .7rem; color: var(--muted); }
.principles-list { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.principles-list li { display: grid; grid-template-columns: 2.2rem minmax(0,1fr); gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; }
.principles-list > li > span { color: var(--blue); font-size: .76rem; font-weight: 900; }
.principles-list p { margin: .35rem 0 0; color: var(--muted); }
.formula-card { display: grid; gap: .6rem; padding: 1.25rem; border: 2px solid var(--ink); border-radius: var(--radius); background: white; color: var(--ink); font-weight: 850; text-align: center; box-shadow: .65rem .65rem 0 rgba(11,16,32,.14); }
.formula-card strong { font-size: 1.7rem; }
.formula-card i { color: var(--signal-dark); font-style: normal; }

.breadcrumbs { overflow: hidden; padding-block: .85rem; }
.breadcrumbs ol { display: flex; overflow-x: auto; gap: .5rem; margin: 0; padding: .15rem 0; scrollbar-width: thin; list-style: none; white-space: nowrap; }
.breadcrumbs li { display: inline-flex; align-items: center; color: var(--muted); font-size: .78rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: #aeb6c5; }
.breadcrumbs span { overflow: hidden; max-width: 16rem; text-overflow: ellipsis; }
.hub-hero, .article-hero, .legal-hero, .tool-hero { background: var(--ink); color: white; }
.hub-hero__grid, .article-hero__inner, .legal-hero .shell, .tool-hero .shell { padding-block: clamp(3rem, 8vw, 5.5rem); }
.hub-hero__grid { display: grid; gap: 1.5rem; align-items: center; }
.hub-hero h1, .article-hero h1, .legal-hero h1, .tool-hero h1 { max-width: 17ch; }
.article-hero h1 { max-width: 22ch; font-size: clamp(2.25rem, 7vw, 4.75rem); }
.hub-hero p:not(.eyebrow), .article-deck, .legal-hero p:not(.eyebrow), .tool-hero p:not(.eyebrow) { max-width: 48rem; margin: 1.2rem 0 0; color: #c5cee0; font-size: clamp(1.02rem, 2.5vw, 1.22rem); }
.hub-hero__icon { display: grid; width: 5rem; height: 5rem; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: var(--signal); }
.hub-hero__icon svg { width: 2.3rem; height: 2.3rem; }
.hub-answer { max-width: 54rem; }
.hub-answer > p { color: var(--muted); }
.hub-answer ul { display: grid; gap: .65rem; padding: 0; list-style: none; }
.hub-answer li { display: flex; align-items: flex-start; gap: .55rem; }
.hub-answer li .icon { margin-top: .12rem; color: var(--signal-dark); }
.hub-layout { display: grid; gap: 2rem; min-width: 0; }
.hub-filter { display: flex; overflow-x: auto; gap: .45rem; padding-bottom: .55rem; scrollbar-width: thin; }
.hub-filter p { display: none; }
.hub-filter a { flex: 0 0 auto; padding: .58rem .75rem; border: 1px solid var(--line); border-radius: 2rem; background: white; font-size: .82rem; font-weight: 780; text-decoration: none; }
.hub-filter a[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: white; }
.hub-results { min-width: 0; }
.results-head { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.results-head > div { display: flex; align-items: baseline; gap: .65rem; }
.results-head span { color: var(--blue); font-size: 2rem; font-weight: 900; }
.results-head p { color: var(--muted); }
.inline-cta { display: grid; gap: 1.25rem; align-items: center; }
.inline-cta p:not(.eyebrow) { max-width: 46rem; color: #b7c1d4; }

.reading-progress { position: fixed; z-index: 120; top: 0; left: 0; width: 100%; height: .25rem; border: 0; appearance: none; background: transparent; }
.reading-progress::-webkit-progress-bar { background: transparent; }
.reading-progress::-webkit-progress-value { background: var(--signal); }
.reading-progress::-moz-progress-bar { background: var(--signal); }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.6rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); }
.author-avatar { display: grid; width: 2.65rem; height: 2.65rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--signal); color: var(--ink); font-size: .67rem; font-weight: 950; letter-spacing: .05em; }
.author-avatar--large { width: 4rem; height: 4rem; }
.article-byline > div { display: grid; min-width: 0; }
.article-byline a { color: white; font-weight: 800; }
.article-byline small { color: #aeb9ce; }
.byline-reading { display: inline-flex; align-items: center; gap: .35rem; color: #c5cee0; font-size: .82rem; }
.article-layout { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 7vw, 5rem); }
.article-main, .article-sidebar { min-width: 0; }
.key-points, .direct-answer, .article-sources, .author-box, .sidebar-card, .toc { border: 1px solid var(--line); border-radius: var(--radius); }
.key-points { padding: 1.15rem; background: var(--canvas); }
.key-points__title { display: flex; align-items: center; gap: .6rem; }
.key-points__title .icon { color: var(--signal-dark); }
.key-points h2 { font-size: 1.35rem; }
.key-points ul { display: grid; gap: .45rem; margin: .9rem 0 0; padding-left: 1.25rem; }
.article-disclosure { margin-block: 1rem 2rem; padding: .85rem 1rem; border-left: .25rem solid var(--blue); background: var(--blue-soft); color: #28375b; font-size: .86rem; }
.advice-disclaimer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; margin-block: 1rem 2rem; padding: 1rem; border: 1px solid #e6c36f; border-left: .3rem solid #a86600; border-radius: var(--radius-sm); background: #fff8e7; color: #533b0d; font-size: .9rem; }
.advice-disclaimer .icon { width: 1.35rem; height: 1.35rem; margin-top: .12rem; color: #8a5700; }
.advice-disclaimer p { margin: 0; }
.advice-disclaimer strong { display: block; margin-bottom: .2rem; color: #3d2a05; }
.advice-disclaimer--hub { margin-block: 1.5rem 0; }
.direct-answer { margin-bottom: 2.4rem; padding: 1.25rem; border-color: #bdcf8e; background: #f7ffe7; }
.direct-answer h2 { font-size: clamp(1.55rem, 5vw, 2.2rem); }
.direct-answer p:last-child { margin: .85rem 0 0; }
.prose { color: #293449; }
.prose > * { max-width: 47rem; }
.prose h2 { margin: 2.8rem 0 1rem; color: var(--ink); font-size: clamp(1.6rem, 5.3vw, 2.25rem); scroll-margin-top: 6.5rem; }
.prose h3 { margin: 2rem 0 .75rem; color: var(--ink); scroll-margin-top: 6.5rem; }
.prose p, .prose li { color: #3c485c; }
.prose ul, .prose ol { display: grid; gap: .45rem; padding-left: 1.25rem; }
.prose a { color: #294fc9; font-weight: 700; }
.prose pre {
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0 2rem;
    padding: 1rem;
    overflow-x: auto;
    border: 1px solid #26314b;
    border-radius: .75rem;
    background: var(--ink);
    color: #edf2ff;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    scrollbar-width: thin;
}
.prose pre code { display: block; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; font-size: .88rem; }
.prose .table-wrap { max-width: 100%; }
.prose .in-page-nav {
    display: flex;
    max-width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    gap: .55rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--canvas);
}
.in-page-nav strong { flex: 0 0 100%; color: var(--ink); }
.in-page-nav a { display: inline-flex; max-width: 100%; padding: .35rem .55rem; border-radius: .35rem; background: var(--paper); overflow-wrap: anywhere; }
.table-wrap { width: 100%; overflow-x: auto; margin: 1.5rem 0 2rem; border: 1px solid var(--line); border-radius: .75rem; background: white; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.table-wrap table { width: 100%; min-width: 38rem; border-collapse: collapse; font-size: .9rem; }
.table-wrap caption { padding: .85rem 1rem; color: var(--ink); font-weight: 850; text-align: left; }
.table-wrap th, .table-wrap td { padding: .75rem 1rem; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
.table-wrap th { background: var(--ink); color: white; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
.table-wrap tbody tr:nth-child(even) { background: var(--canvas); }
.faq-block { margin-top: 3.5rem; scroll-margin-top: 6.5rem; }
.faq-list { margin-top: 1.2rem; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 820; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: .75rem; right: .15rem; color: var(--blue); font-size: 1.45rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { padding-right: 1rem; color: var(--muted); }
.article-sources { margin-top: 3rem; padding: 1.2rem; }
.article-sources p { color: var(--muted); }
.article-sources ul { display: grid; gap: .65rem; padding: 0; list-style: none; }
.article-sources li { display: grid; gap: .12rem; }
.article-sources li span { color: var(--muted); font-size: .7rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.article-sources a { color: #294fc9; overflow-wrap: anywhere; }
.author-box { display: grid; gap: 1rem; margin-top: 2rem; padding: 1.2rem; background: var(--canvas); }
.author-box h2 { font-size: 1.6rem; }
.author-box p { color: var(--muted); }
.article-sidebar { display: grid; gap: 1rem; align-content: start; }
.toc, .sidebar-card { padding: 1.1rem; }
.toc p { margin-bottom: .7rem; color: var(--muted); font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.toc a { display: block; padding: .42rem 0; color: #3d4960; font-size: .86rem; text-decoration: none; }
.toc a:hover { color: var(--blue); }
.sidebar-card { background: var(--ink); color: white; }
.sidebar-card .icon { margin-bottom: 1rem; color: var(--signal); }
.sidebar-card h2 { font-size: 1.3rem; }
.sidebar-card p { color: #adb8cd; }
.sidebar-card a { color: var(--signal); font-weight: 800; }

.legal-document { max-width: 52rem; min-width: 0; padding: clamp(1.2rem, 5vw, 2.7rem); border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.status-page { display: grid; min-height: 56vh; place-items: center; padding-block: 4rem; text-align: center; }
.status-page span { color: var(--blue); font-size: clamp(4rem, 20vw, 9rem); font-weight: 950; line-height: .9; }
.status-page h1 { max-width: 14ch; margin: 1rem auto; font-size: clamp(2rem, 8vw, 4rem); }
.status-page p { max-width: 40rem; margin-inline: auto; color: var(--muted); }

.tool-layout { display: grid; gap: 1.25rem; align-items: start; }
.calculator, .calculator-result, .tool-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.calculator { display: grid; gap: 1.35rem; padding: 1.2rem; }
.calculator fieldset { display: grid; min-width: 0; gap: .45rem; margin: 0; padding: 0; border: 0; }
.calculator legend { margin-bottom: .7rem; font-size: 1.12rem; font-weight: 900; }
.calculator label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem; margin-top: .5rem; color: #354157; font-size: .86rem; font-weight: 780; }
.calculator label span { color: var(--muted); }
.calculator input { width: 100%; min-width: 0; padding: .72rem .8rem; border: 1px solid #b9c3d3; border-radius: .5rem; background: white; color: var(--ink); }
.calculator input:invalid { border-color: var(--danger); }
.calculator-result { padding: 1.25rem; }
.calculator-result > strong { display: block; margin: 1rem 0 .4rem; color: var(--signal-dark); font-size: clamp(2.4rem, 13vw, 4.5rem); line-height: 1; overflow-wrap: anywhere; }
.calculator-result > p:not(.eyebrow) { color: var(--muted); }
.notice { margin-top: 1.5rem; padding: .9rem; border-left: .25rem solid var(--blue); background: var(--blue-soft); color: #31405e; font-size: .86rem; }
.tool-list { max-width: 54rem; }
.tool-card { display: grid; gap: 1rem; padding: 1.2rem; }
.tool-card > .icon { width: 2.6rem; height: 2.6rem; color: var(--blue); }
.tool-card p { color: var(--muted); }

.site-footer { background: #070b15; color: white; }
.footer-grid { display: grid; gap: 2rem; padding-block: 3.5rem; }
.brand--footer { display: inline-grid; margin-bottom: 1rem; color: white; }
.footer-grid section p { max-width: 28rem; color: #9ba8be; }
.footer-grid nav { display: grid; align-content: start; gap: .45rem; }
.footer-grid nav h2 { margin-bottom: .4rem; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid nav a { color: #adb8cc; font-size: .9rem; text-decoration: none; }
.footer-grid nav a:hover { color: var(--signal); }
.footer-bottom { display: grid; gap: .25rem; padding-block: 1.1rem; border-top: 1px solid #202a40; }
.footer-bottom p { margin: 0; color: #8996aa; font-size: .76rem; }

@media (min-width: 34rem) {
    .shell { width: min(100% - 2.5rem, var(--shell)); }
    .trust-bar__wide { display: inline-flex !important; }
    .topic-grid, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-stats { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .article-byline .byline-reading { margin-left: auto; }
    .author-box, .tool-card { grid-template-columns: auto minmax(0,1fr); }
    .footer-bottom { grid-template-columns: 1fr auto; }
}

@media (min-width: 48rem) {
    .section-head { grid-template-columns: minmax(0,1.2fr) minmax(15rem,.8fr); align-items: end; }
    .hero-grid, .hub-hero__grid, .decision-section, .principles-layout, .split-feature, .tool-layout { grid-template-columns: minmax(0,1.2fr) minmax(17rem,.8fr); }
    .hero-model { padding-left: 2rem; }
    .decision-matrix { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .inline-cta { grid-template-columns: minmax(0,1fr) auto; }
    .footer-grid { grid-template-columns: 1.5fr repeat(3,1fr); }
    .calculator, .calculator-result { padding: 1.6rem; }
}

@media (min-width: 64rem) {
    .header-inner { min-height: 5rem; }
    .desktop-nav { display: flex; min-width: 0; margin-left: auto; align-items: center; gap: .1rem; }
    .desktop-nav a { padding: .55rem .57rem; border-radius: .45rem; color: #334059; font-size: .78rem; font-weight: 780; text-decoration: none; white-space: nowrap; }
    .desktop-nav a:hover, .desktop-nav a[aria-current="page"] { background: var(--canvas); color: var(--ink); }
    .header-cta { display: inline-flex; flex: 0 0 auto; margin-left: .4rem; padding: .65rem .75rem; border-radius: .5rem; background: var(--ink); color: white; font-size: .77rem; font-weight: 850; text-decoration: none; }
    .mobile-nav { display: none; }
    .hero-grid { grid-template-columns: minmax(0,1.3fr) minmax(20rem,.7fr); }
    .topic-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .article-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .hub-layout { grid-template-columns: 12rem minmax(0,1fr); }
    .hub-filter { position: sticky; top: 6.4rem; display: grid; overflow: visible; align-self: start; }
    .hub-filter p { display: block; margin: 0 0 .4rem; color: var(--muted); font-size: .67rem; font-weight: 900; letter-spacing: .1em; }
    .hub-filter a { border: 0; border-radius: .35rem; background: transparent; }
    .article-layout { grid-template-columns: minmax(0, 48rem) minmax(13rem, 18rem); justify-content: space-between; }
    .article-sidebar { position: sticky; top: 6.5rem; }
}

@media (min-width: 76rem) {
    .desktop-nav a { padding-inline: .75rem; font-size: .82rem; }
    .header-cta { padding-inline: .95rem; }
}

@media (max-width: 23rem) {
    .shell { width: min(100% - 1rem, var(--shell)); }
    .trust-bar .shell { gap: .55rem; font-size: .67rem; }
    .trust-bar span:nth-child(2) { display: none; }
    .brand small { display: none; }
    .brand { grid-template-rows: 1fr; }
    .brand img { grid-row: auto; }
    .brand > span { align-self: center; }
    .hero-actions .button { width: 100%; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .article-byline { align-items: flex-start; }
    .byline-reading { width: 100%; padding-left: 3.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .button:hover, .topic-card:hover { translate: none; }
}

@media print {
    .trust-bar, .site-header, .site-footer, .reading-progress, .article-sidebar, .hero-actions { display: none !important; }
    body { color: #000; }
    .section, .article-layout { padding-block: 1rem; }
    .article-hero, .hub-hero, .legal-hero, .tool-hero { background: #fff; color: #000; }
    a { color: #000; }
}

/* KI-GAIN Magazin: editorial navigation, article-first desks and compact reading layouts. */
:root { --ink: #192735; --ink-soft: #263a4d; --canvas: #f2f4f6; --paper: #fff; --line: #dce1e6; --muted: #596875; --blue: #195d9d; --blue-soft: #eef4f9; --signal: #c63235; --signal-dark: #a62228; --radius-sm: 2px; --radius: 2px; --radius-lg: 2px; --shadow: none; --shell: 1180px; }
body { background: #fff; font-family: Arial, Helvetica, system-ui, sans-serif; line-height: 1.6; }
h1,h2,h3 { font-weight: 750; letter-spacing: -.025em; overflow-wrap: break-word; }
h2 { font-size: 26px; line-height: 1.2; }
h3 { font-size: 20px; line-height: 1.3; }
html { scroll-padding-top: 65px; }
.edition-bar { background: #f0f2f4; border-bottom: 1px solid #e1e5e9; color: #566574; font-size: 11px; }
.edition-bar .shell { display: flex; align-items: center; justify-content: space-between; min-height: 30px; gap: 20px; }
.edition-bar nav { display: flex; gap: 20px; }
.edition-bar a { text-decoration: none; }
.magazine-header { position: relative; background: #fff; backdrop-filter: none; border: 0; }
.header-inner { min-height: 94px; justify-content: space-between; }
.brand { grid-template-columns: 44px auto; column-gap: 10px; row-gap: 6px; }
.brand img { width: 44px; height: 44px; }
.brand > span { font-size: 34px; letter-spacing: -.055em; }
.brand > span span { color: var(--blue); }
.brand small { font-size: 10px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; }
.header-cta { display: flex; align-items: center; gap: 13px; color: #46596c; text-decoration: none; font-size: 11px; border: 0; background: none; padding: 0; }
.header-cta .icon { color: var(--blue); width: 29px; height: 29px; }
.header-cta strong { display: block; font-size: 13px; color: var(--blue); }
.magazine-nav { position: sticky; top: 0; z-index: 80; background: var(--ink); }
.magazine-nav .shell { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.magazine-nav a { display: block; flex-shrink: 0; padding: 12px 17px 10px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; }
.magazine-nav a:hover { background: #30475b; }
.magazine-nav a[aria-current="page"] { background: #30475b; border-color: #ef7577; }
.mobile-nav { display: none; }
.topic-line { border-bottom: 1px solid var(--line); background: #fff; }
.topic-line .shell { display: flex; align-items: center; gap: 24px; padding-block: 9px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.topic-line strong { color: var(--signal-dark); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.topic-line a { color: #566574; font-size: 12px; text-decoration: none; }
.topic-line a:hover { color: var(--blue); text-decoration: underline; }
.magazine-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-block: 24px 18px; }
.magazine-heading h1 { font-size: 16px; font-weight: 600; letter-spacing: 0; }
.magazine-heading > span { font-size: 11px; color: var(--muted); }
.magazine-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 32px; align-items: start; margin-bottom: 36px; }
.magazine-main { min-width: 0; }
.cover { border-top: 3px solid var(--ink); }
.cover-story { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; padding: 24px 0; }
.story-kicker { margin: 0 0 9px; font-size: 11px; font-weight: 750; color: var(--signal-dark); text-transform: uppercase; letter-spacing: .055em; }
.cover-story h2 { font-size: clamp(27px, 2.5vw, 33px); line-height: 1.13; margin-bottom: 13px; letter-spacing: -.035em; }
.cover-story h2 a,.cover-secondary h3 a,.latest-desk h3 a { color: inherit; text-decoration: none; }
.cover-story h2 a:hover,.cover-secondary h3 a:hover,.latest-desk h3 a:hover { color: var(--blue); text-decoration: underline; }
.cover-story__summary { font-size: 15px; color: #4b5b69; line-height: 1.55; margin-bottom: 14px; }
.story-meta { font-size: 11px; color: #657381; margin: 0; }
.story-read { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 700; color: var(--blue); text-decoration: none; }
.cover-art { position: relative; min-height: 265px; display: flex; flex-direction: column; justify-content: space-between; background: #eaf0f5; border: 1px solid #d8e1ea; text-decoration: none; padding: 20px; overflow: hidden; color: var(--ink); }
.cover-art__label { font-size: 10px; font-weight: 700; letter-spacing: .2em; color: #506b82; }
.cover-art__caption { font-size: 12px; letter-spacing: .02em; color: #536d82; border-top: 1px solid #bdcddd; padding-top: 12px; }
.workflow-art { display: flex; align-items: center; justify-content: center; gap: 0; padding-block: 30px; }
.workflow-art__node { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #9bafc0; background: #fff; flex-shrink: 0; }
.workflow-art__node .icon { width: 17px; color: #4b6c8b; }
.workflow-art__line { width: 17px; height: 1px; background: #7b98b3; flex: 1; }
.workflow-art__core { display: grid; place-items: center; width: 74px; height: 74px; background: #1f527d; color: #fff; font-size: 28px; font-weight: 750; letter-spacing: -.04em; box-shadow: 8px 8px 0 #cbd9e5; flex-shrink: 0; }
.cover-secondary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 20px; }
.cover-secondary article + article { border-left: 1px solid var(--line); padding-left: 24px; }
.cover-secondary h3 { font-size: 20px; margin-bottom: 10px; }
.cover-secondary p:not(.story-kicker) { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
.magazine-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 11px; }
.magazine-section-head h2 { font-size: 22px; }
.magazine-section-head h2 a { text-decoration: none; }
.magazine-section-head > a { font-size: 11px; white-space: nowrap; color: var(--blue); text-decoration: none; }
.feed-section { margin-top: 30px; }
.article-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.article-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 20px 0; box-shadow: none; }
.article-card:hover { transform: none; box-shadow: none; }
.article-card__meta { margin-bottom: 7px; text-transform: none; letter-spacing: 0; font-size: 11px; font-weight: 400; }
.article-card__meta > span { color: var(--signal-dark); font-weight: 700; }
.article-card h3 { margin-bottom: 8px; font-size: 21px; line-height: 1.25; }
.article-card h3 a { color: var(--blue); }
.article-card h3 a:hover { text-decoration: underline; }
.article-card h3 a::after { display: none; }
.article-card > p { font-size: 14px; color: #52616f; line-height: 1.6; margin-bottom: 8px; }
.article-card > .text-link { font-size: 11px; text-decoration: none; font-weight: 600; }
.article-grid--feed { grid-template-columns: minmax(0,1fr); gap: 0; }
.article-grid--feed .article-card { display: grid; grid-template-columns: 115px minmax(0,1fr); column-gap: 22px; padding-block: 23px; }
.article-grid--feed .article-card__meta { grid-column: 1; grid-row: 1/4; display: flex; flex-direction: column; justify-content: flex-start; gap: 7px; align-items: flex-start; }
.article-grid--feed .article-card h3,.article-grid--feed .article-card > p,.article-grid--feed .article-card > .text-link { grid-column: 2; }
.archive-link { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 15px; border: 1px solid var(--line); border-top: 0; color: var(--blue); background: #f8fafb; font-size: 13px; font-weight: 700; text-decoration: none; }
.magazine-sidebar { min-width: 0; }
.latest-desk .magazine-section-head h2 { font-size: 18px; }
.latest-desk article { padding: 14px 0; border-bottom: 1px solid var(--line); }
.latest-desk time { display: block; font-size: 10px; color: var(--muted); margin-bottom: 4px; }
.latest-desk h3 { font-size: 14px; line-height: 1.45; letter-spacing: -.01em; }
.rate-promo { position: relative; margin-block: 26px; padding: 22px; background: #eef3f8; border-top: 3px solid #2d658f; }
.rate-promo > .icon { position: absolute; right: 22px; top: 52px; color: #47789f; width: 31px; height: 31px; }
.rate-promo .story-kicker { font-size: 9px; color: #375f80; }
.rate-promo h2 { font-size: 26px; line-height: 1.15; margin: 16px 0 12px; }
.rate-promo > p:not(.story-kicker) { font-size: 13px; color: #546879; }
.rate-promo > a { display: block; border-top: 1px solid #cbd9e5; padding-top: 12px; font-size: 12px; font-weight: 700; color: var(--blue); text-decoration: none; }
.section-directory h2 { font-size: 18px; }
.section-directory > a { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: #344a5d; text-decoration: none; }
.section-directory > a:hover { color: var(--blue); }
.editor-contact { margin-top: 25px; font-size: 12px; color: var(--muted); }
.editor-contact p { margin-bottom: 4px; font-weight: 700; }
.editor-contact a { color: var(--blue); }
.magazine-ressort { margin-bottom: 36px; }
.magazine-ressort .article-card { border-bottom: 0; }
.magazine-ressort .article-card h3 { font-size: 19px; }
.magazine-empty { padding: 30px 0; }
/* Article, topic and service pages share the same restrained magazine typography. */
.hub-hero,.article-hero,.legal-hero,.tool-hero { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); padding-block: 30px; }
.hub-hero h1,.article-hero h1,.legal-hero h1,.tool-hero h1 { font-size: clamp(29px,3.2vw,43px); line-height: 1.15; max-width: 950px; }
.hub-hero p:not(.eyebrow),.article-deck,.legal-hero p:not(.eyebrow),.tool-hero p:not(.eyebrow) { color: #53616e; max-width: 900px; font-size: 17px; }
.article-hero__inner { padding-block: 0; }
.eyebrow { color: var(--blue); font-size: 10px; letter-spacing: .06em; }
.eyebrow > span { width: 15px; height: 2px; }
.hub-hero__grid, .article-hero__inner, .legal-hero .shell, .tool-hero .shell { padding-block: 0; }
.hub-hero__grid { grid-template-columns: minmax(0,1fr) 75px; gap: 25px; }
.hub-hero__icon { width: 75px; height: 75px; border-radius: 0; background: #edf2f6; color: var(--blue); }
.hub-hero__icon .icon { width: 35px; height: 35px; }
.section { padding-block: 34px; }
.section--light { background: #f5f7f9; }
.section--signal { background: #eaf1f6; }
.article-layout { grid-template-columns: minmax(0,800px) 270px; gap: 50px; padding-block: 32px 50px; }
.article-byline { padding-top: 16px; border-color: var(--line); color: var(--ink); }
.article-byline a { color: var(--blue); }
.article-byline small,.byline-reading { color: var(--muted); }
.author-avatar { background: #e6eef5; color: #25567d; }
.article-main { min-width: 0; }
.key-points,.direct-answer { padding: 22px; border: 0; border-top: 2px solid #6c91ae; background: #f1f5f8; border-radius: 0; margin-bottom: 24px; }
.key-points__title .icon { color: var(--blue); }
.direct-answer h2 { font-size: 24px; }
.prose { font-size: 17px; line-height: 1.8; }
.prose h2 { font-size: 28px; line-height: 1.25; }
.prose h3 { font-size: 22px; }
.article-sources { border-radius: 0; background: #f6f8fa; padding: 22px; }
.article-sources h2 { font-size: 23px; }
.article-sources p { font-size: 13px; }
.toc { border: 0; border-top: 3px solid var(--ink); border-radius: 0; padding: 16px 0; }
.toc a { border-bottom: 1px solid var(--line); padding-block: 9px; }
.sidebar-card { border: 0; border-radius: 0; background: #edf3f8; color: var(--ink); }
.sidebar-card .icon { color: var(--blue); }
.sidebar-card p { color: #586b7c; font-size: 14px; }
.sidebar-card a { color: var(--blue); font-size: 13px; }
.author-box { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: #fff; padding: 20px 0; }
.author-box p { font-size: 14px; }
.reading-progress { top: 46px; background: transparent; }
.hub-layout { grid-template-columns: 190px minmax(0,1fr); gap: 38px; }
.hub-filter { border: 0; border-top: 3px solid var(--ink); border-radius: 0; background: transparent; padding: 15px 0; }
.hub-filter a { border-radius: 0; font-size: 13px; border-bottom: 1px solid var(--line); }
.results-head { margin-bottom: 4px; }
.results-head h2 { font-size: 21px; }
.results-head p { font-size: 12px; }
.results-head span { background: #e1e9f0; color: #365672; border-radius: 0; }
.hub-answer { max-width: 900px; }
.legal-document { border: 0; padding: 0; border-radius: 0; background: transparent; }
.section--ink { background: #f0f3f6; color: var(--ink); }
.section-head--inverse h2 { color: var(--ink); }
.section-head--inverse p,.section--ink .eyebrow { color: var(--blue); }
.button { border-radius: 2px; font-size: 13px; box-shadow: none; }
.button--primary,.button--dark { background: var(--blue); color: #fff; }
.calculator,.calculator-result { border-radius: 2px; }
.calculator-result > strong { color: var(--blue); }
.site-footer { margin-top: 28px; background: #edf1f5; color: var(--ink); border-top: 3px solid var(--ink); }
.footer-grid { padding-block: 36px; gap: 35px; }
.brand--footer { color: var(--ink); }
.footer-grid section p,.footer-grid nav a { font-size: 12px; color: #536777; }
.footer-grid nav h2 { font-size: 11px; }
.footer-bottom { border-color: #ced8e0; padding-block: 14px; }
.footer-bottom p { color: #667784; }
.preview-note { padding-block: 6px; color: #73633d; font-size: 11px; }
@media(max-width: 1000px) {
    .magazine-layout { grid-template-columns: minmax(0,1fr) 250px; gap: 24px; }
    .magazine-nav a { padding-inline: 12px; font-size: 12px; }
    .cover-story { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .cover-art { min-height: 145px; flex-direction: row; align-items: center; gap: 15px; }
    .cover-art__caption { display: none; }
    .workflow-art { flex: 1; max-width: 200px; padding: 0; }
    .cover-story__copy { order: 1; }
    .article-layout { grid-template-columns: minmax(0,1fr) 220px; gap: 28px; }
    .article-grid--feed .article-card { grid-template-columns: 90px minmax(0,1fr); gap: 8px 16px; }
}
@media(max-width: 760px) {
    .shell { width: calc(100% - 32px); }
    .edition-bar .shell { min-height: 28px; font-size: 10px; }
    .edition-bar nav a:first-child { display: none; }
    .header-inner { min-height: 79px; }
    .brand > span { font-size: 29px; }
    .brand { grid-template-columns: 36px auto; gap: 5px 8px; }
    .brand img { width: 36px; height: 36px; }
    .brand small { font-size: 8px; letter-spacing: .025em; }
    .header-cta,.magazine-nav { display: none; }
    .mobile-nav { display: block; }
    .mobile-nav summary { border: 0; padding-right: 0; font-size: 12px; }
    .mobile-nav nav { border-radius: 0; box-shadow: 0 10px 22px #19273526; }
    .mobile-nav nav a { font-size: 14px; border-radius: 0; }
    .topic-line .shell { gap: 20px; padding-block: 10px; }
    .topic-line a { font-size: 11px; }
    .magazine-heading { padding-block: 20px 14px; }
    .magazine-heading h1 { font-size: 14px; }
    .magazine-heading > span { display: none; }
    .magazine-layout { grid-template-columns: minmax(0,1fr); gap: 25px; }
    .cover-story { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 22px; }
    .cover-story__copy { order: 0; }
    .cover-art { flex-direction: column; align-items: stretch; justify-content: space-between; min-height: 230px; }
    .cover-art__caption { display: block; }
    .workflow-art { width: 100%; }
    .magazine-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
    .rate-promo { margin: 0; align-self: start; }
    .latest-desk { grid-row: span 2; }
    .section-directory { grid-column: 2; }
    .editor-contact { grid-column: 1/-1; margin-top: 0; }
    .article-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
    .article-grid--feed .article-card { grid-template-columns: 95px minmax(0,1fr); }
    .magazine-ressort .article-card { border-bottom: 1px solid var(--line); }
    .magazine-section-head h2 { font-size: 20px; }
    .article-layout,.hub-layout { grid-template-columns: minmax(0,1fr); }
    .article-sidebar { position: static; order: -1; grid-template-columns: minmax(0,1fr); }
    .article-sidebar .sidebar-card { display: none; }
    .article-hero,.hub-hero,.tool-hero,.legal-hero { padding-block: 24px; }
    .article-hero h1,.hub-hero h1,.tool-hero h1,.legal-hero h1 { font-size: 30px; }
    .article-deck,.hub-hero p:not(.eyebrow) { font-size: 16px; }
    .hub-hero__grid { grid-template-columns: minmax(0,1fr); }
    .hub-hero__icon { display: none; }
    .hub-filter { display: flex; overflow-x: auto; gap: 12px; white-space: nowrap; padding-block: 10px; }
    .hub-filter p { display: none; }
    .hub-filter a { flex-shrink: 0; }
    .section { padding-block: 26px; }
    .prose { font-size: 16px; }
    .prose h2 { font-size: 25px; }
    .reading-progress { top: 0; }
}
@media(max-width: 520px) {
    .cover-story { grid-template-columns: minmax(0,1fr); padding-top: 16px; gap: 18px; }
    .cover-art { min-height: 125px; flex-direction: row; align-items: center; padding: 16px; }
    .cover-art__caption { display: none; }
    .cover-story__copy { order: 1; }
    .cover-secondary { grid-template-columns: minmax(0,1fr); gap: 20px; }
    .cover-secondary article + article { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
    .magazine-sidebar { grid-template-columns: minmax(0,1fr); }
    .latest-desk,.section-directory,.editor-contact { grid-column: 1; grid-row: auto; }
    .article-grid--feed .article-card { display: block; }
    .article-grid--feed .article-card__meta { flex-direction: row; justify-content: space-between; }
    .article-card h3 { font-size: 21px; }
    .article-byline { flex-wrap: wrap; }
    .footer-grid { gap: 26px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .edition-bar,.magazine-nav,.topic-line,.header-cta,.mobile-nav { display: none; } }
