/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --surface: #ffffff;
  --bg-tint: #f3f6fb;
  --bg-tint-2: #eef4fd;
  --text: #0b1d3f;
  --heading-accent: #1e4fa8;
  --muted: #56627a;
  --border: #e2e8f0;
  --accent: #1f63e0;
  --accent-strong: #1a4fc0;
  --accent-light: #3b8bf6;
  --accent-contrast: #ffffff;
  --ok: #15803d;      --ok-bg: #dcfce7;
  --warn: #a16207;    --warn-bg: #fef3c7;
  --risk: #b91c1c;    --risk-bg: #fee2e2;
  --info: #1d4ed8;    --info-bg: #dbeafe;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(15 23 42 / .06), 0 8px 24px rgb(15 23 42 / .06);
  --font: "Segoe UI", "Inter", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120; --bg-alt: #111a2e; --surface: #131d33; --bg-tint: #0f182b; --bg-tint-2: #111d35;
    --text: #e5e9f2; --heading-accent: #93c5fd; --muted: #9aa5b8; --border: #24304a; --accent-light: #93c5fd;
    --accent: #60a5fa; --accent-strong: #93c5fd; --accent-contrast: #0b1120;
    --ok: #4ade80; --ok-bg: #0f2e1d; --warn: #fbbf24; --warn-bg: #33270b;
    --risk: #f87171; --risk-bg: #3a1414; --info: #93c5fd; --info-bg: #142546;
    --shadow: none;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2, .h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3, .h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

.section { padding: clamp(48px, 8vw, 88px) 0; }
.section--alt { background: var(--bg-alt); }
.section--tint { background: var(--bg-tint); }
.section--compact { padding: 40px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Header / footer ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-header { background: var(--bg); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; font-size: 1.5rem; letter-spacing: -.01em; }
.logo__mark { flex: none; }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 8px; display: block; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { background: var(--bg-alt); color: var(--accent); }
.site-nav.is-open { display: flex; flex-direction: column; gap: 12px; position: absolute; top: 72px; left: 0; right: 0; padding: 16px; background: var(--bg); border-bottom: 1px solid var(--border); }
.nav-toggle { background: none; border: 0; width: 44px; height: 44px; cursor: pointer; display: grid; place-items: center; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; display: block; width: 22px; height: 2px; background: var(--text); position: relative; }
.nav-toggle__bar::before { position: absolute; top: -7px; } .nav-toggle__bar::after { position: absolute; top: 7px; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: flex; flex: 1; position: static; flex-direction: row; align-items: center; gap: 16px; padding: 0; border: 0; background: none; }
  .site-nav ul { flex-direction: row; gap: 18px; margin-inline: auto; }
  .site-nav a:not(.btn) { padding: 8px 4px; border-radius: 0; border-bottom: 2px solid transparent; }
  .site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { background: none; color: var(--accent); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
}
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 24px; background: var(--bg-alt); }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.site-footer__title { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer__bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border); font-size: .9rem; }

