:root {
  /* Neutral charcoal instead of glowing navy; one brand colour, no two-tone gradients */
  --bg: #0e1013;
  --bg-alt: #121519;
  --surface: #171a1f;
  --surface-2: #1d2127;
  --border: #272c34;
  --border-hover: #3b424d;
  --text: #ecebe8;
  --text-dim: #a4a9b1;
  --text-faint: #6e747e;
  --accent: #7c3aed;
  --accent-dim: rgba(124, 58, 237, 0.12);
  --accent-2: #b39dfa;
  --accent-2-dim: rgba(179, 157, 250, 0.10);
  --warn: #ffb84d;
  --warn-dim: rgba(255, 184, 77, 0.12);
  --radius: 8px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; max-width: 1180px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: 0.2px; }
/* Shield logo. The letter inside the span stays in the markup for screen readers but is not drawn. */
.logo-mark {
  width: 41px; height: 48px; flex-shrink: 0;
  /* 144px for 3x screens: WebP 9 KB, PNG fallback 42 KB (the old 288px logo-144.png was 144 KB on every page) */
  background: url("logo/logo-shield-144.png") center / contain no-repeat;
  background-image: image-set(url("logo/logo-shield-144.webp") type("image/webp"), url("logo/logo-shield-144.png") type("image/png"));
  font-size: 0; color: transparent; overflow: hidden;
}
.logo-word {
  font-weight: 700;
  color: var(--text);
}
.logo-word-ai { color: inherit; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 11px; border-radius: 8px; font-size: 14px; font-weight: 550;
  color: var(--text-dim); transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--text); background: var(--surface-2); }
/* Hire + Free Scan (a menu of the free tools) — matched dark shiny purple header buttons, same height as Contact us */
.btn-purple {
  color: #fff; font-weight: 650; border-color: transparent;
  background: linear-gradient(135deg, #2e1065 0%, #3b0f78 55%, #4c1d95 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 2px 10px rgba(46,16,101,0.55);
}
.btn-purple:hover {
  color: #fff;
  background: linear-gradient(135deg, #3b0f78 0%, #4c1d95 55%, #5b21b6 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.26), 0 3px 14px rgba(76,29,149,0.6);
}
/* Products — live in the menu and footer. */
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; width: 38px; height: 38px; color: var(--text); font-size: 18px; cursor: pointer; }

.has-dropdown { position: relative; }
.has-dropdown > a { display: flex; align-items: center; gap: 5px; }
.has-dropdown .chev { opacity: 0.65; transition: transform .15s ease; }
.has-dropdown:hover .chev, .has-dropdown:focus-within .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px; z-index: 50;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; color: var(--text-dim); font-weight: 500; }
.dropdown a:hover { background: var(--bg-alt); color: var(--text); }
/* Below 1020px the menu links no longer fit beside the buttons: they fold into the ☰ menu. */
@media (max-width: 1020px) {
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; background: transparent; padding: 2px 0 6px 16px; margin: 0;
  }
  .has-dropdown .chev { display: none; }
}
/* Free Scan button in the header: same purple button, opens a menu of the free tools.
   Right-aligned (it sits near the edge) and a popup on every screen size, since it
   lives in the header bar, not in the collapsible mobile menu. */
.nav-tools > .btn { display: inline-flex; align-items: center; gap: 6px; }
.nav-tools > .btn .chev { opacity: 0.85; }
.nav-tools .dropdown { left: auto; right: 0; min-width: 220px; }
.nav-tools::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; } /* hover bridge to the menu */
@media (max-width: 1020px) {
  .nav-cta .nav-tools .dropdown {
    position: absolute; top: calc(100% + 8px); right: 0; left: auto; min-width: 210px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,0.45);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
  }
  .nav-cta .nav-tools:hover .dropdown, .nav-cta .nav-tools:focus-within .dropdown, .nav-cta .nav-tools.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
  /* no chevron on phones: the header row is already at its width limit there */
}
/* Mega menus (Services, Solutions, Free Scan): titled columns of icon links, then a footer row.
   Selectors are .dropdown.mega-qualified so the later .nav-links a padding rules don't reach them. */
