:root {
  --ink: #10110f;
  --ink-2: #1a1d18;
  --paper: #f3f1e9;
  --white: #fffef9;
  --lime: #c9ff46;
  --lime-dark: #a8da2c;
  --coral: #ff684d;
  --amber: #ffc850;
  --cyan: #9ee8ff;
  --muted: #575a52;
  --line: rgba(16, 17, 15, .16);
  --line-dark: rgba(255, 255, 255, .14);
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Manrope", "Inter", system-ui, sans-serif;
  --display: "Manrope", "Inter", system-ui, sans-serif;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(16, 17, 15, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 78% -10%, rgba(201, 255, 70, .28), transparent 29rem), var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

body.is-busy { cursor: wait; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.shell { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 36px));
  min-height: 82px;
  margin: 12px auto 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,254,249,.88);
  box-shadow: 0 14px 34px rgba(16,17,15,.07);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 13px; }
.brand > span:last-child { display: grid; gap: 3px; }
.brand strong { font: 900 .98rem/1 var(--display); letter-spacing: -.03em; }
.brand small { color: var(--muted); font: 500 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink);
}

.brand-mark i:nth-child(1) { background: var(--lime); }
.brand-mark i:nth-child(2) { background: var(--amber); }
.brand-mark i:nth-child(3) { background: var(--coral); }
.brand-mark i:nth-child(4) { background: var(--cyan); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.text-link { font-size: .8rem; font-weight: 800; border-bottom: 1px solid currentColor; }
.account-button { padding: 0; color: inherit; background: transparent; cursor: pointer; }
.secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.72);
  font: 500 .7rem/1 var(--mono);
  text-transform: uppercase;
}
.secure-pill i { width: 7px; height: 7px; border-radius: 50%; background: #52b84d; box-shadow: 0 0 0 4px rgba(82,184,77,.12); }

.hero {
  min-height: 0;
  padding: clamp(72px, 10vw, 132px) 0 86px;
  display: block;
}

.eyebrow, .kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font: 500 .72rem/1.3 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { padding: 7px 10px; border-radius: 999px; color: var(--ink); background: var(--lime); }

h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--display); }

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(4rem, 7.2vw, 7rem);
  line-height: .88;
  letter-spacing: -.04em;
  font-weight: 800;
}

.hero-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: #45483f;
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
  line-height: 1.65;
  letter-spacing: -.02em;
}

.hero-actions, .scanner-actions, .dialog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.button {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: .84rem;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.button.primary { color: var(--white); background: var(--ink); }
.button.primary:hover, .button.primary:focus-visible { color: var(--ink); background: var(--lime); transform: translateY(-2px); }
.button.quiet { color: var(--ink); background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px var(--line); }
.button.quiet:hover, .button.quiet:focus-visible { background: var(--white); transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.button.inverse { color: var(--ink); background: var(--lime); }
.button.inverse:hover { color: var(--white); background: var(--ink); }

.hero-trust { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 42px; }
.hero-trust span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.55); font: 500 .7rem/1 var(--mono); }

