/* Resync Radar — visual system matched to re-sync.nl.
   Warm off-white canvas, ink text, electric-blue accent, DM Mono technical
   labels. CSP is style-src 'self': ALL styling lives here, never inline.
   Self-hosted fonts (font-src 'self'). */

/* ---------- Fonts (subset woff2, served from /static/fonts) ---------- */
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/inter-400-normal.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:italic; font-weight:400; font-display:swap; src:url('fonts/inter-400-italic.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap; src:url('fonts/inter-500-normal.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/inter-600-normal.woff2') format('woff2'); }
@font-face { font-family:'DM Mono'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/dm-mono-400-normal.woff2') format('woff2'); }
@font-face { font-family:'DM Mono'; font-style:normal; font-weight:500; font-display:swap; src:url('fonts/dm-mono-500-normal.woff2') format('woff2'); }
@font-face { font-family:'Bricolage Grotesque'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/bricolage-grotesque-600-normal.woff2') format('woff2'); }
@font-face { font-family:'Bricolage Grotesque'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/bricolage-grotesque-700-normal.woff2') format('woff2'); }
@font-face { font-family:'Bricolage Grotesque'; font-style:normal; font-weight:800; font-display:swap; src:url('fonts/bricolage-grotesque-800-normal.woff2') format('woff2'); }

:root {
  --bg:         #f5f3ef;
  --bg2:        #edeae4;
  --bg3:        #e4e1da;
  --surface:    #ffffff;
  --border:     rgba(0,0,0,0.08);
  --border-md:  rgba(0,0,0,0.14);
  --text:       #181814;
  --text-mid:   #44433e;
  --text-muted: #7a7870;
  --ink:        #181814;

  --accent:     #1a3fff;
  --accent-light: #6b8aff;
  --accent-bg:  rgba(26,63,255,0.07);
  --accent-bd:  rgba(26,63,255,0.22);

  --green:      #16a34a;
  --green-bg:   rgba(22,163,74,0.09);
  --green-bd:   rgba(22,163,74,0.28);
  --red:        #dc2626;
  --red-bg:     rgba(220,38,38,0.07);
  --red-bd:     rgba(220,38,38,0.28);
  --amber:      #d97706;
  --amber-bg:   rgba(217,119,6,0.09);
  --amber-bd:   rgba(217,119,6,0.30);

  --sans:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --mono:    'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 4px 24px rgba(0,0,0,0.06);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: clip; /* lets .bleed sections span the viewport without a scrollbar; clip (not hidden) keeps the sticky header working */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

code, pre, .txt-record, .mono { font-family: var(--mono); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
main.container { padding-top: 32px; }
main.container > .hero:first-child,
main.container > .flashes:first-child { margin-top: -8px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Keyboard focus: a clear, consistent ring for every interactive element.
   :focus-visible keeps it off mouse clicks but on for keyboard/AT users. */
a:focus-visible, button:focus-visible, summary:focus-visible,
.btn:focus-visible, .btn-ghost:focus-visible,
input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
  border-radius: var(--radius-sm);
}
input:focus-visible { outline-offset: 0; }

h1, h2, h3 { font-family: var(--sans); letter-spacing: -0.03em; line-height: 1.1; color: var(--text); }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; margin: 0 0 0.6rem; }
h2 { font-size: 1.4rem; font-weight: 700; margin: 2rem 0 0.8rem; letter-spacing: -0.02em; }
h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.4rem; }
p  { margin: 0 0 1rem; }

/* Small technical eyebrow label used across sections */
.eyebrow {
  display: inline-block;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted);
  margin: 0 0 0.9rem;
}

/* ---------------- Header / nav ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,243,239,0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  /* Wordmark uses the display face (Bricolage Grotesque 800) to match the
     re-sync.nl logo — see re-sync.nl/resync-logo.svg. Not var(--sans)/Inter. */
  font-family: var(--display); font-weight: 800; font-size: 1.12rem;
  letter-spacing: -0.04em; color: var(--text); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; align-items: center; flex: none; }
.brand-mark svg, .brand-mark img { width: 27px; height: 27px; display: block; }
.brand-accent { color: var(--accent); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-menu {
  display: flex; align-items: center; gap: 2px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; padding: 4px;
}
.nav-menu a {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.02em;
  color: var(--text-muted); text-decoration: none;
  padding: 0.4rem 0.8rem; border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.nav-menu a:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.nav-menu a.active { background: var(--surface); color: var(--text); }

.nav-links > a {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.02em;
  color: var(--text-mid); text-decoration: none; padding: 0.5rem 0.7rem;
  border-radius: 8px; transition: color 0.15s;
}
.nav-links > a:hover { color: var(--text); text-decoration: none; }

.lang-switch {
  display: flex; align-items: center; gap: 2px; margin-left: 4px;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.03em;
}
.lang-switch a, .lang-switch .lang-current {
  padding: 0.3rem 0.45rem; border-radius: 6px; text-decoration: none;
}
.lang-switch a { color: var(--text-muted); }
.lang-switch a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.lang-switch .lang-current { color: var(--text); background: var(--bg2); border: 1px solid var(--border); }

/* ---------------- Footer ---------------- */
.site-footer { margin-top: 80px; border-top: 1px solid var(--border); background: var(--bg2); }
.footer-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 3rem 24px 1.5rem;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem;
}
.footer-brand-col { max-width: 300px; }
.footer-brand-col .brand { margin-bottom: 0.9rem; }
.footer-tagline { font-size: 0.86rem; color: var(--text-mid); line-height: 1.6; margin: 0; }
.footer-col h4 {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); margin: 0 0 0.9rem; font-weight: 500;
}
.footer-col a { display: block; font-size: 0.85rem; color: var(--text-mid); padding: 0.3rem 0; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto; padding: 1.25rem 24px;
  border-top: 1px solid var(--border); display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 0.75rem;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em; color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--text); text-decoration: none; }
.footer-legal { display: inline-flex; gap: 1rem; align-items: center; }

/* ---------------- Buttons ---------------- */
.btn, .btn-ghost {
  display: inline-block; cursor: pointer; text-decoration: none;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em;
  padding: 0.78rem 1.6rem; border-radius: var(--radius-sm);
  transition: opacity 0.18s, transform 0.15s, border-color 0.18s, color 0.18s, background 0.18s;
}
/* Primary = electric-blue with a soft accent glow (owner-chosen consumer look;
   still the brand palette + DM-Mono treatment). Black is reserved for danger. */
.btn {
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  box-shadow: 0 4px 16px rgba(26, 63, 255, 0.22);
}
.btn:hover {
  background: #143adf; border-color: #143adf; transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(26, 63, 255, 0.30); text-decoration: none;
}
.btn-ghost {
  background: transparent; color: var(--text-mid);
  border: 1px solid var(--border-md);
}
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text); text-decoration: none; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { opacity: 0.9; }
.btn-small { padding: 0.5rem 1rem; font-size: 0.72rem; }
.btn-danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn-danger:hover { opacity: 0.9; }
.btn-link {
  background: none; border: 0; cursor: pointer; padding: 0.5rem 0.7rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.02em;
  color: var(--text-mid);
}
.btn-link:hover { color: var(--text); }
.inline-form { display: inline; }