.dropdown.mega { width: 760px; padding: 22px 22px 14px; }
.dropdown.mega.mega-2 { width: 540px; }
/* 3-column panels under a menu link (Solutions) are centred on it so they stay on screen at laptop widths */
.nav-links .dropdown.mega:not(.mega-2) { left: 50%; transform: translate(-50%, -6px); }
.nav-links .has-dropdown:hover .dropdown.mega:not(.mega-2), .nav-links .has-dropdown:focus-within .dropdown.mega:not(.mega-2),
.nav-links .has-dropdown.open .dropdown.mega:not(.mega-2) { transform: translate(-50%, 0); }
.mega-cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.mega-2 .mega-cols { grid-template-columns: repeat(2, 1fr); }
.mega-col { padding: 0 16px; }
.mega-col:first-child { padding-left: 0; }
.mega-col:last-child { padding-right: 0; }
.mega-col + .mega-col { border-left: 1px solid var(--border); }
.mega-h { margin: 0 0 10px; padding: 0 10px; font-size: 16px; font-weight: 650; color: var(--text); letter-spacing: -0.1px; }
.dropdown.mega a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; }
.dropdown.mega a svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--accent-2); }
.mega-audits { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.mega-audits .mega-h { display: flex; align-items: center; gap: 8px; padding: 0 2px; }
.mega-audits .mega-h .mega-new { margin-left: 0; }
.mega-audits .mega-h small { margin-left: auto; font-size: 12.5px; font-weight: 400; color: var(--text-dim); }
.mega-audit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mega-audit-grid .mega-ext { margin-left: auto; align-self: flex-start; }
.dropdown.mega a.mega-hl { padding: 10px 12px; gap: 10px; background: var(--accent-dim); box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.45); color: var(--text); font-weight: 600; }
.dropdown.mega a.mega-hl:hover { background: rgba(124, 58, 237, 0.22); }
.mega-new { margin-left: auto; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.mega-ext { color: var(--accent-2); font-size: 13px; }
.mega-hl-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mega-hl-txt b { font-weight: 650; }
.mega-hl-txt small { font-size: 12.5px; font-weight: 400; color: var(--text-dim); }
.mega-hl .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.mega-note { font-size: 13px; color: var(--text-dim); padding: 0 10px; }
.dropdown.mega .mega-note a.mega-inline { display: inline; padding: 0; color: var(--accent-2); background: none; }
.dropdown.mega .mega-note a.mega-inline:hover { text-decoration: underline; }
.dropdown.mega .mega-foot .btn-purple { padding: 8px 14px; font-weight: 650; color: #fff; white-space: nowrap; }
@media (max-width: 1020px) {
  .mega-cols, .mega-2 .mega-cols { grid-template-columns: 1fr; }
  .mega-col, .mega-col:first-child, .mega-col:last-child { padding: 0; }
  .mega-col + .mega-col { border-left: 0; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 10px; }
  .mega-h { font-size: 14px; margin-bottom: 4px; }
  .dropdown.mega a { padding: 11px 10px; }   /* ~44px touch rows */
  .mega-foot { flex-direction: column; align-items: stretch; }
  .dropdown.mega .mega-foot .btn-purple { justify-content: center; text-align: center; }
  .mega-note { padding: 0; }
  .mega-audit-grid { grid-template-columns: 1fr; gap: 6px; }
  .mega-audits .mega-h { padding: 0; }
  /* Free Scan: still a popup under its button */
  .nav-cta .nav-tools .dropdown.mega { width: min(340px, calc(100vw - 32px)); max-height: calc(100vh - 96px); overflow-y: auto; padding: 14px; }
  /* Services / Solutions: inline inside the ☰ menu */
  .nav-links .dropdown.mega, .nav-links .dropdown.mega.mega-2 { width: auto; padding: 2px 0 8px 12px; }
  .nav-links .dropdown.mega:not(.mega-2), .nav-links .has-dropdown:hover .dropdown.mega:not(.mega-2) { transform: none; }
  .nav-links .mega-h { padding: 0 10px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 6px; padding: 11px 20px; font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: background .12s ease, border-color .12s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #6d28d9; }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--border-hover); }
.btn-sm { padding: 8px 14px; font-size: 12.5px; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 32px; position: relative; overflow: hidden; }
.eyebrow {
  display: none; /* removed site-wide */
  align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(109,40,217,0.25);
  padding: 6px 12px; border-radius: 100px; margin-bottom: 22px;
}
.eyebrow.warn { color: var(--warn); background: var(--warn-dim); border-color: rgba(255,184,77,0.3); }
h1 { font-size: clamp(25px, 3.5vw, 30px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.5px; font-weight: 500; }
h2, h3, h4 { font-weight: 600; }
h1 .grad { color: inherit; }
/* text fills the column it is in: a hero image beside it already narrows the column, so no fixed cap
   (a fixed cap left half the page empty on pages without an image) */
.lede { font-size: 17.5px; color: var(--text-dim); margin: 0 0 24px; }
.lede:last-child { margin-bottom: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 44px 0; border-top: 1px solid var(--border); }
.section.tight { padding: 32px 0; }
.section-head { margin: 0 0 28px; }
.overline { font-size: 13px; font-weight: 600; color: var(--text-faint); margin: 0 0 10px; }
.section-head h2 { font-size: clamp(25px, 3.4vw, 33px); line-height: 1.18; font-weight: 600; margin: 0 0 14px; letter-spacing: -0.3px; }
.section-head p { color: var(--text-dim); font-size: 15.5px; margin: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; max-width: 760px; } /* long centered lines are hard to read */

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px 24px; transition: border-color .15s ease;
  /* icon in the top-left corner, title beside it, description + tag on their own rows below */
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
}
.card:hover { border-color: var(--border-hover); }
.card > .icon {
  grid-row: 1; grid-column: 1; margin: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-2);
}
.card > h3 { grid-row: 1; grid-column: 2; font-size: 16px; line-height: 1.3; margin: 0; }
.card > :not(.icon):not(h3) { grid-column: 1 / -1; }
.card > p { font-size: 13.8px; color: var(--text-dim); margin: 14px 0 0; }
.card .tag {
  display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--text-faint); font-family: var(--mono);
}
/* "Try free: <tool> ->" / "See how we test ->" link at the foot of a service card, aligned across a row */
.card:has(> .card-go) { grid-template-rows: auto auto auto 1fr; }
.card > .card-go { align-self: end; justify-self: start; margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--accent-2); }
.card > .card-go:hover, .card > .card-go:focus-visible { text-decoration: underline; }
.card > .card-go span { display: inline-block; transition: transform .15s ease; }
.card > .card-go:hover span { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .card > .card-go span { transition: none; } }
/* cards without an icon (solution pages): stack, with the link pinned to the bottom */
.card:not(:has(> .icon)):has(> .card-go) { display: flex; flex-direction: column; align-items: stretch; }
.card:not(:has(> .icon)) > .card-go { align-self: flex-start; margin-top: auto; padding-top: 14px; }
/* "Try free: <tool>" beside a solution's Explore button on /solutions */
.bundle-tool { display: inline-block; margin: 18px 0 0 16px; padding: 8px 0; font-size: 13.5px; font-weight: 600; color: var(--accent-2); vertical-align: top; }
.bundle-tool:hover, .bundle-tool:focus-visible { text-decoration: underline; }
@media (max-width: 480px) { .bundle-tool { display: block; margin: 12px 0 0; } }
/* Cards with no icon keep a simple stacked layout */
.card:not(:has(> .icon)) { display: block; }
.card:not(:has(> .icon)) > h3 { margin: 0 0 10px; }
.card:not(:has(> .icon)) > p { margin-top: 0; }

/* ---------- Process / steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 700;
  display: block; margin-bottom: 14px;
}
.step h3 { font-size: 15px; margin: 0 0 8px; }
.step p { font-size: 13.5px; color: var(--text-dim); margin: 0; }

/* ---------- Bundle / solution rows ---------- */
.bundle {
  display: grid; grid-template-columns: 260px 1fr; gap: 30px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 32px; margin-bottom: 18px;
}
@media (max-width: 800px) { .bundle { grid-template-columns: 1fr; } }
.bundle h2 { font-size: 19px; margin: 0 0 8px; }
.bundle .who { font-size: 12.5px; color: var(--accent-2); font-weight: 650; text-transform: uppercase; letter-spacing: 0.4px; margin: 0 0 14px; }
.bundle p.desc { color: var(--text-dim); font-size: 14px; margin: 0 0 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 100px;
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-dim);
}

