:root {
  color-scheme: light;
  --ink: #172b43;
  --mist: #172b43;
  --muted: #52647a;
  --line: #dbe3ed;
  --cyan: #175cd3;
  --cyan-deep: #124ba9;
  --amber: #835012;
  --green: #18794e;
  --max: 1160px;
  --display: "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --body: "Segoe UI Variable Text", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #f3f6fa; color: var(--ink); font: 16px/1.6 var(--body); }
a { color: inherit; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #175cd3; outline-offset: 4px; }
::selection { background: #d6e6ff; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 4vw, 3.5rem); letter-spacing: -.035em; font-weight: 650; }
h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.025em; font-weight: 650; }
h3 { font-size: 1.25rem; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 100; padding: 12px 18px; background: white; color: var(--cyan); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 15px max(24px, calc((100% - var(--max))/2)); background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; color: #172b43; text-decoration: none; font-size: 1.1rem; font-weight: 700; letter-spacing: -.025em; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.site-header nav { display: flex; align-items: center; justify-content: center; gap: 4px; margin-left: auto; }
.site-header nav a { padding: 10px 12px; border-radius: 6px; text-decoration: none; color: #52647a; font-size: .88rem; white-space: nowrap; }
.site-header nav a:hover { background: #f0f5fc; color: var(--cyan); }
.site-header nav a[aria-current="page"] { background: #eaf1fc; color: #124ba9; font-weight: 650; }
.header-cta, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 6px; font-size: .9rem; font-weight: 650; text-decoration: none; line-height: 1.4; }
.header-cta, .button-primary, .button-dark { background: #175cd3; color: #fff; }
.header-cta:hover, .button-primary:hover, .button-dark:hover { background: #124ba9; }
.button-quiet { border-color: #b9c7d8; background: #fff; color: #243e5d; }
.button-quiet:hover { border-color: #175cd3; background: #f4f8ff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.landing-hero, .critical-links, .page-intro, .mission-section, .intelligence-section, .feeds-section, .scanner-section, .scan-history-section, .threats-section, .models-section, footer { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.landing-hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 64px; padding-block: 68px 56px; }
.landing-hero h1 { max-width: 620px; margin-bottom: 22px; font-size: clamp(2.5rem, 4.3vw, 3.9rem); }
.landing-copy > p:not(.signal-status) { max-width: 570px; margin-bottom: 0; font-size: 1.08rem; color: #52647a; }
.signal-status, .section-index, .brief-eyebrow { margin-bottom: 12px; color: #175cd3; font-size: .85rem; font-weight: 650; }
.home-brief { position: relative; overflow: hidden; padding: 32px; background: #142c48; color: #fff; border-radius: 14px; }
.home-brief:before { content: ""; position: absolute; top: 0; left: 0; width: 5px; height: 100%; background: #52b9b0; }
.home-brief h2 { margin-bottom: 24px; font-size: 1.2rem; font-weight: 600; }
.home-brief ul { list-style: none; padding: 0; margin: 0; }
.home-brief li { padding-block: 15px; border-top: 1px solid #35506e; }
.home-brief strong, .home-brief span { display: block; }
.home-brief strong { font-size: .95rem; font-weight: 600; }
.home-brief span { margin-top: 3px; font-size: .85rem; color: #becfe2; }
.critical-links { padding-block: 28px 64px; }
.critical-links header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.critical-links h2 { margin: 0; }
.critical-links header p { margin: 0; font-size: .92rem; color: var(--muted); }
.critical-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.critical-grid a { display: flex; flex-direction: column; gap: 8px; padding: 24px 20px; border-right: 1px solid var(--line); text-decoration: none; }
.critical-grid a:last-child { border: 0; }
.critical-grid a:hover { background: #edf4ff; }
.critical-grid strong { font-size: 1rem; font-weight: 650; }
.critical-grid small { font-size: .86rem; line-height: 1.5; color: var(--muted); }
.module-icon { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px; color: #175cd3; }
.module-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hub-notice { display: flex; align-items: baseline; gap: 12px; padding: 18px 0 0; color: var(--muted); font-size: .83rem; }
.hub-notice strong { color: var(--ink); white-space: nowrap; font-weight: 600; }
.landing-status { margin: 0; }.landing-status.is-operational { color: #18794e; }.landing-status.is-configured { color: #31547e; }
.detail-page { min-height: calc(100vh - 210px); }
.page-intro { padding-block: 40px 28px; }
.page-intro h1 { margin-bottom: 14px; }
.page-intro > p:last-child { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 1rem; }
.breadcrumb { display: inline-block; margin-bottom: 20px; color: #52647a; font-size: .86rem; text-underline-offset: 3px; }
.mission-section, .intelligence-section, .feeds-section, .scanner-section, .scan-history-section, .threats-section, .models-section { padding-block: 8px 56px; }
.mission-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.mission-picker { display: flex; flex-direction: column; padding: 12px; gap: 8px; border-right: 1px solid var(--line); background: #f8fafd; }
.mission-choice { display: block; width: 100%; min-height: 104px; padding: 18px; border: 1px solid transparent; border-radius: 7px; background: transparent; text-align: left; color: #172b43; }
.mission-choice > span { display: none; }
.mission-choice strong, .mission-choice small { display: block; }
.mission-choice strong { font-size: .95rem; }
.mission-choice small { margin-top: 6px; color: #52647a; font-size: .85rem; line-height: 1.5; }
.mission-choice:hover { background: #eef3fa; }
.mission-choice.is-selected { background: #e8f0fd; border-color: #b9cff4; color: #124ba9; }
.mission-brief { padding: 36px; }
.mission-brief h3 { max-width: 620px; font-size: 1.6rem; letter-spacing: -.02em; }
.mission-brief > p:not(.brief-eyebrow) { color: var(--muted); }
.mission-brief ul { display: grid; gap: 8px; padding-left: 22px; margin-block: 24px; }
.intelligence-flow { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.intelligence-flow article { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.intelligence-flow span { display: inline-block; margin-bottom: 20px; color: var(--cyan); font-size: .85rem; font-weight: 600; }
.intelligence-flow h3 { font-size: 1.15rem; }.intelligence-flow p { margin: 0; color: var(--muted); font-size: .92rem; }
.feeds-section, .scanner-section { display: grid; grid-template-columns: minmax(230px,.7fr) minmax(0,1.6fr); gap: 32px; align-items: start; }
.feeds-copy, .scanner-copy { padding-top: 12px; }
.feeds-copy h2, .scanner-copy h2 { font-size: 1.4rem; margin-bottom: 14px; }
.feeds-copy > p, .scanner-copy > p, .scanner-copy li { color: var(--muted); font-size: .93rem; }
.scanner-copy ul { padding-left: 20px; }.scanner-copy li { margin-bottom: 12px; }
.feed-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--muted); }
.feed-legend i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: #7b8999; }.feed-legend i.is-live { background: #18794e; }
.feed-console, .threats-console, .scanner-panel, .model-rank-panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.feed-console > header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; border-bottom: 1px solid var(--line); }
.feed-console label { display: flex; align-items: center; gap: 10px; font-size: .85rem; }
.feed-console input { min-width: 0; width: 225px; padding: 10px 12px; border: 1px solid #aab9cb; border-radius: 5px; background: white; color: var(--ink); font-size: .88rem; }
.feed-row { display: grid; grid-template-columns: minmax(0,1.35fr) .7fr .6fr .5fr; align-items: center; gap: 14px; padding: 20px; border-bottom: 1px solid var(--line); }
.feed-row:last-child { border: 0; }.feed-row strong, .feed-row small { display: block; }.feed-row strong { font-size: .92rem; }.feed-row small { margin-top: 4px; font-size: .8rem; color: var(--muted); }
.feed-kind { color: #31547e; font-size: .8rem; }.feed-confidence, .feed-records { font-size: .8rem; color: var(--muted); }.feed-records { text-align: right; }
.feed-empty { padding: 32px; margin: 0; color: var(--muted); }
.threat-tabs, .scan-tiers { display: flex; gap: 8px; padding: 12px; border-bottom: 1px solid var(--line); background: #f8fafd; }
.threat-tab, .scan-tier { flex: 1; min-height: 46px; padding: 12px 16px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #52647a; text-align: left; font-size: .94rem; font-weight: 600; }
.threat-tab.is-selected, .scan-tier.is-selected { background: #fff; border-color: #aec7ee; color: #124ba9; box-shadow: 0 1px 3px #142c480d; }
.threat-tab:hover, .scan-tier:hover { background: #eaf1fc; }
.threat-panel-head { display: flex; justify-content: space-between; gap: 24px; padding: 24px; border-bottom: 1px solid var(--line); }
.threat-panel-head h3 { margin-bottom: 10px; }.threat-panel-head p { max-width: 740px; margin: 0; color: var(--muted); font-size: .9rem; }.threat-panel-head > span { flex-shrink: 0; color: #52647a; font-size: .8rem; }
.threat-row { display: grid; grid-template-columns: 36px minmax(0,1fr) 140px; gap: 16px; align-items: start; padding: 22px 24px; border-bottom: 1px solid var(--line); }.threat-row:last-child { border: 0; }
.threat-number { color: #64768c; font-size: 1rem; font-weight: 600; }.threat-row h4 { margin-bottom: 7px; font-size: 1rem; }.threat-row p { margin-bottom: 8px; color: #52647a; font-size: .91rem; }.threat-row small { display: block; font-size: .86rem; color: #315f49; }.threat-row a { font-size: .82rem; color: #175cd3; text-underline-offset: 3px; overflow-wrap: anywhere; }
.scanner-panel { padding: 24px; }.scanner-panel .scan-tiers { margin: -24px -24px 24px; }.scan-tier strong, .scan-tier span { display: block; }.scan-tier span { margin-top: 5px; color: var(--muted); font-size: .8rem; font-weight: 400; }.scan-tier em { margin-left: 4px; padding: 2px 6px; border-radius: 4px; background: #e7edf8; color: #31547e; font-size: .7rem; font-style: normal; }
.scanner-panel form label { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 600; }
.scan-input-row { display: flex; gap: 8px; }.scan-input-row input { min-width: 0; flex: 1; min-height: 48px; padding: 12px; border: 1px solid #9dafc5; border-radius: 6px; color: var(--ink); background: white; }
.scan-privacy, .scan-disclaimer { margin: 12px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.diagnostic-id { display: block; margin-top: 8px; color: #64768c; font-size: .76rem; overflow-wrap: anywhere; }
.scan-empty { min-height: 200px; display: grid; place-items: center; text-align: center; padding: 32px; margin-top: 24px; border-radius: 6px; background: #f7f9fc; }.scan-empty p { max-width: 370px; margin: 0; color: var(--muted); font-size: .92rem; }.scan-reticle { display: none; }
.advanced-lock { margin: 20px 0; padding: 18px; border: 1px solid #d0dcef; border-radius: 6px; background: #f4f7fd; }.advanced-lock h3 { margin-bottom: 8px; font-size: 1rem; }.advanced-lock p { color: var(--muted); font-size: .85rem; }.lock-mark { display: none; }
.result-head { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 24px 16px; }.result-head h3 { margin-bottom: 6px; overflow-wrap: anywhere; }.result-head p { color: var(--muted); font-size: .9rem; margin: 0; }
.risk-badge { padding: 5px 10px; border-radius: 5px; font-size: .8rem; font-weight: 600; }.risk-low { color: #17613b; background: #e7f5ec; }.risk-medium { color: #805016; background: #fff2d9; }.risk-high { color: #a12834; background: #fcebed; }
.signal-item { padding-block: 14px; border-top: 1px solid var(--line); }.signal-item strong, .signal-item span { display: block; }.signal-item strong { font-size: .9rem; }.signal-item span { color: var(--muted); font-size: .86rem; }
.pq-assessment { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 4px 0 16px; padding: 14px 16px; border: 1px solid var(--line); border-left-width: 4px; border-radius: 6px; background: #f8fafd; }.pq-assessment span, .pq-assessment strong { display: block; }.pq-assessment span { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }.pq-assessment strong { margin-top: 2px; font-size: .9rem; }.pq-assessment p { margin: 0; color: var(--muted); font-size: .82rem; text-align: right; }.pq-assessment.pq-supported { border-left-color: var(--green); }.pq-assessment.pq-unsupported { border-left-color: #b42332; }.pq-assessment.pq-unknown { border-left-color: #71839a; }
.scan-history-section { padding-top: 16px; }.scan-history-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }.scan-history-head h2 { margin-bottom: 10px; }.scan-history-head p:last-child { max-width: 680px; margin: 0; color: var(--muted); font-size: .9rem; }.history-summary { display: flex; flex-shrink: 0; gap: 22px; }.history-summary span { color: var(--muted); font-size: .78rem; white-space: nowrap; }.history-summary strong { display: block; color: var(--ink); font-size: 1.25rem; line-height: 1.2; }.history-status { margin: 24px 0 0; padding: 24px; border: 1px dashed #b8c6d8; border-radius: 8px; color: var(--muted); text-align: center; background: #f8fafd; }.history-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 22px; }.history-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }.history-panel > header { display: flex; align-items: center; gap: 12px; padding: 17px 18px; border-bottom: 1px solid var(--line); background: #f8fafd; }.history-panel > header span { color: #71839a; font-size: .74rem; font-weight: 700; }.history-panel > header h3 { margin: 0; font-size: .98rem; }.history-panel-wide { grid-column: 1 / -1; }.history-list { padding: 0; margin: 0; list-style: none; counter-reset: history-rank; }.history-row { display: grid; grid-template-columns: auto minmax(0,1fr) 12px auto; align-items: center; gap: 12px; min-height: 66px; padding: 12px 18px; border-bottom: 1px solid var(--line); }.history-row:last-child { border: 0; }.history-rank:before { counter-increment: history-rank; content: counter(history-rank, decimal-leading-zero); color: #71839a; font-size: .74rem; font-weight: 700; }.history-target { min-width: 0; }.history-target strong, .history-target small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.history-target strong { font-size: .88rem; }.history-target small { margin-top: 2px; color: var(--muted); font-size: .74rem; }.history-score { color: var(--ink); font-size: .93rem; font-variant-numeric: tabular-nums; }.history-score small { color: var(--muted); font-size: .68rem; }.pq-dot { width: 9px; height: 9px; border-radius: 50%; background: #8b9aac; }.pq-dot.pq-supported { background: var(--green); }.pq-dot.pq-unsupported { background: #b42332; }.history-panel-wide .history-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }.history-panel-wide .history-row:nth-child(odd) { border-right: 1px solid var(--line); }.history-empty { padding: 22px 18px; color: var(--muted); font-size: .84rem; }.history-method { margin: 14px 0 0; color: var(--muted); font-size: .78rem; }
button:disabled { cursor: wait; opacity: .65; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
footer p { max-width: 450px; margin: 0; }.brand-footer { font-size: 1rem; }.brand-footer img { width: 30px; height: 30px; }
@media (max-width: 1050px) {
  .site-header { gap: 12px; }.site-header nav a { padding-inline: 8px; font-size: .82rem; }.header-cta { display: none; }
  .landing-hero { gap: 32px; }.critical-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.critical-grid a { border-bottom: 1px solid var(--line); }.critical-grid a:nth-child(3) { border-right: 0; }.critical-grid a:nth-child(n+4) { border-bottom: 0; }
  .intelligence-flow { grid-template-columns: repeat(2,minmax(0,1fr)); }.feeds-section, .scanner-section { grid-template-columns: minmax(0,1fr); gap: 20px; }
}
@media (max-width: 700px) {
  .site-header { padding: 12px 20px 0; gap: 10px; position: relative; }.site-header nav { order: 2; flex-basis: 100%; margin: 0; justify-content: start; overflow-x: auto; padding-bottom: 10px; }.site-header nav a { flex-shrink: 0; padding: 10px 12px; font-size: .85rem; }.brand { font-size: 1.05rem; }
  .landing-hero, .critical-links, .page-intro, .mission-section, .intelligence-section, .feeds-section, .scanner-section, .scan-history-section, .threats-section, .models-section, footer { width: calc(100% - 40px); }
  .landing-hero { grid-template-columns: 1fr; padding-block: 36px 24px; gap: 28px; }.landing-hero h1 { font-size: 2.6rem; }.landing-copy > p:not(.signal-status) { font-size: 1rem; }.home-brief { padding: 24px; }
  .critical-links { padding-block: 20px 36px; }.critical-links header { display: block; }.critical-links header p { margin-top: 6px; }.critical-grid { grid-template-columns: 1fr; }.critical-grid a { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; padding: 18px; border-right: 0; border-bottom: 1px solid var(--line); }.critical-grid a:nth-child(4) { border-bottom: 1px solid var(--line); }.module-icon { grid-row: 1 / 3; margin: 0; }.critical-grid small { grid-column: 2; }.hub-notice { display: block; }.hub-notice strong { display: block; margin-bottom: 4px; }
  .page-intro { padding-block: 28px 24px; }.page-intro h1 { font-size: 2.2rem; }
  .mission-layout { grid-template-columns: 1fr; }.mission-picker { border-right: 0; border-bottom: 1px solid var(--line); }.mission-choice { min-height: 0; padding: 14px; }.mission-brief { padding: 24px; }.mission-brief h3 { font-size: 1.4rem; }
  .intelligence-flow { grid-template-columns: 1fr; }.threat-panel-head { padding: 20px; flex-direction: column; gap: 12px; }.threat-row { grid-template-columns: 24px minmax(0,1fr); padding: 20px; gap: 12px; }.threat-row a { grid-column: 2; }.threat-tab { padding-inline: 10px; font-size: .87rem; }
  .feed-console > header { display: block; }.feed-console label { margin-top: 14px; }.feed-console input { flex: 1; width: 100%; }.feed-row { grid-template-columns: minmax(0,1fr) auto; }.feed-kind { grid-column: 1; }.feed-confidence { grid-row: 2; grid-column: 2; }.feed-records { grid-column: 2; grid-row: 1; }.feed-row { gap: 10px; }
  .scanner-panel { padding: 20px; }.scanner-panel .scan-tiers { margin: -20px -20px 20px; }.scan-input-row { flex-direction: column; }.scan-input-row .button { min-height: 48px; }.scan-tier { padding-inline: 10px; font-size: .87rem; }
  .pq-assessment, .scan-history-head { align-items: start; flex-direction: column; }.pq-assessment p { text-align: left; }.history-summary { width: 100%; justify-content: space-between; gap: 10px; }.history-grid { grid-template-columns: 1fr; }.history-panel-wide { grid-column: auto; }.history-panel-wide .history-list { grid-template-columns: 1fr; }.history-panel-wide .history-row:nth-child(odd) { border-right: 0; }
  footer { flex-direction: column; align-items: start; gap: 14px; }.hero-actions .button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
