:root {
  --ink: #142033;
  --muted: #5b6675;
  --line: #dfe4ea;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --brand: #0f6b3f;
  --brand-dark: #0b5532;
  --navy: #0f1b2d;
  --error: #b42318;
  --error-bg: #fef3f2;
  --warning: #9a5b00;
  --warning-bg: #fff8e6;
  --info: #175cd3;
  --info-bg: #eff6ff;
  --clear: #067647;
  --clear-bg: #ecfdf3;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -.02em; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
code, .code { font-family: var(--mono); font-size: .9em; }
.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.tiny { width: min(440px, 100% - 2.5rem); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.inline { display: inline; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1.1rem; }
.nav nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.nav nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav nav a.button { color: #fff; }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 500; color: var(--ink); cursor: pointer; }

.button { display: inline-block; background: var(--brand); color: #fff; border: 1px solid var(--brand); border-radius: 8px; padding: .7rem 1.2rem; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--brand-dark); color: #fff; }
.button.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.button.secondary:hover { border-color: var(--ink); }
.button.danger { background: #fff; color: var(--error); border-color: #f3c3bd; }
.button.small { padding: .45rem .8rem; font-size: .9rem; }
.button[disabled] { opacity: .6; cursor: progress; }
.button-row { display: flex; gap: .5rem; flex-wrap: wrap; }

.hero { background: linear-gradient(180deg, #f2f8f4 0%, #fff 100%); padding: 4.5rem 0 3.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--brand); margin-bottom: .75rem; }
.lead { font-size: 1.15rem; color: #334155; }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0 .5rem; }
.fine { font-size: .9rem; color: var(--muted); }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; box-shadow: 0 10px 30px rgba(15, 27, 45, .08); }
.sample-findings { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; font-size: .95rem; }
.sample-findings li { display: flex; gap: .6rem; align-items: baseline; }

.band { border-block: 1px solid var(--line); padding: 1.25rem 0; }
.platforms-label { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: .5rem; }
.platforms { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; padding: 0; margin: 0; font-weight: 600; color: #334155; }

.section { padding: 4rem 0; }
.section.alt { background: var(--bg-alt); }
.steps { list-style: none; counter-reset: step; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: .75rem; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.check-grid article { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.check-grid p { color: #334155; margin: 0; }
.note { color: var(--muted); margin-top: 1.5rem; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); }
.plan ul { padding-left: 1.1rem; flex: 1; }
.price { font-size: 2.2rem; font-weight: 800; margin: .25rem 0 .75rem; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); }

details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { font-weight: 600; cursor: pointer; }
details p { margin: .75rem 0 0; color: #334155; }
.cta-band { background: var(--navy); color: #fff; }

.form label { display: block; font-weight: 600; margin: 1.1rem 0 .35rem; }
.form input[type=text], .form input[type=email], .form select, .form textarea { width: 100%; padding: .65rem .75rem; border: 1px solid #c7ced8; border-radius: 8px; font: inherit; background: #fff; }
.form textarea { font-family: var(--mono); font-size: .85rem; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(15, 107, 63, .25); border-color: var(--brand); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.checks { border: 0; padding: 0; margin: 1.25rem 0; }
.checks legend { font-weight: 600; margin-bottom: .35rem; }
label.check { display: flex; gap: .5rem; align-items: center; font-weight: 400; margin: .4rem 0; }
.form .button { margin-top: 1rem; }

.alert { border-radius: 8px; padding: .8rem 1rem; margin: 1rem 0; }
.alert-error { background: var(--error-bg); color: var(--error); border: 1px solid #f3c3bd; }
.alert-success, .alert-info { background: var(--clear-bg); color: var(--clear); border: 1px solid #abefc6; }

.verdict { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; padding: .4rem .8rem; border-radius: 999px; }
.verdict .dot { width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; }
.verdict-clear { background: var(--clear-bg); color: var(--clear); }
.verdict-review { background: var(--warning-bg); color: var(--warning); }
.verdict-hold { background: var(--error-bg); color: var(--error); }
.sev { display: inline-block; min-width: 4.6rem; text-align: center; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .15rem .4rem; border-radius: 4px; flex-shrink: 0; }
.sev-error { background: var(--error-bg); color: var(--error); }
.sev-warning { background: var(--warning-bg); color: var(--warning); }
.sev-info { background: var(--info-bg); color: var(--info); }

.report-head { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.score { text-align: center; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.5rem; }
.score span { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; }
.score small { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin: 1.5rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); }
.stats dt { font-size: .8rem; color: var(--muted); }
.stats dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
.t-error { color: var(--error); }
.t-warning { color: var(--warning); }
.share { margin-bottom: 1.5rem; }
.share label { font-weight: 600; display: block; margin-bottom: .35rem; }
.share-row { display: flex; gap: .5rem; }
.share-row input { flex: 1; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: 6px; font-family: var(--mono); font-size: .85rem; }
.report-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start; }
.filters { display: flex; gap: .4rem; margin-bottom: 1rem; flex-wrap: wrap; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; font: inherit; font-size: .9rem; cursor: pointer; }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.group h2 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.group ul { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.finding { display: flex; gap: .8rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.finding:last-child { border-bottom: 0; }
.finding.hidden { display: none; }
.f-title { font-weight: 600; margin: 0; }
.f-detail { margin: .2rem 0 0; color: #334155; font-size: .95rem; }
.f-snippet { display: block; margin-top: .4rem; background: var(--bg-alt); border-radius: 6px; padding: .35rem .5rem; font-size: .8rem; overflow-wrap: anywhere; color: #334155; }
.empty { padding: 1.5rem; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }
.preview { position: sticky; top: 80px; }
.preview-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.preview-bar h2 { margin: 0; font-size: 1.1rem; }
.frame-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); display: flex; justify-content: center; overflow: hidden; }
.frame-wrap iframe { width: 100%; height: 720px; border: 0; background: #fff; transition: width .2s; }
.report-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 2rem; }

.dash-head { display: flex; justify-content: space-between; align-items: center; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1.5rem 0 2.5rem; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card h2 { font-size: 1rem; color: var(--muted); margin-bottom: .25rem; }
.big { font-size: 1.6rem; font-weight: 800; margin: 0 0 .25rem; }
progress { width: 100%; height: .6rem; margin-bottom: 1rem; accent-color: var(--brand); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: .65rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.pill { font-size: .8rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; }
.pill-clear { background: var(--clear-bg); color: var(--clear); }
.pill-review { background: var(--warning-bg); color: var(--warning); }
.pill-hold { background: var(--error-bg); color: var(--error); }

.prose h2 { margin-top: 2rem; font-size: 1.25rem; }
.prose pre { background: var(--navy); color: #e5edf5; padding: 1rem; border-radius: 8px; overflow-x: auto; font-size: .85rem; }
.prose pre var { color: #9be2b8; font-style: normal; }

.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; color: var(--muted); font-size: .9rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-grid nav { display: flex; gap: 1.25rem; }
.footer-grid a { color: var(--muted); }

@media (max-width: 860px) {
  .hero-grid, .report-grid, .cards { grid-template-columns: 1fr; }
  .steps, .check-grid, .pricing { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .preview { position: static; }
  .nav nav a:not(.button) { display: none; }
  .report-head { flex-direction: column; gap: 1rem; }
}