/* ---------- CTA band ---------- */
.cta-band {
  border-top: 1px solid var(--border);
  padding: 64px 0; text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 14px; }
.cta-band p { color: var(--text-dim); font-size: 15px; margin: 0 0 30px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 50px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-faint); margin: 0 0 14px; }
.footer-grid a, .footer-grid p { display: block; font-size: 13.5px; color: var(--text-dim); margin-bottom: 9px; }
/* 24px tap target (WCAG 2.2): padding instead of margin keeps the same rhythm */
.footer-grid a { padding: 2px 0; margin-bottom: 5px; }
.footer-grid a:hover { color: var(--text); }
.footer-social { display: inline-flex; align-items: center; gap: 8px; }
.footer-social a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; margin: 0; border: 1px solid var(--border); border-radius: 50%; color: var(--text-dim); transition: color .15s ease, border-color .15s ease, background .15s ease; }
.footer-social a:hover, .footer-social a:focus-visible { color: var(--text); border-color: var(--accent); background: var(--accent-dim); }
.footer-social a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.footer-social svg { display: block; width: 16px; height: 16px; fill: currentColor; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  padding-top: 26px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-faint);
}

/* ---------- Contact page ---------- */
.contact-section { padding: 40px 0 24px; border-top: 0; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: "intro form" "info form";
  gap: 28px 44px;
  align-items: start;
}
.contact-intro { grid-area: intro; }
.contact-info { grid-area: info; }
.contact-layout > .form-card { grid-area: form; }
.contact-intro h1 { margin-bottom: 14px; }
.contact-intro .lede { margin-bottom: 0; }
@media (max-width: 900px) {
  .contact-section { padding: 32px 0 24px; }
  .contact-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "form" "info";
    gap: 24px;
  }
}
.contact-info .item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .item .icon {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  background: var(--accent-dim); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.contact-info .item h2 { margin: 0 0 4px; font-size: 14.5px; }
.contact-info .item p { margin: 0; font-size: 13.5px; color: var(--text-dim); }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12.5px; font-weight: 650; color: var(--text-dim); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-alt); border: 1px solid var(--border); color: var(--text);
  border-radius: 9px; padding: 11px 13px; font-size: 14px; font-family: var(--sans); resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 12px; color: var(--text-faint); margin-top: 14px; }
