/* Online Securitys — shared styles */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  --text-hero: clamp(2.5rem, 1rem + 4.5vw, 4.75rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  --ink: #0f1a24;
  --ink-2: #1b2a37;
  --paper: #f5f3ee;
  --surface: #fbfaf7;
  --line: #dcd8cf;
  --muted: #5b6670;
  --text: #16212b;
  --accent: #e2531d;       /* signal orange — CTAs only */
  --accent-hover: #c4430f;
  --ok: #2f7d5b;
  --warn: #b7791f;
  --crit: #b83a3a;

  --radius: 6px;
  --maxw: 1180px;
  --font-display: 'Cabinet Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Satoshi', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--text-base);
  line-height: 1.6; color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 var(--space-4); text-wrap: balance; }
h1 { font-size: var(--text-hero); font-weight: 800; }
h2 { font-size: var(--text-xl); font-weight: 800; }
h3 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 700; line-height: 1.3; }
p { margin: 0 0 var(--space-4); max-width: 68ch; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.eyebrow { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-3); display: block; }
.lead { font-size: var(--text-lg); color: var(--muted); line-height: 1.5; }
.section { padding-block: clamp(var(--space-12), 8vw, var(--space-24)); }
.section--line { border-top: 1px solid var(--line); }
.section--dark { background: var(--ink); color: #e7ecef; }
.section--dark .lead, .section--dark p { color: #b5c0c8; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 99; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 700 var(--text-sm)/1 var(--font-body); text-decoration: none;
  padding: 1rem 1.5rem; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s;
  min-height: 48px;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(127,127,127,.1); }
.btn--block { width: 100%; }

/* Header */
.topbar { background: var(--ink); color: #c9d2d8; font-size: var(--text-xs); }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(245,243,238,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 34px; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { text-decoration: none; font-size: var(--text-sm); font-weight: 500; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .btn { color: #fff; padding: .8rem 1.1rem; min-height: 44px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem .7rem; font: 600 var(--text-sm) var(--font-body); color: var(--ink); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); gap: 1rem; }
  .nav.open { display: flex; }
}

/* Hero */
.hero { padding-block: clamp(var(--space-12), 7vw, var(--space-20)); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; margin-block: var(--space-6) var(--space-6); }
.trust-row { display: flex; gap: 1.25rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; font-size: var(--text-xs); color: var(--muted); }
.trust-row li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Report mock card */
.report {
  background: var(--ink); color: #dfe6ea; border-radius: 10px; padding: 1.5rem;
  font-family: var(--font-mono); font-size: .8rem; box-shadow: 0 30px 60px -30px rgba(15,26,36,.55);
  position: relative;
}
.report-head { display: flex; justify-content: space-between; border-bottom: 1px solid #2c3d4b; padding-bottom: .8rem; margin-bottom: 1rem; color: #8fa1ae; }
.report-title { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
.finding { display: grid; grid-template-columns: 74px 1fr; gap: .75rem; padding: .6rem 0; border-bottom: 1px dashed #2c3d4b; align-items: start; }
.finding:last-of-type { border-bottom: 0; }
.sev { font-size: .68rem; font-weight: 700; padding: .2rem .4rem; border-radius: 3px; text-align: center; }
.sev--crit { background: var(--crit); color: #fff; }
.sev--high { background: var(--accent); color: #fff; }
.sev--med { background: var(--warn); color: #fff; }
.sev--low { background: #3a5163; color: #fff; }
.report-foot { margin-top: 1rem; display: flex; justify-content: space-between; color: #8fa1ae; }
.report-foot b { color: #7fd1a8; }
.mock-note { font-family: var(--font-body); font-size: var(--text-xs); color: var(--muted); margin-top: .75rem; }

/* Grids & cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.75rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: var(--text-sm); margin: 0; }
.card a.more { display: inline-block; margin-top: 1rem; font-weight: 700; font-size: var(--text-sm); color: var(--accent); text-decoration: none; }
.card a.more:hover { text-decoration: underline; }
.card--feature { background: var(--ink); color: #fff; border-color: var(--ink); grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.card--feature p { color: #b5c0c8; font-size: var(--text-base); }
@media (max-width: 900px) { .card--feature { grid-column: auto; } }
.icon { width: 36px; height: 36px; color: var(--accent); margin-bottom: 1rem; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: var(--space-10); flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }

/* Process steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1rem; }
.section--dark .steps li { border-color: #3a5163; }
.steps li::before { content: "0" counter(step); font-family: var(--font-mono); font-size: var(--text-xs); color: var(--accent); display: block; margin-bottom: .5rem; }
.steps h3 { font-size: var(--text-base); margin-bottom: .35rem; }
.steps p { font-size: var(--text-sm); color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.checks li { padding-left: 1.75rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border: 2px solid var(--accent); border-radius: 2px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Testimonials */
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 6px; padding: 1.5rem; }
.quote p { font-size: var(--text-base); margin-bottom: 1rem; }
.quote footer { font-size: var(--text-xs); color: var(--muted); }
.placeholder-flag { display: inline-block; font-family: var(--font-mono); font-size: .68rem; background: #fff3cd; color: #6b4e00; padding: .15rem .45rem; border-radius: 3px; margin-bottom: .75rem; }

/* Team */
.person { display: flex; gap: 1rem; align-items: center; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; flex-shrink: 0; }
.person h3 { margin: 0; font-size: var(--text-base); }
.person p { margin: 0; font-size: var(--text-sm); color: var(--muted); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding-block: 1.1rem; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .75rem 0 0; color: var(--muted); }

/* CTA band + form */
.cta-band { background: var(--ink); color: #fff; border-radius: 14px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.cta-band p { color: #b5c0c8; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } }
.form { display: grid; gap: .9rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: .35rem; font-size: var(--text-xs); font-weight: 700; color: #c9d2d8; }
.form input, .form select, .form textarea {
  font: 400 var(--text-sm) var(--font-body); padding: .8rem .9rem; border-radius: var(--radius);
  border: 1px solid #3a5163; background: #16242f; color: #fff; min-height: 46px; width: 100%;
}
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form .consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: var(--text-xs); color: #b5c0c8; }
.form .consent input { width: 18px; min-height: 18px; margin-top: .15rem; }
.form .consent a { color: #fff; }
.form-fine { font-size: var(--text-xs); color: #8fa1ae; margin: 0; }

/* Page header (interior) */
.page-hero { padding-block: clamp(var(--space-12), 6vw, var(--space-16)) var(--space-8); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--text-2xl); max-width: 22ch; }
.breadcrumb { font-size: var(--text-xs); color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }

/* Legal */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; }
.legal nav { position: sticky; top: 100px; align-self: start; font-size: var(--text-sm); }
.legal nav ol { padding-left: 1.1rem; margin: 0; display: grid; gap: .4rem; }
.legal nav a { color: var(--muted); text-decoration: none; }
.legal nav a:hover { color: var(--accent); }
.legal article h2 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 700; margin-top: 2.5rem; scroll-margin-top: 100px; }
.legal article ul { padding-left: 1.2rem; max-width: 68ch; }
.legal article li { margin-bottom: .4rem; }
.notice { background: #fff3cd; border: 1px solid #ecd48a; color: #5c4400; padding: 1rem 1.25rem; border-radius: 6px; font-size: var(--text-sm); margin-bottom: 2rem; max-width: 72ch; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .legal nav { position: static; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; border-block: 1px solid var(--line); padding-block: 1.5rem; }
.stats div { font-size: var(--text-xs); color: var(--muted); }
.stats b { display: block; font-family: var(--font-display); font-size: var(--text-xl); color: var(--ink); line-height: 1.1; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Footer */
.footer { background: var(--ink); color: #b5c0c8; padding-block: var(--space-16) var(--space-8); font-size: var(--text-sm); margin-top: var(--space-16); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer h3 { color: #fff; font-size: var(--text-sm); margin-bottom: .75rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer a { color: #b5c0c8; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer .brand svg { color: #fff; }
.footer-bottom { border-top: 1px solid #2c3d4b; margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--text-xs); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Mobile sticky call bar */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--ink); padding: .6rem; gap: .5rem; }
  .mobile-cta .btn { padding: .8rem; }
  .mobile-cta .btn--ghost { color: #fff; }
  body { padding-bottom: 72px; }
}

/* Cookie banner */
.cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 520px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); z-index: 70; font-size: var(--text-sm); display: none; }
.cookie.show { display: block; }
.cookie p { margin-bottom: .9rem; }
.cookie .btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie .btn { padding: .7rem 1rem; min-height: 40px; }
@media (max-width: 700px) { .cookie { bottom: 84px; } }
