/* SecurityPro.be — landing page
   Ported from the "Securitypro Landing" design canvas.
   Design tokens and layout values are kept close to the source artboard. */

/* Self-hosted Inter (Latin subset only — NL/FR/EN copy needs no other range), a
   single variable-font file covering the whole 300–800 weight range used on this
   page. Was: Google Fonts CDN link (US data transfer on every visit, contradicted
   the "Hosted in the EU" trust claim). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #1E6FD9;
  --primary-hover: #3D8EF5;
  --ink: #1a2540;
  --ink-strong: #0B1629;
  --muted: #55637d;
  /* Darkened from the original #7a8aaa (design canvas value) — that failed WCAG AA
     (3.15:1–3.47:1) at the small sizes (12–15px) it's actually used at across nav,
     forms, and the modal; needs 4.5:1 as normal text. This clears 4.5:1 on both
     white and --wash with headroom (4.51–4.98:1). */
  --faint: #63708a;
  --line: #e8edf6;
  --line-2: #e2e8f4;
  --wash: #F0F4FA;
  --navy: linear-gradient(170deg, #0B1629 0%, #12294c 55%, #0B1629 100%);
  --shell-max: 1120px;
  --ok-bg: #e8f6ee;
  --ok-fg: #1c7a48;
  --soon-bg: #fdeede;
  --soon-fg: #b5701e;
  --danger: #c2371f;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #fff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); text-decoration: underline; }
input, button { font-family: inherit; }
img { max-width: 100%; display: block; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.shell { max-width: var(--shell-max); margin: 0 auto; padding: 0 32px; width: 100%; }

/* ---------- keyframes ---------- */
@keyframes radar-sweep { to { transform: rotate(360deg); } }
@keyframes k-tilt  { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes k-sniff { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(2px) rotate(3deg); } }
@keyframes k-bark  { 0%, 70%, 100% { transform: scale(1); } 78% { transform: scale(1.11); } 86% { transform: scale(0.97); } }
@keyframes k-ping  { 0% { transform: scale(0.9); opacity: .55; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes k-alertdot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .75; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 11px; font-weight: 700; font-size: 15px; line-height: 1;
  padding: 14px 26px; border: 1px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 24px rgba(30,111,217,0.42); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.85); padding: 14px 22px; font-weight: 600; }
.btn-ghost:hover { background: rgba(255,255,255,0.07); color: #fff; }
.btn-sm { padding: 9px 18px; border-radius: 9px; font-size: 14px; font-weight: 600; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo {
  width: 36px; height: 36px; background: var(--primary); border-radius: 9px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: -0.5px; }
.brand-name span { color: var(--primary); }
.header-right { display: flex; align-items: center; gap: 20px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--primary); text-decoration: none; }

.lang-toggle { display: flex; gap: 2px; padding: 3px; background: var(--wash); border-radius: 9px; }
.lang-toggle button {
  padding: 5px 10px; border-radius: 7px; border: none; cursor: pointer;
  font-size: 12px; font-weight: 700; letter-spacing: 0.3px;
  background: transparent; color: var(--faint);
  transition: background .15s, color .15s;
}
.lang-toggle button.is-active {
  background: #fff; color: var(--primary); box-shadow: 0 1px 3px rgba(16,33,65,0.12);
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero-glow {
  position: absolute; top: -180px; right: -120px; width: 620px; height: 620px;
  border-radius: 50%; background: rgba(30,111,217,0.22); filter: blur(110px); pointer-events: none;
}
.hero-inner {
  /* Inline padding comes from .shell so it stays in sync with the page gutter
     (incl. the mobile override); only the block padding is set here. */
  position: relative; padding-block: 92px 88px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px 6px 8px;
  border-radius: 30px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  margin-bottom: 26px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.82); letter-spacing: 0.2px;
}
.radar {
  position: relative; width: 22px; height: 22px; border-radius: 50%; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(61,142,245,0.18); flex-shrink: 0;
}
.radar::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(61,142,245,0.55) 0deg, transparent 70deg, transparent 360deg);
  animation: radar-sweep 2.4s linear infinite;
}
.radar svg { position: relative; }
.hero h1 {
  font-size: 50px; line-height: 1.08; font-weight: 800; color: #fff;
  letter-spacing: -1.6px; text-wrap: balance; margin-bottom: 20px;
}
.hero-body {
  font-size: 17.5px; line-height: 1.6; color: rgba(255,255,255,0.62);
  max-width: 520px; text-wrap: pretty; margin-bottom: 32px;
}
.hero-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.fact-value { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -0.6px; }
.fact-label { font-size: 12.5px; color: rgba(255,255,255,0.5); margin-top: 2px; }

.hero-card {
  position: relative;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px; padding: 14px; box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.browser-dots { display: flex; gap: 6px; padding: 0 4px 12px; }
.browser-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.gallery { position: relative; outline: none; border-radius: 14px; }
.gallery:focus-visible { box-shadow: 0 0 0 2px rgba(125,178,255,0.7); }
.media-slot {
  position: relative; width: 100%; border-radius: 11px; overflow: hidden; background: #0f1e35;
}
.media-slot.dashboard { aspect-ratio: 16 / 10; }
.media-slot > span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 500; text-align: center; padding: 16px;
}
.media-slot picture { display: contents; }
.media-slot img {
  position: relative; z-index: 1; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}
.gallery-arrow {
  position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 32px; height: 32px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.16); background: rgba(11,22,41,0.65);
  color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer;
  backdrop-filter: blur(3px); transition: background 0.15s, border-color 0.15s;
}
.gallery-arrow:hover { background: rgba(11,22,41,0.9); border-color: rgba(255,255,255,0.32); }
.gallery-arrow.prev { left: 10px; }
.gallery-arrow.next { right: 10px; }
.gallery-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 6px 2px; }
.gallery-caption { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.55); }
.gallery-dots { display: flex; gap: 7px; flex-shrink: 0; }
.gallery-dot {
  width: 7px; height: 7px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255,255,255,0.2); cursor: pointer; transition: background 0.15s, transform 0.15s;
}
.gallery-dot:hover { background: rgba(255,255,255,0.4); }
.gallery-dot.is-active { background: #7fb2ff; transform: scale(1.2); }

/* ---------- trust bar ---------- */
.trust { background: #fff; border-bottom: 1px solid #eef2f8; }
.trust-inner { padding-block: 26px; display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.trust-mark { width: 16px; height: 16px; flex-shrink: 0; display: inline-flex; }
.trust-mark.is-flag {
  width: 20px; height: 14px; border-radius: 2px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(16,33,65,0.12);
}

/* ---------- shared section bits ---------- */
.section { padding: 88px 0; }
.section.wash { background: var(--wash); }
.section.white { background: #fff; }
.kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
}
.section-title { font-size: 34px; font-weight: 800; letter-spacing: -1px; text-wrap: balance; margin-bottom: 14px; }
.section-lead { font-size: 16px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.section-head { max-width: 620px; margin-bottom: 44px; }

/* ---------- risk ---------- */
.risk-grid { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: start; }
.risk-lead { max-width: 540px; margin-bottom: 26px; }
.chart-card { background: var(--wash); border: 1px solid var(--line-2); border-radius: 14px; padding: 22px 24px; }
.chart-title {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.9px; text-transform: uppercase;
  color: var(--faint); margin-bottom: 16px;
}
.chart-bars { display: flex; align-items: flex-end; gap: 26px; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.bar-col .val { font-size: 15px; font-weight: 800; color: var(--faint); }
.bar-col.hot .val { color: var(--primary); }
.bar { width: 54px; border-radius: 7px 7px 3px 3px; background: #c9d8f0; }
.bar.small { height: 26px; }
.bar.big { height: 96px; background: linear-gradient(180deg, #3D8EF5, #1E6FD9); }
.bar-col .yr { font-size: 12.5px; font-weight: 600; color: var(--faint); }
.bar-col.hot .yr { color: var(--ink-strong); }
.chart-note { font-size: 14px; line-height: 1.6; color: var(--muted); text-wrap: pretty; margin-top: 16px; }

.stat-card { background: var(--ink-strong); border-radius: 18px; padding: 28px; box-shadow: 0 12px 40px rgba(11,22,41,0.18); }
.stat-card .stat-kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.9px; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 10px;
}
.stat-card .big-num { font-size: 44px; font-weight: 800; letter-spacing: -1.6px; color: #fff; line-height: 1; }
.stat-card .mid-num { font-size: 26px; font-weight: 800; letter-spacing: -0.8px; color: #fff; line-height: 1; }
.stat-card p { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,0.72); text-wrap: pretty; }
.stat-card p.small { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,0.66); }
.stat-card .dot-label { margin: 10px 0 20px; }
.stat-card .tick-label { margin: 7px 0 12px; }
.dot-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.dot { aspect-ratio: 1; border-radius: 3px; background: rgba(255,255,255,0.12); }
.dot.is-hit { background: var(--primary-hover); }
.stat-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 22px 0; }
.tick-row { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.tick { flex: 1; height: 100%; border-radius: 2px; background: linear-gradient(180deg, rgba(61,142,245,0.85), rgba(61,142,245,0.3)); }

.risk-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.risk-fact { background: var(--wash); border: 1px solid var(--line-2); border-radius: 13px; padding: 20px; }
.risk-fact .val { font-size: 22px; font-weight: 800; letter-spacing: -0.6px; color: var(--ink-strong); margin-bottom: 6px; text-wrap: balance; }
.risk-fact .label { font-size: 13.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.sources { font-size: 12px; color: #8b98ae; margin-top: 14px; }

/* ---------- offer ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.offer-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px;
  box-shadow: 0 1px 2px rgba(16,33,65,0.04), 0 6px 20px rgba(16,33,65,0.05);
  display: flex; gap: 16px; transition: border-color .15s;
}
.offer-card:hover { border-color: #c9d8f0; }
.offer-icon {
  width: 42px; height: 42px; border-radius: 11px; background: rgba(30,111,217,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.offer-body { flex: 1; min-width: 0; }
.offer-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; flex-wrap: wrap; }
.offer-title-row .name { font-size: 16px; font-weight: 700; letter-spacing: -0.2px; }
.offer-card p { font-size: 14px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 20px;
}
.badge.is-live { background: var(--ok-bg); color: var(--ok-fg); }
.badge.is-soon { background: var(--soon-bg); color: var(--soon-fg); }
.offer-soon {
  margin-top: 20px; padding: 18px 24px; border: 1px dashed #c9d8f0; border-radius: 14px;
  display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.6);
  font-size: 13.5px; color: var(--muted);
}
.offer-soon svg { flex-shrink: 0; }

/* ---------- how ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.step-icon {
  position: relative; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(30,111,217,0.1); display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.step-icon.is-scan::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(30,111,217,0.32) 0deg, transparent 70deg, transparent 360deg);
  animation: radar-sweep 2.4s linear infinite;
}
.step-icon.is-scan::after {
  content: ""; position: absolute; inset: 22px; border-radius: 50%;
  border: 2px solid var(--primary); opacity: 0; animation: k-ping 2.4s ease-out infinite;
}
.step-dog { position: relative; transform-origin: 50% 78%; }
.step-dog.tilt  { animation: k-tilt 3s ease-in-out infinite; }
.step-dog.sniff { animation: k-sniff 2.4s ease-in-out infinite; }
.step-dog.bark  { animation: k-bark 2.6s ease-in-out infinite; }
.alert-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #d94a3d;
  margin-left: -22px; margin-top: -26px; animation: k-alertdot 1.4s ease-in-out infinite;
}
.step-num {
  width: 30px; height: 30px; border-radius: 9px; background: var(--ink-strong); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex-shrink: 0;
}
.step-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.3px; }
.step p { font-size: 14.5px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.chips { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 20px;
  background: var(--wash); border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; color: var(--muted);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #37995f; }

/* ---------- beta ---------- */
.beta { background: var(--navy); }
.beta-grid { padding-block: 80px; display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center; }
.beta-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 30px;
  background: rgba(61,142,245,0.16); border: 1px solid rgba(61,142,245,0.3); margin-bottom: 20px;
}
.beta-badge span.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary-hover); }
.beta-badge span.txt { font-size: 12px; font-weight: 700; color: #7fb2ff; letter-spacing: 0.4px; text-transform: uppercase; }
.beta h2 { font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 14px; text-wrap: balance; }
.beta-lead { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,0.6); max-width: 460px; text-wrap: pretty; margin-bottom: 24px; }
.beta-perks { display: flex; flex-direction: column; gap: 11px; }
.perk { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,0.8); }
.perk svg { flex-shrink: 0; }
.mascot-card {
  display: flex; align-items: center; gap: 18px; margin-top: 32px; padding: 18px 22px 18px 18px;
  border-radius: 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); max-width: 460px;
}
.mascot-ring {
  position: relative; width: 76px; height: 76px; border-radius: 50%; background: rgba(61,142,245,0.16);
  display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
}
.mascot-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(61,142,245,0.5) 0deg, transparent 70deg, transparent 360deg);
  animation: radar-sweep 2.4s linear infinite;
}
.mascot-ring svg { position: relative; }
.mascot-card p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.72); text-wrap: pretty; }