.form-status { font-size: 13px; padding: 11px 14px; border-radius: 9px; margin-bottom: 16px; display: none; }
.form-status:not(:empty) { display: block; background: var(--surface-2); color: var(--text-dim); border: 1px solid var(--border); }
.form-status.err { display: block; background: var(--warn-dim); color: var(--warn); border: 1px solid rgba(255,184,77,0.3); }
.form-status.ok { display: block; background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(109,40,217,0.3); }

@media (min-width: 901px) and (max-height: 850px) {
  .contact-section { padding: 12px 0; }
  .contact-intro h1 { margin-bottom: 8px; }
  .contact-layout > .form-card { padding: 16px; }
  .contact-layout .field { margin-bottom: 8px; }
  .contact-layout .field label { margin-bottom: 4px; }
  .contact-layout .field input,
  .contact-layout .field select,
  .contact-layout .field textarea { padding: 8px 10px; }
  .contact-layout .field textarea { height: 66px; min-height: 66px; }
  .contact-layout .field-row { gap: 10px; }
  .contact-layout .form-note { margin-top: 8px; }
}

/* ---------- Hero illustration ---------- */
.hero-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center; }
.hero-illustration { display: flex; justify-content: center; }
.hero-illustration img { width: 100%; height: auto; max-width: 280px; filter: drop-shadow(0 20px 44px rgba(0,0,0,0.45)); }
.hero-illustration.wide img { max-width: 520px; }
/* <picture> (WebP with PNG fallback) must not change the layout: the img stays the flex item */
.hero-illustration picture { display: contents; }
.hero-illustration.framed img {
  border-radius: 18px; border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-illustration { margin: 0 auto 8px; }
  .hero-illustration img { max-width: 220px; }
  .hero-illustration.wide img { max-width: min(100%, 520px); }
}

