:root {
  color-scheme: light;
  --ink: #183b31;
  --muted: #617169;
  --paper: #f8f9f3;
  --white: #fff;
  --green: #234f3e;
  --line: #dbe1d6;
  --soft: #edf1e7;
  --lime: #e0edac;
  --orange: #9b4a29;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #7b9876; outline-offset: 5px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 16px; top: -90px; padding: 12px; background: white; z-index: 10; }
.skip-link:focus { top: 12px; }
.site-header, main, .site-footer { max-width: 1200px; margin: auto; }
.site-header { padding: 24px 40px; display: flex; justify-content: space-between; gap: 28px; align-items: center; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; white-space: nowrap; letter-spacing: -.4px; }
.brand-mark { display: flex; align-items: center; position: relative; background: var(--green); color: var(--white); width: 35px; height: 36px; border-radius: 8px; padding-left: 8px; font-size: 21px; }
.brand-mark span { position: absolute; font-size: 15px; right: 3px; top: 3px; color: var(--lime); }
.brand-dot { color: #809b5b; font-size: 11px; }
.site-header nav { display: flex; align-items: center; gap: 25px; font-size: 13px; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover, .site-header nav [aria-current] { text-decoration: underline; }
.site-header .nav-cta { border: 1px solid var(--green); padding: 10px 14px; border-radius: 5px; }
.nav-cta span { margin-left: 8px; }
main { padding: 0 40px; }
p { line-height: 1.65; }
.eyebrow { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.6px; line-height: 1.7; margin: 0 0 20px; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: #718b48; border-radius: 50%; margin-right: 8px; }
h1 { font-size: clamp(38px, 4.65vw, 65px); font-weight: 500; letter-spacing: -2.9px; line-height: 1.07; margin: 0 0 24px; }
h1 em, h2 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: #527044; }
h2 { font-size: 34px; font-weight: 500; letter-spacing: -1.2px; line-height: 1.15; margin: 0 0 20px; }
h3 { font-size: 20px; font-weight: 500; letter-spacing: -.5px; line-height: 1.3; }
.lead { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 620px; }
.button { background: var(--green); color: white; display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 15px 21px; border-radius: 5px; border: 1px solid var(--green); text-decoration: none; font-size: 13px; font-weight: 600; cursor: pointer; }
.button:hover, #analyze-button:hover:not(:disabled) { background: #153d2c; }
.button.light { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.button.secondary { background: white; color: var(--ink); border-color: var(--line); }
.text-link { font-size: 13px; font-weight: 600; text-decoration: none; border-bottom: 1px solid #aab6a1; padding-bottom: 4px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 28px 0 22px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 35px; align-items: center; padding: 72px 0 62px; }
.hero-copy .lead { max-width: 495px; font-size: 16px; }
.trust-line { font-size: 11px; color: var(--muted); }
.trust-line span { padding: 0 8px; }
.hero-visual { height: 448px; border-radius: 14px; position: relative; background: #e8eddf; background-image: radial-gradient(#cdd6c1 .7px, transparent .7px); background-size: 14px 14px; overflow: hidden; }
.visual-topline { display: flex; justify-content: space-between; padding: 22px 24px; font-size: 9px; font-weight: 700; letter-spacing: 1.7px; color: #637355; }
.visual-topline span:last-child { font-size: 18px; }
.source-sheet { position: absolute; left: 40px; top: 80px; width: 205px; height: 268px; padding: 21px; background: #fffef9; border: 1px solid #d9dfcf; box-shadow: 0 12px 25px #1b392915; transform: rotate(-8deg); }
.source-sheet > span:first-child { color: #8a9581; font-size: 7px; letter-spacing: 1.5px; }
.sheet-heading { height: 7px; width: 85px; background: #a3b296; margin: 15px 0; }
.sheet-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.sheet-columns i { display: block; height: 3px; background: #d4dbcb; margin: 5px 0; }
.sheet-columns i:nth-child(3n) { width: 75%; }
.scan-region { margin-top: 16px; background: #edf1e3; border: 1px dashed #8da273; padding: 12px; height: 93px; }
.scan-region > span { font-size: 6px; letter-spacing: 1.5px; color: #6c805b; }
.scan-bars { display: flex; align-items: flex-end; height: 42px; gap: 9px; margin-top: 6px; }
.scan-bars i { width: 20px; height: 25px; background: #b9c9a2; }
.scan-bars i:nth-child(2) { height: 36px; }
.scan-bars i:nth-child(3) { height: 29px; }
.scan-bars i:nth-child(4) { height: 42px; }
.sheet-page { position: absolute; bottom: 12px; right: 18px; font-size: 7px; color: #87947c; }
.sample-float { position: absolute; top: 142px; right: 23px; width: 272px; border: 1px solid #d4dbcd; border-radius: 10px; background: white; box-shadow: 0 16px 40px #24453013; padding: 21px; }
.sample-top { display: flex; justify-content: space-between; gap: 10px; }
.sample-top .eyebrow { font-size: 8px; letter-spacing: 1.2px; margin-bottom: 8px; }
.sample-top > span:last-child { font-size: 9px; color: var(--muted); }
.sample-score { display: flex; align-items: center; gap: 14px; margin: 5px 0 16px; }
.sample-score strong { font-size: 66px; font-weight: 400; letter-spacing: -3px; line-height: 1; }
.sample-score > span { font-size: 12px; line-height: 1.8; color: var(--muted); }
.sample-score b { font-size: 11px; color: var(--ink); font-weight: 500; }
.sample-finding { display: flex; align-items: start; gap: 9px; padding: 13px 0; border-top: 1px solid var(--line); }
.signal-dot { background: #bd734a; width: 6px; height: 6px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
.sample-finding strong, .sample-finding div > span { display: block; font-size: 11px; }
.sample-finding div > span { color: var(--muted); font-size: 10px; margin-top: 5px; }
.sample-bottom { font-size: 10px; display: flex; justify-content: space-between; background: #f5f6ef; padding: 9px; border-radius: 4px; }
.sample-float > a { display: flex; justify-content: space-between; font-size: 10px; margin-top: 15px; text-decoration: none; }
.visual-caption { position: absolute; bottom: 14px; left: 22px; right: 22px; font-size: 8px; color: #6f7d63; }
.signal-strip { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signal-strip > span { font-size: 9px; color: var(--muted); letter-spacing: 1.3px; }
.signal-strip p { font-size: 12px; margin: 0; white-space: nowrap; }
.section-block { padding: 64px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 30px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 350px; color: var(--muted); font-size: 14px; margin-bottom: 0; }
.feature-grid, .guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { border: 1px solid var(--line); background: #fffef9; padding: 25px; border-radius: 8px; }
.feature-number { font-size: 9px; letter-spacing: 1.4px; color: var(--muted); }
.feature-art { height: 102px; display: flex; align-items: center; color: #678053; margin: 12px 0; }
.text-art { font-family: Georgia, serif; font-size: 54px; gap: 35px; }
.text-art span { font-size: 38px; font-family: Arial, sans-serif; border: 1px dashed #b0c09e; padding: 4px 15px; border-radius: 4px; color: #9dad8e; }
.columns-art { gap: 8px; position: relative; }
.columns-art i { display: block; width: 26px; height: 48px; border-top: 3px solid #91a480; background: repeating-linear-gradient(transparent, transparent 7px, #c4cfb8 7px, #c4cfb8 10px); }
.columns-art i:nth-child(2) { margin-right: 18px; }
.columns-art span { position: absolute; left: 61px; bottom: 6px; font-size: 24px; }
.context-art { font-size: 67px; gap: 20px; }
.context-art b { font-size: 28px; font-weight: 400; padding: 0 12px; background: #e9efdc; border-radius: 50%; }
.feature-card h3 { margin: 10px 0 13px; }
.feature-card p { color: var(--muted); font-size: 13px; min-height: 65px; }
.feature-card a { font-size: 11px; text-decoration: none; border-bottom: 1px solid #b5c1aa; padding-bottom: 4px; }
.workflow-section { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-section > div > p:not(.eyebrow) { color: var(--muted); font-size: 14px; max-width: 335px; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border: 0; padding-bottom: 0; }
.steps li > span { font-size: 11px; color: #859474; padding-top: 5px; }
.steps h3 { font-size: 17px; margin: 0; }
.steps p { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.guide-card { border-top: 1px solid #b6c3ab; padding: 22px 4px 18px; display: flex; flex-direction: column; text-decoration: none; }
.guide-card:hover { border-top-color: var(--green); }
.guide-card .eyebrow { font-size: 8px; margin-bottom: 15px; }
.guide-card h3 { margin: 0 0 12px; font-size: 23px; }
.guide-card p { margin: 0 0 24px; font-size: 13px; color: var(--muted); }
.guide-read { display: flex; justify-content: space-between; margin-top: auto; font-size: 12px; font-weight: 600; }
.closing-cta { text-align: center; background: var(--green); color: white; border-radius: 10px; padding: 49px 24px; margin: 0 0 60px; }
.closing-cta .eyebrow { color: #c5d2b9; }
.closing-cta h2 { font-size: 40px; }
.closing-cta p:not(.eyebrow) { font-size: 14px; color: #d5decf; margin: 0 0 24px; }
.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; padding: 35px 40px; border-top: 1px solid var(--line); }
.site-footer p { color: var(--muted); font-size: 12px; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.site-footer nav a { font-size: 11px; text-decoration: none; }
.footer-note { font-size: 11px; color: var(--muted); line-height: 1.7; }
.footer-note p { font-size: 10px; }
.page-intro, .article-heading { padding: 62px 0 34px; }
.page-intro h1, .article-heading h1 { font-size: clamp(35px, 4.2vw, 57px); }
.page-intro .lead, .article-heading .lead { max-width: 690px; }
.breadcrumb { display: inline-block; font-size: 12px; margin-bottom: 32px; text-decoration: none; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: 220px 1fr; gap: 62px; padding: 18px 0 65px; align-items: start; }
.article-toc { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 24px; font-size: 12px; border-top: 1px solid var(--line); padding-top: 24px; }
.article-toc strong { font-size: 9px; letter-spacing: 1.5px; margin-bottom: 8px; }
.article-toc a { text-decoration: none; color: var(--muted); }
.prose { max-width: 740px; font-size: 15px; line-height: 1.75; color: #3e5347; }
.prose.standalone { margin: 0 auto 65px; }
.prose h2 { font-size: 27px; color: var(--ink); letter-spacing: -.7px; margin: 40px 0 18px; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 6px; }
.prose h3 { font-size: 20px; color: var(--ink); margin-top: 28px; }
.prose p { line-height: 1.8; }
.prose li { padding-left: 6px; margin: 10px 0; }
.prose pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #eaf0e2; color: var(--ink); padding: 22px; border-radius: 6px; font-size: 12px; }
.prose code { font-size: .9em; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.6; }
th, td { padding: 15px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); font-weight: 600; color: var(--ink); }
.note-box, .example-box { padding: 24px; border: 1px solid var(--line); border-left: 3px solid #94aa70; border-radius: 4px; background: #f0f3e9; margin: 28px 0; }
.note-box p:last-child, .example-box p:last-child { margin-bottom: 0; }
.example-box dl { font-size: 13px; }
.article-callout { padding: 30px; background: var(--soft); border-radius: 7px; margin: 40px 0; }
.article-callout h2 { font-size: 27px; margin-top: 0; }
.article-callout p { color: var(--muted); font-size: 14px; }
.related { border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; }
/* Checker: bounded upload, progress, evidence, and recoverable errors. */
.checker-intro { text-align: center; }
.checker-intro .lead { margin-left: auto; margin-right: auto; max-width: 600px; }
.upload-panel { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 26px 30px; max-width: 850px; margin: 0 auto; }
.section-label { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 22px; font-size: 10px; letter-spacing: 1.5px; font-weight: 700; }
.section-label span:last-child { letter-spacing: 0; font-weight: 400; color: var(--muted); overflow-wrap: anywhere; }
#drop-zone { border: 1px dashed #a9b89b; background: #f6f8f0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 16px; border-radius: 7px; cursor: pointer; text-align: center; }
#drop-zone.dragging { background: #e2ecd6; border-color: var(--green); }
#drop-zone:focus-within { outline: 3px solid #78976a; outline-offset: 3px; }
#drop-zone strong { font-size: 19px; font-weight: 500; }
#drop-zone > span:not(.file-icon) { font-size: 12px; color: var(--muted); }
.file-icon { font-size: 26px; color: var(--green); background: var(--soft); border-radius: 8px; padding: 3px 14px; }
input[type=file] { max-width: 100%; font-size: 12px; }
input::file-selector-button { border: 1px solid var(--line); background: white; padding: 7px 10px; border-radius: 4px; color: var(--ink); cursor: pointer; }
.upload-actions { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 20px 0 12px; }
#selected-file { font-size: 12px; overflow-wrap: anywhere; color: var(--muted); }
#analyze-button { background: var(--green); border: 0; border-radius: 5px; color: white; padding: 14px 22px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
#analyze-button span { margin-left: 24px; }
button:disabled { opacity: .5; cursor: not-allowed; }
.privacy { font-size: 11px; color: var(--muted); margin: 0; line-height: 1.6; }
#status:empty { display: none; }
#status { font-size: 13px; }
#error { color: #963b22; background: #fff1e9; padding: 12px; border-radius: 5px; font-size: 14px; }
.checker-aside { max-width: 760px; margin: 35px auto 55px; text-align: center; }
.checker-aside h2 { font-size: 20px; letter-spacing: -.4px; }
.checker-aside p { color: var(--muted); font-size: 13px; }
#report, .sample-report { max-width: 960px; margin: 36px auto 60px; }
.report-overview { display: grid; grid-template-columns: 1fr 1.7fr; gap: 20px; }
.score-card, .profile-card { border: 1px solid var(--line); border-radius: 8px; padding: 25px; background: white; }
.score-card { background: var(--soft); }
.score-card .eyebrow { margin-bottom: 12px; }
#score { font-size: 64px; letter-spacing: -3px; }
.score-denominator { font-size: 20px; color: var(--muted); }
.muted { color: var(--muted); font-size: 13px; }
.profile-card h2 { margin: 0 0 22px; font-size: 18px; letter-spacing: -.4px; }
dl { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 0; font-size: 13px; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.report-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 22px 0; font-size: 12px; }
.severity-group { margin-top: 30px; }
.severity-group > h2 { display: flex; align-items: center; gap: 10px; text-transform: uppercase; font-size: 11px; letter-spacing: 1px; margin-bottom: 12px; }
.severity-badge { background: var(--soft); padding: 5px 8px; border-radius: 4px; }
.high .severity-badge { background: #f7e3d4; color: #963b22; }
.medium .severity-badge { background: #f4edd1; color: #735b18; }
.issue { border: 1px solid var(--line); border-radius: 7px; padding: 22px; margin-top: 12px; background: white; }
.issue h3 { font-size: 17px; margin: 7px 0 10px; }
.issue p { font-size: 13px; margin: 8px 0; }
.issue-meta { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; overflow-wrap: anywhere; }
.issue .actions { color: var(--green); font-size: 12px; }
.issue summary { font-size: 12px; cursor: pointer; color: var(--green); margin-top: 13px; }
.issue pre { overflow: auto; max-height: 300px; font-size: 11px; background: #f3f6ed; padding: 15px; line-height: 1.6; }
.report-note { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; }
.warning { background: #faf0d4; color: #745210; padding: 15px; border-radius: 5px; font-size: 13px; }
.empty-state { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 7px; margin-top: 20px; font-size: 14px; }
@media (max-width: 1000px) {
  .site-header nav { gap: 15px; }
  .hero { gap: 24px; }
  .hero-visual { height: 420px; }
  .source-sheet { left: 25px; width: 180px; }
  .sample-float { width: 238px; right: 14px; top: 135px; padding: 18px; }
  .hero-copy .lead { font-size: 15px; }
  .cta-row { gap: 18px; }
  .signal-strip { flex-wrap: wrap; justify-content: flex-start; gap: 18px 28px; }
  .workflow-section { gap: 40px; }
  .article-layout { grid-template-columns: 170px 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .site-header { padding: 18px 22px; flex-wrap: wrap; gap: 16px; }
  .site-header nav { flex-wrap: wrap; font-size: 11px; gap: 13px; }
  .site-header .nav-cta { padding: 8px 10px; }
  main { padding: 0 22px; }
  .hero { grid-template-columns: 1fr; padding: 43px 0 32px; gap: 26px; }
  h1 { font-size: 49px; letter-spacing: -2.3px; }
  .hero-copy .lead { max-width: 600px; }
  .hero-visual { height: 370px; }
  .source-sheet { left: 12%; top: 65px; width: 190px; height: 250px; }
  .sample-float { width: 250px; top: 91px; right: 8%; }
  .feature-grid, .guide-grid { grid-template-columns: 1fr; }
  .section-block { padding: 40px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  h2 { font-size: 30px; }
  .section-heading > p { max-width: 100%; }
  .feature-card { padding: 22px; }
  .feature-art { height: 80px; }
  .feature-card p { min-height: 0; }
  .feature-card h3 br { display: none; }
  .workflow-section { grid-template-columns: 1fr; gap: 30px; }
  .workflow-section > div > p:not(.eyebrow) { max-width: 100%; }
  .guide-card { padding-top: 22px; }
  .guide-card h3 { font-size: 24px; }
  .closing-cta { padding: 35px 20px; margin-bottom: 40px; }
  .closing-cta h2 { font-size: 32px; }
  .site-footer { grid-template-columns: 1fr 1fr; padding: 28px 22px; gap: 25px; }
  .site-footer nav { grid-template-columns: 1fr; }
  .footer-note { grid-column: 1 / -1; }
  .page-intro, .article-heading { padding-top: 40px; }
  .page-intro h1, .article-heading h1 { font-size: 39px; letter-spacing: -1.8px; }
  .lead { font-size: 15px; }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .article-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .article-toc strong { width: 100%; margin-bottom: 0; }
  .prose { font-size: 15px; }
  .prose h2 { font-size: 25px; }
  .article-callout { padding: 23px; }
  .upload-panel { padding: 20px 16px; }
  .section-label { font-size: 9px; }
  .upload-actions { align-items: stretch; flex-direction: column; }
  .report-overview { grid-template-columns: 1fr; }
  .report-tools { align-items: start; flex-direction: column; }
  .sample-report { margin-top: 10px; }
}
@media (max-width: 390px) {
  h1 { font-size: 43px; }
  .site-header nav { gap: 12px; }
  .site-header nav > a:first-child { display: none; }
  .trust-line span { padding: 0 3px; }
  .sample-float { right: 14px; width: 220px; }
  .source-sheet { left: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.consent-panel { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; max-width: 44rem; margin: auto; padding: 1.2rem; background: #fff; color: #173e34; border: 1px solid #173e34; border-radius: .5rem; box-shadow: 0 2px 18px #0002; z-index: 20; }
.consent-panel[hidden] { display: none; }
.consent-panel button, .analytics-settings { cursor: pointer; padding: .6rem .9rem; background: #fff; color: #173e34; border: 1px solid #173e34; border-radius: .25rem; font: inherit; }
.analytics-settings { margin: 0 1rem 1rem; }
