:root {
  --ink: #17211b;
  --ink-soft: #314038;
  --muted: #647169;
  --paper: #f3f0e7;
  --panel: #fffdf7;
  --line: #d8d3c6;
  --line-dark: #9ba49e;
  --accent: #174631;
  --accent-light: #dfece4;
  --risk: #b7442b;
  --risk-light: #f5ded6;
  --watch: #bd7619;
  --watch-light: #f5ead7;
  --good: #24704a;
  --good-light: #dcecdf;
  --shadow: 0 20px 55px rgba(23, 33, 27, 0.08);
}

* { box-sizing: border-box; }
html { color-scheme: light; }
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, .button { min-height: 44px; }
button:focus-visible, a:focus-visible { outline: 3px solid #4b8a6b; outline-offset: 3px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 20; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 850px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.6rem, 6vw, 5.6rem); font-weight: 500; line-height: 0.99; letter-spacing: -0.045em; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 3vw, 2.7rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.025em; }
.eyebrow { margin-bottom: 12px; color: var(--risk); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 74px; padding: 0 4vw; border-bottom: 1px solid var(--line); background: rgba(243, 240, 231, 0.94); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1rem; font-weight: 800; text-decoration: none; }
.brand-mark { display: block; width: 36px; height: 36px; border-radius: 9px; }
.site-header nav { display: flex; gap: 24px; }
.site-header nav a, footer a { color: var(--ink-soft); font-size: 0.9rem; text-decoration: none; }
.site-header nav a:hover, footer a:hover { text-decoration: underline; }
main { min-height: calc(100vh - 160px); }
footer { padding: 24px 4vw; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; }
.footer-primary { display: flex; justify-content: space-between; gap: 20px; }
.trademark-disclaimer { max-width: 980px; margin: 16px 0 0; color: var(--muted); font-size: 0.74rem; line-height: 1.5; }
.flash-stack { position: relative; z-index: 3; width: min(760px, calc(100% - 32px)); margin: 14px auto -2px; }
.flash { padding: 13px 16px; border: 1px solid var(--line-dark); background: var(--panel); }
.flash.error { border-color: var(--risk); background: var(--risk-light); }
.flash.success { border-color: var(--good); background: var(--good-light); }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 11px 17px; border: 1px solid transparent; font-weight: 750; text-decoration: none; cursor: pointer; }
.button.primary { background: var(--accent); color: white; }
.button.primary:hover { background: #0f3725; }
.button.secondary { border-color: var(--line-dark); background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--panel); }
.text-button { padding: 9px 4px; border: 0; background: transparent; color: var(--muted); text-decoration: underline; cursor: pointer; }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr); gap: clamp(36px, 7vw, 110px); align-items: center; max-width: 1320px; min-height: 720px; margin: 0 auto; padding: 70px 4vw 84px; }
.lede { max-width: 700px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-line { margin-top: 18px; color: var(--muted); font-size: 0.86rem; }
.hero-ledger { border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.hero-ledger > p { margin: 0; padding: 18px 20px; color: var(--muted); font-size: 0.82rem; }
.ledger-head { display: flex; justify-content: space-between; padding: 16px 20px; border-bottom: 2px solid var(--ink); font-family: ui-monospace, monospace; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.ledger-preview { display: flex; align-items: center; justify-content: space-between; min-height: 92px; padding: 18px 20px; border-bottom: 1px solid var(--line); border-left: 5px solid var(--line); }
.ledger-preview.risk { border-left-color: var(--risk); }
.ledger-preview.watch { border-left-color: var(--watch); }
.ledger-preview.good { border-left-color: var(--good); }
.ledger-preview b, .ledger-preview small { display: block; }
.ledger-preview small { margin-top: 4px; color: var(--muted); }
.ledger-preview strong { font-family: ui-monospace, monospace; font-size: 2.2rem; }
.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1320px; margin: 0 auto; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.proof-strip article { min-height: 240px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-strip span { color: var(--risk); font-family: ui-monospace, monospace; font-weight: 800; }
.proof-strip h2 { margin: 30px 0 8px; font-size: 2rem; }
.proof-strip p { color: var(--muted); }
.explain-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 100px); max-width: 1180px; margin: 110px auto; padding: 0 4vw; }
.explain-block h2 { max-width: 640px; }
.explain-copy { align-self: end; }
.explain-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.pricing-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 1100px; margin: 110px auto; padding: 50px; background: var(--accent); color: white; }
.pricing-block .eyebrow { color: #b9d8c5; }
.pricing-block h2 { margin-bottom: 8px; font-size: 3.5rem; }
.pricing-block ul { align-self: center; margin: 0; padding-left: 22px; }
.pricing-block li { padding: 7px 0; }
.faq-block { max-width: 1180px; margin: 110px auto; padding: 0 4vw 30px; }
.faq-block > h2 { max-width: 760px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.faq-grid article { padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 253, 247, 0.45); }
.faq-grid h3 { margin-bottom: 10px; font-size: 1.05rem; }
.faq-grid p { margin-bottom: 0; color: var(--ink-soft); }
.guide-preview { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 7vw, 100px); max-width: 1180px; margin: 110px auto; padding: 0 4vw; }
.guide-preview h2 { max-width: 580px; }
.guide-preview-links { border-top: 1px solid var(--line); }
.guide-preview-links a { display: block; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.guide-preview-links a:hover strong { text-decoration: underline; }
.guide-preview-links strong, .guide-preview-links span { display: block; }
.guide-preview-links span { margin-top: 5px; color: var(--muted); }
.content-page { max-width: 1180px; margin: 0 auto; padding: 80px 4vw 110px; }
.content-hero { max-width: 940px; padding: 24px 0 70px; }
.content-hero h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); }
.byline { margin-top: 24px; color: var(--muted); font-size: 0.86rem; }
.guide-grid, .support-grid, .value-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.guide-grid article, .support-grid article, .value-grid article { padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 253, 247, 0.45); }
.guide-grid h2, .support-grid h2, .value-grid h2 { font-size: 1.65rem; }
.guide-grid h2 a { text-decoration: none; }
.guide-grid h2 a:hover, .text-link:hover { text-decoration: underline; }
.guide-grid p, .support-grid p, .value-grid p { color: var(--ink-soft); }
.text-link, .support-grid a, .next-guide a { color: var(--accent); font-weight: 750; }
.value-grid { grid-template-columns: repeat(3, 1fr); }
.value-grid span { color: var(--risk); font-family: ui-monospace, monospace; font-weight: 800; }
.value-grid h2 { margin-top: 26px; }
.support-email { font-size: 1.1rem; overflow-wrap: anywhere; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; color: var(--muted); font-size: 0.86rem; }
.article-page .content-hero { padding-top: 10px; }
.article-body { max-width: 780px; }
.article-body h2 { margin-top: 52px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p, .article-body li { color: var(--ink-soft); font-size: 1.06rem; }
.article-body li { margin: 10px 0; }
.article-body a { color: var(--accent); }
.compact-copy { margin-top: 70px; }
.source-note { margin: 32px 0; padding: 20px 22px; border-left: 4px solid var(--accent); background: var(--accent-light); color: var(--ink-soft); }
.source-note a { font-weight: 750; }
.comparison-table { margin: 30px 0; overflow-x: auto; }
.comparison-table table { width: 100%; min-width: 680px; border-collapse: collapse; background: var(--panel); }
.comparison-table th, .comparison-table td { padding: 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table thead th { background: var(--ink); color: white; }
.content-cta { display: flex; align-items: center; justify-content: space-between; gap: 50px; margin-top: 80px; padding: 42px; background: var(--accent); color: white; }
.content-cta .eyebrow { color: #b9d8c5; }
.content-cta h2 { max-width: 690px; margin-bottom: 0; }
.content-cta .button.primary { flex: 0 0 auto; background: white; color: var(--accent); }
.next-guide { margin-top: 30px; color: var(--muted); }
.report-shell, .detail-shell { max-width: 1320px; margin: 0 auto; padding: 52px 4vw 90px; }
.report-topline, .customer-heading, .risk-ledger-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.report-topline h1, .customer-heading h1 { margin-bottom: 0; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.report-actions { display: flex; align-items: center; gap: 10px; }
.report-actions form { margin: 0; }
.notice { margin: 22px 0; padding: 13px 16px; border: 1px solid var(--watch); background: var(--watch-light); }
.notice.success { border-color: var(--good); background: var(--good-light); }
.loading-state, .empty-state { display: flex; align-items: center; gap: 20px; min-height: 250px; margin-top: 30px; padding: 40px; border: 1px solid var(--line); background: var(--panel); }
.loading-state h2, .empty-state h2 { margin-bottom: 7px; }
.loading-state p, .empty-state p { margin-bottom: 0; color: var(--muted); }
.loader { width: 28px; height: 28px; flex: 0 0 auto; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loader { animation: none; border-color: var(--accent); } }
.report-summary, .metric-row { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0 48px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.report-summary > div, .metric-row > div { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 253, 247, 0.52); }
.report-summary span, .report-summary small, .metric-row span { display: block; color: var(--muted); }
.report-summary strong, .metric-row strong { display: block; margin: 7px 0 3px; font-family: Georgia, serif; font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 500; }
.risk-ledger-heading { margin-bottom: 16px; }
.risk-ledger-heading h2 { margin-bottom: 0; }
.freshness { color: var(--muted); font-size: 0.82rem; }
.ledger-table { border-top: 2px solid var(--ink); }
.ledger-row { display: grid; grid-template-columns: minmax(220px, 1.35fr) minmax(110px, 0.45fr) minmax(210px, 1fr) minmax(170px, 0.75fr); align-items: center; min-height: 96px; border-bottom: 1px solid var(--line); }
.ledger-row > span { padding: 14px 18px; }
.ledger-labels { min-height: 48px; color: var(--muted); font-family: ui-monospace, monospace; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.customer-row { position: relative; border-left: 5px solid var(--line); color: inherit; text-decoration: none; }
.customer-row:hover { background: var(--panel); }
.customer-row.risk { border-left-color: var(--risk); }
.customer-row.watch { border-left-color: var(--watch); }
.customer-row.good { border-left-color: var(--good); }
.customer-row b, .customer-row small { display: block; }
.customer-row small { margin-top: 3px; color: var(--muted); font-size: 0.78rem; }
.customer-row .score { font-family: ui-monospace, monospace; font-size: 2rem; font-weight: 900; }
.customer-row.risk .score { color: var(--risk); }
.customer-row.watch .score { color: var(--watch); }
.customer-row.good .score { color: var(--good); }
.unlock-block { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 42px; padding: 36px; background: var(--accent); color: white; }
.unlock-block .eyebrow { color: #b9d8c5; }
.unlock-block h2 { margin-bottom: 7px; }
.unlock-block p:last-child { margin-bottom: 0; }
.unlock-block .button.primary { background: white; color: var(--accent); white-space: nowrap; }
.unlock-block.subtle { background: var(--ink); }
.back-link { display: inline-block; margin-bottom: 34px; color: var(--muted); }
.customer-score { min-width: 150px; padding: 18px 22px; border-left: 5px solid var(--watch); background: var(--panel); }
.customer-score span, .customer-score strong { display: block; }
.customer-score span { color: var(--muted); font-size: 0.8rem; }
.customer-score strong { font-family: ui-monospace, monospace; font-size: 2.8rem; line-height: 1.1; }
.invoice-table { border-top: 2px solid var(--ink); }
.invoice-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; align-items: center; min-height: 70px; border-bottom: 1px solid var(--line); }
.invoice-row > span { padding: 12px 14px; }
.invoice-row > span::before { display: none; }
.invoice-row small { display: block; color: var(--muted); }
.invoice-labels { min-height: 44px; color: var(--muted); font-family: ui-monospace, monospace; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.risk-text { color: var(--risk); }
.good-text { color: var(--good); }
.legal { max-width: 780px; margin: 0 auto; padding: 80px 24px 110px; }
.legal h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }
.legal h2 { margin-top: 36px; font-size: 1.8rem; }
.legal p { color: var(--ink-soft); font-size: 1.04rem; }
.legal li { margin: 8px 0; color: var(--ink-soft); font-size: 1.02rem; }
.legal-review-note { padding: 16px 18px; border-left: 4px solid var(--watch); background: var(--watch-light); }
.legal-trademark { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.88rem !important; }
.method-note { max-width: 900px; margin: -10px 0 22px; color: var(--muted); font-size: 0.88rem; }
.page-error { display: block; max-width: 900px; margin: 70px auto; }
.error-state { border-color: var(--risk); background: var(--risk-light); }
.error-state .button { margin-top: 18px; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding-top: 20px; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip article { min-height: auto; }
  .explain-block { grid-template-columns: 1fr; margin: 75px auto; }
  .pricing-block { grid-template-columns: 1fr; margin: 70px 20px; padding: 32px; }
  .faq-grid { grid-template-columns: 1fr; }
  .guide-preview { grid-template-columns: 1fr; margin: 75px auto; }
  .value-grid { grid-template-columns: 1fr; }
  .content-cta { align-items: flex-start; flex-direction: column; }
  .report-topline, .customer-heading, .risk-ledger-heading { align-items: start; }
  .ledger-labels { display: none; }
  .ledger-row { grid-template-columns: 1fr auto; padding: 14px 0; }
  .ledger-row > span { padding: 6px 16px; }
  .ledger-row > span:nth-child(3), .ledger-row > span:nth-child(4) { grid-column: 1 / -1; }
  .invoice-labels { display: none; }
  .invoice-row { grid-template-columns: 1fr 1fr; padding: 12px 0; }
}

@media (max-width: 620px) {
  .site-header { min-height: 64px; }
  .site-header nav { gap: 14px; }
  .site-header nav a { display: none; }
  .site-header nav .nav-priority { display: inline-flex; }
  .hero { padding: 48px 20px 60px; }
  .hero-actions .button { width: 100%; }
  .pricing-block h2 { font-size: 2.8rem; }
  .report-shell, .detail-shell { padding: 36px 18px 70px; }
  .report-topline, .customer-heading { display: block; }
  .report-actions { margin-top: 22px; }
  .loading-state, .empty-state { align-items: flex-start; padding: 26px 20px; }
  .report-summary, .metric-row { grid-template-columns: 1fr; }
  .report-summary > div, .metric-row > div { padding: 18px 20px; }
  .unlock-block { display: block; padding: 28px 22px; }
  .unlock-block .button { width: 100%; margin-top: 18px; }
  .customer-score { margin-top: 22px; }
  .invoice-row { grid-template-columns: 1fr; padding: 14px 4px; }
  .invoice-row > span { padding: 4px 12px; }
  .invoice-row > span::before { display: inline-block; width: 64px; margin-right: 8px; color: var(--muted); content: attr(data-label); font-family: ui-monospace, monospace; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
  .invoice-row > span:first-child::before { display: none; }
  .footer-primary { display: block; }
  .footer-primary span { display: block; margin: 5px 0; }
  .trademark-disclaimer { margin-top: 18px; }
  .content-page { padding: 50px 20px 80px; }
  .content-hero { padding-bottom: 46px; }
  .guide-grid, .support-grid { grid-template-columns: 1fr; }
  .guide-grid article, .support-grid article, .value-grid article { padding: 24px 22px; }
  .content-cta { margin-top: 60px; padding: 30px 24px; }
  .content-cta .button { width: 100%; }
}
