@font-face { font-family: "Inter"; src: url("/fonts/Inter-latin.woff2?v=8f26c5daa8") format("woff2"); font-weight: 100 900; font-display: swap; }
[hidden] { display: none !important; }
:root {
  --bg: #0A0D12; --bg2: #0F141B; --card: #121821; --line: #1F2733; --line2: #2A3441;
  --text: #F5F7FA; --text2: #C9D1DD; --text3: #E2E7EE; --muted: #8A94A6; --dim: #7A8496;
  --green: #2EE5B0; --green-text: #2EE5B0; --green2: #A6F5DE; --green-ink: #04150B; --amber: #F5B83D; --coral: #FF6B5E;
  --mark-ring: #F5F7FA; --glow-a: 10%;
  --r: 18px; --max: 680px;
  color-scheme: dark;
}
/* Light theme: Mint Ink #00866A accents on a light ground. All text pairs meet WCAG AA (4.5:1), checked in
   tests/test_theme.py. Chosen by prefers-color-scheme, or by the header toggle (localStorage "rg-theme"). */
:root[data-theme="light"] {
  --bg: #FFFFFF; --bg2: #F4F6F9; --card: #FFFFFF; --line: #E3E8EE; --line2: #C9D1DD;
  --text: #0A0D12; --text2: #2B3442; --text3: #1F2733; --muted: #4F5B6B; --dim: #5C6878;
  --green: #00866A; --green-text: #007560; --green2: #4FC3A1; --green-ink: #FFFFFF; --amber: #8A5800; --coral: #B3261E;
  --mark-ring: #0A0D12; --glow-a: 7%;
  color-scheme: light;
}
@media (prefers-color-scheme: light) {  /* no-JS fallback; with JS the inline head script sets data-theme */
  :root:not([data-theme]) {
    --bg: #FFFFFF; --bg2: #F4F6F9; --card: #FFFFFF; --line: #E3E8EE; --line2: #C9D1DD;
    --text: #0A0D12; --text2: #2B3442; --text3: #1F2733; --muted: #4F5B6B; --dim: #5C6878;
    --green: #00866A; --green-text: #007560; --green2: #4FC3A1; --green-ink: #FFFFFF; --amber: #8A5800; --coral: #B3261E;
    --mark-ring: #0A0D12; --glow-a: 7%;
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; min-height: 100vh; }
a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--line2); }
a:hover { text-decoration-color: var(--green); }
.glow { position: fixed; inset: -30vh -20vw auto; height: 70vh; pointer-events: none; z-index: -1;
  background: radial-gradient(50% 50% at 60% 40%, color-mix(in srgb, var(--green) var(--glow-a), transparent), transparent 70%); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.top { max-width: var(--max); margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.pill { font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 8px 20px 40px; }
.foot { max-width: var(--max); margin: 0 auto; padding: 28px 20px 40px; color: var(--dim); font-size: 13px; border-top: 1px solid var(--line); }
.foot p { margin: 4px 0; } .foot a { color: var(--muted); }

.eyebrow { margin: 0 0 8px; color: var(--green-text); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1 { font-size: clamp(34px, 9vw, 52px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 14px; font-weight: 800; }
.h-sm { font-size: clamp(28px, 7vw, 38px); }
h2 { font-size: 20px; letter-spacing: -.015em; margin: 0 0 14px; }
.lede { color: var(--muted); font-size: 17px; margin: 0 0 26px; max-width: 34em; }
.muted { color: var(--muted); } .small { font-size: 13px; }

.hero { padding: 28px 0 8px; } .hero.narrow { padding-top: 48px; }
.grade { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.field { display: flex; align-items: center; background: var(--card); border: 1px solid var(--line2); border-radius: 14px; padding: 0 16px; transition: border-color .15s, box-shadow .15s; }
.field:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 12%, transparent); }
.at { color: var(--dim); font-size: 20px; font-weight: 600; }
.field input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 20px; font-weight: 600; padding: 16px 6px; }
.field input::placeholder { color: var(--dim); font-weight: 500; }
.tz { color: var(--muted); font-size: 14px; }
.tz summary { cursor: pointer; list-style: none; } .tz summary::-webkit-details-marker { display: none; }
.tz summary span { color: var(--text); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.tz select { margin-top: 10px; width: 100%; background: var(--card); color: var(--text); border: 1px solid var(--line2); border-radius: 12px; padding: 12px; font: inherit; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 54px; padding: 0 22px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--green); color: var(--green-ink); font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; transition: transform .08s, filter .15s; }
.btn:hover { filter: brightness(1.06); } .btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line2); }
.err { color: var(--coral); margin: 0; font-size: 15px; }
.demo-note { color: var(--muted); font-size: 14px; margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip { background: var(--card); color: var(--text); border: 1px solid var(--line2); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; }
.chip:hover { border-color: var(--green); }

.progress { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.progress li { display: flex; align-items: center; gap: 12px; color: var(--dim); transition: color .2s; }
.progress .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line2); flex: none; position: relative; }
.progress li.active { color: var(--text); }
.progress li.active .dot { border-color: var(--green); border-right-color: transparent; animation: spin .8s linear infinite; }
.progress li.done { color: var(--muted); }
.progress li.done .dot { background: var(--green); border-color: var(--green); }
.progress li.done .dot::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid var(--green-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }

