/* plugins.safetybis.com. Colours from safetybis.com (logo A). System fonts: no requests to other servers. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --wash: #f2f8f4;
  --ink: #0a0f0b;
  --muted: #5b6a60;
  --line: #dce6df;
  --accent: #0a7d37;
  --accent-ink: #ffffff;
  --neon: #00c853;
  --shield: #0a0f0b;
  --high: #b3261e;
  --high-bg: #fdecea;
  --med: #8a5a00;
  --med-bg: #fff4dc;
  --low: #4b5750;
  --low-bg: #eef2ef;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 15, 11, 0.06), 0 6px 18px rgba(10, 15, 11, 0.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #060a08;
    --surface: #0b120e;
    --wash: #0a1510;
    --ink: #dcf5e6;
    --muted: #8fa89a;
    --line: #1c2b22;
    --accent: #39e07a;
    --accent-ink: #04140a;
    --neon: #39ff88;
    --high: #ff8a80;
    --high-bg: #2a1210;
    --med: #ffd36b;
    --med-bg: #2a2110;
    --low: #b8c7bd;
    --low-bg: #16211b;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font);
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--surface); padding: 8px 12px; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; }
.brand b { color: var(--accent); font-weight: 700; }
.nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--accent); }
.langs { display: flex; gap: 2px; }
.langs a { font-size: 13px; font-weight: 600; text-decoration: none; color: var(--muted); padding: 4px 6px; border-radius: 6px; }
.langs a.on { color: var(--accent-ink); background: var(--accent); }
@media (max-width: 860px) {
  .nav { display: none; }
  .langs { margin-left: auto; }
}

.suggest { background: var(--wash); border-bottom: 1px solid var(--line); font-size: 15px; }
.suggest .wrap { display: flex; gap: 12px; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.suggest button { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--line);
  color: var(--ink); background: var(--surface); text-decoration: none; font-weight: 600; font-size: 16px;
  cursor: pointer; font-family: inherit;
}
.btn:hover { border-color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--wash), var(--bg)); }
.hero-in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; }
.lead { font-size: 19px; color: var(--muted); }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.mock-row { display: flex; gap: 10px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.mock-row:last-of-type { border-bottom: 0; }
.mock-row b { font-family: var(--mono); font-weight: 500; font-size: 13px; word-break: break-all; }
.pill { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.pill-high { color: var(--high); background: var(--high-bg); }
.pill-med { color: var(--med); background: var(--med-bg); }
.pill-low { color: var(--low); background: var(--low-bg); }
.mock-bar { height: 8px; background: var(--low-bg); border-radius: 4px; margin-top: 12px; overflow: hidden; }
.mock-bar span { display: block; width: 72%; height: 100%; background: var(--neon); }
@media (max-width: 860px) {
  .hero { padding: 40px 0; }
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
}

/* Sections */
.band { padding: 64px 0; }
.band-wash { background: var(--wash); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 24px 0; }
.small-cards { margin-top: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--muted); }
.card-main { box-shadow: var(--shadow); }
.ico { display: inline-flex; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; background: var(--wash); color: var(--accent); margin-bottom: 12px; }
.small-cards .card h3 { font-size: 17px; }
.small-cards .card p { font-size: 15px; }
@media (max-width: 860px) {
  .band { padding: 44px 0; }
  .grid3, .grid2 { grid-template-columns: 1fr; }
}

.steps { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps p { margin: 0; color: var(--muted); }
.num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; align-items: center; justify-content: center; margin-bottom: 10px; }
.note { font-weight: 600; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* Form */
.form { display: grid; gap: 14px; margin-top: 20px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px;
  font: 16px/1.4 var(--font); background: var(--surface); color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { margin-top: 5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { padding: 12px 14px; border-radius: 10px; }
.msg-ok { background: var(--wash); border: 1px solid var(--accent); }
.msg-err { background: var(--high-bg); border: 1px solid var(--high); }
[hidden] { display: none !important; }

/* Legal */
.legal h2 { font-size: 22px; margin-top: 1.6em; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0; }
.foot-in { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.foot .brand { font-size: 17px; }

/* Anchors land below the sticky header; on narrow screens the header scrolls away. */
section[id] { scroll-margin-top: 80px; }
@media (max-width: 860px) {
  .top { position: static; }
  section[id] { scroll-margin-top: 0; }
}

/* Cookie notice: Accept and Decline look the same (GDPR: refusing is as easy as accepting). */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(10, 15, 11, 0.08);
  font-size: 15px;
}
.consent-in { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.consent p { margin: 0; flex: 1 1 320px; }
.consent-btns { display: flex; gap: 10px; }
.consent-btns .btn { padding: 9px 18px; font-size: 15px; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; }
