:root {
  --navy: #0b1f33;
  --blue: #0e5a8f;
  --mint: #b8ecdb;
  --canvas: #f4f7f8;
  --ink: #192733;
  --muted: #5b6874;
  --line: #d6e0e5;
  --white: #ffffff;
  --gold: #f0b64a;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
button, input { font: inherit; }
button { cursor: pointer; }
.hero { background: linear-gradient(125deg, var(--navy), var(--blue)); color: var(--white); padding: 4.5rem max(1.25rem, calc((100% - 1120px) / 2)); }
.hero__content, .layout { max-width: 1120px; margin: 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.25rem, 6vw, 4rem); line-height: 1.02; margin-bottom: .75rem; letter-spacing: -.045em; }
h2 { font-size: 1.6rem; margin-bottom: 0; letter-spacing: -.025em; }
h3 { font-size: 1.08rem; line-height: 1.3; margin-bottom: .7rem; }
.eyebrow { color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .12em; margin-bottom: .5rem; text-transform: uppercase; }
.hero .eyebrow { color: var(--mint); }
.hero__copy { max-width: 680px; color: #dcecf7; font-size: 1.12rem; }
.hero__link, .back-link { color: var(--mint); display: inline-block; font-weight: 750; margin-right: .9rem; margin-top: .35rem; text-decoration: none; }
.hero__link:hover, .back-link:hover { text-decoration: underline; }
.metrics { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.metrics span { border: 1px solid #5782a2; border-radius: 99px; padding: .32rem .7rem; font-size: .88rem; }
.layout { padding: 2rem 1.25rem 4rem; }
.controls { display: flex; align-items: center; gap: 1rem; justify-content: space-between; margin-bottom: 1rem; }
.search { flex: 1; }
.search input { width: 100%; border: 1px solid var(--line); border-radius: .7rem; background: var(--white); padding: .78rem 1rem; color: var(--ink); box-shadow: 0 2px 10px rgba(11, 31, 51, .04); }
.search input:focus { outline: 3px solid #bde3f7; border-color: var(--blue); }
.segmented { border: 1px solid var(--line); border-radius: .7rem; background: var(--white); display: flex; padding: .2rem; }
.segmented button, .topic { appearance: none; border: 0; border-radius: .48rem; background: transparent; color: var(--muted); padding: .48rem .7rem; white-space: nowrap; }
.segmented button.is-active { background: var(--navy); color: var(--white); }
.topic-nav { display: flex; gap: .45rem; flex-wrap: wrap; margin: 1rem 0 2.25rem; }
.topic-buttons { display: contents; }
.topic { border: 1px solid var(--line); background: var(--white); font-size: .9rem; }
.topic:hover, .topic.is-active { border-color: var(--blue); background: #e5f2fa; color: var(--navy); }
.content-heading { align-items: end; display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.result-count { color: var(--muted); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 1rem; display: flex; flex-direction: column; padding: 1.25rem; box-shadow: 0 5px 18px rgba(11, 31, 51, .04); }
.card.frage { border-top: 4px solid var(--blue); }
.card__topline { align-items: center; display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.badge, .key-points span, .priority { border-radius: 99px; font-size: .72rem; font-weight: 700; padding: .22rem .52rem; }
.badge.type { background: #dceefa; color: #075789; }
.badge.topic { background: #e8f3ee; color: #26614d; }
.priority { color: #775306; background: #fff1ce; margin-left: auto; }
.body { color: var(--muted); font-size: .94rem; }
details { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .7rem; }
summary { color: var(--blue); cursor: pointer; font-weight: 750; }
details p { margin: .6rem 0 0; }
.key-points { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.key-points span { background: var(--canvas); color: var(--muted); }
.source { color: var(--blue); font-size: .78rem; margin-top: 1rem; overflow-wrap: anywhere; }
.sources { background: #e8f0f3; border-radius: 1rem; margin-top: 2.5rem; padding: 1.5rem; }
.sources > p { color: var(--muted); max-width: 780px; }
.sources details { border-top: 0; padding-top: 0; }
.sources ul { margin: .75rem 0 0; padding-left: 1.1rem; }
.sources li { margin-bottom: .5rem; }
.sources a { color: var(--blue); }
.empty { background: var(--white); border: 1px dashed var(--line); border-radius: .8rem; color: var(--muted); grid-column: 1 / -1; padding: 2rem; text-align: center; }
.sr-only { height: 1px; margin: -1px; overflow: hidden; position: absolute; width: 1px; clip: rect(0, 0, 0, 0); }
.guide-hero { background: linear-gradient(125deg, #173a4b, #19728d); color: var(--white); padding: 3.5rem max(1.25rem, calc((100% - 1120px) / 2)); }
.guide-hero__content { max-width: 850px; margin: 0 auto; }
.guide-hero__content > p:last-child { color: #e0f3f6; font-size: 1.1rem; max-width: 710px; }
.guide-layout { display: grid; gap: 3rem; grid-template-columns: 190px minmax(0, 850px); margin: 0 auto; max-width: 1120px; padding: 2.2rem 1.25rem 4rem; }
.guide-nav { align-self: start; display: grid; gap: .15rem; position: sticky; top: 1rem; }
.guide-nav a { border-left: 2px solid var(--line); color: var(--muted); font-size: .9rem; padding: .35rem .7rem; text-decoration: none; }
.guide-nav a:hover { border-color: var(--blue); color: var(--blue); }
.guide-content { display: grid; gap: 1.4rem; }
.guide-section { background: var(--white); border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1.2rem, 3vw, 2rem); }
.guide-section > p:last-child { margin-bottom: 0; }
.intro-card { border-top: 5px solid #19728d; }
.signal-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.3rem; }
.signal-grid div { background: #eef7f8; border-radius: .7rem; padding: .9rem; }
.signal-grid strong, .signal-grid span { display: block; }
.signal-grid span { color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.plan { display: grid; gap: .55rem; }
.plan label { align-items: flex-start; border: 1px solid var(--line); border-radius: .7rem; cursor: pointer; display: flex; gap: .75rem; padding: .8rem; }
.plan label:has(input:checked) { background: #edf8f3; border-color: #9bceb6; }
.plan input { accent-color: #1d7a5d; margin-top: .23rem; }
.plan strong { display: block; }
.script-card, .checklist-card { background: #f0f6fa; }
.script-card ol { margin-bottom: 0; padding-left: 1.3rem; }
.script-card li { margin-bottom: .65rem; padding-left: .25rem; }
.guide-details, .question-list details { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .8rem; }
.steps { counter-reset: step; display: grid; gap: .7rem; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 1.25rem; }
.steps div { background: #f5f8f8; border-radius: .7rem; padding: .85rem; }
.steps span { align-items: center; background: var(--blue); border-radius: 50%; color: var(--white); display: inline-flex; font-size: .78rem; font-weight: 800; height: 1.5rem; justify-content: center; width: 1.5rem; }
.steps strong { display: block; font-size: .93rem; margin-top: .45rem; }
.steps p { color: var(--muted); font-size: .82rem; margin: .3rem 0 0; }
.note { background: #fff5d9; border-left: 3px solid var(--gold); color: #664e16; margin: 1.2rem 0 0; padding: .75rem .9rem; }
.question-list { display: grid; gap: 0; }
.question-list details { margin-top: 0; }
.button-link { background: var(--navy); border-radius: .6rem; color: var(--white); display: inline-block; font-weight: 750; margin-top: 1.25rem; padding: .7rem 1rem; text-decoration: none; }
.button-link:hover { background: var(--blue); }
.checklist-card ul, .sources-card ul { margin-bottom: 0; padding-left: 1.2rem; }
.checklist-card li, .sources-card li { margin-bottom: .55rem; }
.sources-card a { color: var(--blue); }
.glossary-hero { background: linear-gradient(125deg, #302257, #176880); }
.glossary-layout { margin: 0 auto; max-width: 1120px; padding: 2.2rem 1.25rem 4rem; }
.glossary-intro { align-items: end; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr); margin-bottom: 2rem; }
.glossary-intro p { color: var(--muted); max-width: 680px; }
.glossary-search { align-self: center; }
.term-section { margin-top: 2.5rem; }
.term-section > h2 { margin-bottom: 1rem; }
.term-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.term-card { background: var(--white); border: 1px solid var(--line); border-radius: .85rem; display: flex; flex-direction: column; padding: 1rem; }
.term-card h3 { color: var(--blue); font-size: 1.1rem; margin-bottom: .1rem; }
.term-card .expansion { color: #28745d; font-size: .8rem; font-weight: 750; margin-bottom: .6rem; }
.term-card > p:not(.expansion) { color: var(--muted); font-size: .9rem; }
.term-card a, .term-note { color: var(--blue); font-size: .8rem; margin-top: auto; padding-top: .5rem; }
.term-note { color: var(--muted); }
.glossary-note { margin-top: 2.5rem; }
.cv-hero { background: linear-gradient(125deg, #173a4b, #5a4a1d); }
.cv-layout { margin: 0 auto; max-width: 1000px; padding: 2.2rem 1.25rem 4rem; }
.cv-summary { background: var(--white); border: 1px solid var(--line); border-top: 5px solid #a87816; border-radius: 1rem; padding: clamp(1.2rem, 3vw, 2rem); }
.cv-summary blockquote { border-left: 3px solid var(--gold); color: #59471c; font-size: 1.05rem; margin: 1.25rem 0 0; padding-left: 1rem; }
.cv-section { margin-top: 2.4rem; }
.cv-section > h2 { margin-bottom: 1rem; }
.cv-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cv-card { background: var(--white); border: 1px solid var(--line); border-radius: .85rem; padding: 1.1rem; }
.cv-card.is-core { border-top: 4px solid #26825f; }
.cv-card.is-support { border-top: 4px solid #b78a24; }
.cv-label { border-radius: 99px; display: inline-block; font-size: .7rem; font-weight: 800; margin-bottom: .5rem; padding: .2rem .5rem; text-transform: uppercase; }
.is-core .cv-label { background: #e4f4ec; color: #206346; }
.is-support .cv-label { background: #fff3d9; color: #79550c; }
.cv-card h3 { margin-bottom: .5rem; }
.cv-card > p { color: var(--muted); font-size: .92rem; }
.cv-card strong + p { margin-bottom: 0; }
.cv-caution { background: #fff9eb; border: 1px solid #ead59d; border-radius: 1rem; padding: clamp(1.2rem, 3vw, 2rem); }
.cv-caution ul { margin-bottom: 0; padding-left: 1.2rem; }
.cv-caution li { margin-bottom: .7rem; }
.cv-questions details { background: var(--white); padding-left: .4rem; padding-right: .4rem; }
.cv-source-note { margin-top: 2.4rem; }
.login-body { align-items: center; background: linear-gradient(135deg, #0b1f33, #185d7f); display: flex; justify-content: center; min-height: 100vh; padding: 1.25rem; }
.login-card { background: var(--white); border-radius: 1rem; box-shadow: 0 22px 60px rgba(0, 0, 0, .24); max-width: 440px; padding: 2rem; width: 100%; }
.login-card h1 { font-size: 2rem; }
.login-card > p:not(.eyebrow) { color: var(--muted); }
.login-card form { display: grid; gap: .55rem; margin-top: 1.5rem; }
.login-card label { font-size: .9rem; font-weight: 750; }
.login-card input { border: 1px solid var(--line); border-radius: .6rem; padding: .72rem; }
.login-card input:focus { outline: 3px solid #bde3f7; border-color: var(--blue); }
.login-card button { background: var(--navy); border: 0; border-radius: .6rem; color: var(--white); font-weight: 750; margin-top: .4rem; padding: .75rem; }
.login-card button:hover { background: var(--blue); }
.login-error { background: #fde8e8; border-radius: .5rem; color: #972d2d; margin: .2rem 0; padding: .55rem; }
.login-note { font-size: .8rem; margin: 1.25rem 0 0; }
@media (max-width: 850px) { .guide-layout { grid-template-columns: 1fr; } .guide-nav { display: flex; flex-wrap: wrap; position: static; } .guide-nav a { border: 1px solid var(--line); border-radius: 99px; } .steps { grid-template-columns: 1fr; } .glossary-intro { grid-template-columns: 1fr; } .term-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .hero { padding-top: 3rem; padding-bottom: 3rem; } .controls { align-items: stretch; flex-direction: column; } .segmented { justify-content: space-between; } .cards { grid-template-columns: 1fr; } .content-heading { align-items: start; flex-direction: column; } .priority { margin-left: 0; } .term-grid, .cv-grid { grid-template-columns: 1fr; } }