.how { display: grid; gap: 14px; margin-top: 44px; }
.how-item { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 4px; }
.how-item span { color: var(--muted); font-size: 15px; }

/* results */
.banner { background: color-mix(in srgb, var(--amber) 8%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 30%, transparent); color: var(--amber); border-radius: 12px; padding: 10px 14px; font-size: 14px; margin: 0 0 16px; }
.who { display: flex; align-items: center; gap: 12px; margin: 8px 0 20px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--card); }
.who-name { font-weight: 700; }
.who-handle { color: var(--muted); text-decoration: none; margin-right: 8px; }
.who-meta { color: var(--dim); font-size: 14px; }
.scorecard { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; background: linear-gradient(180deg, var(--card), var(--bg2));
  border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.ring { position: relative; width: 148px; height: 148px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .track { stroke: var(--line); }
.ring .bar { stroke: var(--c, var(--green)); stroke-linecap: round; stroke-dasharray: var(--v) 100; animation: fill 1.1s cubic-bezier(.2,.7,.2,1) both; }
.ring-good { --c: var(--green); } .ring-ok { --c: var(--amber); } .ring-low { --c: var(--coral); }
.ring-starter { --c: var(--green); --v: 10 !important; }
@keyframes fill { from { stroke-dasharray: 0 100; } }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .num { font-size: 56px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.ring .word { font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.ring .den { color: var(--muted); font-size: 15px; font-weight: 600; margin-top: 4px; }
.type-name { font-size: clamp(26px, 6.5vw, 36px); margin: 0 0 6px; }
.type-blurb { margin: 0; color: var(--muted); }
.verdict { font-size: 19px; line-height: 1.45; font-weight: 600; letter-spacing: -.01em; margin: 22px 2px; }
.first { background: color-mix(in srgb, var(--green) 7%, transparent); border: 1px solid color-mix(in srgb, var(--green) 35%, transparent); border-radius: var(--r); padding: 16px 18px; margin: 0 0 8px; }
.first-action { margin: 0; font-size: 18px; font-weight: 700; }
.block { margin-top: 34px; }
.issue { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-bottom: 12px; }
.issue header { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; margin-bottom: 12px; }
.issue h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.issue .sev { grid-column: 2; justify-self: start; }
.issue .tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pts { font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); }
.pts-zero { color: var(--muted); background: var(--card); font-weight: 600; }
.pts-line { margin: 8px 0 0; color: var(--muted); }
.proj { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; margin: 0 0 8px; }
.proj .eyebrow { margin-top: 0; }
.proj-list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 4px; font-size: 16px; }
.proj p { margin: 0; }
.rank { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--card); border: 1px solid var(--line2); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--muted); }
.sev { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.sev-high { color: var(--coral); background: color-mix(in srgb, var(--coral) 10%, transparent); } .sev-medium { color: var(--amber); background: color-mix(in srgb, var(--amber) 10%, transparent); } .sev-low { color: var(--muted); background: var(--card); }
.issue dl { margin: 0; display: grid; grid-template-columns: 78px 1fr; gap: 8px 12px; font-size: 15px; }
.issue dt { color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding-top: 3px; }
.issue dd { margin: 0; color: var(--text2); overflow-wrap: anywhere; }
.fix { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; }
.basis { margin: 10px 0 0; color: var(--dim); font-size: 12px; }
.week { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin: 18px 0 8px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 12px; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.checklist b { display: block; font-size: 15px; } .checklist span { color: var(--muted); font-size: 14px; }
.box { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line2); margin-top: 2px; position: relative; }
.checklist .done .box { background: var(--green); border-color: var(--green); }
.checklist .done .box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--green-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checklist .done b { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--dim); }
.dims { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 12px; }
.dims li { display: grid; grid-template-columns: 96px 1fr 34px; gap: 12px; align-items: center; font-size: 15px; }
.dim-bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.dim-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--green2)); border-radius: 99px; }
.dim-num { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.card-img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); display: block; }
.share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 8px; }
.all { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.all summary { cursor: pointer; font-weight: 700; }
.allchecks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.allchecks li { display: grid; grid-template-columns: 40px 1fr auto; gap: 2px 10px; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cid { color: var(--dim); font-variant-numeric: tabular-nums; } .cstatus { font-size: 12px; font-weight: 700; color: var(--muted); }
.st-fired .cstatus { color: var(--amber); } .st-passed .cstatus { color: var(--green-text); }
.cobs { grid-column: 2 / 4; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.meta { margin-top: 30px; color: var(--dim); font-size: 13px; } .meta p { margin: 4px 0; } .meta a { color: var(--muted); }

@media (min-width: 640px) {
  .wrap { padding-top: 24px; }
  .hero { padding-top: 56px; }
  .grade { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .grade .field { grid-column: 1; } .grade .btn { grid-column: 2; grid-row: 1; }
  .grade .tz, .grade .err { grid-column: 1 / -1; }
  .how { grid-template-columns: repeat(3, 1fr); }
  .ring { width: 172px; height: 172px; } .ring .num { font-size: 66px; }
  .scorecard { padding: 26px 30px; gap: 30px; }
}
@media (max-width: 380px) {
  .scorecard { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .share-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.score-note { margin: 10px 2px 0; line-height: 1.45; }
.draft { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-bottom: 12px; }
.draft .eyebrow { color: var(--muted); letter-spacing: .06em; }
.draft-text { margin: 0 0 12px; white-space: pre-line; color: var(--text3); }
.draft-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.issue.st-passed, .issue.st-not_evaluated, .issue.st-report_only { opacity: .78; }
.bullets { color: var(--text2); padding-left: 20px; margin: 0 0 18px; } .bullets li { margin: 6px 0; }
.legal h2 { margin-top: 28px; } .legal p, .legal li { color: var(--text2); } .legal td, .legal th { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.legal table { border-collapse: collapse; width: 100%; }
.pills { display: inline-flex; gap: 6px; } .pill { white-space: nowrap; }

/* keyboard focus: always visible, never on mouse click */
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible {
  outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px;
}
.btn[disabled] { opacity: .7; cursor: progress; }

/* full-report call to action on the free result */
.upsell { border: 1px solid var(--line2); border-radius: 16px; padding: 18px 18px 14px; background: var(--card); }
.upsell h2 { margin-top: 4px; }
.upsell-list { margin: 10px 0 16px; padding-left: 18px; display: grid; gap: 6px; }
.upsell .btn { width: 100%; }
.stats table { margin-bottom: 8px; } .stats .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; } .stats { overflow-x: auto; }
.early-badge { margin: 12px 2px 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .pill-early { color: var(--green-text); border-color: color-mix(in srgb, var(--green) 45%, transparent); }
.consent-note { color: var(--muted); margin: 18px 0 10px; } .consent-note a { color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; font-size: 14px; color: var(--text2); cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.trust { color: var(--muted); margin: 12px 0 0; }
.demo-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.demo-list .btn { min-height: 44px; }
.shared .card-img { width: 100%; height: auto; border-radius: 16px; margin: 8px 0 18px; }
.share-state { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.share-state code { word-break: break-all; }
.linkbtn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.inline { display: inline; }
.seo { margin-top: 44px; }
.seo h2 { font-size: 24px; margin: 0 0 12px; }
.seo h3 { font-size: 17px; margin: 18px 0 6px; }
.seo p { color: var(--text2); }
.seo .steps { padding-left: 20px; display: grid; gap: 8px; color: var(--text2); }
.seo .cols { display: grid; gap: 8px 28px; }
@media (min-width: 760px) { .seo .cols { grid-template-columns: 1fr 1fr; } }

/* theme toggle + inline logo (the mark's ring follows the theme; the arrow is the accent) */
.brand svg { width: 30px; height: 30px; display: block; }
.mark-ring { fill: var(--mark-ring); } .mark-arrow { stroke: var(--green); } .mark-head { fill: var(--green); }
.top-right { display: inline-flex; align-items: center; gap: 8px; }
.theme-toggle { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line2);
  background: transparent; color: var(--muted); cursor: pointer; padding: 0; }
.theme-toggle:hover { color: var(--text); border-color: var(--green); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .i-sun { display: none; } :root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
/* guides: long-form reading pages (both themes via the same variables) */
.guide { max-width: 40em; }
.guide p, .guide li { line-height: 1.65; font-size: 16px; }
.guide h2 { font-size: 22px; line-height: 1.3; } .guide h3 { font-size: 18px; margin: 24px 0 6px; color: var(--text); }
.guide ul, .guide ol { padding-left: 1.3em; } .guide li { margin: 4px 0; }
.guide .lede { color: var(--text2); }
.guide p a, .guide li a { color: var(--green-text); }
.guide-list { list-style: none; padding: 0 !important; margin: 0; }
.guide-list li { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: 18px 20px; margin: 0 0 14px; }
.guide-list h2 { margin: 0 0 6px; font-size: 20px; } .guide-list h2 a { color: var(--text); text-decoration: none; }
.guide-cta { margin: 36px 0 18px; padding: 22px 20px; border: 1px solid var(--line2); border-radius: var(--r); background: var(--card); }
.guide-cta h2 { margin: 0 0 6px; } .guide-cta p { margin: 0 0 16px; }
.guide-related { margin-top: 18px; }

/* public sample report (/sample-report) */
.sample-banner { margin-bottom: 28px; }
.sample-banner .h-sm { margin: 4px 0 10px; }

/* full report: what already works */
.ww-lead { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.ww-dim { font-size: 15px; margin: 22px 0 8px; }
.ww-scroll { overflow-x: auto; }
.ww-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.ww-table th, .ww-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.ww-table th[scope="row"], .ww-table thead th:first-child { text-align: left; white-space: normal; font-weight: 600; }
.ww-table thead th { font-size: 12px; color: var(--muted); font-weight: 600; }
.ww-table tr.is-best th[scope="row"], .ww-table tr.is-best td { background: color-mix(in srgb, var(--green) 7%, transparent); }
.ww-table tr.is-thin { color: var(--muted); }
