:root {
  color-scheme: light;
  --ink: #15251f;
  --muted: #5d6c66;
  --paper: #f5f4ed;
  --surface: #ffffff;
  --line: #d9ded9;
  --green: #0b6b4b;
  --green-dark: #074a35;
  --green-soft: #dff3e9;
  --yellow: #9b5a00;
  --yellow-soft: #fff1ca;
  --red: #aa2830;
  --red-soft: #fee6e5;
  --blue-soft: #e7efff;
  --shadow: 0 22px 70px rgba(21, 37, 31, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

.site-header { width: min(1180px, calc(100% - 40px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; gap: 34px; border-bottom: 1px solid rgba(21, 37, 31, 0.14); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 820; letter-spacing: -0.02em; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--ink); color: #fff; font-size: 12px; letter-spacing: -0.03em; }
.site-header nav { display: flex; gap: 26px; margin-left: auto; }
.site-header nav a, footer nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650; }
.site-header nav a:hover, footer nav a:hover { color: var(--green); }
.edition-badge { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.55); color: var(--green-dark); font-size: 12px; font-weight: 750; }

.hero { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 88px 0 100px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 78px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 680px; margin-bottom: 22px; font-size: clamp(44px, 6vw, 76px); line-height: .98; letter-spacing: -.065em; }
h1 em { color: var(--green); font-family: Georgia, serif; font-weight: 500; }
.hero-lede { max-width: 650px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 17px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-weight: 760; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .48; }
.button-primary { background: var(--green); color: #fff; box-shadow: 0 10px 22px rgba(11,107,75,.18); }
.button-primary:hover:not(:disabled) { background: var(--green-dark); }
.button-secondary { background: #fff; border-color: var(--line); }
.button-quiet { background: transparent; border-color: rgba(21,37,31,.2); }
.button-large { min-height: 52px; padding: 14px 22px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 13px; font-weight: 650; }
.trust-row span::before { content: "✓"; margin-right: 6px; color: var(--green); }

.hero-proof { overflow: hidden; border: 1px solid rgba(21,37,31,.15); border-radius: 18px; background: #10271f; color: #fff; box-shadow: 0 30px 80px rgba(5,44,31,.22); transform: rotate(1deg); }
.proof-header { min-height: 45px; display: flex; align-items: center; gap: 22px; padding: 0 18px; border-bottom: 1px solid rgba(255,255,255,.12); color: #b9c9c1; font-size: 12px; }
.window-dots { color: #6b877b; letter-spacing: 3px; }
.proof-verdict { display: flex; align-items: center; gap: 14px; margin: 22px; padding: 16px; border-radius: 12px; background: rgba(255,255,255,.08); }
.proof-verdict .status-dot { width: 11px; height: 11px; flex: 0 0 auto; border-radius: 50%; background: #ff737b; box-shadow: 0 0 0 5px rgba(255,115,123,.12); }
.proof-verdict small, .proof-verdict strong { display: block; }
.proof-verdict small { color: #ffb8bd; }
.proof-verdict strong { margin-top: 2px; font-size: 18px; }
.proof-list { padding: 0 22px; margin: 0; list-style: none; }
.proof-list li { display: grid; grid-template-columns: 70px 78px 1fr; gap: 9px; align-items: center; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.09); color: #d6e0dc; font-size: 13px; }
.proof-list b { color: #fff; }
.hero-proof > p { padding: 16px 22px 19px; margin: 0; color: #91aa9f; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.checker-section { padding: 92px 20px; background: #e9eee9; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { max-width: 730px; margin: 0 auto 38px; text-align: center; }
.section-heading.align-left { margin-left: 0; text-align: left; }
.section-heading h2 { margin-bottom: 14px; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p:last-child { color: var(--muted); }
.checker-card { width: min(960px, 100%); margin: 0 auto; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.file-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.file-picker { position: relative; min-height: 236px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px; border: 1px dashed #aebcb4; border-radius: 14px; background: #fafbf9; text-align: center; cursor: pointer; transition: border .15s ease, background .15s ease; }
.file-picker:hover { border-color: var(--green); background: #f5faf7; }
.file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-picker strong { margin: 12px 0 2px; font-size: 18px; }
.file-picker > span:not(.step-number):not(.file-button) { color: var(--muted); font-size: 13px; }
.step-number { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 8px; background: var(--green-soft); color: var(--green-dark); font-size: 12px; font-weight: 850; }
.file-button { margin-top: 17px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 760; }
.file-picker small { max-width: 100%; overflow: hidden; margin-top: 10px; color: #7c8983; text-overflow: ellipsis; white-space: nowrap; }
.file-picker small.is-ready { color: var(--green); font-weight: 700; }
.intent-fieldset { margin: 22px 0 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; }
.intent-fieldset legend { padding: 0 8px; font-weight: 800; }
.intent-fieldset legend .step-number { margin-right: 8px; }
.intent-fieldset > p { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.intent-options { display: flex; flex-wrap: wrap; gap: 9px; }
.check-option { cursor: pointer; }
.check-option input { position: absolute; opacity: 0; }
.check-option span { display: inline-flex; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 13px; font-weight: 680; }
.check-option input:checked + span { border-color: var(--green); background: var(--green-soft); color: var(--green-dark); }
.check-option input:focus-visible + span { outline: 3px solid rgba(11,107,75,.2); }
.checker-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 24px; }
.text-button { border: 0; background: transparent; color: var(--green); cursor: pointer; font-size: 13px; font-weight: 730; }
.error-message { margin: 16px 0 0; padding: 11px 13px; border-radius: 9px; background: var(--red-soft); color: var(--red); font-size: 13px; font-weight: 650; }
.local-note { margin: 22px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
.local-note span { color: var(--green); }

.results { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 82px 0; scroll-margin-top: 20px; }
.verdict { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px 30px; border: 1px solid; border-radius: 16px; }
.verdict[data-verdict="stop"] { border-color: #f2b4b4; background: var(--red-soft); }
.verdict[data-verdict="review"] { border-color: #edcf84; background: var(--yellow-soft); }
.verdict[data-verdict="clear"] { border-color: #9ed0b7; background: var(--green-soft); }
.verdict h2 { margin-bottom: 6px; font-size: 34px; letter-spacing: -.035em; }
.verdict p:last-child { max-width: 780px; margin: 0; color: var(--muted); }
.verdict-icon { width: 54px; height: 54px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.7); font-size: 27px; font-weight: 900; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.metric { padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.metric strong, .metric span { display: block; }
.metric strong { font-size: 25px; letter-spacing: -.04em; }
.metric span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.findings-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.findings-toolbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.findings-toolbar h3 { display: inline; margin: 0 8px 0 0; font-size: 17px; }
.findings-toolbar > div > span { color: var(--muted); font-size: 12px; }
.filter-group { display: flex; gap: 5px; }
.filter-button { padding: 7px 9px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 700; }
.filter-button span { display: inline-grid; min-width: 19px; min-height: 19px; place-items: center; margin-left: 3px; border-radius: 6px; background: #edf0ed; color: var(--ink); font-size: 10px; }
.filter-button.is-active { border-color: var(--line); background: #f6f7f5; color: var(--ink); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { padding: 11px 14px; background: #f6f7f5; color: var(--muted); text-align: left; white-space: nowrap; }
td { max-width: 310px; padding: 13px 14px; border-top: 1px solid #ebeeeb; vertical-align: top; }
td small { display: block; max-width: 150px; overflow: hidden; margin-top: 3px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
td code { display: inline-block; max-width: 150px; overflow: hidden; padding: 3px 5px; border-radius: 5px; background: #f0f2f0; color: #34463f; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; }
.change-arrow { margin: 0 5px; color: #89968f; }
.severity { display: inline-flex; align-items: center; padding: 4px 7px; border-radius: 999px; font-size: 9px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.severity-blocker { background: var(--red-soft); color: var(--red); }
.severity-warning { background: var(--yellow-soft); color: var(--yellow); }
.severity-info { background: var(--green-soft); color: var(--green-dark); }
.empty-state, .limit-note { margin: 0; padding: 18px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 12px; }
.limit-note { background: var(--blue-soft); color: #304e84; }
.export-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px; border-top: 1px solid var(--line); background: #f7f8f6; }
.export-bar strong, .export-bar span { display: block; }
.export-bar > div > span { max-width: 580px; margin-top: 2px; color: var(--muted); font-size: 12px; }
.export-actions { display: flex; gap: 8px; }
.lock { display: inline !important; padding: 2px 5px; border-radius: 4px; background: rgba(255,255,255,.22); font-size: 9px; text-transform: uppercase; }
body[data-edition="pro"] .lock { display: none !important; }

.why-section, .guides-section, .pricing-section, .faq-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 100px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-grid article { min-height: 255px; padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.5); }
.feature-grid article > span { color: var(--green); font-family: ui-monospace, monospace; font-size: 12px; }
.feature-grid h3 { margin: 54px 0 8px; font-size: 20px; letter-spacing: -.025em; }
.feature-grid p { color: var(--muted); font-size: 13px; }
.caution-callout { display: flex; gap: 24px; align-items: baseline; margin-top: 14px; padding: 20px 23px; border-radius: 12px; background: var(--ink); color: #fff; }
.caution-callout strong { flex: 0 0 auto; }
.caution-callout p { margin: 0; color: #b7c6c0; font-size: 13px; }
.guides-section { border-top: 1px solid var(--line); }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.guide-grid a { min-height: 190px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; transition: border .15s ease, transform .15s ease; }
.guide-grid a:hover { transform: translateY(-2px); border-color: #9ab9a9; }
.guide-grid span { color: var(--green); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.guide-grid strong { max-width: 420px; margin-top: 24px; font-size: 22px; line-height: 1.15; letter-spacing: -.03em; }
.guide-grid b { margin-top: auto; color: var(--green); font-size: 12px; }
.pricing-section { width: 100%; padding-left: max(20px, calc((100% - 1180px)/2)); padding-right: max(20px, calc((100% - 1180px)/2)); background: #e9eee9; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing-grid { max-width: 820px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 auto; }
.price-card { display: flex; flex-direction: column; padding: 29px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.price-card.featured { border: 2px solid var(--green); box-shadow: var(--shadow); }
.price-card > span { color: var(--green); font-size: 12px; font-weight: 820; text-transform: uppercase; letter-spacing: .08em; }
.price-card h3 { margin: 18px 0 8px; font-size: 42px; letter-spacing: -.05em; }
.price-card h3 b { font-weight: 850; }
.price-card h3 small { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.price-card p { color: var(--muted); font-size: 13px; }
.price-card ul { padding: 0; margin: 18px 0 28px; list-style: none; }
.price-card li { margin: 10px 0; font-size: 13px; }
.price-card li::before { content: "✓"; margin-right: 8px; color: var(--green); font-weight: 900; }
.price-card .button { margin-top: auto; }
.pro-owned { padding: 12px; border-radius: 8px; background: var(--green-soft); color: var(--green-dark) !important; text-align: center; }
.checkout-notice { max-width: 820px; margin: 18px auto 0; padding: 17px 19px; border: 1px solid #d2b466; border-radius: 12px; background: var(--yellow-soft); }
.checkout-notice p { margin: 3px 0 0; color: #76521c; font-size: 13px; }
.checkout-notice .early-access-link { display: inline-flex; margin-top: 13px; }
.faq-list { max-width: 820px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 19px 0; cursor: pointer; font-weight: 780; }
.faq-list details p { max-width: 720px; padding: 0 0 18px; margin: 0; color: var(--muted); font-size: 14px; }

footer { width: min(1180px, calc(100% - 40px)); min-height: 180px; display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: center; margin: 0 auto; }
footer > div > p, footer > p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
footer nav { display: flex; gap: 20px; }
footer > p { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--line); }

.article-shell { width: min(850px, calc(100% - 40px)); margin: 0 auto; padding: 76px 0 110px; }
.article-back { display: inline-block; margin-bottom: 34px; color: var(--green); font-size: 13px; font-weight: 750; text-decoration: none; }
.article-shell h1 { max-width: 820px; font-size: clamp(40px, 6vw, 68px); }
.article-deck { max-width: 720px; color: var(--muted); font-size: 19px; }
.article-meta { margin: 24px 0 54px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.article-body { max-width: 730px; font-size: 16px; }
.article-body h2 { margin: 48px 0 14px; font-size: 30px; line-height: 1.12; letter-spacing: -.035em; }
.article-body h3 { margin: 30px 0 10px; font-size: 20px; }
.article-body p, .article-body li { color: #34463f; }
.article-body li { margin: 9px 0; }
.article-body code { padding: 2px 5px; border-radius: 4px; background: #e7ebe7; font-size: .9em; }
.article-body a { color: var(--green); font-weight: 650; }
.article-note { margin: 28px 0; padding: 20px; border-left: 4px solid var(--green); border-radius: 0 10px 10px 0; background: var(--green-soft); }
.article-warning { border-left-color: var(--yellow); background: var(--yellow-soft); }
.article-note strong { display: block; margin-bottom: 5px; }
.article-note p { margin: 0; }
.article-cta { margin-top: 54px; padding: 28px; border-radius: 14px; background: var(--ink); color: #fff; }
.article-cta h2 { margin: 0 0 8px; color: #fff; }
.article-cta p { color: #b7c6c0; }
.article-cta .button { margin-top: 8px; }
.legal-shell h1 { font-size: clamp(40px, 6vw, 60px); }
.legal-shell .article-body { font-size: 14px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .hero-proof { max-width: 620px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .export-bar, .findings-toolbar { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 650px) {
  .site-header { width: min(100% - 24px, 1180px); min-height: 66px; gap: 12px; }
  .site-header nav { display: none; }
  .edition-badge { margin-left: auto; }
  .hero, .results, .why-section, .guides-section, .faq-section { width: min(100% - 24px, 1180px); }
  .hero { padding: 62px 0 74px; }
  h1 { font-size: 46px; }
  .hero-lede { font-size: 16px; }
  .proof-list li { grid-template-columns: 68px 1fr; }
  .proof-list li > :last-child { grid-column: 1 / -1; }
  .checker-section { padding: 70px 12px; }
  .checker-card { padding: 16px; }
  .file-grid, .guide-grid, .pricing-grid, .feature-grid { grid-template-columns: 1fr; }
  .file-picker { min-height: 200px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .filter-group { overflow-x: auto; max-width: 100%; }
  .export-actions { width: 100%; flex-direction: column; }
  .export-actions .button { width: 100%; }
  .caution-callout { align-items: flex-start; flex-direction: column; gap: 5px; }
  footer { grid-template-columns: 1fr; padding: 40px 0; }
  footer nav { flex-wrap: wrap; }
  .article-shell { width: min(100% - 24px, 850px); padding: 54px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
