:root {
  --ink: #102639;
  --ink-soft: #244052;
  --blue: #147cb3;
  --blue-deep: #0d567f;
  --slate: #8295a6;
  --mist: #f2f5f7;
  --line: #dce3e8;
  --white: #fff;
  --display: "Barlow", Arial, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 280px; margin: 0; overflow-x: hidden; background: var(--white); }
body, button, input { font-family: var(--body); }
img { display: block; max-width: 100%; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
h1, h2, h3, p, figure { margin-top: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #28a5da; outline-offset: 4px; }
.shell { width: min(1400px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; top: -100px; left: 16px; padding: 12px 18px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.tool-header { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); }
.tool-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand span { font-family: var(--display); font-size: 2rem; font-weight: 900; font-style: italic; letter-spacing: -.055em; line-height: 1; }
.tool-label { color: var(--ink-soft); font-family: var(--display); font-size: .79rem; font-weight: 800; letter-spacing: .11em; text-align: right; }

.checker-stage { position: relative; overflow: hidden; padding: clamp(28px, 4.5vw, 72px) 0 clamp(60px, 7vw, 110px); background: var(--mist); }
.checker-stage::before { content: ""; position: absolute; top: -230px; right: -200px; width: 700px; height: 700px; border: 1px solid rgba(20,124,179,.16); border-radius: 50%; pointer-events: none; }
.stage-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.23fr) minmax(300px, .77fr); gap: clamp(26px, 4.5vw, 72px); align-items: start; }
.stage-main { min-width: 0; }
.stage-intro { max-width: 800px; margin-bottom: 30px; animation: enter-up .7s cubic-bezier(.22,1,.36,1) both; }
.eyebrow, .step-label { display: inline-flex; align-items: center; gap: 12px; color: var(--blue-deep); font-family: var(--display); font-size: .81rem; font-weight: 800; letter-spacing: .14em; line-height: 1.25; text-transform: uppercase; }
.eyebrow { margin: 0 0 16px; }
.eyebrow-line { width: 30px; height: 2px; background: var(--blue); }
.stage-intro h1 { max-width: 820px; margin: 0 0 17px; color: var(--ink); font-family: var(--display); font-size: clamp(3.55rem, 6vw, 6.9rem); font-weight: 900; font-style: italic; letter-spacing: -.062em; line-height: .87; text-transform: uppercase; text-wrap: balance; }
.lead { max-width: 700px; margin: 0 0 16px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.35vw, 1.27rem); font-weight: 500; line-height: 1.52; }
.limit-note { max-width: 715px; margin: 0; padding-left: 14px; border-left: 3px solid var(--blue); color: #3b5364; font-size: .92rem; line-height: 1.53; }
.limit-note strong { color: var(--ink); font-family: var(--display); font-size: .84rem; letter-spacing: .055em; }

.workarea { position: relative; z-index: 1; padding: clamp(20px, 2.65vw, 39px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 58px rgba(16,38,57,.08); animation: enter-up .8s .12s cubic-bezier(.22,1,.36,1) both; }
.workarea-head { display: flex; justify-content: space-between; align-items: end; gap: 26px; margin-bottom: 21px; }
.workarea-head h2, .section-head h2 { margin: 8px 0 0; color: var(--ink); font-family: var(--display); font-size: clamp(2rem, 2.5vw, 2.9rem); font-weight: 900; font-style: italic; letter-spacing: -.04em; line-height: .95; text-transform: uppercase; }
.workarea-head > p { max-width: 250px; margin: 0; color: #526979; font-size: .84rem; line-height: 1.48; }
.dropzone { min-height: 213px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 22px; background: #f5f9fb; border: 2px dashed #adc8d7; border-radius: 9px; text-align: center; transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.dropzone:hover, .dropzone.dragover, .dropzone:focus-within { background: #eaf5fa; border-color: var(--blue); }
.dropzone.dragover { transform: scale(1.01); }
.upload-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #a2ccdf; border-radius: 50%; color: var(--blue-deep); font-size: 1.7rem; line-height: 1; }
.dropzone strong { color: var(--ink); font-family: var(--display); font-size: 1.24rem; font-weight: 900; letter-spacing: .045em; line-height: 1.1; }
.dropzone > span:last-of-type { max-width: 480px; color: #4b6272; font-size: .84rem; line-height: 1.5; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 47px; padding: 13px 21px; border: 1px solid transparent; border-radius: 999px; font-family: var(--display); font-size: .82rem; font-weight: 800; letter-spacing: .075em; line-height: 1.05; text-align: center; text-decoration: none; text-transform: uppercase; transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease; }
.button:not(:disabled):hover { transform: translateY(-2px); }
.button > span { font-family: var(--body); font-size: 1.1rem; line-height: .7; }
.button-outline { min-height: 42px; padding: 10px 17px; background: #fff; border-color: var(--blue-deep); color: var(--blue-deep); }
.button-outline:not(:disabled):hover { background: var(--blue-deep); color: #fff; }
.button-primary { background: var(--blue-deep); color: #fff; white-space: nowrap; }
.button-primary:not(:disabled):hover { background: var(--ink); }
.privacy-note { margin: 15px 0 0; padding: 13px 16px; background: var(--mist); border-left: 3px solid var(--blue); color: #394f60; font-size: .8rem; line-height: 1.52; }
.privacy-note strong { color: var(--ink); font-family: var(--display); font-size: .81rem; letter-spacing: .035em; }
.queue-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 10px; }
.queue-heading h3 { margin: 0; color: var(--ink); font-family: var(--display); font-size: .89rem; font-weight: 800; letter-spacing: .07em; }
.queue-heading h3 span { margin-left: 8px; color: #607888; font-family: var(--body); font-size: .8rem; font-weight: 600; letter-spacing: 0; }
.text-button { min-height: 36px; padding: 4px 0 4px 8px; background: none; border: 0; color: var(--blue-deep); font-family: var(--display); font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-decoration: underline; text-underline-offset: 3px; }
.queue { display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 10px; min-height: 46px; }
.empty { margin: 0; padding: 10px 0; color: #607888; font-size: .84rem; }
.photo-tile { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 7px; animation: enter-up .3s ease both; }
.photo-tile img { width: 100%; height: 105px; background: var(--mist); object-fit: contain; }
.tile-meta { display: flex; align-items: center; gap: 5px; padding: 7px 8px; }
.tile-name { flex: 1; min-width: 0; overflow: hidden; color: #4a6272; font-size: .73rem; text-overflow: ellipsis; white-space: nowrap; }
.tile-remove { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; padding: 0; background: var(--mist); border: 0; border-radius: 50%; color: var(--ink); font-size: 1.2rem; line-height: 1; }
.tile-remove:hover { background: #d9e8ef; }
.role-select { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.role-select legend { padding: 0; color: var(--ink); font-family: var(--display); font-size: .89rem; font-weight: 800; letter-spacing: .07em; line-height: 1.3; }
.role-select > p { margin: 5px 0 11px; color: #526979; font-size: .8rem; line-height: 1.45; }
.role-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.role-option { display: flex; align-items: flex-start; gap: 11px; min-width: 0; min-height: 82px; padding: 15px; background: #f5f9fb; border: 1px solid #b8cbd6; border-radius: 8px; cursor: pointer; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.role-option:hover { border-color: var(--blue); background: #eff8fc; }
.role-option:has(input:checked) { background: #eaf5fa; border-color: var(--blue-deep); box-shadow: inset 0 0 0 1px var(--blue-deep); }
.role-option:focus-within { outline: 3px solid #28a5da; outline-offset: 2px; }
.role-option input { flex: 0 0 auto; width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--blue-deep); }
.role-option-copy { display: grid; gap: 4px; min-width: 0; }
.role-option-copy strong { color: var(--ink); font-family: var(--display); font-size: .83rem; font-weight: 800; letter-spacing: .04em; line-height: 1.25; }
.role-option-copy > span { color: #405a6b; font-size: .78rem; line-height: 1.4; }
.address-search { margin-top: 20px; }
.address-search label { display: block; margin-bottom: 8px; color: var(--ink); font-family: var(--display); font-size: .89rem; font-weight: 800; letter-spacing: .07em; line-height: 1.3; }
.address-search label span { color: #607888; font-family: var(--body); font-size: .74rem; font-weight: 600; letter-spacing: 0; }
.address-search input { display: block; width: 100%; min-height: 46px; padding: 11px 13px; background: #fff; border: 1px solid #aebfca; border-radius: 7px; color: var(--ink); font-size: .92rem; }
.address-search input::placeholder { color: #647887; opacity: 1; }
.address-search > p { max-width: 740px; margin: 8px 0 0; color: #405a6b; font-size: .78rem; line-height: 1.5; }
.action-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--line); }
.action-row p { margin: 0; color: #4b6272; font-size: .84rem; line-height: 1.45; overflow-wrap: anywhere; }
.check-acknowledgment { margin: 13px 0 0; padding: 12px 14px; background: #edf5f8; border-left: 3px solid var(--blue-deep); border-radius: 0 6px 6px 0; color: #29465a; font-size: .79rem; line-height: 1.55; }

.stage-media { position: sticky; top: 20px; min-height: 680px; height: min(830px, calc(100svh - 40px)); margin: 0; overflow: hidden; background: #c3d0d7; border-radius: 9px; animation: enter-up .85s .16s cubic-bezier(.22,1,.36,1) both; }
.stage-media::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(0deg, rgba(7,24,37,.79), rgba(7,24,37,0)); pointer-events: none; }
.stage-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1s cubic-bezier(.22,1,.36,1); }
.stage-media:hover img { transform: scale(1.035); }
.stage-media figcaption { position: absolute; z-index: 1; left: clamp(24px, 3vw, 48px); right: 24px; bottom: clamp(26px, 3vw, 48px); color: #fff; }
.stage-media figcaption span { display: block; margin-bottom: 14px; color: #dbeef7; font-family: var(--display); font-size: .82rem; font-weight: 800; letter-spacing: .14em; }
.stage-media figcaption strong { display: block; font-family: var(--display); font-size: clamp(2.5rem, 3.3vw, 5rem); font-weight: 900; font-style: italic; letter-spacing: -.052em; line-height: .91; text-transform: uppercase; }

.results-section { padding: clamp(60px, 7vw, 105px) 0; background: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.section-head > p { max-width: 420px; margin: 0; color: #4b6272; font-size: .97rem; line-height: 1.55; }
.print-results-button { display: flex; width: fit-content; margin: -3px 0 24px auto; }
.results { display: grid; gap: 28px; }
.result-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #c4d7e2; border-radius: 13px; box-shadow: 0 24px 62px rgba(16,38,57,.12); animation: result-drop .56s cubic-bezier(.22,1,.36,1) both; }
.result-top { display: flex; align-items: center; gap: 22px; min-height: 150px; padding: clamp(22px,3vw,38px); background: linear-gradient(115deg,#102639,#164364); color: #fff; }
.result-top img { flex: 0 0 auto; width: 96px; height: 96px; padding: 3px; background: #fff; border-radius: 8px; object-fit: contain; }
.result-title-group { min-width: 0; }
.result-file { display: block; margin-bottom: 8px; color: #caeafa; font-size: .72rem; font-weight: 700; letter-spacing: .055em; line-height: 1.45; overflow-wrap: anywhere; }
.result-title-group h3 { margin: 0 0 8px; color: #fff; font-family: var(--display); font-size: clamp(1.8rem,3.3vw,3rem); font-style: italic; font-weight: 900; letter-spacing: -.045em; line-height: .98; text-transform: uppercase; }
.result-state { display: inline-flex; color: #e5f5fd; font-family: var(--display); font-size: .73rem; font-weight: 800; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.result-state.error { color: #ffd8d0; }
.result-sponsor { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 9px; margin: 0; padding: 10px clamp(22px,3.2vw,43px); background: #eaf3f8; border-bottom: 1px solid #c4d7e2; color: #31566a; font-family: var(--display); font-size: .67rem; letter-spacing: .055em; line-height: 1.45; text-transform: uppercase; }
.result-sponsor span { font-weight: 800; }
.result-sponsor a { color: #0d567f; font-weight: 900; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.result-sponsor a:hover, .result-sponsor a:focus-visible { color: #102639; }
.result-main { min-width: 0; padding: clamp(22px,3.2vw,43px); }
.result-main p { color: #304d61; line-height: 1.58; }
.result-headline { margin: 0 0 10px; color: var(--ink) !important; font-family: var(--display); font-size: clamp(1.7rem,3.1vw,2.85rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.08 !important; text-transform: uppercase; }
.result-detail { max-width: 870px; margin: 0; font-size: clamp(.96rem,1.3vw,1.08rem); }
.result-signal-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 23px; }
.result-signal { min-width: 0; padding: 16px 18px; background: #edf5f8; border-left: 3px solid var(--blue-deep); border-radius: 4px; }
.result-signal:last-child { background: #f4f5f4; border-left-color: #698494; }
.result-signal span { display: block; margin-bottom: 5px; color: #31566a; font-family: var(--display); font-size: .67rem; font-weight: 900; letter-spacing: .09em; }
.result-signal strong { display: block; color: var(--ink); font-family: var(--display); font-size: clamp(.98rem,1.5vw,1.25rem); font-weight: 900; line-height: 1.2; }
.result-main .result-signal p { margin: 6px 0 0; color: #435e70; font-size: .77rem; line-height: 1.45; }
.key-source { display: block; margin-top: 9px; color: #426578; font-size: .76rem; font-weight: 800; }
.result-body { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 clamp(25px,4vw,60px); margin-top: 26px; border-top: 1px solid #cad9e1; }
.result-section { min-width: 0; padding: 22px 0 18px; border-bottom: 1px solid #dce6eb; }
.result-section h4 { margin: 0 0 12px; color: var(--blue-deep); font-family: var(--display); font-size: .79rem; font-weight: 900; letter-spacing: .1em; line-height: 1.3; }
.result-section p { margin: 0 0 9px; font-size: .86rem; }
.result-kind { display: inline-block; margin-bottom: 10px; padding: 5px 9px; background: #e8f3f8; border-radius: 3px; color: var(--ink); font-family: var(--display); font-size: .68rem; font-weight: 800; letter-spacing: .045em; }
.result-observations,.result-next-steps { margin: 11px 0 0; padding-left: 22px; color: var(--ink-soft); font-size: .86rem; line-height: 1.52; }
.result-observations li + li,.result-next-steps li + li { margin-top: 8px; }
.property-facts { display: grid; gap: 0; margin: 0; }
.property-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #e4ebef; }
.property-facts > div:first-child { padding-top: 0; border-top: 0; }
.property-facts dt { color: #496273; font-family: var(--display); font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.property-facts dd { margin: 0; color: var(--ink); font-family: var(--display); font-size: .74rem; font-weight: 900; text-align: right; }
.result-main .fact-limit { margin-top: 12px; color: #4b6272; font-size: .77rem; }
.finding-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.finding-list li { padding-left: 13px; border-left: 3px solid #85bfda; }
.finding-list p { margin: 0 0 4px; }
.finding-list small { color: #4c6676; font-size: .73rem; font-weight: 700; }
.ai-label { display: inline-block; margin-bottom: 11px; color: #31566a; font-family: var(--display); font-size: .69rem; font-weight: 900; letter-spacing: .09em; }
.ai-summary { font-size: .92rem !important; font-weight: 700; }
.property-site-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.property-site-grid li { display: grid; align-content: start; gap: 5px; min-width: 0; padding: 11px 9px; background: #f2f7fa; border: 1px solid #c5d7e1; border-radius: 5px; }
.property-site-grid strong { color: var(--ink); font-family: var(--display); font-size: .77rem; font-weight: 900; line-height: 1.2; overflow-wrap: anywhere; }
.property-site-grid span { color: #36586c; font-family: var(--display); font-size: .62rem; font-weight: 800; letter-spacing: .045em; line-height: 1.3; text-transform: uppercase; }
.property-site-grid .property-site-search { color: var(--blue-deep); font-family: var(--display); font-size: .64rem; font-weight: 900; line-height: 1.35; text-underline-offset: 2px; }
.result-main .site-coverage-note { margin: 0 0 13px; color: #405b6d; font-size: .75rem; line-height: 1.47; }
.result-main .candidate-address { margin: 0 0 9px; padding: 9px 11px; background: #edf5f8; border-left: 3px solid var(--blue-deep); color: var(--ink); font-family: var(--display); font-size: .79rem; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.evidence-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.evidence-row { min-width: 0; padding: 11px 0; border-top: 1px solid #e4ebef; }
.evidence-row:first-child { padding-top: 0; border-top: 0; }
.evidence-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 8px; }
.evidence-heading strong { color: var(--ink); font-size: .9rem; overflow-wrap: anywhere; }
.evidence-id { color: #40667b; font-family: var(--display); font-size: .72rem; font-weight: 900; }
.evidence-match { color: var(--blue-deep); font-family: var(--display); font-size: .69rem; font-weight: 900; letter-spacing: .05em; }
.evidence-context { margin: 5px 0 0 !important; color: #4b6272 !important; font-size: .77rem !important; }
.result-main .evidence-link,.result-main .independent-search { display: inline-flex; align-items: center; min-height: 34px; margin: 7px 12px 0 0; color: var(--blue-deep); font-family: var(--display); font-size: .71rem; font-weight: 900; letter-spacing: .03em; line-height: 1.35; text-underline-offset: 3px; overflow-wrap: anywhere; }
.result-main .evidence-link:hover,.result-main .independent-search:hover { color: var(--ink); }
.evidence-restricted { margin: 6px 0 0 !important; color: #405c6d !important; font-size: .77rem !important; }
.source-limit { margin: 13px 0 0 !important; color: #4a6170 !important; font-size: .77rem !important; }
.result-research { margin-top: 23px; padding: clamp(18px,2.4vw,28px); border: 1px solid #bad3e0; border-radius: 9px; background: linear-gradient(145deg,#f4f9fc,#eaf4f9); }
.result-research h4 { margin: 0 0 9px; color: var(--blue-deep); font-family: var(--display); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.result-main .result-research-intro { max-width: 760px; margin: 0 0 13px; color: #29495d; font-size: .87rem; }
.result-research-button { max-width: 100%; white-space: normal; }
.result-main .result-research-status { margin: 11px 0 0; color: #3f5969; font-size: .79rem; }
.result-research-output { min-width: 0; margin-top: 17px; padding-top: 17px; border-top: 1px solid #b6d0de; animation: enter-up .45s cubic-bezier(.22,1,.36,1) both; }
.result-research-text { color: var(--ink); font-size: .92rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.result-research-suggestion { margin-top: 13px; }
.result-research-search-suggestion { display: block; width: 100%; height: 110px; background: #fff; border: 1px solid #c6d9e3; border-radius: 5px; }
.result-research-sources { display: grid; gap: 7px; margin: 15px 0 0; padding-left: 20px; color: var(--ink-soft); font-size: .79rem; line-height: 1.45; }
.result-research-sources li { overflow-wrap: anywhere; }
.result-research-sources a { color: var(--blue-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.result-research-sources a:hover { color: var(--ink); }
.result-reminder { margin: 21px 0 0; padding: 11px 14px; background: #edf5f8; border-left: 3px solid var(--blue-deep); color: #29465a !important; font-size: .76rem; }
.scanning .result-main { position: relative; overflow: hidden; }
.scanning .result-main::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--blue); box-shadow: 0 0 10px rgba(20,124,179,.35); animation: scan-line 1.8s ease-in-out infinite alternate; }
.working-dots::after { content: ""; animation: working-dots 1.2s steps(4,end) infinite; }

.meaning-section { padding: clamp(76px, 9vw, 130px) 0; background: var(--mist); }
.meaning-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.meaning-card { min-height: 245px; padding: clamp(20px, 2vw, 31px); background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.meaning-index { display: block; margin-bottom: 26px; color: #687f90; font-family: var(--display); font-size: .82rem; font-weight: 800; letter-spacing: .13em; }
.result-example { display: inline-block; margin-bottom: 16px; padding: 5px 10px; border-radius: 999px; font-family: var(--display); font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.result-example.documented { background: #fff0cf; color: #8a4b07; }
.result-example.listing { background: #e0f0f8; color: var(--blue-deep); }
.result-example.web { background: #e0f0f8; color: var(--blue-deep); }
.result-example.none { background: #e8eff3; color: #3f5b6d; }
.meaning-card h3 { margin: 0 0 9px; color: var(--ink); font-family: var(--display); font-size: 1.32rem; font-weight: 900; letter-spacing: -.025em; line-height: 1.05; }
.meaning-card p { margin: 0; color: #415a6b; font-size: .88rem; line-height: 1.55; }

.guidance-section { padding: clamp(80px, 10vw, 150px) 0; background: #fff; }
.guidance-grid { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: clamp(40px, 8vw, 120px); align-items: center; }
.guidance-image, .source-image, .warning-image { min-width: 0; overflow: hidden; border-radius: 8px; background: #aabac4; }
.guidance-image { height: clamp(450px, 47vw, 710px); }
.guidance-image img, .source-image img, .warning-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.22,1,.36,1); }
.guidance-image:hover img, .source-image:hover img, .warning-image:hover img { transform: scale(1.035); }
.guidance-copy h2, .source-copy h2, .warning-copy h2, .support-section h2 { margin: 0 0 22px; font-family: var(--display); font-size: clamp(3.7rem, 6.8vw, 8.6rem); font-weight: 900; font-style: italic; letter-spacing: -.06em; line-height: .86; text-transform: uppercase; }
.guidance-copy > p, .source-copy > p { max-width: 610px; color: #435b6b; font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.63; }
.verification-list { max-width: 680px; margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.verification-list li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 3px 15px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.verification-list li span { grid-row: span 2; padding-top: 3px; color: var(--blue-deep); font-family: var(--display); font-size: .84rem; font-weight: 800; }
.verification-list li strong { color: var(--ink); font-family: var(--display); font-size: 1.06rem; font-weight: 900; letter-spacing: .015em; }
.verification-list li p { margin: 0; color: #4b6272; font-size: .88rem; line-height: 1.48; }

.source-section { padding: clamp(80px, 9vw, 135px) 0; background: #e6f0f5; }
.source-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 8vw, 120px); align-items: center; }
.source-copy h2 { color: var(--ink); }
.source-copy > p { margin-bottom: 31px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; color: var(--blue-deep); font-family: var(--display); font-size: .88rem; font-weight: 800; letter-spacing: .07em; text-decoration: none; }
.text-link span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%; transition: transform .2s ease, background .2s ease, color .2s ease; }
.text-link:hover span { transform: translate(2px, -2px); background: var(--blue-deep); color: #fff; }
.source-image { height: clamp(420px, 43vw, 650px); }

.warning-section { padding: clamp(80px, 9vw, 135px) 0; background: var(--ink); color: #fff; }
.warning-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(42px, 7vw, 110px); align-items: center; }
.warning-image { height: clamp(440px, 45vw, 680px); }
.warning-copy .eyebrow { color: #b1dcef; }
.warning-copy h2 { color: #fff; }
.warning-copy ul { margin: 26px 0 24px; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.26); }
.warning-copy li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid rgba(255,255,255,.26); color: #ecf4f8; font-size: .97rem; line-height: 1.54; }
.warning-copy li::before { content: "↗"; position: absolute; left: 0; top: 13px; color: #9cd3ee; }
.warning-copy > p { max-width: 550px; margin: 0; color: #d4e1e8; font-size: .88rem; line-height: 1.55; }

.support-section { padding: clamp(76px, 8vw, 125px) 0; background: #dcecf4; }
.support-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 50px; align-items: center; }
.support-section h2 { max-width: 900px; color: var(--ink); font-size: clamp(3.5rem, 6.2vw, 7.7rem); }
.support-section p { max-width: 650px; margin: 0 0 26px; color: #3d5768; font-size: 1.05rem; line-height: 1.58; }
.button-light { background: var(--ink); color: #fff; }
.button-light:hover { background: var(--blue-deep); }
.support-mark { display: grid; place-items: center; min-height: 300px; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.support-mark img { max-height: 260px; object-fit: contain; }

.site-footer { background: #0a1d2c; color: #fff; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(150px, .6fr) minmax(260px, .9fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(60px, 7vw, 108px); }
.footer-brand strong { display: block; margin-bottom: 18px; color: #fff; font-family: var(--display); font-size: clamp(3.3rem, 5vw, 6.2rem); font-weight: 900; font-style: italic; letter-spacing: -.06em; line-height: .86; }
.footer-brand p { max-width: 390px; margin: 0; color: #d0dee6; font-size: .96rem; line-height: 1.6; }
.site-footer h2 { margin: 0 0 21px; color: #a7c9da; font-family: var(--display); font-size: .85rem; font-weight: 800; letter-spacing: .11em; }
.site-footer nav a { display: block; margin-bottom: 12px; color: #fff; font-family: var(--display); font-size: .95rem; font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.site-footer a:hover { color: #a9dcf2; }
.sponsor a { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: #fff; font-family: var(--display); font-size: .84rem; font-weight: 800; letter-spacing: .025em; line-height: 1.35; text-decoration: none; }
.sponsor-logo { display: block; width: min(100%, 300px); height: 175px; overflow: hidden; background: transparent; }
.sponsor-logo img { display: block; width: 100%; height: auto; object-fit: contain; }
.site-footer .sponsor-period { margin: 12px 0 0; color: #d0dee6; font-size: .78rem; line-height: 1.48; }
.footer-keep-free { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 25px; margin-bottom: 34px; padding: clamp(24px,3vw,38px); background: #12354d; border: 1px solid #3d6981; border-radius: 8px; }
.keep-free-kicker { display: block; margin-bottom: 7px; color: #a9dcf2; font-family: var(--display); font-size: .7rem; font-weight: 900; letter-spacing: .11em; }
.site-footer .footer-keep-free h2 { margin: 0 0 8px; color: #fff; font-family: var(--display); font-size: clamp(1.7rem,3.1vw,3.1rem); font-style: italic; font-weight: 900; letter-spacing: -.035em; line-height: 1; }
.site-footer .footer-keep-free p { max-width: 740px; margin: 0; color: #e0edf4; font-size: .88rem; line-height: 1.55; }
.site-footer .footer-keep-free .keep-free-benefits { margin-top: 10px; color: #b7daeb; font-family: var(--display); font-size: .67rem; font-weight: 900; letter-spacing: .05em; }
.site-footer .footer-keep-free .keep-free-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 16px; background: #eaf3f8; border-radius: 4px; color: #102639; font-family: var(--display); font-size: .78rem; font-weight: 900; letter-spacing: .035em; line-height: 1.3; text-align: center; text-decoration: none; white-space: nowrap; }
.site-footer .footer-keep-free .keep-free-cta:hover, .site-footer .footer-keep-free .keep-free-cta:focus-visible { background: #fff; color: #0d567f; }
.footer-bottom { display: flex; justify-content: space-between; gap: 26px; padding: 22px 0 31px; border-top: 1px solid rgba(255,255,255,.2); }
.footer-bottom p { margin: 0; color: #bad0dc; font-size: .76rem; line-height: 1.5; }
.footer-bottom p:last-child { max-width: 560px; }

@keyframes enter-up { from { opacity: .55; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes result-drop { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scan-line { from { transform: translateY(0); } to { transform: translateY(74px); } }
@keyframes working-dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

@media (max-width: 1180px) {
  .stage-grid { grid-template-columns: minmax(0, 1.12fr) minmax(270px, .88fr); gap: 28px; }
  .stage-media { min-height: 620px; }
  .workarea-head { display: block; }
  .workarea-head > p { max-width: none; margin-top: 9px; }
  .meaning-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .shell { width: min(100% - 40px, 700px); }
  .stage-grid, .guidance-grid, .source-grid, .warning-grid, .support-grid { grid-template-columns: 1fr; }
  .stage-media { position: relative; top: auto; height: 340px; min-height: 0; }
  .stage-media figcaption strong { font-size: clamp(2.7rem, 7vw, 4.3rem); }
  .guidance-image, .source-image, .warning-image { height: 420px; }
  .source-image { grid-row: 1; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-keep-free { grid-template-columns: 1fr; }
  .site-footer .footer-keep-free .keep-free-cta { width: fit-content; }
  .support-mark { min-height: 260px; }
}

@media (max-width: 620px) {
  .role-options { grid-template-columns: 1fr; }
  .role-option { min-height: 0; padding: 13px; }
  .property-site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .print-results-button { width: 100%; margin-top: 0; }
  .result-body { grid-template-columns: 1fr; }
  .result-signal-row { grid-template-columns: 1fr; }
  .result-top { min-height: 0; gap: 14px; padding: 19px; }
  .result-top img { width: 70px; height: 70px; }
  .result-title-group h3 { font-size: 1.65rem; }
  .result-sponsor { padding: 10px 20px; }
  .result-main { padding: 20px; }
  .result-research { padding: 17px; }
  .result-research-button { width: 100%; }
  .shell { width: calc(100% - 28px); }
  .tool-header-inner { min-height: 67px; }
  .brand img { width: 44px; height: 44px; }
  .brand span { font-size: 1.42rem; }
  .tool-label { max-width: 130px; font-size: .64rem; line-height: 1.25; }
  .checker-stage { padding-top: 28px; padding-bottom: 55px; }
  .stage-grid { gap: 0; }
  .stage-intro { margin-bottom: 23px; }
  .stage-intro h1 { font-size: clamp(3.2rem, 12.9vw, 5rem); }
  .lead { font-size: 1.02rem; }
  .limit-note { font-size: .84rem; }
  .workarea { padding: 17px; }
  .workarea-head h2 { font-size: 2.05rem; }
  .dropzone { min-height: 205px; padding: 17px 13px; }
  .dropzone strong { font-size: 1.1rem; }
  .privacy-note { padding: 11px 12px; }
  .action-row { align-items: stretch; flex-direction: column; }
  .action-row .button { width: 100%; }
  .stage-media { display: none; }
  .results-section { padding: 58px 0; }
  .section-head { display: block; }
  .section-head > p { margin-top: 13px; }
  .meaning-section { padding: 68px 0; }
  .meaning-grid { grid-template-columns: 1fr; }
  .meaning-card { min-height: 0; }
  .meaning-index { margin-bottom: 17px; }
  .guidance-section, .source-section, .warning-section { padding: 65px 0; }
  .guidance-grid, .source-grid, .warning-grid { gap: 28px; }
  .guidance-image, .source-image, .warning-image { height: 270px; }
  .guidance-copy h2, .source-copy h2, .warning-copy h2, .support-section h2 { font-size: clamp(3.1rem, 12.5vw, 5rem); }
  .verification-list { margin-top: 24px; }
  .support-section { padding: 65px 0; }
  .support-grid { gap: 25px; }
  .support-mark { min-height: 220px; }
  .support-mark img { max-height: 190px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding-block: 62px 45px; }
  .footer-brand { grid-column: auto; }
  .footer-keep-free { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .site-footer .footer-keep-free .keep-free-cta { width: 100%; white-space: normal; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 10px; }
}

@media (max-width: 420px) {
  .stage-intro h1 { font-size: 3.2rem; }
  .result-top img { width: 58px; height: 58px; }
  .result-title-group h3 { font-size: 1.42rem; }
  .sponsor-logo { width: min(100%, 300px); }
}

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

/* Print the evidence report from the checker itself, not the full campaign page. */
@page { size: letter; margin: .55in; }
@media print {
  html, body { width: auto !important; min-width: 0 !important; margin: 0 !important; overflow: visible !important; background: #fff !important; color: #102639 !important; scroll-behavior: auto !important; }
  *, *::before, *::after { box-shadow: none !important; text-shadow: none !important; animation: none !important; transition: none !important; }
  .skip-link, .tool-header, .checker-stage, .meaning-section, .guidance-section, .source-section, .warning-section, .support-section, .site-footer,
  .print-results-button, .print-button, #print-results { display: none !important; }
  .shell { width: 100% !important; max-width: none !important; margin: 0 !important; }
  .results-section { padding: 0 !important; background: #fff !important; }
  .results-section .section-head { display: block !important; margin: 0 0 12pt !important; break-after: avoid; }
  .results-section .section-head h2 { margin: 4pt 0 0 !important; color: #102639 !important; font-size: 19pt !important; }
  .results-section .section-head > p { max-width: none !important; margin: 6pt 0 0 !important; color: #304d61 !important; font-size: 9pt !important; }
  .results { display: block !important; }
  .result-card { display: block !important; overflow: visible !important; margin: 0 !important; border: 1pt solid #8ba4b2 !important; border-radius: 0 !important; background: #fff !important; break-inside: auto; page-break-inside: auto; }
  .result-card + .result-card { break-before: page; page-break-before: always; }
  .result-top { min-height: 0 !important; padding: 11pt 13pt 9pt !important; background: #fff !important; color: #102639 !important; border-bottom: 2pt solid #0d567f; break-inside: avoid; page-break-inside: avoid; }
  .result-top img { width: 46pt !important; height: 46pt !important; background: #fff !important; }
  .result-title-group h3 { color: #102639 !important; font-size: 18pt !important; line-height: 1.08 !important; }
  .result-file, .result-state, .result-state.error { color: #30566b !important; }
  .result-sponsor { display: block !important; padding: 5pt 13pt !important; background: #fff !important; border-bottom: 1pt solid #a6bcc8 !important; color: #30566b !important; font-size: 7pt !important; break-inside: avoid; page-break-inside: avoid; }
  .result-sponsor a { color: #0d567f !important; }
  .result-main { padding: 12pt 13pt !important; }
  .result-main, .result-main p, .result-main li, .result-main small, .result-main dt, .result-main dd { color: #213b4b !important; }
  .result-headline { color: #102639 !important; font-size: 16pt !important; }
  .result-detail, .result-section p, .result-observations, .result-next-steps { font-size: 9pt !important; line-height: 1.4 !important; }
  .result-signal-row { gap: 7pt !important; margin-top: 10pt !important; }
  .result-signal { padding: 7pt 9pt !important; background: #fff !important; border: 1pt solid #a6bcc8 !important; border-left: 2pt solid #0d567f !important; break-inside: avoid; }
  .result-signal span, .result-section h4, .ai-label, .evidence-match, .evidence-id { color: #0d567f !important; }
  .result-signal strong { color: #102639 !important; font-size: 10pt !important; }
  .result-main .result-signal p { color: #304d61 !important; font-size: 8pt !important; }
  .result-body { display: block !important; margin-top: 9pt !important; border-top: 1pt solid #91a8b5 !important; }
  .result-section { padding: 8pt 0 !important; border-bottom: 1pt solid #bccbd3 !important; break-inside: auto; page-break-inside: auto; }
  .result-section h4 { margin-bottom: 5pt !important; break-after: avoid; page-break-after: avoid; }
  .result-section li, .evidence-row, .finding-list li, .property-facts > div { break-inside: avoid; page-break-inside: avoid; }
  .property-site-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 4pt !important; margin-bottom: 6pt !important; }
  .property-site-grid li { padding: 5pt !important; background: #fff !important; border: 1pt solid #a6bcc8 !important; border-radius: 0 !important; }
  .property-site-grid strong { font-size: 8pt !important; }
  .property-site-grid span { color: #30566b !important; font-size: 6.5pt !important; }
  .result-main .site-coverage-note { color: #304d61 !important; font-size: 8pt !important; }
  .result-main .candidate-address { background: #fff !important; color: #102639 !important; border: 1pt solid #a6bcc8 !important; font-size: 8pt !important; }
  .result-kind, .result-reminder { background: #fff !important; color: #102639 !important; }
  .result-main .evidence-link, .result-main .independent-search { display: block !important; width: fit-content; min-height: 0 !important; color: #0d567f !important; text-decoration: underline !important; }
  .result-main .evidence-link[href^="http"]::after { display: block; content: attr(href); color: #304d61; font: 7pt/1.3 Arial, sans-serif; overflow-wrap: anywhere; word-break: break-all; text-decoration: none; }
  .result-research { margin-top: 9pt !important; padding: 8pt !important; background: #fff !important; border: 1pt solid #a6bcc8 !important; }
  .result-research-button, .result-research-suggestion { display: none !important; }
  .result-research h4, .result-research-text { color: #102639 !important; }
  .result-research-sources a { color: #0d567f !important; }
  .result-reminder { margin-top: 9pt !important; padding: 6pt 8pt !important; border: 1pt solid #a6bcc8 !important; break-inside: avoid; }
}