/* ---------- Demo video ---------- */
.video-frame {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: #000;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.video-frame video { display: block; width: 100%; height: auto; }
.video-caption { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12.5px; color: var(--text-faint); }
.video-caption .dot-live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

/* ---------- About page specifics ---------- */
.pillar { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.pillar:last-child { border-bottom: none; }
.pillar .num { font-family: var(--mono); color: var(--accent-2); font-weight: 700; font-size: 14px; width: 30px; flex-shrink: 0; }
.pillar h3 { margin: 0 0 6px; font-size: 15.5px; }
.pillar p { margin: 0; color: var(--text-dim); font-size: 13.8px; }

.note-box {
  background: var(--warn-dim); border: 1px solid rgba(255,184,77,0.3); color: #ffd699;
  border-radius: var(--radius); padding: 20px 24px; font-size: 13.8px; margin-top: 40px;
}
.note-box strong { color: var(--warn); }

/* ---------- Products page specifics ---------- */
.product-hero {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 44px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
@media (max-width: 900px) { .product-hero { grid-template-columns: 1fr; } }
.mini-console {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.mini-console .bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.mini-console .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-hover); }
.mini-console .rows { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mini-console .row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-family: var(--mono); color: var(--text-dim); background: var(--surface); border: 1px solid var(--border); border-radius: 7px; padding: 8px 12px; }
.mini-console .row .status { font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 2px 8px; border-radius: 100px; }
.mini-console .row .status.ok { background: var(--accent-dim); color: var(--accent); }
.mini-console .row .status.run { background: var(--warn-dim); color: var(--warn); }

.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; gap: 12px; font-size: 14px; color: var(--text-dim); }
.feature-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }

/* Hire / Contact links inside the ☰ menu: only used on phones, where the buttons are hidden. */
.nav-links .nav-phone-only { display: none; }
/* Laptops (e.g. 1366px at 125% zoom ≈ 1093px): tighter spacing keeps the full menu on one row. */
@media (max-width: 1240px) {
  .nav-inner { padding-left: 20px; padding-right: 20px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 9px 8px; }
  .nav-cta { gap: 10px; }
}
@media (max-width: 1100px) { .nav-links a { padding: 9px 6px; } }
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
}
@media (max-width: 480px) {
  .nav-cta .nav-cta-wide { display: none; }
  .nav-links .nav-phone-only { display: block; }
}
@media (max-width: 360px) {
  .nav-inner { padding: 12px 10px; }
  .nav-cta { gap: 6px; }
  .logo { font-size: 13px; gap: 5px; }
  .logo-mark { width: 28px; height: 33px; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 14px 14px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-sm { padding: 8px 12px; font-size: 12px; }
  .logo { font-size: 14px; gap: 7px; }
  .logo-mark { width: 32px; height: 38px; }
  .nav-toggle { width: 34px; height: 34px; }
  .hero { padding: 28px 0 24px; }
  .section { padding: 36px 0; }
  .section.tight { padding: 28px 0; }
}

/* ---------- Hire page ---------- */
/* auto-fill keeps the layout tidy as more disciplines are added later */
.hire-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
@media (max-width: 460px) { .hire-grid { grid-template-columns: 1fr; } }
.hire-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px 22px; transition: border-color .15s ease;
}
.hire-card:hover { border-color: var(--border-hover); }
.hire-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
/* Swap the file at src (or point it at a photo) to replace the placeholder — square, ~96x96 */
.hire-thumb {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-alt);
}
.hire-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hire-head h3 { font-size: 15.5px; line-height: 1.25; margin: 0; flex: 1; min-width: 0; }
.hire-head .btn { flex-shrink: 0; }
.hire-card p { font-size: 13.6px; color: var(--text-dim); margin: 0; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: flex-start; justify-content: center; padding: 40px 20px;
  background: rgba(4, 7, 14, 0.72); backdrop-filter: blur(4px); overflow-y: auto;
}
.modal.open { display: flex; }
.modal-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; width: 100%; max-width: 520px; position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.modal-card h3 { font-size: 19px; margin: 0 0 6px; }
.modal-card .modal-sub { font-size: 13px; color: var(--text-dim); margin: 0 0 22px; }
.modal-card .modal-sub strong { color: var(--accent); }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 8px;
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-dim);
  font-size: 20px; line-height: 1; cursor: pointer;
}
.modal-close:hover { color: var(--text); border-color: var(--border-hover); }
.field input[type="file"] { padding: 9px 13px; font-size: 13px; color: var(--text-dim); }
.field label .optional { color: var(--text-faint); font-weight: 500; text-transform: none; letter-spacing: 0; }