/* ---------------- Cards ---------------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; margin: 20px 0;
  box-shadow: var(--shadow-sm);
}
.auth-card { max-width: 440px; margin: 56px auto; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.6rem; }

/* Empty state — a considered "nothing here yet" instead of a bare sentence */
.empty {
  text-align: center; padding: 40px 24px; margin: 16px 0;
  border: 1px dashed var(--border-md); border-radius: var(--radius);
  background: var(--surface); color: var(--text-muted);
}
.empty p { margin: 0 0 1.1rem; }
.empty p:last-child { margin-bottom: 0; }

/* ---------------- Hero / landing ---------------- */
.hero { padding: 40px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em;
  color: var(--accent); background: var(--accent-bg);
  border: 1px solid var(--accent-bd); padding: 0.35rem 0.8rem;
  border-radius: 100px; margin-bottom: 1.6rem;
}
.hero-tag-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); font-weight: 800; letter-spacing: -0.038em; line-height: 1.02; }
.hero h1 .blue { color: var(--accent); }
.lead { font-size: 1.08rem; color: var(--text-mid); max-width: 30rem; margin-bottom: 1.8rem; }
.hero .lead { margin-bottom: 1.8rem; }

.scan-form { display: flex; gap: 10px; max-width: 480px; margin: 0 0 0.8rem; }
.scan-form input { flex: 1; }
.hint { color: var(--text-muted); font-size: 0.85rem; }
.hint a { color: var(--text-mid); }

