:root {
  color-scheme: light;
  --paper: #f7f0e5; --paper-2: #fffaf2; --surface: #fffdf8; --ink: #241b18; --muted: #6d5c54;
  --red: #9d2730; --red-dark: #6f1720; --red-soft: #f4dfe0; --gold: #c89035; --green: #2d765c;
  --line: #d9cabc; --shadow: 0 18px 50px rgba(68, 38, 30, .11); --radius: 18px;
  --serif: Georgia, "Times New Roman", serif; --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html[data-theme="dark"] {
  color-scheme: dark; --paper: #14100f; --paper-2: #1b1513; --surface: #211a18; --ink: #fff8ed; --muted: #c7b4aa;
  --red: #df6670; --red-dark: #f08b92; --red-soft: #3b2022; --gold: #e0aa56; --green: #72c3a2; --line: #4b3b35;
  --shadow: 0 18px 50px rgba(0, 0, 0, .32);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 17px/1.55 var(--sans); }
button, input { font: inherit; }
button, label, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, label:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: -80px; padding: 12px 16px; background: var(--ink); color: var(--surface); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; z-index: 20; top: 0; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px clamp(18px, 4vw, 64px); border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: white; font: 800 26px/1 var(--serif); box-shadow: inset 0 0 0 3px rgba(255,255,255,.18); }
.brand b { display: block; font: 800 21px/1 var(--serif); }
.brand small { display: block; margin-top: 5px; color: var(--muted); font: 800 11px/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.privacy-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--green); background: var(--surface); font-size: 13px; font-weight: 850; }
.privacy-pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 16%, transparent); }
.icon-button, .text-button { min-height: 44px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--surface); padding: 0 16px; cursor: pointer; font-weight: 800; }
.text-button { color: var(--red); }
button:disabled { cursor: not-allowed; opacity: .45; }
main { overflow: hidden; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: clamp(34px, 7vw, 100px); padding: clamp(56px, 8vw, 110px) clamp(20px, 7vw, 110px) clamp(60px, 9vw, 120px); background: var(--paper-2); }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -180px; width: 430px; height: 430px; border: 70px solid color-mix(in srgb, var(--red) 6%, transparent); border-radius: 50%; pointer-events: none; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 820px; margin: 0; font: 800 clamp(46px, 6.5vw, 92px)/.94 var(--serif); letter-spacing: -.055em; }
h1 em { color: var(--red); font-weight: 500; }
.hero-lede { max-width: 720px; margin: 30px 0 0; color: var(--muted); font-size: clamp(19px, 2vw, 24px); line-height: 1.55; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 30px; }
.hero-links a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 850; text-underline-offset: 5px; }
.steps { align-self: center; position: relative; z-index: 1; margin: 0; padding: 8px 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps > li > span { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--red); border-radius: 50%; color: var(--red); font: 800 20px var(--serif); }
.steps b, .steps small { display: block; }
.steps b { margin-bottom: 5px; font-size: 19px; }
.steps small { color: var(--muted); font-size: 15px; line-height: 1.5; }
.workspace, .outputs, .trust-section { max-width: 1320px; margin: 0 auto; padding: clamp(60px, 8vw, 105px) clamp(18px, 4vw, 50px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.section-heading.compact { margin: 48px 0 20px; }
.section-heading h2 { margin: 0; font: 800 clamp(32px, 4vw, 52px)/1.05 var(--serif); letter-spacing: -.035em; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); }
.drop-zone { position: relative; display: grid; justify-items: center; padding: clamp(36px, 7vw, 78px) 22px; border: 2px dashed var(--line); border-radius: var(--radius); text-align: center; background: var(--surface); box-shadow: var(--shadow); transition: .2s ease; }
.drop-zone.dragging { border-color: var(--red); background: var(--red-soft); transform: translateY(-2px); }
.drop-icon { width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 20px; background: var(--red-soft); color: var(--red); font-size: 17px; font-weight: 950; letter-spacing: .08em; transform: rotate(-3deg); }
.drop-zone h3 { margin: 0; font: 800 clamp(25px, 3vw, 37px)/1.1 var(--serif); }
.drop-zone p { max-width: 680px; margin: 14px 0 24px; color: var(--muted); font-size: 18px; }
.drop-zone small { margin-top: 18px; color: var(--muted); }
.drop-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.file-button { position: relative; overflow: hidden; }
.file-button input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.primary-button, .secondary-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 23px; border: 1px solid transparent; cursor: pointer; font-weight: 900; text-align: center; text-decoration: none; }
.primary-button { color: white; background: var(--red); box-shadow: 0 10px 24px color-mix(in srgb, var(--red) 26%, transparent); }
.primary-button:hover { background: var(--red-dark); }
.secondary-button { color: var(--ink); border-color: var(--line); background: var(--surface); }
.secondary-button:hover { border-color: var(--red); color: var(--red); }
.status-bar { min-height: 76px; display: flex; align-items: center; gap: 15px; margin-top: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2); }
.status-dot { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px color-mix(in srgb, var(--green) 16%, transparent); }
.status-bar.busy .status-dot { background: var(--gold); animation: pulse 1s ease infinite; }
.status-bar.error .status-dot { background: var(--red); }
.status-bar b, .status-bar span { display: block; }
.status-bar span { color: var(--muted); font-size: 15px; }
@keyframes pulse { 50% { transform: scale(.6); opacity: .5; } }
.session-panel { margin-top: 44px; }
.metric-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); overflow: hidden; }
.metric-grid article { min-height: 140px; display: flex; flex-direction: column; justify-content: center; padding: 24px; background: var(--surface); }
.metric-grid span { font: 800 clamp(36px, 4vw, 55px)/1 var(--serif); }
.metric-grid small { margin-top: 9px; color: var(--muted); font-weight: 800; }
.notice-stack { display: grid; gap: 10px; margin-top: 18px; }
.notice { padding: 15px 17px; border-left: 5px solid var(--gold); border-radius: 8px; background: color-mix(in srgb, var(--gold) 10%, var(--surface)); }
.notice.error { border-color: var(--red); background: var(--red-soft); }
.notice b { display: block; }
.notice span { color: var(--muted); }
.size-label { color: var(--muted); font-weight: 850; }
.report-list { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.report-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(180px, .6fr) minmax(170px, .55fr) 48px; align-items: center; gap: 18px; min-height: 92px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.report-row:last-child { border-bottom: 0; }
.report-row b, .report-row small { display: block; }
.report-row b { font-size: 17px; }
.report-row small { margin-top: 5px; color: var(--muted); font-size: 14px; }
.source-badge { justify-self: start; padding: 6px 10px; border-radius: 999px; color: var(--green); background: color-mix(in srgb, var(--green) 10%, transparent); font-size: 13px; font-weight: 900; }
.source-badge.unknown { color: var(--red); background: var(--red-soft); }
.report-date { color: var(--muted); font-weight: 800; }
.remove-button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--red); background: transparent; cursor: pointer; font-size: 23px; }
.outputs { max-width: none; background: var(--ink); color: var(--surface); }
html[data-theme="dark"] .outputs { background: #080706; }
.outputs > * { max-width: 1220px; margin-left: auto; margin-right: auto; }
.outputs .eyebrow { color: #f0a0a7; }
.outputs .section-heading > p { color: #ccbcb4; }
.output-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.output-card { display: flex; flex-direction: column; min-height: 330px; padding: clamp(24px, 4vw, 38px); border: 1px solid #5c4b44; border-radius: var(--radius); background: #302621; }
.output-card.master-card { background: var(--red); border-color: #df8e95; }
.output-card.insights-card { background: #22372f; border-color: #4e7b68; }
.card-tag { align-self: flex-start; padding: 5px 9px; border: 1px solid currentColor; border-radius: 999px; color: #f4c4c8; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.insights-card .card-tag { color: #9fe0c5; }
.output-card h3 { margin: 22px 0 12px; font: 800 clamp(27px, 3vw, 38px)/1.05 var(--serif); }
.output-card p { flex: 1; margin: 0 0 28px; color: #d9cbc4; }
.master-card p { color: #ffe7e8; }
.output-card .secondary-button { border-color: #76645c; color: white; background: #1c1715; }
.master-card .primary-button { color: var(--red-dark); background: white; box-shadow: none; }
.additional-site-zips { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 18px; }
.additional-site-zips .output-card { min-height: 260px; }
.trust-section { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: clamp(36px, 7vw, 90px); }
.trust-section h2 { margin: 0; font: 800 clamp(34px, 4vw, 54px)/1.05 var(--serif); letter-spacing: -.04em; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.trust-grid article { min-height: 200px; padding: 26px; background: var(--surface); }
.trust-grid b { font: 800 23px/1.15 var(--serif); }
.trust-grid p { margin: 13px 0 0; color: var(--muted); }
footer { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px clamp(18px, 4vw, 64px); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 800; }
@media (max-width: 900px) {
  .privacy-pill { display: none; }
  .hero { grid-template-columns: 1fr; }
  .steps { max-width: 680px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .output-grid { grid-template-columns: 1fr; }
  .trust-section { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header { min-height: 68px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand b { font-size: 19px; }
  .icon-button { padding: 0 13px; }
  .hero { padding-top: 54px; }
  h1 { font-size: clamp(42px, 13vw, 66px); }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .section-heading .text-button { align-self: stretch; }
  .drop-actions, .drop-actions label { width: 100%; }
  .metric-grid article { min-height: 112px; padding: 18px; }
  .report-row { grid-template-columns: 1fr 48px; gap: 12px; padding: 17px; }
  .report-row > :first-child, .report-row .source-badge, .report-row .report-date { grid-column: 1; }
  .report-row .remove-button { grid-column: 2; grid-row: 1 / span 3; }
  .output-card { min-height: 300px; }
  .trust-grid { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
@media print { .site-header, .drop-zone, .status-bar, .outputs, .remove-button, .text-button, .hero-links { display: none !important; } body { background: white; color: #111; } .hero, .workspace, .trust-section { padding: 24px; background: white; } .metric-grid, .report-list, .trust-grid { break-inside: avoid; box-shadow: none; } }