/* ---------- Home: sample finding (in place of stock hero art) ---------- */
.finding { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; width: 100%; max-width: 440px; }
.finding-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--border); color: var(--text-faint); font-family: var(--mono); font-size: 11.5px; }
.finding-sev { color: #ff9f7a; border: 1px solid rgba(255,159,122,0.35); border-radius: 4px; padding: 1px 7px; font-weight: 700; }
.finding-body { padding: 16px; }
.finding-body h3 { font-size: 15px; margin: 0 0 14px; }
.finding-body dl { display: grid; grid-template-columns: 84px 1fr; gap: 7px 12px; margin: 0; }
.finding-body dt { color: var(--text-faint); }
.finding-body dd { margin: 0; color: var(--text-dim); min-width: 0; overflow-wrap: anywhere; }
.finding-body code { font-family: var(--mono); font-size: 12px; color: var(--text); }
.finding-note { margin: 10px 0 0; font-size: 12px; color: var(--text-faint); }
.hero-fine { margin: 16px 0 0; font-size: 13px; color: var(--text-faint); }
.lede strong { color: var(--text); font-weight: 600; }

/* ---------- Home: product pair ---------- */
.product-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .product-duo { grid-template-columns: 1fr; } }
.product-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.product-for { margin: 0 0 6px; font-size: 13px; color: var(--accent-2); font-weight: 600; }
.product-card h3 { font-size: 24px; margin: 0 0 10px; letter-spacing: -0.3px; }
.product-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-pitch { margin: 0 0 18px; color: var(--text-dim); font-size: 15px; }
.product-points { margin: 0 0 20px; padding-left: 18px; color: var(--text-dim); font-size: 14px; }
.product-points li { margin-bottom: 6px; }
.product-points li::marker { color: var(--accent-2); }
.product-card .mini-console { margin-bottom: 18px; }
.product-price { margin: auto 0 16px; font-size: 14px; color: var(--text-dim); }
.product-price strong { color: var(--text); }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Home: free scan + tools ---------- */
.scan-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 18px;
}
.scan-banner:hover { border-color: var(--border-hover); }
.scan-banner > span:first-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 320px; }
.scan-banner strong { font-size: 17px; }
.scan-banner > span:first-child > span { color: var(--text-dim); font-size: 14px; }
.tool-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 900px) { .tool-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tool-links { grid-template-columns: 1fr; } }
.tool-links a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); height: 100%; }
.tool-links a:hover { border-color: var(--border-hover); background: var(--surface); }
.tool-links strong { font-size: 14px; font-weight: 600; }
.tool-links span { font-size: 12.5px; color: var(--text-dim); }   /* text-faint is under AA contrast at this size */
.svc-tools { margin-top: 28px; }
.svc-tools .overline { margin-bottom: 12px; }
.tools-more { margin: 18px 0 0; font-size: 14px; }
.tools-more a { color: var(--accent-2); }
.tools-more a:hover { text-decoration: underline; }

/* ---------- Home: FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 15.5px; list-style-position: outside; }
.faq summary:hover { color: var(--accent-2); }
.faq details p { margin: 0 0 16px; color: var(--text-dim); font-size: 14.5px; }
.faq details p a { color: var(--accent-2); text-decoration: underline; }

/* Heading-beside-list sections (About: "Five things we don't compromise on").
   A plain .grid-2 gives the heading a full half of the row, which leaves a tall
   empty column next to a long list. Narrow the heading column and let it stick,
   so the space beside the list stays occupied while the list scrolls.
   Declared as a class, not an inline style: an inline grid-template-columns would
   outrank the max-width:900px rule below and keep two columns on phones. */
.grid-aside { grid-template-columns: 0.72fr 1.68fr; }
.grid-aside > :first-child { position: sticky; top: 96px; }
@media (max-width: 900px) {
  .grid-aside { grid-template-columns: 1fr; }
  .grid-aside > :first-child { position: static; }
}

/* ---------- "On this page" table of contents (blog guides) ----------
   Two columns of jump links on wide screens, one on phones. Each row ends with the
   same → arrow used on cards and product links across the site. */
