/* Prime Dev Force Security — public site design system.
   Dark only: a near-black navy canvas with a faint grid, neon cyan for
   actions and a violet second accent (cyan-to-violet gradient on the hero
   headline, primary buttons and highlights). The dashboard keeps its own
   palette (public/assets/app.css).
   No inline styles anywhere (CSP style-src 'self'). Text/background pairs
   target WCAG 2.2 AA (4.5:1 body text, 3:1 large text and UI). */

:root {
  --bg: #050912;
  --surface: #0b1322;
  --surface-2: #111c30;
  --line: #1c2a42;
  --line-strong: #2b3e5c;
  --ink: #eef4ff;
  --ink-2: #a9b8d0;
  --ink-3: #8d9cb5;
  --brand: #22d3ee;
  --brand-strong: #67e8f9;
  --brand-soft: rgb(34 211 238 / 12%);
  --on-brand: #03121a;
  --violet: #a78bfa;
  --cyan: #22d3ee;
  --green: #34d399;
  --accent: #f2c75c;
  --focus: #67e8f9;
  --grad: linear-gradient(100deg, #22d3ee 0%, #60a5fa 45%, #a78bfa 100%);
  --glow: 0 0 0 1px rgb(34 211 238 / 35%), 0 10px 40px -8px rgb(34 211 238 / 35%);

  --sev-critical-bg: rgb(255 93 103 / 16%); --sev-critical-fg: #ffa3a9;
  --sev-high-bg: rgb(255 155 82 / 16%);     --sev-high-fg: #ffc196;
  --sev-medium-bg: rgb(242 199 92 / 15%);   --sev-medium-fg: #f6d78a;
  --sev-low-bg: rgb(100 183 255 / 16%);     --sev-low-fg: #a9d6ff;
  --sev-info-bg: rgb(154 169 191 / 15%);    --sev-info-fg: #c6d0de;
  --ok-bg: rgb(52 211 153 / 15%);           --ok-fg: #86efc4;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 0 rgb(255 255 255 / 4%) inset, 0 12px 32px rgb(0 0 0 / 40%);
  --font: Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgb(167 139 250 / 12%), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgb(34 211 238 / 10%), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
code, pre { font-family: var(--mono); font-size: 0.875em; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 3.6vw + 0.8rem, 3rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.35rem, 1.6vw + 0.8rem, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--surface); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; top: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }

/* Header */
.site-header { position: relative; z-index: 20; background: rgb(5 9 18 / 80%); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--grad); opacity: 0.45; }
@media (min-width: 900px) { html { scroll-padding-top: 96px; } .site-header { position: sticky; top: 0; } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.15; }
.logo:hover { color: var(--ink); }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo small { display: block; font-weight: 600; color: var(--cyan); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 0.95rem; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--brand-soft); color: var(--ink); }
.nav .nav-cta { margin-left: 6px; border: 1px solid rgb(34 211 238 / 45%); color: var(--brand-strong); font-weight: 600; }
.nav .nav-cta:hover { border-color: var(--brand); background: var(--brand-soft); box-shadow: var(--glow); }