/* Hero preview card (a mini scan result) */
.preview-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.preview-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg2);
  font-family: var(--mono); font-size: 0.72rem; color: var(--text-muted);
}
.preview-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-md); }
.preview-body { padding: 20px; }
.preview-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.preview-row:last-child { border-bottom: 0; }
.preview-label { font-size: 0.9rem; color: var(--text-mid); }
.preview-score { font-family: var(--mono); font-weight: 500; font-size: 1.1rem; }
.preview-score.good { color: var(--green); }
.preview-score.warn { color: var(--amber); }
.preview-score.bad  { color: var(--red); }

/* ---------------- Legal / prose page ---------------- */
.legal-page { max-width: 44rem; margin: 1rem 0 2rem; }
.legal-page h1 { margin: 0.4rem 0 0.8rem; }
.legal-page h2 { margin: 2rem 0 0.5rem; font-size: 1.15rem; }
.legal-page p { color: var(--text-mid); }
.legal-page .lead { color: var(--text); }

/* ---------------- Feature grid ---------------- */
.section { padding: 40px 0; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
}
.feature .kicker {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.7rem;
}
.feature h2 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--text-mid); font-size: 0.95rem; }

/* ---------------- Section band (pricing / cta) ---------------- */
.band {
  background: var(--ink); color: #fff; border-radius: 20px;
  padding: 52px 40px; margin: 48px 0; text-align: center;
}
.band .eyebrow { color: rgba(255,255,255,0.45); }
.band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 0.8rem; }
.band p { color: rgba(255,255,255,0.72); max-width: 34rem; margin: 0 auto 1.6rem; }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { opacity: 0.9; }