nav.toc { margin: 26px 0 30px; padding: 18px 20px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
nav.toc .toc-h { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
nav.toc ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
nav.toc li { margin: 0; border-top: 1px solid var(--border); }
nav.toc a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; font-size: 14.5px; line-height: 1.4; color: var(--text-dim); text-decoration: none; transition: color .15s ease; }
nav.toc a i { flex: none; font-style: normal; color: var(--accent-2); transition: transform .15s ease; }
nav.toc a:hover, nav.toc a:focus-visible { color: var(--text); }
nav.toc a:hover i, nav.toc a:focus-visible i { transform: translateX(4px); }
@media (max-width: 700px) { nav.toc ol { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { nav.toc a, nav.toc a i { transition: none; } }
/* Jump targets clear the sticky header instead of hiding under it. */
.legal h2[id], .legal h3[id] { scroll-margin-top: 96px; }

/* ---------- Blog guide layout: free-tools panel on the left ----------
   The panel follows the article in the markup (article first on phones and for
   screen readers); from 1000px it moves into a sticky left column. */
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.guide-tools-inner { padding: 18px 20px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.guide-tools .toc-h { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.guide-tools ul { list-style: none; margin: 0; padding: 0; }
.guide-tools li { margin: 0; border-top: 1px solid var(--border); }
.guide-tools li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 2px; text-decoration: none; color: var(--text-dim); }
.guide-tools li b { display: block; font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.35; }
.guide-tools li small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--text-dim); }
.guide-tools i { flex: none; font-style: normal; color: var(--accent-2); transition: transform .15s ease; }
.guide-tools li a:hover b, .guide-tools li a:focus-visible b { text-decoration: underline; text-underline-offset: 3px; }
.guide-tools a:hover i, .guide-tools a:focus-visible i { transform: translateX(4px); }
.guide-tools-all { display: inline-flex; gap: 6px; margin-top: 10px; padding-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--accent-2); text-decoration: none; }
@media (min-width: 1000px) {
  .guide-layout { grid-template-columns: 260px minmax(0, 1fr); grid-template-areas: "tools main"; gap: 44px; align-items: start; }
  .guide-layout > .legal { grid-area: main; }
  .guide-layout > .guide-tools { grid-area: tools; position: sticky; top: 96px; }
}
@media (prefers-reduced-motion: reduce) { .guide-tools i { transition: none; } }

/* ---------- File drop zone (assets/script.js upgrades every input[type=file]) ---------- */
.qc-drop {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px;
  padding: 16px 18px; border: 1.5px dashed var(--border-hover); border-radius: 12px;
  background: var(--surface); color: var(--text-dim); cursor: pointer; text-align: left;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.qc-drop:hover, .qc-drop:focus-within { border-color: var(--accent-2); background: var(--accent-2-dim); }
.qc-drop:focus-within { box-shadow: 0 0 0 3px rgba(179, 157, 250, .25); }
.qc-drop.is-page-drag { border-color: var(--accent-2); background: var(--accent-2-dim); }
.qc-drop.is-over { border-style: solid; border-color: var(--accent-2); background: rgba(124, 58, 237, .2); box-shadow: 0 0 0 4px rgba(124, 58, 237, .18); }
.qc-drop.has-file { border-style: solid; border-color: rgba(74, 222, 128, .55); background: rgba(74, 222, 128, .05); }
.qc-drop.is-error { border-style: solid; border-color: #ff6a7a; background: rgba(255, 106, 122, .06); }
.qc-drop > svg { flex: none; width: 30px; height: 30px; color: var(--accent-2); }
.qc-drop.has-file > svg { color: #4ade80; }
.qc-drop.is-error > svg { color: #ff6a7a; }
.qc-drop-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0; }
.qc-drop-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.qc-drop-title { font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.qc-drop-title b { color: var(--text); font-weight: 650; }
.qc-drop-link { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.qc-drop-sub { font-size: 12px; line-height: 1.4; color: var(--text-faint); overflow-wrap: anywhere; }
.qc-drop-clear {
  flex: none; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg-alt); color: var(--text-dim); font-size: 18px; line-height: 1; cursor: pointer;
}
.qc-drop-clear:hover { color: var(--text); border-color: var(--border-hover); }
.qc-drop-clear[hidden] { display: none; }

/* ---------- Thank-you page (common/thank-you.php) ---------- */
.ty { padding: 56px 0 24px; text-align: center; }
.ty-art { max-width: 560px; margin: 0 auto 28px; }
.ty-art img {
  display: block; width: 100%; height: auto; border-radius: 16px;
  border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.ty h1 { margin: 0 0 16px; }
.ty .hero-actions { justify-content: center; }
.ty-steps { grid-template-columns: repeat(3, 1fr); }
.ty-note { text-align: center; margin: 28px 0 0; }
@media (max-width: 900px) { .ty-steps { grid-template-columns: 1fr; } .ty { padding: 36px 0 12px; } }