.form-card { background: #fff; border-radius: 18px; padding: 30px; box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.form-title { font-size: 19px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 6px; }
.form-sub { font-size: 13.5px; color: var(--faint); margin-bottom: 22px; }
.form-fields { display: flex; flex-direction: column; gap: 16px; }
.field label { display: block; }
.field .field-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.input {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2);
  font-size: 14.5px; color: var(--ink); background: #fafcff; outline: none;
}
.input:focus { border-color: var(--primary); }
.input.has-error { border-color: var(--danger); }
.field-error { display: block; font-size: 12px; color: var(--danger); margin-top: 6px; font-weight: 500; }
.onboarding-row {
  display: flex; align-items: flex-start; gap: 11px; width: 100%; text-align: left;
  padding: 13px 14px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--line-2); background: #fafcff;
  transition: background .15s, border-color .15s;
}
.onboarding-row.is-on { border-color: var(--primary); background: rgba(30,111,217,0.06); }
.onboarding-box {
  width: 19px; height: 19px; border-radius: 6px; flex-shrink: 0; margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid #c9d4e6; background: #fff; transition: background .15s, border-color .15s;
}
.onboarding-row.is-on .onboarding-box,
.consent-row.is-on .onboarding-box { border-color: var(--primary); background: var(--primary); }
.onboarding-text .t1 { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.onboarding-text .t2 { display: block; font-size: 12.5px; line-height: 1.5; color: var(--faint); margin-top: 3px; }
.consent-row { display: flex; align-items: flex-start; gap: 11px; width: 100%; }
.consent-row .onboarding-box { cursor: pointer; padding: 0; position: relative; }
/* The row isn't a button like .onboarding-row (it has a nested link, and buttons
   can't nest), so extend the box's hit area past its 19px visual for a
   finger-sized target; the label text is a separate, equally clickable hit area. */
.consent-row .onboarding-box::after { content: ""; position: absolute; inset: -14px -10px -14px -14px; }
.consent-row.has-error .onboarding-box { border-color: var(--danger); }
.consent-row .onboarding-text { cursor: pointer; }
.consent-row .onboarding-text .t1 { font-weight: 500; font-size: 13px; line-height: 1.5; color: var(--muted); }
.consent-link {
  background: transparent; border: none; padding: 0; cursor: pointer; font: inherit;
  color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px;
}
.consent-link:hover { color: var(--primary-hover); }
.form-submit {
  width: 100%; padding: 14px; border-radius: 11px; border: none; background: var(--primary);
  color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 16px rgba(30,111,217,0.32);
  transition: background .15s;
}
.form-submit:hover { background: var(--primary-hover); }
.form-submit:disabled { opacity: 0.65; cursor: progress; }
.form-neterror {
  font-size: 12.5px; line-height: 1.5; color: var(--danger);
  background: #fdece8; border: 1px solid #f4c7bd; border-radius: 10px; padding: 10px 12px;
}
/* Honeypot — visually and semantically hidden, still submitted by bots. */
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}
.form-legal { font-size: 11.5px; line-height: 1.55; color: #9aa7bd; text-align: center; text-wrap: pretty; }
.form-done { text-align: center; padding: 22px 8px; }
.form-done .check {
  width: 62px; height: 62px; border-radius: 50%; background: #e8f6ee;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.form-done .done-title { font-size: 19px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 8px; }
.form-done p { font-size: 14.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* ---------- author ---------- */
.author-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px;
  display: grid; grid-template-columns: 168px 1fr; gap: 36px; align-items: start;
  box-shadow: 0 1px 2px rgba(16,33,65,0.04), 0 8px 28px rgba(16,33,65,0.06);
}
.author-photo {
  position: relative; width: 168px; height: 196px; border-radius: 16px; overflow: hidden;
  background: var(--wash);
}
.author-photo span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--faint); font-size: 12px; text-align: center; padding: 12px;
}
.author-photo img {
  position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover;
}
.author-name { font-size: 24px; font-weight: 800; letter-spacing: -0.7px; }
.author-role { font-size: 14.5px; font-weight: 600; color: var(--primary); margin-top: 3px; margin-bottom: 16px; }
.author-bio { font-size: 15.5px; line-height: 1.7; color: var(--muted); max-width: 620px; text-wrap: pretty; margin-bottom: 22px; }
.author-links { display: flex; gap: 10px; flex-wrap: wrap; }
.author-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 9px;
  border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.author-links a:hover { background: #f5f8ff; border-color: #c9d8f0; color: var(--ink); text-decoration: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-strong); padding: 40px 0; margin-top: auto; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-logo {
  width: 30px; height: 30px; background: rgba(255,255,255,0.09); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.footer-brand .name { font-size: 14px; font-weight: 700; color: #fff; }
.footer-brand .name span { color: var(--primary-hover); }
.footer-brand .tag { font-size: 11.5px; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-links button {
  background: transparent; border: none; padding: 0; cursor: pointer;
  font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.62);
  text-decoration: underline; text-underline-offset: 3px;
}
.footer-links button:hover, .footer-links a:hover { color: #fff; }
.footer-links a { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.62); text-decoration: none; }
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,0.5); }

