:root {
    color-scheme: light;
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --ink: #17233b;
    --muted: #66738a;
    --line: #e6eaf1;
    --paper: #ffffff;
    --canvas: #f7f9fc;
    --blue: #3158d4;
    --blue-deep: #2446b7;
    --blue-soft: #eef2ff;
    --green: #17815d;
    --shadow: 0 18px 45px rgba(39, 57, 95, .08);
}

html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); font-family: 'DM Sans', 'Segoe UI', sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid #7793ff; outline-offset: 3px; }

.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header { position: sticky; z-index: 20; top: 0; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.header-inner, .content-shell, .footer-inner { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 800 21px/1 'Manrope', sans-serif; letter-spacing: -.7px; white-space: nowrap; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(145deg, #5275ed, #3150c6); font-size: 17px; box-shadow: 0 5px 12px rgba(49, 88, 212, .22); }
.site-nav { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 7px; }
.nav-links > a { padding: 10px 13px; border-radius: 9px; color: #65718a; font-size: 14px; font-weight: 600; transition: background .16s ease, color .16s ease; }
.nav-links > a:hover, .nav-links > a.active { color: var(--blue); background: var(--blue-soft); }
.nav-links > .nav-signin { margin-left: 7px; color: #fff; background: var(--blue); padding-inline: 19px; }
.nav-links > .nav-signin:hover, .nav-links > .nav-signin.active { background: var(--blue-deep); color: #fff; }
.nav-user { max-width: 170px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.nav-signout { border: 0; background: none; color: var(--blue); padding: 9px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; width: 42px; height: 40px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); }
.main-content { flex: 1; }
.content-shell { padding-top: 42px; padding-bottom: 78px; }
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #778198; font-size: 12px; }
.footer-inner p { margin: 0; }
.footer-inner > span { color: #9099a9; }
.footer-brand { font-size: 16px; }

.hero-section { min-height: 430px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 52px; padding: 46px 4px 52px; }
.hero-copy { max-width: 600px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid #e2e8ff; border-radius: 99px; background: #f1f4ff; color: #4059b4; font-size: 12px; font-weight: 700; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #4b70ea; box-shadow: 0 0 0 4px #dce5ff; }
h1, h2, h3 { font-family: 'Manrope', 'Segoe UI', sans-serif; color: var(--ink); }
.hero-copy h1 { margin: 23px 0 18px; font-size: clamp(37px, 5vw, 58px); line-height: 1.12; letter-spacing: -2.5px; font-weight: 800; }
.hero-copy h1 span { color: var(--blue); }
.hero-copy > p { max-width: 545px; margin: 0; color: #65728a; font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .16s ease, transform .16s ease, box-shadow .16s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .65; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 7px 16px rgba(49, 88, 212, .19); }
.button-primary:hover:not(:disabled) { color: #fff; background: var(--blue-deep); }
.button-secondary { color: #4158ad; background: #fff; border-color: #dce3f2; }
.button-secondary:hover:not(:disabled) { background: #f4f6ff; }
.button-quiet { color: #55627a; background: transparent; }
.button-saved { color: #176d52; background: #eaf7f1; border-color: #d0ebdf; }
.button-full { width: 100%; }
.hero-assurance { margin-top: 25px; color: #8490a3; font-size: 11px; }
.hero-assurance > span:first-child { color: var(--green); font-weight: 800; }
.assurance-separator { padding: 0 7px; color: #bdc5d1; }
.hero-visual { min-height: 330px; position: relative; display: grid; place-items: center; }
.visual-glow { position: absolute; width: 300px; height: 260px; border-radius: 50%; background: radial-gradient(circle, #e4eaff 0, rgba(232, 237, 255, .45) 57%, transparent 72%); }
.security-card { position: relative; z-index: 1; width: min(100%, 350px); padding: 25px; border: 1px solid #e7ebf3; border-radius: 18px; background: #fff; box-shadow: 0 26px 60px rgba(49, 67, 120, .13); }
.visual-card-top { display: flex; align-items: center; gap: 10px; }
.visual-shield { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: #eef2ff; color: var(--blue); font-weight: 800; }
.visual-status { color: #68758b; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; }
.visual-dots { margin-left: auto; color: #aab3c2; letter-spacing: 2px; }
.visual-line { height: 9px; margin-top: 18px; border-radius: 10px; background: #edf0f6; }
.visual-line-title { width: 76%; height: 14px; margin-top: 25px; background: #dfe5f0; }
.visual-line-copy { width: 96%; margin-top: 12px; }
.visual-line-copy.short { width: 66%; margin-top: 9px; }
.visual-defense { display: flex; align-items: center; gap: 11px; margin-top: 24px; padding: 13px; border: 1px solid #e0f0e8; border-radius: 12px; background: #f5fbf7; }
.defense-check { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #e0f4e9; color: #17815d; font-weight: 800; }
.visual-defense strong, .visual-defense small { display: block; }
.visual-defense strong { color: #335b4b; font-size: 12px; }
.visual-defense small { margin-top: 3px; color: #80978d; font-size: 10px; }
.floating-note { position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 12px 15px; border: 1px solid #edf0f5; border-radius: 11px; background: #fff; box-shadow: 0 9px 27px rgba(39, 57, 95, .1); color: #4b5870; font-size: 11px; font-weight: 700; }
.note-top { top: 26px; right: 3px; }.note-top span { color: var(--blue); font-size: 10px; }
.note-bottom { bottom: 18px; left: 0; }.note-check { color: #15835d; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.trust-strip > div { display: flex; align-items: center; justify-content: center; gap: 12px; }
.trust-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: #f0f3ff; color: var(--blue); font-size: 18px; }
.trust-strip strong, .trust-strip small { display: block; }
.trust-strip strong { color: #34415a; font-size: 12px; }.trust-strip small { margin-top: 4px; color: #8993a4; font-size: 10px; }
.section-block { margin-top: 66px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.eyebrow { margin: 0 0 9px; color: #5870c8; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.section-heading h2, .section-block > h2 { margin: 0; font-size: clamp(22px, 3vw, 29px); line-height: 1.3; letter-spacing: -.8px; }
.section-subtitle { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.text-link { color: var(--blue); font-size: 12px; font-weight: 700; white-space: nowrap; }
.text-link:hover { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.learning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.learning-step { padding: 23px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.step-number { display: inline-block; margin-bottom: 19px; color: #4d67cf; font: 800 11px 'Manrope', sans-serif; }
.learning-step h3 { margin: 0 0 9px; font-size: 15px; }.learning-step p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.threat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.threat-card { min-height: 240px; display: flex; flex-direction: column; padding: 21px; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.threat-card:hover { transform: translateY(-3px); border-color: #d8e0f3; box-shadow: var(--shadow); }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.category-label { color: #64718a; font-size: 10px; font-weight: 700; }
.severity-badge { padding: 5px 8px; border-radius: 99px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .45px; }
.severity-low { background: #edf7f0; color: #39734f; }.severity-moderate { background: #fff6e7; color: #97621c; }.severity-high { background: #fff0e9; color: #a85432; }.severity-critical { background: #fff0f0; color: #aa3e46; }
.threat-card h3 { margin: 19px 0 9px; font-size: 17px; letter-spacing: -.4px; }.threat-card h3 a:hover { color: var(--blue); }
.threat-card > p { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid #f0f2f6; color: #919bad; font-size: 10px; }
.card-footer .text-link { font-size: 10px; }
.responsible-banner { display: flex; align-items: center; gap: 16px; margin-top: 62px; padding: 22px 24px; border: 1px solid #dfe6fa; border-radius: 14px; background: #f0f4ff; }
.banner-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #dce5ff; color: #385bcb; font-weight: 800; }
.responsible-banner h2 { margin: 0 0 5px; font-size: 14px; }.responsible-banner p { margin: 0; color: #66738e; font-size: 11px; line-height: 1.6; }.responsible-banner .text-link { margin-left: auto; }

.page-heading { margin: 12px 0 27px; }.page-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 40px); letter-spacing: -1.5px; }.lead-copy { max-width: 620px; margin: 9px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.filter-panel { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(155px, .7fr)); align-items: end; gap: 13px; margin-bottom: 22px; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.search-field, .select-field, .form-field { display: flex; flex-direction: column; gap: 7px; }.search-field label, .select-field label, .form-field label { color: #46536b; font-size: 11px; font-weight: 700; }
.search-field input, .select-field select, .form-input { width: 100%; height: 43px; padding: 0 12px; border: 1px solid #dfe4ed; border-radius: 8px; background: #fff; color: var(--ink); font-size: 12px; }
.search-field input::placeholder { color: #a0a8b6; }.search-field input:focus, .select-field select:focus, .form-input:focus { border-color: #8198ed; outline: 3px solid #edf1ff; }
.result-count { margin: 0 0 13px; color: #8290a4; font-size: 11px; }
.status-panel { padding: 15px 17px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); font-size: 12px; line-height: 1.6; }
.status-error { border-color: #f0d2d2; background: #fff7f7; color: #933f47; }.status-info { border-color: #dae4ff; background: #f4f7ff; color: #495e9c; }.status-success { border-color: #d5eddf; background: #f3fbf6; color: #276748; }
.empty-state { display: flex; min-height: 280px; flex-direction: column; align-items: center; justify-content: center; padding: 25px; border: 1px dashed #d8deea; border-radius: 14px; background: rgba(255,255,255,.65); text-align: center; }
.empty-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; background: #edf1ff; color: #536bd0; font-size: 25px; }.empty-state h2 { margin: 16px 0 6px; font-size: 19px; }.empty-state p { margin: 0 0 18px; color: var(--muted); font-size: 12px; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 20px; color: #8590a1; font-size: 11px; }.breadcrumbs a:hover { color: var(--blue); }
.guide-header { padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.guide-title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }.guide-title-row h1 { margin: 0; font-size: clamp(30px, 4vw, 42px); letter-spacing: -1.5px; }.guide-title-row .eyebrow { margin-bottom: 7px; }
.guide-summary { max-width: 800px; margin: 13px 0 20px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.affected-area { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px solid #f0f2f6; color: #64718a; font-size: 10px; }.affected-area strong { margin-right: 3px; color: #4c5870; }
.topic-chip { padding: 6px 9px; border-radius: 7px; background: #f2f4f8; color: #66738a; font-size: 10px; }
.guide-page > .status-panel { margin-top: 13px; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 24px; margin-top: 22px; }
.guide-main-column { padding: 3px 25px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.guide-section { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 27px 0; border-bottom: 1px solid #edf0f5; }.guide-section:last-child { border-bottom: 0; }
.section-index { color: #8796c7; font: 800 12px 'Manrope', sans-serif; }.guide-section .eyebrow { margin-bottom: 7px; }.guide-section h2 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.4px; }.guide-section p:not(.eyebrow):not(.section-hint) { margin: 0; color: #64718a; font-size: 12px; line-height: 1.8; }
.section-hint { margin: 0 0 14px; color: #8994a6; font-size: 10px; line-height: 1.6; }
.concept-flow, .defense-list, .guidance-list { margin: 0; padding: 0; list-style: none; }.concept-flow li, .defense-list li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid #f0f2f6; color: #59667e; font-size: 11px; line-height: 1.65; }.concept-flow li:last-child, .defense-list li:last-child { border-bottom: 0; }
.flow-marker, .defense-number { flex: 0 0 28px; color: #546cc9; font: 800 10px 'Manrope', sans-serif; }
.guidance-list li { position: relative; margin: 10px 0; padding-left: 17px; color: #59667e; font-size: 11px; line-height: 1.7; }.guidance-list li::before { position: absolute; top: .6em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #6680e4; content: ''; }
.defense-section { margin: 0 -25px; padding: 27px 25px; border-radius: 0 0 15px 15px; background: #f8fbf9; }.defense-number { color: #21805c; }
.guide-sidebar { display: grid; gap: 13px; }.sidebar-card { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }.sidebar-card > .eyebrow { margin-bottom: 14px; }.sidebar-card h2 { margin: 0 0 12px; font-size: 15px; }
.fact-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #f0f2f6; color: #828da0; font-size: 10px; }.fact-row strong { color: #4e5b72; font-size: 10px; text-align: right; }
.reference-list { margin: 0; padding: 0; list-style: none; }.reference-list li + li { margin-top: 10px; }.reference-list a { display: flex; justify-content: space-between; gap: 8px; color: #5268c2; font-size: 10px; line-height: 1.5; }.reference-list a:hover { text-decoration: underline; }
.sidebar-note { display: flex; gap: 10px; padding: 14px; border: 1px solid #dceee4; border-radius: 12px; background: #f2faf5; color: #247251; }.sidebar-note > span { font-weight: 800; }.sidebar-note p { margin: 0; color: #557263; font-size: 10px; line-height: 1.65; }

.auth-page { display: grid; min-height: 580px; place-items: center; }.auth-card { width: min(100%, 440px); padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }.back-link { display: inline-block; margin-bottom: 28px; color: #66738a; font-size: 11px; }.back-link:hover { color: var(--blue); }.auth-card h1 { margin: 0; font-size: 27px; letter-spacing: -1px; }.muted-copy { margin: 9px 0 21px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.auth-card form { display: grid; gap: 15px; }.form-input { height: 46px; }.form-field > span, .form-field .validation-message { color: #a4434a; font-size: 10px; }.validation-summary { color: #a4434a; font-size: 11px; }.validation-summary ul { margin: 0; padding-left: 18px; }.auth-switch { margin: 17px 0 0; color: var(--muted); font-size: 11px; text-align: center; }.text-button { padding: 0; border: 0; background: none; color: var(--blue); font-size: inherit; font-weight: 700; cursor: pointer; }.privacy-note { margin: 24px 0 0; padding-top: 17px; border-top: 1px solid #eff1f5; color: #8c96a7; font-size: 10px; line-height: 1.65; }

#blazor-error-ui { position: fixed; z-index: 1000; right: 0; bottom: 0; left: 0; display: none; padding: 14px 22px; border-top: 1px solid #e8caca; background: #fff7f7; color: #8d3b42; box-shadow: 0 -4px 20px rgba(30, 40, 60, .08); font-size: 12px; }
#blazor-error-ui .reload { margin-left: 12px; color: #3158d4; font-weight: 700; }#blazor-error-ui .dismiss { position: absolute; top: 8px; right: 15px; border: 0; background: none; font-size: 20px; cursor: pointer; }

@media (max-width: 900px) {
    .hero-section { gap: 25px; }.hero-copy h1 { font-size: 46px; }
    .guide-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 15px; }
    .threat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .header-inner, .content-shell, .footer-inner { width: min(100% - 32px, 560px); }
    .header-inner { height: 66px; }.menu-toggle { display: block; }
    .site-nav { position: relative; }.nav-links { position: absolute; top: 52px; right: 0; display: none; width: min(300px, calc(100vw - 32px)); flex-direction: column; align-items: stretch; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow); }
    .nav-links.is-open { display: flex; }.nav-links > a { padding: 12px; }.nav-links > .nav-signin { margin: 3px 0 0; text-align: center; }.nav-user { max-width: none; padding: 8px 12px; }.nav-signout { text-align: left; }
    .content-shell { padding-top: 27px; padding-bottom: 48px; }.hero-section { min-height: 0; grid-template-columns: 1fr; gap: 16px; padding: 28px 0 31px; }.hero-copy h1 { margin: 19px 0 14px; font-size: clamp(37px, 11vw, 49px); letter-spacing: -1.8px; }.hero-copy > p { font-size: 14px; }.hero-assurance { font-size: 9px; }.hero-visual { min-height: 275px; }.security-card { width: min(85%, 340px); padding: 20px; }.note-top { top: 14px; right: 0; }.note-bottom { bottom: 10px; left: 0; }.floating-note { padding: 10px 11px; font-size: 9px; }
    .trust-strip { grid-template-columns: 1fr; gap: 13px; padding: 17px; }.trust-strip > div { justify-content: flex-start; }.section-block { margin-top: 46px; }.section-heading { align-items: flex-start; }.section-heading > .text-link { margin-top: 5px; }.section-heading h2 { font-size: 22px; }.learning-grid, .threat-grid { grid-template-columns: 1fr; }.learning-grid { gap: 10px; }.learning-step { padding: 18px; }.step-number { margin-bottom: 10px; }
    .responsible-banner { align-items: flex-start; flex-wrap: wrap; margin-top: 42px; padding: 17px; }.responsible-banner > div:nth-child(2) { flex: 1; }.responsible-banner .text-link { margin-left: 50px; }
    .page-heading { margin-top: 3px; }.filter-panel { grid-template-columns: 1fr; padding: 13px; }.guide-header { padding: 18px; }.guide-title-row { align-items: flex-start; flex-direction: column; gap: 13px; }.guide-title-row h1 { font-size: 32px; }.guide-summary { font-size: 12px; }.affected-area { align-items: flex-start; }.guide-layout { grid-template-columns: 1fr; }.guide-main-column { padding-inline: 17px; }.guide-section { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; padding: 22px 0; }.guide-section h2 { font-size: 17px; }.defense-section { margin-inline: -17px; padding-inline: 17px; }.guide-sidebar { grid-template-columns: 1fr; }
    .auth-page { min-height: 520px; }.auth-card { padding: 23px 19px; }.footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; padding-block: 19px; }.footer-inner p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