/* ---------- Components ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font: inherit; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.btn--sm { padding: 7px 14px; font-size: .95rem; }
.btn--lg { padding: 13px 22px; font-size: 1.05rem; }
.btn--primary { background: var(--accent); color: var(--accent-contrast); }
.btn--primary:hover { background: var(--accent-strong); color: var(--accent-contrast); }
.btn--secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn--secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--pill { border-radius: 999px; color: #fff; background: linear-gradient(90deg, var(--accent-light), var(--accent)); box-shadow: 0 8px 20px rgb(31 99 224 / .28); }
.btn--pill:hover { color: #fff; background: linear-gradient(90deg, var(--accent), var(--accent-strong)); }
.btn--lg.btn--pill { padding: 14px 28px; }
.btn .icon { flex: none; }

.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: .5em; }
.section-heading { margin-bottom: 32px; }
.section-heading--center { text-align: center; }
.section-heading--center .lead { margin-inline: auto; }
.page-header { padding: clamp(40px, 7vw, 72px) 0 8px; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }

.hero { padding: clamp(48px, 9vw, 104px) 0; background: radial-gradient(1200px 500px at 80% 0%, var(--info-bg), transparent 60%); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 700; margin-bottom: .15em; }
.hero__subtitle { color: var(--heading-accent); font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.2; margin-bottom: .7em; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 25em; }
.hero__copy { max-width: 600px; }
/* Image hero: photo below the copy on small screens, full-bleed behind it on wide ones */
.hero--image { position: relative; padding-bottom: 0; background: var(--bg); overflow: hidden; display: flex; flex-direction: column-reverse; }
.hero--image .hero__inner { padding-bottom: 32px; }
.hero__image { display: block; width: 100%; height: auto; aspect-ratio: 1671 / 941; object-fit: cover; }
@media (min-width: 900px) {
  .hero--image { display: block; min-height: 540px; padding: 0; }
  .hero--image .hero__inner { position: relative; z-index: 1; padding-block: clamp(64px, 8vw, 104px); }
  .hero__image { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 70% center; }
  .hero--image::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 30%, color-mix(in srgb, var(--bg) 35%, transparent) 50%, transparent 62%); }
}

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature-card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--info-bg); color: var(--accent); margin-bottom: 14px; }
.feature-card--plain { padding: 8px 8px 0; }
.feature-card--plain .feature-card__icon { width: auto; height: auto; background: none; place-items: start; margin-bottom: 20px; color: var(--heading-accent); }
.feature-card--plain h3 { font-size: 1.25rem; margin-bottom: .7em; }
.feature-card--plain p { color: var(--muted); }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; padding: 3px 10px 3px 4px; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.pill__icon { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; color: var(--bg); }
.pill--ok { background: var(--ok-bg); color: var(--ok); } .pill--ok .pill__icon { background: var(--ok); }
.pill--warn { background: var(--warn-bg); color: var(--warn); } .pill--warn .pill__icon { background: var(--warn); }
.pill--risk { background: var(--risk-bg); color: var(--risk); } .pill--risk .pill__icon { background: var(--risk); }
.pill--info { background: var(--info-bg); color: var(--info); } .pill--info .pill__icon { background: var(--info); }

.report-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; max-width: 560px; width: 100%; }
.report-card__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 20px 12px; }
.report-card__header p { margin: 0; }
.report-card__greeting { font-weight: 700; font-size: 1.1rem; }
.report-card__stats { list-style: none; margin: 0; padding: 8px 20px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.report-card__stats li { background: var(--bg-alt); border-radius: 10px; padding: 10px 12px; font-size: .9rem; color: var(--muted); }
.report-card__stats strong { display: block; font-size: 1.5rem; color: var(--text); }
.report-card__items { list-style: none; margin: 0; padding: 0 8px; }
.report-card__items li + li { border-top: 1px solid var(--border); }
.report-card__items summary { display: flex; gap: 10px; align-items: center; padding: 12px; cursor: pointer; list-style: none; }
.report-card__items summary::-webkit-details-marker { display: none; }
.report-card__items summary::after { content: "+"; margin-left: auto; color: var(--muted); }
.report-card__items details[open] summary::after { content: "–"; }
.report-card__detail { margin: 0 12px 12px 42px; font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.report-card__footer { padding: 14px 20px; background: var(--ok-bg); color: var(--ok); font-weight: 600; }
.report-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .report-layout { grid-template-columns: 1.4fr 1fr; } }
.legend { list-style: none; padding: 0; display: grid; gap: 10px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.steps__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.steps--flow { gap: 32px; text-align: center; }
.steps--flow .steps__item { background: none; border: 0; padding: 0 8px; position: relative; }
.steps--flow .steps__item p { color: var(--muted); font-size: .95rem; }
.steps--flow .steps__marker { background: linear-gradient(180deg, var(--accent-light), var(--accent)); font-size: 1.15rem; }
.steps__arrow { display: none; }
@media (min-width: 760px) {
  .steps--flow { grid-template-columns: repeat(4, 1fr); }
  .steps__arrow { display: block; position: absolute; top: 10px; right: -28px; color: var(--muted); }
}
.steps__marker { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px; background: var(--accent); color: var(--accent-contrast); font-weight: 800; margin-bottom: 14px; font-variant-numeric: tabular-nums; }

.timeline { list-style: none; padding: 0; margin: 0 0 24px; border-left: 3px solid var(--border); }
.timeline__item { position: relative; padding: 0 0 24px 24px; }
.timeline__item::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--muted); border: 3px solid var(--bg-alt); }
.timeline__item--ok::before { background: var(--ok); } .timeline__item--warn::before { background: var(--warn); } .timeline__item--risk::before { background: var(--risk); }
.timeline__date { font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.timeline__body h3 { margin: 4px 0; }
.timeline__body p { margin: 0; color: var(--muted); }

.pricing-card { display: flex; flex-direction: column; position: relative; }
.pricing-card .btn { margin-top: auto; }
.pricing-card--featured { border: 2px solid var(--accent); }
.pricing-card__badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-contrast); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin: 0; }
.pricing-card__price strong { font-size: 2rem; }