.receipt-reveal { margin-top: 12px; padding: 0 0 clamp(84px, 11vw, 138px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: end; gap: clamp(28px, 7vw, 90px); opacity: 0; transform: translateY(28px); clip-path: inset(0 0 12% 0); transition: opacity 700ms cubic-bezier(.22, 1, .36, 1), transform 700ms cubic-bezier(.22, 1, .36, 1), clip-path 700ms cubic-bezier(.22, 1, .36, 1); }
.receipt-reveal.is-visible { opacity: 1; transform: none; clip-path: inset(0); }
.receipt-reveal-copy h2 { max-width: 540px; margin: 0; font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: .95; letter-spacing: -.04em; }
.receipt-reveal-copy > p:last-child { max-width: 440px; margin: 22px 0 0; color: var(--muted); line-height: 1.55; }
.receipt-trace { position: relative; padding: 20px 0 0; display: grid; grid-template-columns: 1fr 42px 1fr 42px 1fr; align-items: center; border-top: 1px solid var(--line); }
.trace-node { min-height: 140px; padding: 18px 20px; border-bottom: 1px solid var(--line); background: rgba(255, 254, 249, .78); }
.trace-label { display: block; color: var(--muted); font: 500 .68rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.trace-node strong { display: block; margin: 22px 0 4px; font: 800 clamp(2.25rem, 4vw, 3.8rem)/.9 var(--display); letter-spacing: -.05em; }
.trace-node small { color: var(--muted); font-size: .78rem; }
.trace-rule { position: relative; height: 1px; background: var(--ink); }
.trace-rule::after { content: ""; position: absolute; top: -4px; right: 0; width: 7px; height: 8px; background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.trace-note { position: absolute; top: -12px; right: 0; margin: 0; padding-left: 8px; color: var(--muted); background: var(--paper); font: 500 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.principle-bar { border-block: 1px solid var(--line); background: rgba(255,254,249,.75); }
.principle-bar .shell { min-height: 86px; display: flex; align-items: center; gap: 20px; }
.principle-bar strong { padding: 8px 12px; border-radius: 999px; background: var(--lime); font-size: .8rem; white-space: nowrap; }
.principle-bar p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.principle-bar code, .micro-note code { font-family: var(--mono); color: var(--ink); }

.scanner-section, .coverage-section, .plans-section { padding: 116px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .65fr); align-items: end; gap: 50px; margin-bottom: 42px; }
.section-heading.compact { align-items: start; }
.section-heading h2, .results-header h2, .report-toolbar h2, .method-grid h2, .final-cta h2 { margin: 0; font-size: clamp(2.7rem, 5.4vw, 5.3rem); line-height: .94; letter-spacing: -.04em; }
.section-heading > p { margin: 0 0 4px; color: var(--muted); line-height: 1.7; }

.scanner-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .6fr); gap: 16px; }
.scanner-card, .scan-map { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,254,249,.86); box-shadow: var(--shadow); }
.scanner-card { padding: clamp(22px, 4vw, 44px); }
.project-field { display: grid; gap: 9px; margin-bottom: 16px; }
.project-field span, .auth-dialog label span { color: var(--muted); font: 500 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.project-field input, .auth-dialog input { min-height: 52px; width: 100%; border: 1px solid var(--line); border-radius: 13px; padding: 0 15px; outline: none; background: rgba(255,255,255,.75); }
.project-field input:focus, .auth-dialog input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201,255,70,.5); }

.drop-zone { min-height: 260px; padding: 32px; display: grid; place-items: center; align-content: center; text-align: center; border: 1.5px dashed rgba(16,17,15,.28); border-radius: 20px; background: rgba(201,255,70,.07); outline: none; transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease; }
.drop-zone:hover, .drop-zone:focus-visible, .drop-zone.is-dragging { border-color: var(--ink); background: rgba(201,255,70,.17); transform: translateY(-2px); }
.drop-zone.is-disabled { pointer-events: none; opacity: .62; transform: none; }
.upload-icon { width: 48px; height: 48px; margin-bottom: 16px; display: grid; place-items: center; border-radius: 50%; color: var(--lime); background: var(--ink); font-size: 1.4rem; }
.drop-copy { text-align: center; }
.drop-zone strong { font-size: 1.2rem; letter-spacing: -.03em; }
.drop-zone p { margin: 8px 0 18px; color: var(--muted); font: 400 .7rem/1.5 var(--mono); }
.file-button, .sample-button { border: 0; padding: 0; color: var(--ink); background: transparent; cursor: pointer; font-size: .76rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.file-button:disabled, .sample-button:disabled, .file-list button:disabled { cursor: wait; opacity: .5; }
.file-button { min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--white); }

.drop-zone.has-files { min-height: 132px; grid-template-columns: auto minmax(0, 1fr) auto; align-content: center; gap: 18px; text-align: left; }
.drop-zone.has-files .upload-icon { width: 42px; height: 42px; margin: 0; }
.drop-zone.has-files .drop-copy { text-align: left; }
.drop-zone.has-files p { margin: 6px 0 0; }
.drop-zone.has-files .file-button { justify-self: end; }

