.landing {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  padding: 0 max(32px, calc((100vw - var(--content)) / 2));
  background:
    radial-gradient(circle at 72% 38%, rgba(107, 127, 106, 0.11), transparent 32%),
    var(--void);
}
.landing__texture { position: absolute; inset: 0; opacity: 0.18; pointer-events: none; background-image: linear-gradient(rgba(231,233,236,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(231,233,236,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, transparent, #000 42%, #000); }
.landing__nav { height: 88px; position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; border-bottom: var(--border); }
.landing__hero { width: min(920px, 100%); padding: clamp(72px, 11vh, 130px) 0 120px; position: relative; z-index: 1; }
.landing__mark { margin-bottom: 56px; }
.landing__mark .brand { gap: 18px; }
.landing__mark .brand__mark { width: 58px; height: 58px; }
.landing__mark .brand__name { font-size: 2rem; }
.landing__hero h1 { max-width: 880px; margin: 18px 0 28px; }
.landing__hero h1 span { color: var(--fog); }
.landing__lede { max-width: 660px; color: var(--fog); font-size: clamp(1rem, 2vw, 1.2rem); }
.landing__actions { display: flex; align-items: center; gap: 28px; margin-top: 42px; }
.website-form { max-width: 650px; margin-top: 28px; padding: 22px; border: var(--border); background: rgba(18, 22, 27, 0.94); }
.website-form label { display: block; margin-bottom: 10px; color: var(--fog); font: 0.68rem/1 var(--font-data); text-transform: uppercase; }
.website-form__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.website-form input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--slate-light); border-radius: var(--radius-sm); background: var(--void); color: var(--bone); }
.website-form input::placeholder { color: #68707a; }
.website-form > p { margin: 12px 0 0; color: var(--fog); font-size: 0.74rem; }
.landing__proof { min-height: 66px; position: absolute; z-index: 1; left: max(32px, calc((100vw - var(--content)) / 2)); right: max(32px, calc((100vw - var(--content)) / 2)); bottom: 0; display: flex; align-items: center; gap: 44px; border-top: var(--border); color: var(--fog); font: 0.67rem/1 var(--font-data); text-transform: uppercase; }
.landing__proof b { margin-right: 8px; color: var(--bronze-light); font-weight: 500; }

.demo-picker { width: min(calc(100% - 64px), var(--content)); margin: 0 auto; padding: clamp(64px, 9vh, 110px) 0 90px; }
.demo-picker__heading { max-width: 780px; }
.demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.demo-card { min-height: 380px; padding: 30px; display: flex; flex-direction: column; border: var(--border); background: var(--coal); box-shadow: var(--shadow); }
.demo-card h2 { margin: 24px 0 16px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.demo-card > p { color: var(--bone); font-size: 1.02rem; }
.demo-card small { display: block; margin-bottom: 30px; color: var(--fog); line-height: 1.6; }
.demo-card .button { width: 100%; margin-top: auto; }
.demo-picker__note { margin-top: 24px; padding: 22px 26px; display: grid; grid-template-columns: 190px 1fr; gap: 24px; border-left: 2px solid var(--bronze); background: rgba(176, 138, 90, .07); }
.demo-picker__note p { margin: 0; color: var(--fog); font-size: .84rem; }

.question-page, .profile-page { width: min(calc(100% - 64px), 820px); margin: 0 auto; padding: clamp(52px, 8vh, 96px) 0 80px; }
.question-card > h1 { margin: 14px 0 16px; font-size: clamp(2.3rem, 5vw, 4rem); }
.question-card__guidance { margin-bottom: 34px; color: var(--fog); }
.context-note { margin: -58px 0 46px; padding: 14px 18px; border-left: 2px solid var(--moss); background: rgba(107, 127, 106, 0.08); }
.context-note p { margin: 4px 0 0; color: var(--fog); font-size: 0.78rem; }
.context-note--demo { border-left-color: var(--bronze); background: rgba(176, 138, 90, .08); }

.page-heading { max-width: 660px; margin-bottom: 44px; }
.page-heading h1 { margin: 14px 0 16px; font-size: clamp(2.6rem, 5vw, 4.4rem); }
.page-heading > p:last-child { color: var(--fog); }
.profile-card { border: var(--border); background: var(--coal); box-shadow: var(--shadow); }
.profile-card__summary { padding: clamp(28px, 5vw, 48px); border-bottom: var(--border); }
.profile-card__summary p { max-width: 700px; margin: 18px 0 0; font: 500 clamp(1.3rem, 3vw, 2rem)/1.42 var(--font-heading); letter-spacing: -0.025em; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.profile-grid div { min-height: 112px; padding: 24px 28px; border-right: var(--border); border-bottom: var(--border); }
.profile-grid div:nth-child(2n) { border-right: 0; }
.profile-grid dt, .profile-source span { color: var(--fog); font: 500 0.65rem/1 var(--font-data); text-transform: uppercase; }
.profile-grid dd { margin: 10px 0 0; line-height: 1.35; }
.profile-source { padding: 18px 28px; display: flex; justify-content: space-between; gap: 24px; }
.profile-source code { color: var(--bronze-light); overflow-wrap: anywhere; }
.fingerprint-card { margin-top: 24px; padding: 30px; border: var(--border); background: rgba(77, 109, 119, .08); }
.fingerprint-card h2 { margin: 9px 0 0; font-size: 1.8rem; }
.fingerprint-card > p { margin: 22px 0; color: var(--fog); }
.fingerprint-card dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; background: var(--slate-light); }
.fingerprint-card dl div { padding: 16px; background: var(--coal); }
.fingerprint-card dt { color: var(--fog); font: .63rem/1 var(--font-data); text-transform: uppercase; }
.fingerprint-card dd { margin-top: 8px; line-height: 1.4; }
.depth-picker { margin-top: 24px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; border: 0; }
.depth-picker legend { margin-bottom: 12px; }
.depth-option { min-height: 70px; padding: 14px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; border: var(--border); background: var(--coal); color: var(--bone); cursor: pointer; }
.depth-option--selected { border-color: var(--moss-light); background: rgba(107,127,106,.12); }
.depth-option b { font-family: var(--font-heading); }
.depth-option span { color: var(--fog); font: .65rem/1.4 var(--font-data); }
.page-actions--demo-changed { justify-content: flex-end; flex-wrap: wrap; gap: 18px; }
.page-actions--demo-changed .button--back { margin-right: auto; }

.excavation-shell { background: radial-gradient(circle at 28% 50%, rgba(107,127,106,.1), transparent 30%), var(--void); }
.excavation-page { width: min(calc(100% - 64px), var(--content)); min-height: calc(100vh - 88px); margin: 0 auto; display: grid; grid-template-columns: minmax(260px, .8fr) minmax(440px, 1.2fr); align-items: center; gap: clamp(70px, 10vw, 150px); padding: 70px 0; }
.excavation-visual { width: min(360px, 100%); aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.excavation-visual::before, .excavation-visual::after, .excavation-visual__rings { content: ""; position: absolute; border: 1px solid rgba(231,233,236,.1); border-radius: 50%; }
.excavation-visual::before { inset: 12%; }
.excavation-visual::after { inset: 28%; }
.excavation-visual__rings { inset: 0; }
.excavation-visual__line { width: 2px; max-height: 72%; position: absolute; top: 14%; background: linear-gradient(var(--bronze), var(--moss)); transition: height 500ms ease; }
.excavation-visual__line::after { content: ""; width: 10px; height: 10px; position: absolute; bottom: -5px; left: -4px; border-radius: 50%; background: var(--moss-light); box-shadow: 0 0 24px var(--moss-light); }
.excavation-visual__depth { position: absolute; bottom: 8%; color: var(--fog); font-size: .66rem; }
.excavation-panel h1 { max-width: 650px; margin: 15px 0 18px; font-size: clamp(2.6rem, 5vw, 4.7rem); }
.excavation-panel > p:not(.eyebrow) { color: var(--fog); }
.excavation-steps { margin: 40px 0; padding: 0; list-style: none; }
.excavation-step { min-height: 52px; display: flex; align-items: center; gap: 18px; border-bottom: var(--border); color: #555e68; transition: color 180ms ease; }
.excavation-step > span { width: 24px; font: 0.68rem/1 var(--font-data); }
.excavation-step p { margin: 0; }
.excavation-step--active { color: var(--bone); }
.excavation-step--active > span { color: var(--bronze-light); }
.excavation-step--complete { color: var(--fog); }
.excavation-step--complete > span { color: var(--moss-light); }
.research-error { margin: 28px 0; padding: 22px; border: 1px solid rgba(154,105,100,.5); background: rgba(154,105,100,.08); }
.research-error p { color: var(--fog); }
.research-error > div { display: flex; gap: 20px; }
.partial-note { margin-top: 14px; color: var(--bronze-light) !important; font: .68rem/1.5 var(--font-data); }
.demo-excavation-note { margin: 24px 0 0; padding: 18px 20px; border-left: 2px solid var(--bronze); background: rgba(176,138,90,.08); }
.demo-excavation-note p { margin: 6px 0 0; color: var(--fog); font-size: .78rem; }

.report-shell { background: var(--coal); }
.report-page { width: min(calc(100% - 64px), var(--content)); margin: 0 auto; padding: 90px 0 0; }
.report-hero { min-height: 300px; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.report-hero h1 { margin: 15px 0 22px; }
.report-hero > div > p:last-child { max-width: 600px; color: var(--fog); font-size: 1.05rem; }
.report-hero__actions { display: flex; align-items: center; gap: 18px; }
.research-banner { margin-bottom: 32px; padding: 22px 26px; display: grid; grid-template-columns: 160px 1fr; gap: 24px; border: 1px solid rgba(176,138,90,.36); background: rgba(176,138,90,.08); }
.research-banner p { margin: 0; color: var(--fog); font-size: .86rem; }
.research-banner--partial { border-color: rgba(176,138,90,.5); }
.research-banner--complete { border-color: rgba(107,127,106,.55); background: rgba(107,127,106,.08); }
.research-banner--demo { border-color: rgba(176,138,90,.55); background: rgba(176,138,90,.1); }
.report-index { min-height: 70px; display: flex; align-items: center; gap: 34px; border-block: var(--border); color: var(--fog); font-size: .66rem; text-transform: uppercase; }
.report-index a { text-decoration: none; }
.report-index a:hover { color: var(--bone); }
.report-section { padding: 100px 0; border-bottom: var(--border); scroll-margin-top: 30px; }
.section-heading { display: grid; grid-template-columns: 80px 1fr; align-items: start; margin-bottom: 48px; }
.section-number { color: var(--bronze); font: 500 .72rem/1 var(--font-data); }
.section-heading h2 { max-width: 820px; margin: 12px 0 0; }
.report-profile { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; }
.report-profile blockquote { margin: 0; padding-left: 30px; border-left: 2px solid var(--bronze); font: 500 clamp(1.35rem, 3vw, 2.2rem)/1.45 var(--font-heading); letter-spacing: -.025em; }
.report-profile dl { margin: 0; }
.report-profile dl div { padding: 13px 0; display: grid; grid-template-columns: 130px 1fr; gap: 18px; border-bottom: var(--border); }
.report-profile dt { color: var(--fog); font: .63rem/1.5 var(--font-data); text-transform: uppercase; }
.report-profile dd { line-height: 1.4; }
.report-stats { display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 70px; border: var(--border); }
.report-stats div { min-height: 145px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border-right: var(--border); }
.report-stats div:last-child { border-right: 0; }
.report-stats strong { font: 500 2.8rem/1 var(--font-heading); }
.report-stats span { color: var(--fog); font: .65rem/1.4 var(--font-data); text-transform: uppercase; }
.subsection { padding: 62px 0; border-top: var(--border); }
.subsection__heading { display: grid; grid-template-columns: 220px 1fr; gap: 30px; margin-bottom: 26px; }
.subsection__heading > p:last-child { margin: 0; color: var(--fog); font-size: .84rem; }
.unknown-records { margin-top: 24px; }
.unknown-records > .data-label { margin-bottom: 15px; }
.cause-list article { min-height: 116px; display: grid; grid-template-columns: 80px 1fr; padding: 28px 0; border-top: var(--border); }
.cause-list article:last-child { border-bottom: var(--border); }
.cause-list__number { color: var(--bronze-light); font-size: .68rem; }
.cause-list h3 { margin-bottom: 8px; }
.cause-list p { margin: 0; color: var(--fog); }
.evidence-caution, .hypothesis-note { max-width: 760px; margin: 24px 0 0 80px; color: var(--bronze-light); font: .7rem/1.65 var(--font-data); }
.change-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--slate-light); border: var(--border); }
.change-grid article { min-height: 210px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; background: var(--coal); }
.change-grid span { color: var(--bronze-light); font-size: .68rem; }
.change-grid p { margin: 0; }
.change-grid h3 { margin: 0 0 12px; }
.change-grid small { display: block; margin-top: 14px; color: var(--dull-cyan); font: .62rem/1.4 var(--font-data); text-transform: uppercase; }
.resurrection { background: linear-gradient(135deg, rgba(107,127,106,.11), transparent 55%); }
.resurrection-grid { display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: center; }
.resurrection-score { width: 240px; aspect-ratio: 1; display: grid; place-content: center; position: relative; border-radius: 50%; background: conic-gradient(var(--moss-light) calc(var(--score) * 1%), var(--slate) 0); text-align: center; }
.resurrection-score::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--coal); }
.resurrection-score > * { position: relative; z-index: 1; }
.resurrection-score strong { font: 500 4rem/1 var(--font-heading); }
.resurrection-score span { color: var(--fog); font: .7rem/1 var(--font-data); }
.resurrection-score p { margin: 12px 0 0; color: var(--fog); font: .63rem/1 var(--font-data); text-transform: uppercase; }
.resurrection-rationale { max-width: 670px; font-size: 1.18rem; }
.condition-list { margin: 28px 0 0; padding: 0; list-style: none; }
.condition-list li { padding: 13px 0 13px 28px; position: relative; border-top: var(--border); color: var(--fog); }
.condition-list li::before { content: ""; width: 8px; height: 1px; position: absolute; left: 0; top: 26px; background: var(--bronze); }
.condition-list--numbered { counter-reset: condition; padding: 0; list-style: none; }
.condition-list--numbered li { counter-increment: condition; padding-left: 48px; }
.condition-list--numbered li::before { content: counter(condition, decimal-leading-zero); width: 30px; height: auto; top: 17px; background: none; color: var(--bronze-light); font: .65rem/1 var(--font-data); }
.timeline-list article { min-height: 108px; display: grid; grid-template-columns: 150px 1fr; gap: 30px; padding: 24px 0; border-top: var(--border); }
.timeline-list article:last-child { border-bottom: var(--border); }
.timeline-list time { color: var(--bronze-light); font-size: .72rem; }
.timeline-list h3 { margin-bottom: 8px; }
.timeline-list p { margin-bottom: 8px; color: var(--fog); }
.analysis-disclosure { margin-top: 30px; }
.analysis-disclosure p { color: var(--fog); }
.verdict-section { background: linear-gradient(135deg, rgba(77,109,119,.14), transparent 58%); }
.verdict-card { display: grid; grid-template-columns: 220px 1fr; gap: 60px; padding: 36px; border: 1px solid rgba(77,109,119,.6); background: var(--coal); }
.verdict-card > div { display: flex; flex-direction: column; gap: 12px; }
.verdict-card strong { font: 500 2rem/1 var(--font-heading); }
.verdict-card p { margin: 0; font-size: 1.15rem; }
.evidence-table { border-top: var(--border); }
.evidence-row { min-height: 100px; display: grid; grid-template-columns: 180px 1fr 120px; align-items: start; gap: 28px; padding: 24px 0; border-bottom: var(--border); font-size: .84rem; }
.evidence-row--head { min-height: 48px; padding-block: 14px; color: var(--fog); font: .62rem/1 var(--font-data); text-transform: uppercase; }
.evidence-row small { display: block; margin-top: 8px; color: var(--fog); line-height: 1.5; }
.evidence-row small a { color: var(--bronze-light); overflow-wrap: anywhere; }
.fixture-source { display: block; color: var(--bronze-light); overflow-wrap: anywhere; }
.evidence-row em { display: block; margin-top: 9px; color: var(--fog); font-size: .78rem; font-style: normal; }
.confidence small { color: inherit; text-transform: uppercase; }
.confidence { font: 500 .66rem/1 var(--font-data); text-transform: uppercase; }
.confidence--unverified { color: var(--bronze-light); }
.confidence--high { color: var(--moss-light); }
.confidence--medium { color: var(--bronze-light); }
.confidence--low { color: var(--fog); }
.false-match { margin-top: 32px; padding: 24px; border: 1px dashed var(--slate-light); }
.false-match p:last-child { margin-bottom: 0; color: var(--fog); }
.report-footer { min-height: 220px; display: grid; grid-template-columns: 1fr auto auto; gap: 38px; align-items: center; color: var(--fog); font: .68rem/1.5 var(--font-data); }
.report-footer__actions { display: flex; gap: 12px; }
.report-footer .app-header { width: auto; height: auto; border: 0; }
.report-footer .brand-button { pointer-events: none; }

@media print {
  :root { color-scheme: light; }
  body, .report-shell { background: #fff; color: #101215; }
  .app-header, .report-hero__actions, .report-index, .report-footer .button { display: none; }
  .report-page { width: 100%; padding-top: 30px; }
  .report-section { padding: 45px 0; break-inside: avoid; }
  .match-card, .change-grid article, .resurrection-score::after { background: #fff; }
  .research-banner { border-color: #9b7a51; }
}