.checklist { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }

.tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0; }
.tag { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 8px 16px; font-weight: 600; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table caption { text-align: left; padding: 12px 16px; color: var(--muted); }
.table th, .table td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.table thead th { background: var(--bg-alt); }
.table tbody tr:last-child > * { border-bottom: 0; }

.cta-banner { background: var(--accent); color: var(--accent-contrast); padding: 48px 0; }
.cta-banner__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-banner h2 { margin-bottom: .25em; }
.cta-banner p { margin: 0; opacity: .9; }
.cta-banner .actions { margin: 0; }
.cta-banner .btn--primary { background: var(--accent-contrast); color: var(--accent); }

.faq { display: grid; gap: 12px; margin-bottom: 24px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 0 20px; }
.faq__item summary { cursor: pointer; padding: 16px 0; font-weight: 600; }
.faq__item p { color: var(--muted); }

.threat-card__meta { display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.threat-card h3 a { color: var(--text); text-decoration: none; }
.threat-card h3 a:hover { color: var(--accent); }

.alert { border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; border-left: 4px solid; }
.alert p { margin: 4px 0 0; }
.alert--ok { background: var(--ok-bg); border-color: var(--ok); } .alert--warn { background: var(--warn-bg); border-color: var(--warn); }
.alert--risk { background: var(--risk-bg); border-color: var(--risk); } .alert--info { background: var(--info-bg); border-color: var(--info); }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field input:not([type="checkbox"]), .field textarea, .field select { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; }
.field--checkbox { grid-template-columns: auto 1fr; align-items: start; column-gap: 10px; }
.field--checkbox input { width: 20px; height: 20px; margin-top: 3px; }
.field--checkbox label { font-weight: 400; }
.field--checkbox .field__error, .field--checkbox .field__hint { grid-column: 1 / -1; }
.field__hint { font-size: .9rem; color: var(--muted); margin: 0; }
.field__error { font-size: .9rem; color: var(--risk); margin: 0; font-weight: 600; }
.field--error input, .field--error textarea { border-color: var(--risk); }

.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }

.benefits { background: var(--bg-tint-2); padding: 40px 0 48px; }
.benefits .section-heading { margin-bottom: 24px; }
.benefits .section-heading h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-bottom: .2em; }
.benefits .lead { font-size: 1rem; }
.benefits__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
.benefits__item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 0 16px; color: var(--text); }
@media (min-width: 760px) {
  .benefits__list { grid-template-columns: repeat(4, 1fr); }
  .benefits__item + .benefits__item { border-left: 1px solid var(--border); }
}