/* ---------- privacy modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(11,22,41,0.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 32px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: #fff; border-radius: 18px; width: 100%; max-width: 760px; max-height: 86vh;
  display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0,0,0,0.4); overflow: hidden;
}
.modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 28px 32px 20px; border-bottom: 1px solid #eef2f8;
}
.modal-head .title { font-size: 22px; font-weight: 800; letter-spacing: -0.6px; }
.modal-head .updated { font-size: 13px; color: var(--faint); margin-top: 4px; }
.modal-close {
  width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); background: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--faint);
}
.modal-close:hover { background: #f5f8ff; color: var(--ink); }
.modal-body { padding: 26px 32px 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 22px; }
/* tabindex="0" so keyboard users can reach and scroll this — it's otherwise the
   only way to read past the fold, since nothing inside it is itself focusable. */
.modal-body:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.modal-body > p { font-size: 14.5px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.privacy-section .h { font-size: 15px; font-weight: 700; margin-bottom: 7px; letter-spacing: -0.2px; }
.privacy-section p { font-size: 14.5px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.privacy-contact { padding: 16px 18px; border-radius: 12px; background: var(--wash); font-size: 13.5px; line-height: 1.65; color: var(--muted); }

/* ---------- accessibility ---------- */
.skip-link {
  position: absolute; top: -48px; left: 12px; z-index: 200;
  background: var(--primary); color: #fff; font-size: 14px; font-weight: 700;
  padding: 12px 18px; border-radius: 0 0 8px 8px; text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* .gallery has its own box-shadow ring (it isn't a, button, input, etc. — a div
   with tabindex — so it's untouched by the rule below); this covers every real
   interactive element. */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Dark-background sections need a lighter ring — var(--primary) doesn't clear
   contrast against navy. */
.hero :focus-visible, .mascot-card :focus-visible, .stat-card :focus-visible,
.site-footer :focus-visible {
  outline-color: #7fb2ff;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-block: 72px 64px; }
  .hero h1 { font-size: 40px; letter-spacing: -1.2px; }
  .risk-grid { grid-template-columns: 1fr; gap: 32px; }
  .risk-facts { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .beta-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 64px; }
  .author-card { grid-template-columns: 1fr; gap: 24px; }
  .author-photo { width: 100%; height: 220px; }
}

@media (max-width: 720px) {
  /* Only the inline gutter — the vertical padding of .shell-classed wrappers
     (.hero-inner, .beta-grid, .trust-inner) is theirs to set. */
  .shell { padding-inline: 20px; }
  .nav { display: none; }
  /* The header CTA doesn't fit next to the brand + language toggle on a phone;
     the hero has a prominent one right below, plus the whole #beta section. */
  .header-right .btn-sm { display: none; }
  .header-right { gap: 12px; }
  .section { padding: 64px 0; }
  .section-title, .beta h2 { font-size: 28px; }
  /* Top pad clears the 68px sticky header when the hero is scrolled to (e.g. the
     #top anchor), so the badge is never tucked under it. */
  .hero-inner { padding-block: 80px 60px; }
  .hero h1 { font-size: 33px; letter-spacing: -1px; }
  .hero-body { font-size: 16px; }
  .hero-cta-row { gap: 12px; }
  .hero-cta-row .btn { width: 100%; }
  .hero-facts { gap: 18px 26px; margin-top: 28px; }
  .trust-inner { gap: 14px 28px; }
  .stat-card { padding: 22px; }
  .chart-card { padding: 20px 18px; }
  .form-card { padding: 24px 20px; }
  .author-card { padding: 28px 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Privacy modal: a phone can't spare the 32px overlay inset + 32px inner pad. */
  .modal-overlay { padding: 16px; }
  .modal-head { padding: 22px 20px 16px; }
  .modal-body { padding: 22px 20px 26px; }
  .modal-head .title { font-size: 20px; }
}

@media (max-width: 400px) {
  .shell { padding-inline: 16px; }
  /* Brand + language toggle have to co-exist down to ~320px. */
  .header-inner { gap: 12px; }
  .lang-toggle button { padding: 5px 8px; }
  .hero h1 { font-size: 29px; }
  .section-title, .beta h2 { font-size: 25px; }
  .stat-card .big-num { font-size: 37px; }
  .stat-card .mid-num { font-size: 23px; }
}
