:root {
  --navy-950: #071523;
  --navy-900: #0b1f33;
  --navy-800: #12304a;
  --navy-700: #194363;
  --cyan-600: #0b9ca7;
  --cyan-500: #15b8c1;
  --cyan-400: #37cbd1;
  --cyan-100: #dff7f8;
  --cyan-50: #effbfb;
  --green-600: #16845b;
  --green-100: #e5f7ef;
  --amber-700: #9f5e09;
  --amber-500: #e5a324;
  --amber-100: #fff4d7;
  --red-700: #a93838;
  --red-100: #fdeaea;
  --ink: #15283a;
  --muted: #607284;
  --line: #dce5eb;
  --surface: #ffffff;
  --surface-soft: #f4f8fa;
  --surface-blue: #edf7f8;
  --shadow-sm: 0 7px 24px rgba(11, 31, 51, .08);
  --shadow-lg: 0 24px 70px rgba(7, 21, 35, .16);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --transition: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.is-modal-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--cyan-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.15; letter-spacing: -.025em; }
h1 { font-size: clamp(2.65rem, 5vw, 4.8rem); margin-bottom: 1.4rem; }
h2 { font-size: clamp(2rem, 3.3vw, 3.15rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }
ul, ol { margin-top: 0; }
[hidden] { display: none !important; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 92px 0; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -80px; background: white; color: var(--navy-900); padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.skip-link:focus { top: 12px; }
.noscript-notice { padding: 14px 20px; color: #6f4707; border-bottom: 1px solid #f1dda9; background: var(--amber-100); text-align: center; }
:focus-visible { outline: 3px solid rgba(21, 184, 193, .45); outline-offset: 3px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .72rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border var(--transition), box-shadow var(--transition);
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #05242b; background: var(--cyan-400); box-shadow: 0 10px 24px rgba(21, 184, 193, .2); }
.button-primary:hover { background: #54d8dc; box-shadow: 0 12px 30px rgba(21, 184, 193, .28); }
.button-ghost { color: var(--navy-900); background: white; border-color: var(--line); box-shadow: 0 5px 18px rgba(11, 31, 51, .05); }
.button-ghost:hover { border-color: #a8c3cf; background: #fafdfe; }
.button-light { color: var(--navy-900); background: white; }
.button-light:hover { background: var(--cyan-50); }
.button-large { min-height: 54px; padding: .95rem 1.45rem; border-radius: 12px; }
.button-small { min-height: 40px; padding: .62rem 1rem; font-size: .9rem; }
.button-danger-ghost { color: var(--red-700); border-color: #eac4c4; background: white; }
.button[disabled] { cursor: not-allowed; opacity: .55; transform: none; }
.text-button, .footer-link { padding: 0; border: 0; color: var(--cyan-600); background: none; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.text-button.muted { color: var(--muted); }

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(220,229,235,.85);
  backdrop-filter: blur(16px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy-900); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; color: white; background: var(--navy-900); font-family: Georgia, serif; font-size: 1.2rem; font-weight: 800; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .98rem; line-height: 1.1; }
.brand small { margin-top: 4px; color: var(--muted); font-size: .7rem; letter-spacing: .05em; }
.header-nav { display: flex; align-items: center; gap: 6px; }
.header-nav > a:not(.button) { padding: .55rem .72rem; color: var(--navy-800); font-size: .9rem; font-weight: 700; text-decoration: none; border-radius: 8px; }
.header-nav > a:not(.button):hover { background: var(--surface-soft); }

.hero { position: relative; overflow: hidden; padding: 94px 0 82px; color: white; background: var(--navy-950); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, black, transparent 70%); }
.hero-glow { position: absolute; width: 580px; height: 580px; right: -180px; top: -220px; border-radius: 50%; background: rgba(21, 184, 193, .16); filter: blur(4px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.13fr .87fr; align-items: center; gap: clamp(50px, 7vw, 100px); }
.hero h1 { color: white; max-width: 760px; }
.hero h1 span { color: var(--cyan-400); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--cyan-600); font-size: .77rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow.light { color: var(--cyan-400); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 5px rgba(55,203,209,.13); }
.hero-lead { max-width: 720px; color: #cbd8e1; font-size: 1.12rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero .button-ghost { color: white; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.22); box-shadow: none; }
.hero .button-ghost:hover { background: rgba(255,255,255,.1); }
.privacy-line { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 0; color: #a8bbc9; font-size: .79rem; }
.privacy-line span { color: var(--cyan-400); }
.privacy-line i { width: 3px; height: 3px; border-radius: 50%; background: #637b8c; }
.hero-panel { position: relative; padding: 28px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.04)); box-shadow: 0 28px 80px rgba(0,0,0,.25); backdrop-filter: blur(12px); }
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.mini-label { color: #aabcca; font-size: .73rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.pulse-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid rgba(55,203,209,.25); border-radius: 99px; color: #a9f2f3; background: rgba(55,203,209,.09); font-size: .68rem; font-weight: 750; }
.pulse-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-400); }
.diagnostic-preview { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(5,16,27,.45); }
.preview-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: var(--cyan-400); background: rgba(55,203,209,.12); font-size: 1.6rem; }
.diagnostic-preview small, .diagnostic-preview strong { display: block; }
.diagnostic-preview small { color: #8fa6b5; font-size: .68rem; }
.diagnostic-preview strong { margin-top: 2px; color: white; font-size: .9rem; }
.risk-pill { padding: 5px 8px; border-radius: 99px; font-size: .65rem; font-weight: 800; }
.risk-pill.warning { color: #ffd98c; background: rgba(229,163,36,.16); }
.preview-meter { height: 5px; margin: 17px 0 20px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.08); }
.preview-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan-500), var(--cyan-400)); }
.hero-panel > p { color: #b5c5d0; font-size: .86rem; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green-600); font-weight: 900; }
.check-list.compact { display: grid; gap: 7px; color: #d6e1e7; font-size: .8rem; }
.check-list.compact li::before { color: var(--cyan-400); }
.logo-row { display: flex; align-items: center; gap: 7px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: #b9c8d1; font-size: .7rem; font-weight: 700; }
.logo-row img { width: 24px; height: 24px; object-fit: contain; filter: grayscale(1) brightness(3); opacity: .85; }
.logo-row b { margin: 0 7px; color: #668191; }

.trust-strip { border-bottom: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: flex; align-items: center; gap: 12px; min-height: 92px; padding: 18px 25px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { border-left: 1px solid var(--line); }
.trust-grid > div > span { display: grid; flex: 0 0 auto; place-items: center; width: 37px; height: 37px; border-radius: 10px; color: var(--cyan-600); background: var(--cyan-50); font-size: .72rem; font-weight: 900; }
.trust-grid p, .trust-grid strong, .trust-grid small { display: block; margin: 0; }
.trust-grid strong { color: var(--navy-900); font-size: .82rem; }
.trust-grid small { margin-top: 3px; color: var(--muted); font-size: .7rem; }

.intro-section { background: var(--surface-soft); }
.section-heading { margin-bottom: 36px; }
.section-heading.narrow { max-width: 820px; }
.section-heading.centered { max-width: 760px; margin-inline: auto; margin-bottom: 45px; text-align: center; }
.section-heading p { color: var(--muted); font-size: 1.05rem; }
.notice-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; }
.notice { display: flex; gap: 16px; padding: 24px; border: 1px solid; border-radius: var(--radius); background: white; box-shadow: 0 8px 28px rgba(11,31,51,.04); }
.notice h3 { margin-bottom: 7px; }
.notice p { margin-bottom: 8px; color: var(--muted); font-size: .9rem; }
.notice a { font-size: .86rem; font-weight: 750; }
.notice-icon { display: grid; flex: 0 0 auto; place-items: center; width: 40px; height: 40px; border-radius: 11px; font-weight: 900; }
.notice-warning { border-color: #f1dda9; }
.notice-warning .notice-icon { color: var(--amber-700); background: var(--amber-100); }
.notice-info { border-color: #bee6e8; }
.notice-info .notice-icon { color: var(--cyan-600); background: var(--cyan-100); }

.wizard-section { background: white; }
.wizard-shell { display: grid; grid-template-columns: 286px 1fr; max-width: 1080px; min-height: 710px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-lg); }
.wizard-sidebar { display: flex; flex-direction: column; padding: 34px 26px; color: white; background: var(--navy-900); }
.wizard-sidebar h2 { margin-bottom: 8px; color: white; font-size: 1.65rem; }
.wizard-sidebar-head > p { color: #aebfcb; font-size: .85rem; }
.step-list { display: grid; gap: 4px; margin: 25px 0 34px; padding: 0; list-style: none; }
.step-list li { position: relative; display: grid; grid-template-columns: 29px 1fr; align-items: center; gap: 11px; min-height: 47px; padding: 6px 8px; border-radius: 10px; color: #8299a9; font-size: .78rem; font-weight: 700; }
.step-list li::after { content: ""; position: absolute; left: 22px; top: 40px; width: 1px; height: 14px; background: #2c4a61; }
.step-list li:last-child::after { display: none; }
.step-number { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #34536a; border-radius: 50%; font-size: .68rem; }
.step-list li.active { color: white; background: rgba(255,255,255,.06); }
.step-list li.active .step-number { color: var(--navy-950); border-color: var(--cyan-400); background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(55,203,209,.1); }
.step-list li.complete { color: #b9c9d3; }
.step-list li.complete .step-number { color: var(--cyan-400); border-color: var(--cyan-500); }
.sidebar-safety { display: flex; align-items: flex-start; gap: 10px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.sidebar-safety > span { display: grid; flex: 0 0 auto; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--cyan-400); background: rgba(55,203,209,.1); font-size: .7rem; }
.sidebar-safety p, .sidebar-safety strong { display: block; margin: 0; }
.sidebar-safety p { color: #849aaa; font-size: .7rem; }
.sidebar-safety strong { color: #cbd8df; font-size: .72rem; }
.wizard-main { display: flex; flex-direction: column; padding: 34px 42px 28px; min-width: 0; }
.wizard-topline { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.wizard-topline p { margin: 0; color: var(--muted); font-size: .75rem; font-weight: 750; }
#save-state { color: var(--green-600); }
#save-state span { margin-right: 5px; font-size: .55rem; }
.progress-track { height: 5px; margin: 12px 0 34px; overflow: hidden; border-radius: 99px; background: #e9eff2; }
.progress-track span { display: block; width: 14%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan-600), var(--cyan-400)); transition: width 280ms ease; }
.session-banner { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: -8px 0 22px; padding: 13px 15px; border: 1px solid #bfe4e6; border-radius: 10px; background: var(--cyan-50); }
.session-banner p { margin: 0; font-size: .8rem; }
.session-banner > div { display: flex; gap: 12px; }
.wizard-content { min-height: 484px; }
.question-head { max-width: 720px; margin-bottom: 25px; }
.question-index { display: block; margin-bottom: 8px; color: var(--cyan-600); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.question-head h2 { margin-bottom: 8px; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.question-head p { color: var(--muted); font-size: .92rem; }
.field-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.field-group + .field-group { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.field-label { display: block; margin-bottom: 12px; color: var(--navy-900); font-weight: 800; }
.field-hint { margin: -7px 0 14px; color: var(--muted); font-size: .78rem; }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.option-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.option-card { position: relative; display: flex; align-items: flex-start; gap: 11px; min-height: 58px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--navy-800); background: white; cursor: pointer; transition: border var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition); }
.option-card:hover { border-color: #a8ccd1; background: #fcfefe; transform: translateY(-1px); }
.option-card:has(input:checked) { border-color: var(--cyan-500); background: var(--cyan-50); box-shadow: 0 0 0 2px rgba(21,184,193,.08); }
.option-card:has(input:focus-visible) { outline: 3px solid rgba(21, 184, 193, .45); outline-offset: 2px; }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-indicator { display: grid; flex: 0 0 auto; place-items: center; width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid #b7c8d1; border-radius: 50%; background: white; }
.option-card.multi .option-indicator { border-radius: 6px; }
.option-card input:checked + .option-indicator { border-color: var(--cyan-600); background: var(--cyan-600); }
.option-card input:checked + .option-indicator::after { content: "✓"; color: white; font-size: .72rem; font-weight: 900; }
.option-copy strong, .option-copy small { display: block; }
.option-copy strong { font-size: .83rem; line-height: 1.35; }
.option-copy small { margin-top: 3px; color: var(--muted); font-size: .7rem; line-height: 1.35; }
.textarea { width: 100%; min-height: 118px; resize: vertical; padding: 13px 14px; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; background: white; }
.textarea:focus { border-color: var(--cyan-500); outline: 3px solid rgba(21,184,193,.12); }
.character-count { display: block; margin-top: 5px; color: var(--muted); font-size: .7rem; text-align: right; }
.wizard-actions { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.action-right { display: flex; align-items: center; gap: 18px; }
.form-error { margin: 10px 0; padding: 10px 13px; border: 1px solid #efc0c0; border-radius: 9px; color: var(--red-700); background: var(--red-100); font-size: .82rem; font-weight: 700; }
.summary-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.summary-row { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); }
.summary-row small, .summary-row strong { display: block; }
.summary-row small { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; }
.summary-row strong { margin-top: 3px; color: var(--navy-900); font-size: .83rem; }
.summary-note { margin-top: 17px; padding: 14px; border-left: 4px solid var(--cyan-500); border-radius: 0 10px 10px 0; color: var(--muted); background: var(--cyan-50); font-size: .82rem; }

.results-section { padding-top: 82px; background: var(--surface-soft); }
.results-hero { position: relative; overflow: hidden; padding: 38px; border-radius: var(--radius-lg); color: white; background: var(--navy-900); box-shadow: var(--shadow-lg); }
.results-hero::after { content: ""; position: absolute; right: -90px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(55,203,209,.1); }
.result-topline { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 25px; }
.result-topline h2 { max-width: 760px; margin-bottom: 10px; color: white; }
.result-topline p { max-width: 780px; margin-bottom: 0; color: #c0d0da; }
.result-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 29px; padding: 5px 10px; border-radius: 99px; font-size: .7rem; font-weight: 850; letter-spacing: .02em; }
.badge-green { color: #0a6b47; background: var(--green-100); }
.badge-yellow { color: #875000; background: var(--amber-100); }
.badge-red { color: #992f2f; background: var(--red-100); }
.badge-low, .badge-medium { color: #0b6970; background: var(--cyan-100); }
.badge-high, .badge-critical { color: #875000; background: var(--amber-100); }
.badge-security { color: #992f2f; background: var(--red-100); }
.score-ring { position: relative; z-index: 1; display: grid; flex: 0 0 auto; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: conic-gradient(var(--cyan-400) var(--score, 70%), rgba(255,255,255,.1) 0); }
.score-ring::before { content: ""; position: absolute; width: 88px; height: 88px; border-radius: 50%; background: var(--navy-900); }
.score-ring span { position: relative; display: block; text-align: center; color: white; font-size: 1.28rem; font-weight: 900; line-height: 1; }
.score-ring small { display: block; margin-top: 4px; color: #9db3c1; font-size: .58rem; font-weight: 600; }
.result-meta { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.result-meta > div { padding: 18px 20px 0 0; }
.result-meta small, .result-meta strong { display: block; }
.result-meta small { color: #8fa6b6; font-size: .65rem; text-transform: uppercase; letter-spacing: .07em; }
.result-meta strong { margin-top: 5px; color: white; font-size: .82rem; }
.critical-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding: 16px 18px; border: 1px solid #f0d193; border-radius: 12px; background: #fff8e8; }
.critical-cta p { margin: 0; color: #755016; font-size: .83rem; }
.critical-cta .button { flex: 0 0 auto; }
.result-section-card { margin-top: 22px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.result-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.result-section-head h3 { margin-bottom: 6px; font-size: 1.4rem; }
.result-section-head p { margin: 0; color: var(--muted); font-size: .86rem; }
.urgency-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.urgency-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; background: var(--amber-100); color: var(--amber-700); font-weight: 900; }
.urgency-card p, .urgency-card strong { margin: 0; }
.urgency-card p { color: var(--muted); font-size: .8rem; }
.urgency-time { color: var(--navy-900); font-size: .75rem; font-weight: 800; text-align: right; }
.cause-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cause-card { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.cause-card .cause-number { display: grid; place-items: center; width: 27px; height: 27px; margin-bottom: 12px; border-radius: 8px; color: var(--cyan-600); background: var(--cyan-50); font-size: .7rem; font-weight: 900; }
.cause-card h4 { margin-bottom: 6px; font-size: .95rem; }
.cause-card p { margin-bottom: 12px; color: var(--muted); font-size: .8rem; }
.cause-check { padding-top: 10px; border-top: 1px solid var(--line); }
.cause-check strong { color: var(--navy-700); font-size: .72rem; }
.alternatives { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: .75rem; }
.alternative-chip { padding: 6px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--navy-700); background: var(--surface-soft); font-weight: 700; }
.action-list { display: grid; gap: 12px; }
.action-card { display: grid; grid-template-columns: 44px 1fr auto; gap: 15px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; }
.action-count { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--navy-900); background: var(--surface-soft); font-size: .78rem; font-weight: 900; }
.action-card h4 { margin-bottom: 4px; font-size: .93rem; }
.action-card p { margin: 0; color: var(--muted); font-size: .8rem; }
.action-meta { min-width: 116px; text-align: right; }
.action-meta .badge { margin-bottom: 5px; }
.action-meta small { display: block; color: var(--muted); font-size: .67rem; }
.instruction-list { position: relative; padding: 0; list-style: none; counter-reset: instructions; }
.instruction-list::before { content: ""; position: absolute; left: 18px; top: 25px; bottom: 25px; width: 1px; background: var(--line); }
.instruction-list li { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 15px; padding: 9px 0; counter-increment: instructions; }
.instruction-list li::before { content: counter(instructions); z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #b8dfe2; border-radius: 50%; color: var(--cyan-600); background: white; font-size: .75rem; font-weight: 900; }
.instruction-list p { margin: 7px 0 0; font-size: .88rem; }
.warning-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0; list-style: none; }
.warning-list li { position: relative; padding: 13px 13px 13px 40px; border: 1px solid #f0d6d6; border-radius: 10px; color: #6d4444; background: #fffafa; font-size: .8rem; }
.warning-list li::before { content: "!"; position: absolute; left: 13px; top: 12px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: white; background: var(--red-700); font-size: .7rem; font-weight: 900; }
.help-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; color: white; background: var(--navy-900); }
.help-card h3 { color: white; }
.help-card p { color: #b8c8d2; font-size: .86rem; }
.help-card ul { display: grid; gap: 6px; margin-bottom: 0; padding-left: 19px; color: #d2dee5; font-size: .8rem; }
.report-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; }
.report-box { width: 100%; min-height: 420px; resize: vertical; padding: 18px; border: 1px solid var(--line); border-radius: 12px; color: #263b4b; background: #f9fbfc; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .74rem; line-height: 1.6; }
.report-print { display: none; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 8pt; line-height: 1.5; }
.report-side { display: flex; flex-direction: column; padding: 22px; border-radius: 12px; background: var(--surface-soft); }
.report-side h4 { margin-bottom: 8px; }
.report-side p { color: var(--muted); font-size: .8rem; }
.report-actions { display: grid; gap: 9px; margin-top: auto; }
.result-footer-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

.how-section { background: white; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.process-grid article { position: relative; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.process-grid article::after { content: "→"; position: absolute; right: -16px; top: 50%; z-index: 2; display: grid; place-items: center; width: 31px; height: 31px; transform: translateY(-50%); border: 1px solid var(--line); border-radius: 50%; color: var(--cyan-600); background: white; font-weight: 900; }
.process-grid article:last-child::after { display: none; }
.process-grid article > span { display: inline-block; margin-bottom: 25px; color: var(--cyan-600); font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.process-grid h3 { margin-bottom: 8px; }
.process-grid p { margin: 0; color: var(--muted); font-size: .86rem; }

.faq-section { background: var(--surface-soft); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 70px; }
.faq-intro { position: sticky; top: 115px; }
.faq-intro p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; padding: 20px 0; border: 0; color: var(--navy-900); background: transparent; font-weight: 800; text-align: left; cursor: pointer; }
.faq-question span:last-child { display: grid; flex: 0 0 auto; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--cyan-600); background: var(--cyan-50); font-size: 1rem; transition: transform var(--transition); }
.faq-question[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
.faq-answer { padding: 0 42px 20px 0; color: var(--muted); font-size: .88rem; }
.faq-answer p { margin: 0; }

.service-cta { background: white; }
.cta-card { display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 50px; overflow: hidden; padding: 52px 58px; border-radius: var(--radius-lg); color: white; background: linear-gradient(135deg, var(--navy-900), #123853); box-shadow: var(--shadow-lg); }
.cta-card h2 { color: white; }
.cta-card p { max-width: 700px; color: #c2d1da; }
.cta-logo-wrap { padding: 20px; border-radius: 15px; background: white; }
.cta-brand img { max-height: 90px; margin: auto; object-fit: contain; }
.light-list { margin: 20px 0 0; }

.site-footer { padding-top: 62px; color: #879cab; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .65fr .9fr 1fr; gap: 50px; padding-bottom: 45px; }
.footer-brand { margin-bottom: 16px; }
.footer-brand strong { color: white; }
.footer-brand small { color: #7991a1; }
.footer-brand .brand-mark { color: var(--navy-950); background: var(--cyan-400); }
.footer-grid h2 { margin-bottom: 15px; color: white; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.footer-grid p { font-size: .76rem; }
.footer-grid > div:not(:first-child) a, .footer-link { display: block; margin: 8px 0; color: #9fb2bf; font-size: .76rem; text-decoration: none; }
.footer-link { text-align: left; }
.footer-grid a:hover, .footer-link:hover { color: var(--cyan-400); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom p { margin: 0; font-size: .7rem; }
.toast { position: fixed; z-index: 150; left: 50%; bottom: 28px; max-width: calc(100% - 30px); padding: 11px 17px; transform: translate(-50%, 30px); border-radius: 10px; color: white; background: var(--navy-900); box-shadow: var(--shadow-lg); font-size: .82rem; font-weight: 750; opacity: 0; pointer-events: none; transition: opacity var(--transition), transform var(--transition); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1040px) {
  .hero-grid { gap: 45px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(3) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .trust-grid > div:nth-child(4) { border-top: 1px solid var(--line); }
  .wizard-shell { grid-template-columns: 240px 1fr; }
  .wizard-main { padding-inline: 30px; }
  .option-grid.three { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { gap: 45px; }
}

@media (max-width: 820px) {
  .section { padding: 72px 0; }
  .header-nav > a:not(.button) { display: none; }
  .hero { padding: 70px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-panel { max-width: 650px; }
  .notice-grid, .cta-card, .faq-layout, .report-grid { grid-template-columns: 1fr; }
  .wizard-shell { grid-template-columns: 1fr; }
  .wizard-sidebar { padding: 24px; }
  .wizard-sidebar-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
  .wizard-sidebar-head p { display: none; }
  .wizard-sidebar-head h2 { margin: 0; font-size: 1.25rem; }
  .wizard-sidebar-head .eyebrow { display: none; }
  .step-list { grid-template-columns: repeat(10, 1fr); gap: 3px; margin: 14px 0 0; }
  .step-list li { display: block; min-height: auto; padding: 0; background: none !important; font-size: 0; }
  .step-list li::after { top: 14px; left: calc(50% + 14px); width: calc(100% - 28px); height: 1px; }
  .step-number { margin: auto; }
  .sidebar-safety { display: none; }
  .faq-intro { position: static; }
  .result-meta { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .result-topline { align-items: center; }
  .cta-card { padding: 42px; }
  .cta-brand { max-width: 360px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 58px 0; }
  body { font-size: 15px; }
  h1 { font-size: clamp(2.25rem, 12vw, 3.15rem); }
  h2 { font-size: 2rem; }
  .header-inner { min-height: 68px; }
  .brand strong { font-size: .83rem; }
  .brand small { font-size: .61rem; }
  .brand-mark { width: 36px; height: 36px; }
  .header-nav .button { min-height: 44px; padding: .55rem .75rem; font-size: .75rem; }
  .hero { padding: 55px 0; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .privacy-line { font-size: .7rem; }
  .hero-panel { padding: 20px; border-radius: 20px; }
  .diagnostic-preview { grid-template-columns: auto 1fr; }
  .diagnostic-preview .risk-pill { grid-column: 2; justify-self: start; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { min-height: 75px; border: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .notice { padding: 19px; }
  .wizard-section .container { width: 100%; }
  .wizard-shell { border-inline: 0; border-radius: 0; box-shadow: none; }
  .wizard-sidebar { padding-inline: 18px; }
  .wizard-main { padding: 25px 18px 20px; }
  .wizard-content { min-height: 460px; }
  .option-grid, .option-grid.three, .summary-list { grid-template-columns: 1fr; }
  .option-card { min-height: 56px; }
  .wizard-actions { align-items: stretch; }
  .action-right { gap: 10px; }
  .wizard-actions .button { min-width: 110px; }
  .wizard-actions .text-button { font-size: .73rem; }
  .text-button { min-height: 44px; }
  .session-banner { align-items: flex-start; flex-direction: column; }
  .results-section { padding-top: 58px; }
  .results-hero { padding: 26px 21px; border-radius: var(--radius); }
  .result-topline { display: block; }
  .score-ring { width: 92px; height: 92px; margin-top: 22px; }
  .score-ring::before { width: 72px; height: 72px; }
  .result-meta { grid-template-columns: 1fr 1fr; }
  .result-meta > div { padding-right: 8px; }
  .critical-cta, .result-section-head, .help-card, .urgency-card { grid-template-columns: 1fr; flex-direction: column; align-items: stretch; }
  .critical-cta { display: flex; }
  .result-section-card { padding: 21px 18px; }
  .cause-grid, .warning-list { grid-template-columns: 1fr; }
  .action-card { grid-template-columns: 36px 1fr; gap: 11px; }
  .action-meta { grid-column: 2; min-width: 0; text-align: left; }
  .urgency-time { text-align: left; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article::after { right: 50%; top: auto; bottom: -17px; transform: translateX(50%) rotate(90deg); }
  .cta-card { padding: 30px 24px; border-radius: var(--radius); }
  .cta-card .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}

@media (max-width: 360px) {
  .wizard-sidebar { padding-inline: 16px; }
  .step-list { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 1px; }
  .step-number { width: 24px; height: 24px; font-size: .6rem; }
  .step-list li::after { left: calc(50% + 12px); top: 12px; width: calc(100% - 24px); }
  .wizard-main { padding-inline: 16px; }
  .wizard-topline { align-items: flex-start; }
  #save-state { max-width: 120px; text-align: right; line-height: 1.35; }
}

@media print {
  @page { margin: 15mm; }
  body { color: #111; background: white; font-size: 10pt; }
  .site-header, .hero, .trust-strip, .intro-section, .wizard-section, .how-section, .faq-section, .service-cta, .site-footer, .toast, .result-footer-actions, .report-actions, .critical-cta .button { display: none !important; }
  .results-section { display: block !important; padding: 0; background: white; }
  .results-section .container { width: 100%; }
  .results-hero { padding: 16px; color: #111; border: 2px solid #222; box-shadow: none; background: white; break-inside: avoid; }
  .results-hero h2, .results-hero strong { color: #111; }
  .results-hero p, .result-meta small { color: #444; }
  .score-ring { display: none; }
  .result-meta { margin-top: 14px; border-top-color: #aaa; }
  .result-section-card { margin-top: 12px; padding: 16px; border-color: #aaa; box-shadow: none; break-inside: avoid; }
  .cause-grid { grid-template-columns: repeat(2, 1fr); }
  .action-card, .cause-card { break-inside: avoid; }
  .report-grid { display: block; }
  .report-box { display: none; }
  .report-print { display: block; }
  .report-side { display: none; }
  a { color: #111; text-decoration: none; }
}

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