/* ---------------- Forms ---------------- */
label { display: block; margin: 16px 0 6px; font-weight: 600; font-size: 0.88rem; color: var(--text-mid); }
label .hint { font-weight: 400; }
input[type="text"], input[type="email"], input[type="password"], input[type="url"] {
  width: 100%; padding: 0.72rem 0.9rem; font-size: 1rem; font-family: var(--sans);
  border: 1px solid var(--border-md); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder { color: var(--text-muted); }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
.checkbox { display: flex; gap: 9px; align-items: flex-start; font-weight: 400; margin: 16px 0 4px; }
.checkbox input { width: auto; margin-top: 5px; }

/* ---------------- Flash messages ---------------- */
.flashes { margin: 20px 0; }
.flash {
  padding: 0.85rem 1.1rem; border-radius: var(--radius-sm); margin: 10px 0;
  font-size: 0.92rem; border: 1px solid var(--border);
}
.flash-success { background: var(--green-bg); border-color: var(--green-bd); color: #0f6b32; }
.flash-error   { background: var(--red-bg); border-color: var(--red-bd); color: #a3182b; }

/* ---------------- Tables ---------------- */
.table {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.table th, .table td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.table th {
  background: var(--bg2); font-family: var(--mono); font-weight: 500;
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted);
}
.table td { color: var(--text-mid); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td, .table tr:hover td { background: rgba(0,0,0,0.015); }

/* ---------------- Badges ---------------- */
.badge {
  display: inline-block; padding: 0.15rem 0.6rem; border-radius: 100px;
  font-family: var(--mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.03em;
  background: var(--bg2); border: 1px solid var(--border-md); color: var(--text-mid);
}
.badge-ok  { background: var(--green-bg); border-color: var(--green-bd); color: #0f6b32; }
.badge-err { background: var(--red-bg); border-color: var(--red-bd); color: #a3182b; }
.badge-sev { text-transform: capitalize; }

/* ---------------- Score cards ---------------- */
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.score {
  text-align: center; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 16px; box-shadow: var(--shadow-sm);
}
.score-value {
  display: block; font-family: var(--mono); font-weight: 500;
  font-size: 2.4rem; line-height: 1; color: var(--text);
}
.score-value.good { color: var(--green); }
.score-value.warn { color: var(--amber); }
.score-value.bad  { color: var(--red); }
.score-label {
  display: block; margin-top: 0.5rem; font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}

/* ---------------- Findings ---------------- */
.findings { list-style: none; padding: 0; margin: 16px 0; }
.finding {
  background: var(--surface); border: 1px solid var(--border);
  border-left-width: 3px; border-radius: var(--radius-sm);
  padding: 16px 18px; margin: 10px 0; box-shadow: var(--shadow-sm);
}
.finding .badge { margin-right: 6px; }
.finding p { margin: 0.6rem 0 0; color: var(--text-mid); font-size: 0.95rem; }
.finding .hint { margin-top: 0.5rem; }
.sev-critical { border-left-color: var(--red); }
.sev-serious  { border-left-color: var(--red); }
.sev-moderate { border-left-color: var(--amber); }
.sev-minor    { border-left-color: var(--accent-light); }
.sev-info     { border-left-color: var(--border-md); }

/* ---------------- Teaser finding counts (Option 1: totals only) ---------- */
.finding-counts { margin-top: 20px; }
.finding-counts h2 { margin-top: 0; }
.count-grid {
  list-style: none; padding: 0; margin: 16px 0;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.count-tile {
  flex: 1 1 120px; text-align: center; background: var(--surface);
  border: 1px solid var(--border); border-left-width: 3px;
  border-radius: var(--radius-sm); padding: 16px 12px; box-shadow: var(--shadow-sm);
}
.count-tile.count-total { border-left-color: var(--accent); }
.count-tile .num {
  display: block; font-family: var(--mono); font-weight: 500;
  font-size: 2rem; line-height: 1; color: var(--text);
}
.count-tile .label {
  display: block; margin-top: 0.4rem; font-family: var(--mono);
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------------- Example report (public trust asset) ---------------- */
.preview-link { text-align: center; margin: 14px 0 0; font-family: var(--mono); font-size: 0.8rem; }
.example-note { margin-bottom: 20px; border-left: 3px solid var(--accent); }
.example-note p { margin: 0; color: var(--text-mid); }

/* ---------------- Catalogue ("wat we controleren") ---------------- */
.cat-group { margin: 32px 0; }
.cat-group > h2 { display: flex; align-items: baseline; gap: 10px; }
.cat-group > h2 .count { font-family: var(--mono); font-size: 0.8rem; font-weight: 400; color: var(--text-muted); }
.checks-list { list-style: none; padding: 0; margin: 12px 0; }
.check {
  background: var(--surface); border: 1px solid var(--border);
  border-left-width: 3px; border-radius: var(--radius-sm);
  padding: 16px 18px; margin: 8px 0; box-shadow: var(--shadow-sm);
}
.check-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.check-head h3 { margin: 0; font-size: 1rem; }
.check code { font-size: 0.78rem; color: var(--text-muted); background: var(--bg2); padding: 0.1rem 0.4rem; border-radius: 5px; }
.check p { margin: 0.5rem 0 0; color: var(--text-mid); font-size: 0.92rem; }
.check .fix { margin-top: 0.5rem; font-size: 0.88rem; color: var(--text-muted); }
.check .fix b { color: var(--text-mid); font-weight: 600; }
.pill-profile { margin-left: auto; }

/* ---------------- Misc ---------------- */
.txt-record {
  display: block; background: var(--bg2); border: 1px dashed var(--border-md);
  border-radius: var(--radius-sm); padding: 0.9rem 1rem; overflow-x: auto;
  user-select: all; font-size: 0.9rem; margin: 0.6rem 0;
}
pre.txt-record { white-space: pre-wrap; word-break: break-all; }
.verify-help { margin: 0.8rem 0; }
.verify-help summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.provider-list { margin: 0.7rem 0 0; padding-left: 1.1rem; color: var(--text-mid); font-size: 0.9rem; }
.provider-list li { margin: 0.45rem 0; }
.price { font-family: var(--mono); font-weight: 500; font-size: 2.6rem; color: var(--text); margin: 0.3rem 0; }
.price-period { font-size: 1rem; color: var(--text-muted); }
.pricing-card ul { margin: 1rem 0; padding-left: 1.2rem; color: var(--text-mid); }
.pricing-card li { margin: 0.4rem 0; }
.recovery-codes { columns: 2; list-style: none; padding: 0; font-family: var(--mono); }
.recovery-codes li { margin: 6px 0; }
.qr { text-align: center; }
.scan-pending { font-size: 1.15rem; font-weight: 600; }
.dots::after { content: ""; animation: dots 1.4s steps(4, end) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.cta-panel {
  background: var(--accent-bg); border: 1px solid var(--accent-bd);
  border-radius: var(--radius); padding: 28px; margin-top: 36px; text-align: center;
}
.cta-panel h2 { margin-top: 0; }
.lead-capture { margin-top: 20px; }
.lead-capture h2 { margin-top: 0; font-size: 1.15rem; }
.lead-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 14px 0 6px; }
.lead-form input[type="email"] { flex: 1 1 16rem; }
.lead-form .checkbox { flex: 1 1 100%; margin: 0; }
.lead-form .btn { flex: 0 0 auto; }
.danger-zone { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.page-head { margin: 8px 0 24px; }
.page-head .hint { font-family: var(--mono); font-size: 0.78rem; }
section + section { margin-top: 8px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ================ Landing / marketing sections ================
   Ported from re-sync.nl's conversion layout. Everything here is pure CSS
   (CSP-safe): the FAQ uses <details>, no inline styles or scripts. */

/* Full-bleed band: breaks out of main.container to span the viewport, then
   re-constrains its content with .bleed-inner. Needs body { overflow-x: clip }. */
.bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.bleed-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section-band { padding: 56px 0; }
.section-band.tint { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 44rem; margin: 0 0 2.2rem; }
.more-link { margin-top: 1.3rem; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 0.7rem; }
.section-lead { color: var(--text-mid); margin: 0; }

/* Pulsing accent dot (hero tag + availability) */
.hero-tag-dot, .slot-dot { animation: pulse 1.9s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.78); } }

/* Hero reassurance row + credential badges */
.reassurance { display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; margin: 0 0 1.5rem; }
.reassurance-item { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.05em; color: var(--text-muted); }
.reassurance-item .check { color: var(--green); }
.hero-certs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cert {
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.06em;
  color: var(--text-muted); border: 1px solid var(--border-md);
  padding: 0.3rem 0.7rem; border-radius: 6px; background: var(--surface);
  text-decoration: none; transition: border-color 0.18s, color 0.18s;
}
a.cert:hover { border-color: var(--accent-bd); color: var(--accent); text-decoration: none; }

/* Trust strip */
.trust-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.3rem; max-width: var(--maxw); margin: 0 auto; padding: 1.05rem 24px; }
.trust-item { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.05em; color: var(--text-muted); white-space: nowrap; }
.trust-item svg { width: 14px; height: 14px; color: var(--accent); flex: none; }
.trust-divider { width: 1px; height: 16px; background: var(--border-md); }

/* Stat / loss-aversion cards */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.stat-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--border-md); }
.stat-card.danger::before { background: var(--red); }
.stat-card.info::before   { background: var(--accent); }
.stat-card.good::before   { background: var(--green); }
.stat-big { font-family: var(--sans); font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.5rem; color: var(--text); }
.stat-big span { font-size: 1rem; font-weight: 600; }
.stat-card.danger .stat-big { color: var(--red); }
.stat-card.info .stat-big   { color: var(--accent); }
.stat-desc { color: var(--text-mid); font-size: 0.92rem; margin: 0 0 0.6rem; }
.stat-source { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.04em; color: var(--text-muted); margin: 0; }

/* How it works — numbered steps */
.steps { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); counter-reset: steps; box-shadow: var(--shadow-sm); }
.step { display: grid; grid-template-columns: 76px 1fr auto; align-items: stretch; border-bottom: 1px solid var(--border); counter-increment: steps; }
.step:last-child { border-bottom: 0; }
.step-num { display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 0.72rem; color: var(--text-muted); border-right: 1px solid var(--border); }
.step-num::before { content: counter(steps, decimal-leading-zero); }
.step-body { padding: 1.4rem 1.6rem; }
.step-body h3 { font-size: 1rem; margin: 0 0 0.25rem; }
.step-body p { margin: 0; font-size: 0.9rem; color: var(--text-mid); }
.step-time { display: flex; align-items: center; padding: 1.4rem 1.4rem 1.4rem 0; }
.time-tag { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.06em; color: var(--accent); background: var(--accent-bg); border: 1px solid var(--accent-bd); padding: 0.25rem 0.6rem; border-radius: 5px; white-space: nowrap; }

/* Comparison — annual pentest vs continuous */
.compare-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-card { border-radius: var(--radius); padding: 26px; border: 1px solid var(--border); background: var(--surface); }
.compare-card.them { background: var(--bg2); }
.compare-card.us { border-color: var(--accent-bd); box-shadow: 0 0 0 1px var(--accent-bd), 0 8px 32px rgba(26, 63, 255, 0.07); }
.compare-head { font-weight: 700; font-size: 1.05rem; margin: 0 0 1.2rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.5rem; }
.compare-card.us .compare-head { color: var(--accent); border-color: var(--accent-bd); }
.compare-card.them .compare-head { color: var(--text-muted); }
.compare-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.compare-list li { display: flex; gap: 0.6rem; font-size: 0.9rem; line-height: 1.5; }
.compare-card.them li { color: var(--text-muted); }
.compare-card.us li { color: var(--text-mid); }
.ci-icon { flex: none; font-family: var(--mono); font-size: 0.8rem; margin-top: 0.05rem; }
.compare-card.them .ci-icon { color: var(--red); }
.compare-card.us .ci-icon { color: var(--green); }

/* FAQ accordion (native <details>) */
.faq-list { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { font-weight: 700; font-size: 0.98rem; padding: 1.25rem 1.5rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: background 0.12s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--mono); font-size: 1.1rem; color: var(--accent); flex: none; }
.faq-item[open] summary { background: var(--bg); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer { padding: 0 1.5rem 1.3rem; color: var(--text-mid); font-size: 0.92rem; line-height: 1.7; }
.faq-answer p { margin: 0 0 0.6rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* Dark final CTA */
.final-cta { background: var(--ink); color: #fff; }
.final-cta-inner { max-width: 720px; margin: 0 auto; text-align: center; padding: 5rem 24px; }
.final-cta .eyebrow { color: rgba(255, 255, 255, 0.45); }
.final-cta-title { font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; margin: 0 0 1.1rem; color: #fff; }
.final-cta-sub { color: rgba(255, 255, 255, 0.68); margin: 0 auto 2rem; max-width: 34rem; }
.slots-indicator { display: inline-flex; align-items: center; gap: 0.55rem; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 100px; padding: 0.5rem 1.1rem; margin-bottom: 2rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.82); }
.slot-dot { width: 6px; height: 6px; background: #4ade80; border-radius: 50%; flex: none; }
.final-cta-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.8rem; }
.final-reassurance { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.final-reassurance span { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.5); display: inline-flex; align-items: center; gap: 0.4rem; }
.final-reassurance .check { color: #4ade80; }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }
.btn-outline-white:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.06); color: #fff; }

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-preview { display: none; }
  .hero { padding: 44px 0 24px; }
  .stat-grid { grid-template-columns: 1fr; }
  .compare-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { height: auto; flex-wrap: wrap; padding: 10px 0; gap: 8px; }
  .nav-links { width: 100%; justify-content: center; flex-wrap: wrap; gap: 4px; }
  .nav-menu { flex: 1; justify-content: space-between; }
  .nav-menu a { padding: 0.4rem 0.5rem; }
  .scan-form { flex-direction: column; }
  .scan-form .btn { text-align: center; }
  .scores { grid-template-columns: 1fr; }
  .band { padding: 40px 24px; }
  .container { padding: 0 18px; }
  main.container { padding-top: 24px; }
  .table { display: block; overflow-x: auto; white-space: nowrap; }
  .bleed-inner, .trust-inner { padding-left: 18px; padding-right: 18px; }
  .section-band { padding: 40px 0; }
  .trust-divider { display: none; }
  .step { grid-template-columns: 52px 1fr; }
  .step-num { grid-row: 1 / -1; }
  .step-body { grid-column: 2; }
  .step-time { grid-column: 2; padding: 0 1.6rem 1.4rem; }
  .final-cta-inner { padding: 3.5rem 18px; }
  .final-reassurance { gap: 0.4rem 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; padding: 2.5rem 18px 1.25rem; }
  .footer-brand-col { grid-column: 1 / -1; max-width: none; }
  .footer-bottom { padding: 1.25rem 18px; }
}

/* ---------------- Motion preferences ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Reconciled from local: per-domain pricing, feature accents,
   trust rows and billing form rows (blue-accent consumer look).
   ============================================================ */

/* Colour-code the feature cards by category (left accent + kicker colour). */
.feature-security { border-left: 3px solid var(--accent); }
.feature-security .kicker { color: var(--accent); }
.feature-email    { border-left: 3px solid #7c3aed; }
.feature-email .kicker { color: #7c3aed; }
.feature-a11y     { border-left: 3px solid var(--green); }
.feature-a11y .kicker { color: var(--green); }
.feature-seo      { border-left: 3px solid var(--amber); }
.feature-seo .kicker { color: var(--amber); }

/* Reassurance / trust row (mono, muted — used under pricing + teaser CTA). */
.trust-row {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.02em;
  color: var(--text-muted); margin: 0.9rem 0 0.4rem;
}
.trust-row .check { color: var(--green); font-weight: 700; }
.center-cta { text-align: center; margin: 26px 0 6px; }

/* Pricing plan grid + cards (per-domain model). */
.plan-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px; margin: 24px 0;
}
.plan-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
.plan-card-featured { border-color: var(--accent-bd); box-shadow: 0 6px 26px rgba(26,63,255,0.10); }
.plan-card-custom { background: var(--bg2); }
.plan-card h2, .plan-card h3 { margin: 0 0 0.3rem; font-size: 1.2rem; }
.plan-card .price { font-size: 2rem; margin: 0.2rem 0 0; }
.plan-card p { color: var(--text-mid); font-size: 0.92rem; }
.plan-tag {
  position: absolute; top: -11px; right: 16px;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em;
  text-transform: uppercase; background: var(--accent); color: #fff;
  padding: 0.25rem 0.6rem; border-radius: 100px;
}
.price-sub { font-size: 0.8rem; color: var(--text-muted); margin: 0.2rem 0 0.8rem; }
.field-row { margin: 0.6rem 0; }
.field-row label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.2rem; }
