:root {
  color-scheme: light;
  --ink: #172331; --navy: #121b28; --muted: #526170; --paper: #f7f6f1;
  --white: #fff; --line: #dce1e3; --gold: #f7b963; --ochre: #8b5013;
  --serif: Georgia, "Times New Roman", serif;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.57; }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -.033em; }
h3 { line-height: 1.35; }
:focus-visible { outline: 3px solid #a1580a; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; top: .75rem; left: .75rem; z-index: 3; padding: .5rem 1rem; background: var(--gold); color: var(--navy); transform: translateY(-160%); }
.skip:focus { transform: none; }
.masthead { color: #fffaf1; background: radial-gradient(ellipse at 82% 66%, #26384b, var(--navy) 62%); overflow: hidden; }
.masthead :focus-visible { outline-color: var(--gold); }
.topbar { min-height: 70px; border-bottom: 1px solid #ffffff26; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { display: inline-flex; gap: 11px; align-items: center; font-weight: 750; text-decoration: none; }
.brand-mark { display: inline-block; flex: 0 0 29px; width: 29px; height: 29px; border: 1px solid var(--gold); border-radius: 6px; position: relative; }
.brand-mark::before { content: ""; position: absolute; width: 12px; height: 6px; top: 8px; left: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.topbar nav { display: flex; flex-wrap: wrap; gap: 9px clamp(13px, 3vw, 31px); font-size: .92rem; color: #e0e5e9; }
.topbar nav a { text-decoration: none; }
.topbar nav a:hover { color: var(--gold); text-decoration: underline; }
.hero { position: relative; padding-block: 51px 70px; min-height: 338px; align-content: center; }
.hero-copy { position: relative; z-index: 1; width: min(100%, 660px); }
.eyebrow { color: var(--gold); font-size: .84rem; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 10px; }
.hero h1 { font-size: clamp(2.9rem, 6.0vw, 5rem); max-width: 685px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-summary { margin-top: 15px; max-width: 465px; color: #e4e9ef; font-size: 1.05rem; }
.hero-art { position: absolute; inset: 5px -25px 24px auto; width: min(45%, 475px); pointer-events: none; }
.art-grid { position: absolute; inset: 0; background: linear-gradient(90deg, #f8c98927 1px, transparent 1px), linear-gradient(#f8c98923 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse, black, transparent 72%); }
.orbit { width: 232px; aspect-ratio: 1; border: 1px solid #f8c98958; border-radius: 50%; position: absolute; left: 54%; top: 51%; transform: translate(-50%, -50%); }
.orbit-two { width: 298px; border-style: dashed; border-color: #f8c98948; }
.paper { position: absolute; width: 90px; height: 116px; left: 54%; top: 51%; border: 1px solid #fcd49a; border-radius: 9px; background: linear-gradient(146deg, #595048, #27374a 68%); box-shadow: 0 0 30px #f6bc6c2c; }
.paper-back { transform: translate(-37%, -46%) rotate(16deg); opacity: .63; }
.paper-front { display: grid; align-content: start; gap: 11px; padding: 22px 14px; transform: translate(-58%, -54%) rotate(-12deg); }
.paper-front i { height: 1px; background: #eecfa6; }
.paper-front i:nth-child(3) { width: 58%; }
.paper-front b { width: 19px; height: 10px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); justify-self: end; }
.art-node { position: absolute; border-radius: 100%; width: 6px; height: 6px; background: #f9d199; box-shadow: 0 0 12px #ffc47c; }
.node-one { left: 35%; top: 34%; }.node-two { left: 73%; top: 74%; }
.assessment { margin-top: -28px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(225px, 290px); gap: 20px; align-items: start; }
.wizard { min-width: 0; scroll-margin-top: 16px; border: 1px solid #e0e1dc; border-radius: 13px; padding: clamp(19px, 3.4vw, 36px); background: white; box-shadow: 0 10px 24px #1723310e; }
.wizard h2 { font-size: clamp(1.95rem, 3.5vw, 2.68rem); }
.intro { color: var(--muted); margin: 9px 0 16px; }
.mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 17px; }
.mode { display: grid; text-align: left; align-content: start; gap: 7px; min-height: 147px; padding: 17px; border: 1px solid #d5dadc; border-radius: 9px; background: #f9fafb; color: var(--ink); }
.mode:first-child { border-color: #d6aa73; background: #fff7eb; }
.mode:hover { border-color: #956326; background: #fff2dd; }
.mode strong { font-family: var(--serif); font-size: 1.39rem; font-weight: 500; line-height: 1.2; }
.mode span { color: var(--muted); font-size: .93rem; }
.guide section { background: #f1ede4; border: 1px solid #e5dfd3; border-radius: 12px; padding: 21px; }
.guide h2 { font-size: 1.65rem; }
.guide dl { display: grid; gap: 13px; margin-top: 11px; }
.guide dt { font-weight: 750; }
.guide dd, .privacy { color: var(--muted); font-size: .94rem; }
.privacy { padding: 13px 15px; margin-top: 12px; border: 1px solid #e2e4e5; border-radius: 9px; background: #fff; }
.privacy strong { display: block; color: var(--ink); }
.progress-label { display: flex; justify-content: space-between; font-weight: 700; color: var(--muted); font-size: .92rem; gap: 8px; }
.progress { display: flex; gap: 5px; margin: 9px 0 21px; }
.progress span { flex: 1; height: 4px; background: #e9e9e6; border-radius: 3px; }
.progress .done { background: #b87529; }
.choices { display: grid; gap: 8px; min-inline-size: 0; border: 0; padding: 0; margin: 0; }
.choice { display: flex; align-items: start; gap: 10px; cursor: pointer; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; min-height: 45px; }
.choice:has(input:checked) { border-color: #b97a36; background: #fff6e8; }
.choice:hover { border-color: #a58863; }
.choice input { flex: 0 0 17px; margin: 4px 0 0; width: 17px; height: 17px; accent-color: #925911; }
.choice strong, .choice small { display: block; }
.choice small, .field small { font-size: .92rem; color: var(--muted); margin-top: 2px; }
.choice strong { line-height: 1.35; }
.question-set { margin-top: 16px; }
.question-set legend:not(.sr-only) { font-weight: 750; margin-bottom: 7px; }
.question-help { margin: 0 0 8px; color: var(--muted); }
.verification-guide { margin: 12px 0 18px; padding: 11px 13px; border-left: 3px solid #906631; background: #f7f5ef; font-size: .94rem; }
.verification-guide a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 750; }
.verification-guide p { color: var(--muted); margin-top: 4px; }
.controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
.controls > div { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 8px 14px; border: 1px solid transparent; border-radius: 7px; background: var(--navy); color: #fff; font-weight: 720; text-decoration: none; text-align: center; }
.button:hover { background: #283a50; }
.button.secondary { border-color: #d1d8dd; background: #fff; color: var(--ink); }
.button.secondary:hover { background: #f0f3f5; }
.text-button { border: 0; background: transparent; padding: 8px 4px; text-decoration: underline; text-underline-offset: .2em; color: var(--muted); min-height: 43px; }
.error { margin-top: 10px; color: #a12420; font-size: .94rem; font-weight: 700; }
.result-box { padding: 15px 16px; border: 1px solid #d7bc94; border-left-width: 4px; border-radius: 8px; background: #fcf3e5; }
.result-box.required { border-color: #cb9787; background: #fff2ed; }
.result-box.negative { border-color: #a5c9b8; background: #ebf8f2; }
.result-box h2 { font-size: clamp(1.8rem, 3.5vw, 2.37rem); }
.result-box p { margin-top: 8px; }
.result-section { margin-top: 17px; }
.result-section ul { padding-inline-start: 1.35rem; margin-block: 6px 0; }
.result-section li + li { margin-top: 4px; }
.note { padding: 10px 12px; border-left: 3px solid #906631; margin-top: 17px; background: #f7f5ef; font-size: .93rem; }
.email { border: 1px solid #ddd7ca; border-radius: 9px; margin-top: 20px; padding: 13px 15px; }
summary { font-weight: 740; cursor: pointer; }
.email summary { padding: 3px 0; }
.email[open] summary { margin-bottom: 9px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 13px; margin-block: 12px; }
.field { display: grid; min-width: 0; gap: 3px; }
.field label { font-weight: 650; }
.field input, .field textarea { border: 1px solid #b9c3ca; border-radius: 7px; color: var(--ink); padding: 8px 10px; width: 100%; min-width: 0; background: white; }
.field input { min-height: 43px; }
.field textarea { min-height: 15em; resize: vertical; }
.message-status { font-size: .91rem; color: var(--muted); }
.references { padding-block: 38px; scroll-margin-top: 15px; }
.references h2, .sources h2 { font-size: clamp(1.85rem, 3.3vw, 2.5rem); margin-bottom: 13px; }
.references details { padding: 11px 0; border-bottom: 1px solid #dedfd9; }
.references details p { margin-top: 7px; max-width: 750px; color: var(--muted); }
.source-area { background: #eeeee7; padding-block: 25px; scroll-margin-top: 15px; }
.sources { display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: 20px; }
.sources p { color: var(--muted); }
.sources ul { margin: 0; padding-inline-start: 1.22rem; }
.sources li + li { margin-top: 5px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 19px; font-size: .92rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 36px); }
  .hero-art { opacity: .6; right: -40px; }
  .assessment { grid-template-columns: minmax(0, 1fr); }
  .guide dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .topbar { flex-direction: column; align-items: start; padding-block: 11px; }
  .hero { padding-block: 27px 48px; min-height: 0; }
  .hero h1 { font-size: clamp(2.45rem, 10.1vw, 3.45rem); }
  .hero-art { display: none; }
  .mode-grid, .fields, .sources, .guide dl { grid-template-columns: minmax(0, 1fr); }
  .mode { min-height: 0; }
}