/* Breadcrumbs */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 14px 0 0; margin: 0; font-size: 0.88rem; color: var(--ink-3); }
.breadcrumb li + li::before { content: "/"; margin-right: 4px; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a[aria-current="page"] { color: var(--ink-3); text-decoration: none; }

/* Hero + form */
.hero { position: relative; padding: 64px 0 40px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgb(34 211 238 / 7%) 1px, transparent 1px), linear-gradient(90deg, rgb(34 211 238 / 7%) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; } }
.eyebrow { color: var(--cyan); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; padding: 6px 12px; border: 1px solid rgb(34 211 238 / 35%); border-radius: 999px; background: var(--brand-soft); }
.lead { font-size: 1.125rem; color: var(--ink-2); max-width: 680px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.scan-form { margin-top: 20px; }
.hero-form { margin-top: 0; }
.scan-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.field-row { display: flex; gap: 8px; flex-wrap: wrap; }
.field-row input { flex: 1 1 240px; min-width: 0; }
input[type="text"], input[type="url"] {
  font: inherit; color: var(--ink); background: var(--surface-2);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px; width: 100%;
}
input::placeholder { color: var(--ink-3); }
input:focus-visible { outline-offset: 0; border-color: var(--brand); }
.hint { color: var(--ink-3); font-size: 0.875rem; margin-top: 6px; }
.btn {
  font: inherit; font-weight: 700; border: 1px solid transparent; cursor: pointer; border-radius: var(--radius-sm);
  padding: 12px 20px; min-height: 48px; background: var(--grad); color: var(--on-brand); display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  box-shadow: 0 8px 24px -10px rgb(34 211 238 / 60%); transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { color: var(--on-brand); filter: brightness(1.08); box-shadow: 0 10px 30px -8px rgb(96 165 250 / 70%); }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-secondary { background: rgb(255 255 255 / 3%); color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn-secondary:hover { background: var(--brand-soft); color: var(--ink); border-color: var(--brand); }
details.advanced { margin-top: 12px; }
details.advanced summary { cursor: pointer; color: var(--ink-2); font-size: 0.95rem; min-height: 32px; }
details.advanced .inner { padding-top: 10px; max-width: 420px; }

.trust-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.trust-row li { position: relative; background: rgb(11 19 34 / 70%); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 14px 44px; color: var(--ink-2); font-size: 0.95rem; }
.trust-row li::before { content: "✓"; position: absolute; left: 14px; top: 17px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-size: 0.72rem; font-weight: 800; color: var(--on-brand); background: var(--green); }
.trust-row strong { display: block; color: var(--ink); }

/* Marketing sections */
.section { padding: 56px 0; }
.section-alt { background: linear-gradient(180deg, rgb(11 19 34 / 90%), rgb(11 19 34 / 60%)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { letter-spacing: -0.02em; }
.section-lead { color: var(--ink-2); max-width: 720px; font-size: 1.05rem; }
.feature-grid { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); counter-reset: feature; }
.feature { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; counter-increment: feature; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.feature::before { content: "0" counter(feature); display: block; font-family: var(--mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: var(--violet); margin-bottom: 10px; }
.feature::after { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 2px; border-radius: 2px; background: var(--grad); opacity: 0; transition: opacity 0.2s ease; }
.feature:hover { border-color: rgb(34 211 238 / 40%); box-shadow: 0 14px 40px -18px rgb(34 211 238 / 45%); }
.feature:hover::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .feature:hover { transform: translateY(-2px); } }
.section:not(.section-alt) .feature { background: var(--surface); }
.feature h3 { margin-bottom: 8px; }
.feature h3 a { color: var(--ink); text-decoration-color: var(--brand); }
.feature h3 a:hover { color: var(--brand-strong); }
.feature p { color: var(--ink-2); margin-bottom: 0.6em; }
.feature .benefit { color: var(--ink); font-weight: 550; margin: 0; padding-left: 14px; border-left: 2px solid var(--cyan); }
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.15fr; gap: 44px; } }
.check-list { padding-left: 1.2em; color: var(--ink-2); }
.check-list li { margin-bottom: 0.6em; }
.check-list strong { color: var(--ink); }
.shot { margin: 0; }
.shot img { display: block; width: 100%; border: 1px solid rgb(34 211 238 / 30%); border-radius: var(--radius); box-shadow: 0 30px 80px -30px rgb(96 165 250 / 50%), var(--shadow); background: var(--bg); }
.shot figcaption { color: var(--ink-3); font-size: 0.88rem; margin-top: 10px; }
.steps-row { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: none; }
.steps-row li { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--surface); transition: border-color 0.2s ease; }
.steps-row li:hover { border-color: rgb(167 139 250 / 45%); }
.steps-row p { color: var(--ink-2); margin: 0; }
.step-n { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; background: var(--grad); color: var(--on-brand); font-family: var(--mono); font-weight: 800; margin-bottom: 12px; box-shadow: 0 6px 18px -6px rgb(34 211 238 / 60%); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cta-band { text-align: center; position: relative; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 16px max(16px, calc((100% - 1088px) / 2)); z-index: -1; border-radius: 24px; border: 1px solid rgb(34 211 238 / 30%); background: radial-gradient(600px 220px at 50% 0%, rgb(34 211 238 / 18%), transparent 70%), radial-gradient(600px 240px at 50% 100%, rgb(167 139 250 / 16%), transparent 70%), var(--surface); }
.cta-band h2 { font-size: clamp(1.6rem, 2.4vw + 0.8rem, 2.4rem); }
.cta-band p { color: var(--ink-2); }
.cta-band .cta-row { justify-content: center; }
.faq { display: grid; gap: 10px; margin-top: 20px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; min-height: 48px; }
.faq details p { padding: 0 16px 14px; margin: 0; color: var(--ink-2); }
.tool-grid { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.tool-card { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.tool-card h2, .tool-card h3 { font-size: 1.15rem; margin: 0; }
.tool-card p { color: var(--ink-2); margin: 0; }
.tool-card .tool-link { margin-top: auto; padding-top: 8px; font-weight: 600; }
.tag { display: inline-block; font-size: 0.76rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); letter-spacing: 0.02em; }
.tag-account { background: rgb(65 217 208 / 14%); color: var(--cyan); }
.answer { font-size: 1.08rem; color: var(--ink); border-left: 3px solid var(--brand); padding: 4px 0 4px 14px; }

/* Status / progress */
.status { margin-top: 16px; }
.progress { display: flex; gap: 12px; align-items: flex-start; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--brand); animation: spin 0.9s linear infinite; flex: none; margin-top: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; border-top-color: var(--line); } }
.alert { border-radius: var(--radius-sm); padding: 12px 14px; border: 1px solid; }
.alert-error { background: var(--sev-critical-bg); color: var(--sev-critical-fg); border-color: currentColor; }
.alert-demo { background: var(--sev-medium-bg); color: var(--sev-medium-fg); border-color: currentColor; font-weight: 600; }
.alert-ok { background: var(--ok-bg); color: var(--ok-fg); border-color: currentColor; }

/* Results */
.results { margin: 28px 0 48px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.results > * { min-width: 0; }
.summary-grid { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
@media (max-width: 560px) { .summary-grid { grid-template-columns: 1fr; justify-items: start; } }
.score-ring { width: 132px; height: 132px; }
.score-ring .track { stroke: var(--line); }
.score-ring .value { stroke: var(--brand); transition: stroke-dashoffset 0.6s ease; }
.score-ring[data-band="fair"] .value { stroke: var(--accent); }
.score-ring[data-band="poor"] .value, .score-ring[data-band="critical"] .value { stroke: var(--sev-critical-fg); }
.score-ring text { fill: var(--ink); font-weight: 750; font-family: var(--font); }
.band { display: inline-block; font-weight: 700; padding: 2px 10px; border-radius: 999px; font-size: 0.85rem; }
.band-good { background: var(--ok-bg); color: var(--ok-fg); }
.band-fair { background: var(--sev-medium-bg); color: var(--sev-medium-fg); }
.band-poor, .band-critical { background: var(--sev-critical-bg); color: var(--sev-critical-fg); }
.band-insufficient_data { background: var(--sev-info-bg); color: var(--sev-info-fg); }
.meta { color: var(--ink-3); font-size: 0.9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 10px 0 0; list-style: none; }
.badge { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.sev-critical { background: var(--sev-critical-bg); color: var(--sev-critical-fg); }
.sev-high { background: var(--sev-high-bg); color: var(--sev-high-fg); }
.sev-medium { background: var(--sev-medium-bg); color: var(--sev-medium-fg); }
.sev-low { background: var(--sev-low-bg); color: var(--sev-low-fg); }
.sev-info { background: var(--sev-info-bg); color: var(--sev-info-fg); }
.prio { background: var(--ink); color: var(--surface); }
.conf { background: transparent; color: var(--ink-2); border: 1px dashed var(--line); font-weight: 600; }

.tasks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.task { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.task > summary { cursor: pointer; padding: 12px 14px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; list-style: none; }
.task > summary::-webkit-details-marker { display: none; }
.task > summary::before { content: "▸"; color: var(--ink-3); transition: transform 0.15s; }
.task[open] > summary::before { transform: rotate(90deg); }
.task > summary .t-title { font-weight: 650; flex: 1 1 240px; }
.task .t-body { padding: 0 16px 16px 34px; color: var(--ink-2); }
.task h4 { margin: 14px 0 6px; font-size: 0.95rem; color: var(--ink); }
.evidence { margin: 0; display: grid; gap: 6px; }
.evidence div { background: var(--surface-2); border-radius: 6px; padding: 8px 10px; }
.evidence dt { font-size: 0.8rem; color: var(--ink-3); }
.evidence dd { margin: 0; font-family: var(--mono); font-size: 0.85rem; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-3); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; }
.st { font-weight: 700; white-space: nowrap; }
.st-pass { color: var(--ok-fg); }
.st-issue { color: var(--sev-high-fg); }
.st-error { color: var(--sev-critical-fg); }
.st-not_tested, .st-unobservable, .st-not_applicable { color: var(--ink-3); }

.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.history { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.history button { font: inherit; background: none; border: 0; color: var(--brand-strong); text-decoration: underline; cursor: pointer; padding: 4px 0; text-align: left; }
.linklike { font: inherit; background: none; border: 0; color: var(--ink-3); text-decoration: underline; cursor: pointer; padding: 0; }

/* Content pages */
.page { padding: 40px 0 56px; }
.page .card + .card { margin-top: 16px; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.35em; }
.updated { color: var(--ink-3); font-size: 0.9rem; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.plan h2 { margin-bottom: 4px; }
.plan .state { font-weight: 700; font-size: 0.85rem; }
.plan ul { padding-left: 1.2em; }
.plan.is-planned { border-style: dashed; }
.plans-3 { align-items: stretch; margin: 24px 0 12px; }
.plans .card + .card { margin-top: 0; }
.plans-3 .plan { display: flex; flex-direction: column; gap: 10px; }
.plans-3 .plan ul { flex: 1; margin: 0; }
.plans-3 .plan .btn { align-self: flex-start; }
.plan .price { font-size: 1.9rem; font-weight: 800; line-height: 1.15; margin: 0; }
.plan .price .meta { display: block; font-size: 0.85rem; font-weight: 500; color: var(--ink-3); }
.plan .who { color: var(--ink-2); margin: 0; }
.notice-inline { border: 1px solid var(--line-strong); border-left: 3px solid var(--accent); background: var(--surface); border-radius: var(--radius-sm); padding: 12px 14px; color: var(--ink-2); }
.btn.is-disabled { opacity: 0.6; pointer-events: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #070c18; padding: 40px 0 28px; color: var(--ink-3); font-size: 0.92rem; }
.site-footer .wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { .site-footer .wrap { grid-template-columns: 1.2fr 3fr; } }
.footer-brand p { margin-top: 12px; max-width: 320px; color: var(--ink-3); }
.footer-cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.footer-cols h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); margin-bottom: 10px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-cols a { color: var(--ink-2); text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-cols a:hover { color: var(--ink); text-decoration: underline; }
.footer-note { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; margin: 0; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media print {
  .site-header, .site-footer, .scan-form, .actions, .no-print, .trust-row, .lead { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .card { box-shadow: none; border-color: #999; break-inside: avoid; }
  .task { break-inside: avoid; }
  .task .t-body { display: block !important; }
  details > *:not(summary) { display: block !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #333; overflow-wrap: anywhere; }
  .print-only { display: block !important; }
}
.print-only { display: none; }

/* utilities (no inline styles: CSP style-src is 'self') */
.mt-16 { margin-top: 16px; }
.m0 { margin: 0; }
.strong { font-weight: 600; }
.h-small { font-size: 1rem; }

/* Small screens: show the checks table as stacked, labelled cards. */
@media (max-width: 640px) {
  .checks-table thead { display: none; }
  .checks-table, .checks-table tbody, .checks-table tr, .checks-table td { display: block; width: 100%; }
  .checks-table tr { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 10px; margin-bottom: 10px; }
  .checks-table td { border: 0; padding: 4px 0; }
  .checks-table td[data-label="Area"], .checks-table td[data-label="Result"], .checks-table td[data-label="Details"] { display: grid; grid-template-columns: 5.5em 1fr; gap: 8px; }
  .checks-table td[data-label="Area"]::before, .checks-table td[data-label="Result"]::before, .checks-table td[data-label="Details"]::before { content: attr(data-label); color: var(--ink-3); font-size: 0.82rem; }
}
.mt-32 { margin-top: 32px; }

/* Landing hero extras */
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
@media (prefers-reduced-motion: no-preference) { .pulse { animation: pulse 2s ease-out infinite; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(52 211 153 / 55%); } 80%, 100% { box-shadow: 0 0 0 10px rgb(52 211 153 / 0%); } }
.hero h1 { font-size: clamp(2rem, 4vw + 0.8rem, 3.4rem); letter-spacing: -0.035em; line-height: 1.08; }
.hero-stats { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: rgb(11 19 34 / 60%); max-width: 560px; }
.hero-stats li { padding: 12px 14px; color: var(--ink-3); font-size: 0.78rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-stats li + li { border-left: 1px solid var(--line); }
.hero-stats strong { display: block; font-family: var(--font); font-size: 1.35rem; letter-spacing: -0.02em; text-transform: none; color: var(--ink); }
@media (max-width: 520px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats li:nth-child(3) { border-left: 0; }
  .hero-stats li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
.hero-side { display: grid; gap: 16px; min-width: 0; }
.hero-form { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, rgb(34 211 238 / 70%), rgb(167 139 250 / 55%) 60%, var(--line) 100%) border-box; border: 1px solid transparent; box-shadow: 0 24px 60px -24px rgb(34 211 238 / 40%), var(--shadow); }
.hero-form input[type="text"] { font-family: var(--mono); background: #070d19; }
.hero-form input[type="text"]:focus-visible { box-shadow: 0 0 0 3px rgb(34 211 238 / 25%); }
.terminal { margin: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #04070e; overflow: hidden; box-shadow: var(--shadow); }
.terminal-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: #0a1120; }
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; flex: none; }
.terminal-bar span:nth-child(2) { background: #febc2e; }
.terminal-bar span:nth-child(3) { background: #28c840; }
.terminal-bar code { margin-left: 8px; color: var(--ink-3); font-size: 0.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.terminal pre { margin: 0; padding: 14px 16px; font-size: 0.8rem; line-height: 1.7; color: var(--ink); overflow-x: auto; }
.terminal figcaption { padding: 8px 16px 10px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.78rem; }
.t-dim { color: var(--ink-3); }
.t-ok { color: var(--green); }
.t-bad { color: #fb7185; }
.t-warn { color: var(--accent); }
.t-p1, .t-p2 { padding: 0 6px; border-radius: 4px; font-weight: 700; }
.t-p1 { background: rgb(251 113 133 / 18%); color: #fda4af; }
.t-p2 { background: rgb(242 199 92 / 16%); color: #f6d78a; }
@media (max-width: 959px) { .terminal { display: none; } }