.file-readiness { min-height: 68px; padding: 14px 2px; display: grid; grid-template-columns: 12px 1fr; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.readiness-mark { width: 10px; height: 10px; border-radius: 50%; background: #a8aaa3; box-shadow: 0 0 0 4px rgba(111,113,105,.10); }
.file-readiness strong { display: block; font-size: .82rem; }
.file-readiness p { margin: 4px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.file-readiness[data-state="partial"] .readiness-mark { background: var(--amber); box-shadow: 0 0 0 4px rgba(255,200,80,.16); }
.file-readiness[data-state="ready"] .readiness-mark { background: #52a94d; box-shadow: 0 0 0 4px rgba(82,169,77,.14); }
.file-readiness[data-state="error"] .readiness-mark { background: var(--coral); box-shadow: 0 0 0 4px rgba(255,104,77,.14); }

.file-list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.file-list li { padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: 12px; background: #eceae1; }
.file-info { min-width: 0; display: grid; gap: 3px; }
.file-info strong { overflow: hidden; font: 500 .72rem/1.3 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.file-info small { color: var(--muted); font: 400 .7rem/1.3 var(--mono); text-transform: uppercase; }
.file-list button { border: 0; color: var(--muted); background: transparent; cursor: pointer; }
.scanner-actions { justify-content: space-between; }
.form-status { min-height: 22px; margin: 14px 0 0; color: var(--muted); font: 400 .7rem/1.5 var(--mono); }
.form-status[data-state="error"], .dialog-status[data-state="error"] { color: #bd321e; }
.form-status[data-state="success"], .dialog-status[data-state="success"] { color: #397835; }
.micro-note { margin: 13px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.55; }

.scan-map { padding: 30px; color: var(--white); background: var(--ink); }
.scan-map .kicker { color: #90958b; }
.scan-map ol { margin: 30px 0 0; padding: 0; list-style: none; }
.scan-map li { padding: 22px 0; display: grid; grid-template-columns: 42px 1fr; gap: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.scan-map li > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--lime); font: 500 .66rem/1 var(--mono); }
.scan-map strong { font-size: .95rem; }
.scan-map p { margin: 6px 0 0; color: #a8ada2; font-size: .78rem; line-height: 1.55; }

.results-section { padding: 110px 0; border-block: 1px solid var(--line); background: var(--white); }
.results-header, .report-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.results-header > div:first-child { max-width: 850px; }
.result-context { max-width: 66ch; margin: 20px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.65; }
#result-title:focus { outline: none; }
.score-chip { width: 110px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border-radius: 50%; color: var(--white); background: var(--ink); }
.score-chip span { font: 500 2.2rem/.9 var(--mono); }
.score-chip small { margin-top: 8px; color: var(--amber); font: 500 .65rem/1 var(--mono); text-transform: uppercase; }

.result-metrics { margin-top: 38px; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.result-metrics article { min-height: 125px; padding: 22px; display: grid; align-content: space-between; background: #f7f6f1; }
.result-metrics article + article { border-left: 1px solid var(--line); }
.result-metrics span { color: var(--muted); font: 500 .63rem/1 var(--mono); text-transform: uppercase; }
.result-metrics strong { font-size: 2rem; letter-spacing: -.07em; }
.result-metrics .text-metric strong { font-size: 1.05rem; line-height: 1.2; letter-spacing: -.03em; }

.report-access { margin-top: 14px; padding: 28px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .7fr); gap: 44px; align-items: center; border: 1px solid var(--line); border-radius: 20px; background: rgba(201,255,70,.22); }
.report-access .kicker { margin-bottom: 10px; }
.access-copy h3 { max-width: 690px; margin: 0; font-size: clamp(1.55rem, 3vw, 2.6rem); line-height: 1.02; letter-spacing: -.04em; }
.access-copy > p:last-child { max-width: 70ch; margin: 14px 0 0; color: #4d532f; font-size: .82rem; line-height: 1.6; }
.access-meter > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.access-meter > div:first-child span, .access-meter small { color: #3f4826; font: 500 .7rem/1.4 var(--mono); text-transform: uppercase; }
.access-meter > div:first-child strong { font: 500 1.2rem/1 var(--mono); }
.meter-track { height: 12px; margin: 12px 0 10px; overflow: hidden; border-radius: 999px; background: rgba(16,17,15,.14); }
.meter-track span { width: 100%; height: 100%; display: block; border-radius: inherit; background: var(--ink); transform: scaleX(0); transform-origin: left center; transition: transform 420ms cubic-bezier(.2,.8,.2,1); }

.findings-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.finding-card { min-height: 245px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.finding-card .severity { align-self: start; padding: 6px 9px; border-radius: 999px; font: 500 .58rem/1 var(--mono); text-transform: uppercase; background: #dfddd4; }
.finding-card .severity.elevated, .finding-card .severity.high, .finding-card .severity.critical { background: #ffe0d9; color: #9d2d1c; }
.finding-card .severity.review, .finding-card .severity.medium { background: #fff0c9; color: #71520b; }
.finding-card .severity.good, .finding-card .severity.controlled, .finding-card .severity.low { background: #def4c2; color: #335f1a; }
.finding-card h3 { margin: 28px 0 10px; font-size: 1.3rem; line-height: 1.08; letter-spacing: -.04em; }
.finding-card p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.finding-card small { margin-top: auto; padding-top: 22px; color: var(--muted); font: 400 .61rem/1.4 var(--mono); }

.locked-report { position: relative; margin-top: 14px; padding: clamp(24px, 4vw, 45px); display: grid; grid-template-columns: 1fr .9fr 250px; gap: 34px; align-items: center; overflow: hidden; border-radius: 24px; color: var(--white); background: var(--ink); }
.locked-report::before { content: ""; position: absolute; width: 460px; height: 460px; right: 8%; top: -310px; border-radius: 50%; background: rgba(201,255,70,.12); filter: blur(12px); }
.locked-report > * { position: relative; }
.lock-icon { width: 44px; height: 44px; margin-bottom: 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: var(--lime); font-size: 1.4rem; }
.locked-report .kicker { color: #91968b; }
.locked-copy h3 { margin: 0; font-size: clamp(2rem, 3vw, 3.4rem); line-height: .98; letter-spacing: -.04em; }
.locked-copy > p:last-child { margin: 18px 0 0; color: #a8ada2; font-size: .84rem; line-height: 1.65; }
.locked-list { display: grid; gap: 8px; }
.locked-list span { padding: 12px 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 11px; color: #ccd0c6; }
.locked-list strong { font-size: .72rem; font-weight: 500; }
.locked-list small { padding: 4px 6px; border-radius: 999px; color: var(--lime); background: rgba(201,255,70,.10); font: 500 .55rem/1 var(--mono); text-transform: uppercase; }
.unlock-card { padding: 22px; display: grid; gap: 6px; border-radius: 18px; color: var(--ink); background: var(--lime); }
.unlock-card p { margin: 0; font: 500 .65rem/1 var(--mono); text-transform: uppercase; }
.unlock-card > strong { font-size: 3rem; letter-spacing: -.08em; }
.unlock-card > span, .unlock-card > small { color: #4e5b2a; font-size: .68rem; }
.unlock-card .button { width: 100%; margin: 15px 0 4px; }

.report-section { padding: 100px 0; }
.report-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.report-status { margin-top: 30px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); background: var(--white); font: 400 .74rem/1.6 var(--mono); }
.report-content { margin-top: 18px; display: grid; gap: 12px; }
.report-summary, .report-finding, .report-list { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.report-summary h3, .report-finding h3, .report-list h3 { margin: 0 0 10px; font-size: 1.35rem; letter-spacing: -.04em; }
.report-summary p, .report-finding p { color: var(--muted); line-height: 1.7; }
.report-summary small { color: var(--muted); font: 500 .68rem/1.5 var(--mono); text-transform: uppercase; }
.report-list ol { margin: 18px 0 0; padding-left: 22px; display: grid; gap: 10px; }
.report-list li { padding-left: 8px; color: #4b4e46; font-size: .84rem; line-height: 1.55; }
.report-list.priorities { background: rgba(201,255,70,.24); }
.report-list.unknowns { background: #eeece4; }
.report-finding dl { margin: 20px 0 0; display: grid; grid-template-columns: 150px 1fr; gap: 9px 20px; }
.report-finding dt { color: var(--muted); font: 500 .65rem/1.5 var(--mono); text-transform: uppercase; }
.report-finding dd { margin: 0; font-size: .82rem; line-height: 1.5; }

.receipt-library { padding: 0 0 110px; }
.dashboard-view .hero,
.dashboard-view .principle-bar,
.dashboard-view .scanner-section,
.dashboard-view .results-section,
.dashboard-view .coverage-section,
.dashboard-view .method-section,
.dashboard-view .plans-section,
.dashboard-view .final-cta { display: none; }
.dashboard-view .receipt-library { min-height: calc(100vh - 248px); padding-top: clamp(72px, 9vw, 120px); }
.receipt-library-header { padding-bottom: 28px; display: flex; align-items: end; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.receipt-library-header h2 { margin: 0; font-size: clamp(2.7rem, 5.4vw, 5.3rem); line-height: .94; letter-spacing: -.04em; }
.receipt-library-header > div > p:last-child { margin: 16px 0 0; color: var(--muted); font: 400 .72rem/1.5 var(--mono); }
.receipt-library-list { display: grid; }
.receipt-row { min-height: 92px; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--line); }
.receipt-row > div { min-width: 0; display: grid; gap: 7px; }
.receipt-row strong { font-size: 1.05rem; letter-spacing: -.02em; }
.receipt-row small { color: var(--muted); font: 400 .68rem/1.4 var(--mono); text-transform: uppercase; }
.receipt-empty { margin-top: 18px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: rgba(201,255,70,.18); }
.receipt-empty strong { font-size: 1.05rem; }
.receipt-empty p { max-width: 700px; margin: 8px 0 0; color: #414924; font-size: .84rem; line-height: 1.6; }
.receipt-loading { margin: 22px 0 0; color: var(--muted); font: 400 .72rem/1.5 var(--mono); }
.receipt-loading.error { color: #bd321e; }

.question-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.question-grid article { min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,254,249,.78); }
.question-grid article:nth-child(2), .question-grid article:nth-child(6) { background: rgba(201,255,70,.42); }
.question-grid span { color: var(--muted); font: 500 .7rem/1 var(--mono); text-transform: uppercase; }
.question-grid h3 { max-width: 280px; margin: 64px 0 12px; font-size: 1.45rem; line-height: 1.05; letter-spacing: -.05em; }
.question-grid p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }

.method-section { padding: 110px 0; color: var(--white); background: var(--ink); }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 130px); align-items: center; }
.method-grid .light { color: var(--lime); }
.method-copy > p { margin: 0 0 28px; color: #b4b8ae; font-size: 1rem; line-height: 1.75; }
.method-copy ul { margin: 0; padding: 0; list-style: none; }
.method-copy li { padding: 17px 0; display: grid; grid-template-columns: 86px 1fr; gap: 18px; border-top: 1px solid var(--line-dark); color: #d8dbd3; font-size: .86rem; line-height: 1.5; }
.method-copy li span { color: var(--lime); font: 500 .7rem/1.5 var(--mono); text-transform: uppercase; }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plans-grid article { min-height: 470px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.plans-grid article.featured { background: rgba(201,255,70,.46); }
.plan-label { color: var(--muted); font: 500 .7rem/1 var(--mono); text-transform: uppercase; }
.plans-grid article > strong { margin-top: 45px; font-size: 2.5rem; line-height: 1; letter-spacing: -.04em; }
.plans-grid article > small { margin-top: 8px; color: var(--muted); }
.plans-grid ul { margin: 44px 0 28px; padding: 0; display: grid; gap: 12px; list-style: none; }
.plans-grid li { padding-left: 18px; position: relative; color: #5f6259; font-size: .82rem; line-height: 1.5; }
.plans-grid li::before { content: "↳"; position: absolute; left: 0; color: var(--ink); }
.plans-grid .button { margin-top: auto; }

.final-cta { padding: 120px 0; text-align: center; color: var(--ink); background: var(--coral); }
.final-cta .kicker { color: #4d211a; }
.final-cta h2 { margin-inline: auto; max-width: 1000px; }
.final-cta .button { margin-top: 34px; }

footer { padding: 55px 0; color: #aaaea3; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1fr auto minmax(260px, .7fr); gap: 40px; align-items: start; }
.footer-grid strong { color: var(--white); }
.footer-grid p { margin: 8px 0 0; font-size: .72rem; line-height: 1.6; }
.footer-grid > div:nth-child(2) { display: grid; gap: 9px; color: var(--white); font-size: .78rem; }
.footer-grid > div:nth-child(2) button { width: fit-content; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; font: inherit; text-align: left; }

.auth-dialog { width: min(540px, calc(100% - 24px)); padding: 0; border: 0; border-radius: 24px; background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.auth-dialog::backdrop { background: rgba(16,17,15,.68); backdrop-filter: blur(7px); }
.dialog-shell { position: relative; padding: 34px; }
.dialog-shell h2 { margin: 0; font-size: 2.45rem; line-height: .95; letter-spacing: -.04em; }
.dialog-shell > p:not(.kicker):not(.dialog-status) { color: var(--muted); line-height: 1.6; }
.dialog-shell label { display: grid; gap: 8px; margin-top: 16px; }
.dialog-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer; background: #e6e4dc; font-size: 1.35rem; }
.dialog-separation { margin: 20px 0; padding: 14px 16px; border: 1px solid rgba(168,218,44,.65); border-radius: 12px; background: rgba(201,255,70,.16); font-size: .8rem; }
.dialog-separation strong { color: var(--ink); }
.email-submit { width: 100%; margin-top: 4px; }
.dialog-status { min-height: 20px; margin: 14px 0 0; font: 400 .68rem/1.5 var(--mono); }

[hidden] { display: none !important; }

@media (max-width: 980px) {
  .hero { padding-top: 90px; }
  .receipt-reveal { grid-template-columns: 1fr; gap: 42px; }
  .scanner-layout, .method-grid { grid-template-columns: 1fr; }
  .locked-report { grid-template-columns: 1fr 1fr; }
  .report-access { grid-template-columns: 1fr; gap: 26px; }
  .unlock-card { grid-column: 1 / -1; }
  .result-metrics { grid-template-columns: 1fr 1fr; }
  .result-metrics article:nth-child(odd) { border-left: 0; }
  .result-metrics article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .findings-grid, .question-grid, .plans-grid { grid-template-columns: 1fr 1fr; }
  .plans-grid article:last-child { grid-column: 1 / -1; min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > p { grid-column: 1 / -1; max-width: 600px; }
}

@media (max-width: 680px) {
  .shell, .site-header { width: min(100% - 22px, 1180px); }
  .site-header { min-height: 68px; margin-top: 8px; border-radius: 18px; }
  .brand small, .secure-pill { display: none; }
  .header-actions { gap: 12px; }
  .hero { padding: 70px 0 65px; gap: 48px; }
  h1 { font-size: clamp(3.35rem, 17vw, 5.2rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .receipt-reveal { padding-bottom: 82px; gap: 30px; }
  .receipt-trace { grid-template-columns: 1fr; gap: 0; }
  .trace-rule { width: 1px; height: 28px; margin-left: 20px; }
  .trace-rule::after { top: auto; right: auto; bottom: -1px; left: -3px; width: 8px; height: 7px; clip-path: polygon(0 0, 100% 0, 50% 100%); }
  .trace-note { top: -11px; }
  .principle-bar .shell { padding: 18px 0; align-items: flex-start; flex-direction: column; gap: 10px; }
  .scanner-section, .coverage-section, .plans-section { padding: 82px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading h2, .results-header h2, .report-toolbar h2, .method-grid h2, .final-cta h2 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .scanner-card { padding: 18px; }
  .drop-zone { min-height: 230px; padding: 22px; }
  .drop-zone.has-files { min-height: 174px; grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
  .drop-zone.has-files .file-button { width: 100%; grid-column: 1 / -1; justify-self: stretch; }
  .scanner-actions { align-items: stretch; flex-direction: column; }
  .scanner-actions .button { width: 100%; }
  .results-section { padding: 80px 0; }
  .results-header, .report-toolbar { align-items: flex-start; flex-direction: column; }
  .report-actions { width: 100%; justify-content: stretch; }
  .report-actions .button { flex: 1 1 180px; }
  .result-metrics, .findings-grid, .question-grid, .plans-grid { grid-template-columns: 1fr; }
  .result-metrics article + article { border-left: 0; border-top: 1px solid var(--line); }
  .locked-report { grid-template-columns: 1fr; }
  .report-access { padding: 22px; }
  .locked-list, .unlock-card { grid-column: auto; }
  .plans-grid article:last-child { grid-column: auto; }
  .plans-grid article { min-height: 430px; }
  .method-section, .final-cta { padding: 82px 0; }
  .report-finding dl { grid-template-columns: 1fr; gap: 4px; }
  .report-finding dd { margin-bottom: 12px; }
  .receipt-library { padding-bottom: 82px; }
  .receipt-library-header { align-items: flex-start; flex-direction: column; }
  .receipt-row { align-items: flex-start; flex-direction: column; }
  .receipt-row .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > p { grid-column: auto; }
  .dialog-shell { padding: 28px 22px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .receipt-reveal { opacity: 1; transform: none; clip-path: none; }
}

@media print {
  .site-header, .hero, .principle-bar, .scanner-section, .results-section, .coverage-section, .method-section, .plans-section, .final-cta, footer, .report-toolbar .button { display: none !important; }
  body { background: #fff; }
  .report-section { display: block !important; padding: 20px 0; }
  .report-content { display: block; }
  .report-summary, .report-finding { margin-bottom: 12px; break-inside: avoid; box-shadow: none; }
}
