/* ==========================================================================
   Fonts (self-hosted, Latin + Greek)
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-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;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/jbmono-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/jbmono-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;
}

/* ==========================================================================
   Design tokens
   ========================================================================== */

:root,
:root[data-theme="dark"] {
  --bg: #060a13;
  --bg-2: #0a1020;
  --surface: rgb(15 23 42 / 0.62);
  --surface-solid: #0e1628;
  --surface-2: rgb(255 255 255 / 0.035);
  --surface-3: rgb(255 255 255 / 0.07);
  --border: rgb(148 163 184 / 0.13);
  --border-strong: rgb(148 163 184 / 0.26);
  --text: #eef2fb;
  --muted: #94a1bb;
  --faint: #8591ab;
  --accent: #2dd4bf;
  --accent-2: #38bdf8;
  --accent-3: #a78bfa;
  --grad: linear-gradient(120deg, #2dd4bf 0%, #38bdf8 50%, #a78bfa 100%);
  --btn-ink: #03161b;
  --pass: #34d399;
  --warn: #fbbf24;
  --fail: #fb7185;
  --info: #60a5fa;
  --g-b: #a3e635;
  --g-d: #fb923c;
  --shadow: 0 24px 60px -24px rgb(0 0 0 / 0.7);
  --shadow-sm: 0 8px 24px -12px rgb(0 0 0 / 0.6);
  --orb-1: rgb(45 212 191 / 0.32);
  --orb-2: rgb(167 139 250 / 0.26);
  --orb-3: rgb(56 189 248 / 0.22);
  --grid-line: rgb(148 163 184 / 0.065);
  --header-bg: rgb(6 10 19 / 0.7);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f5f7fc;
  --bg-2: #edf1f8;
  --surface: rgb(255 255 255 / 0.78);
  --surface-solid: #ffffff;
  --surface-2: rgb(15 23 42 / 0.03);
  --surface-3: rgb(15 23 42 / 0.06);
  --border: rgb(15 23 42 / 0.09);
  --border-strong: rgb(15 23 42 / 0.17);
  --text: #0b1324;
  --muted: #525e77;
  --faint: #5d6880;
  --accent: #0f766e;
  --accent-2: #0369a1;
  --accent-3: #6d28d9;
  --grad: linear-gradient(120deg, #0f766e 0%, #0369a1 50%, #6d28d9 100%);
  --btn-ink: #ffffff;
  --pass: #047857;
  --warn: #b45309;
  --fail: #be123c;
  --info: #1d4ed8;
  --g-b: #65a30d;
  --g-d: #ea580c;
  --shadow: 0 24px 60px -28px rgb(15 23 42 / 0.28);
  --shadow-sm: 0 8px 24px -14px rgb(15 23 42 / 0.25);
  --orb-1: rgb(45 212 191 / 0.28);
  --orb-2: rgb(167 139 250 / 0.22);
  --orb-3: rgb(56 189 248 / 0.2);
  --grid-line: rgb(15 23 42 / 0.05);
  --header-bg: rgb(245 247 252 / 0.75);
  color-scheme: light;
}

:root {
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: 0.88em; }
.muted { color: var(--muted); }
.flush { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
main { flex: 1; position: relative; z-index: 1; padding-top: 32px; padding-bottom: 80px; outline: none; }
::selection { background: rgb(45 212 191 / 0.3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

svg.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Ambient background ------------------------------------------------------ */

.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); animation: drift 22s ease-in-out infinite alternate; }
.orb-1 { width: 620px; height: 620px; top: -220px; left: -160px; background: var(--orb-1); }
.orb-2 { width: 560px; height: 560px; top: -120px; right: -200px; background: var(--orb-2); animation-delay: -7s; }
.orb-3 { width: 520px; height: 520px; top: 55%; left: 40%; background: var(--orb-3); animation-delay: -14s; opacity: 0.6; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ==========================================================================
   Header & footer
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--text); }
.brand-mark { width: 30px; height: 30px; filter: drop-shadow(0 4px 12px rgb(45 212 191 / 0.45)); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { position: relative; padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 0.95rem; transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.active { color: var(--text); }
.nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.lang-switch { display: flex; padding: 3px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); }
.lang-switch button {
  padding: 4px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: 700 0.8rem var(--font);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.lang-switch button.active { background: var(--surface-3); color: var(--text); box-shadow: var(--shadow-sm); }
.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
:root[data-theme="dark"] .icon-moon, :root[data-theme="light"] .icon-sun { display: none; }

.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 40px 0 32px; font-size: 0.9rem; background: linear-gradient(to bottom, transparent, var(--bg-2)); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 24px 48px; align-items: start; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand .brand-mark { width: 36px; height: 36px; }
.footer-disclaimer { color: var(--muted); margin: 0; max-width: 620px; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--border); color: var(--faint); }

/* ==========================================================================
   Buttons, pills, form
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  font: 700 0.95rem var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn:hover { border-color: var(--accent); background: var(--surface-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary {
  border: 0;
  background: var(--grad);
  background-size: 160% 100%;
  color: var(--btn-ink);
  box-shadow: 0 10px 30px -10px rgb(45 212 191 / 0.6);
}
.btn-primary:hover { background: var(--grad); background-size: 160% 100%; background-position: 100% 0; box-shadow: 0 14px 36px -10px rgb(56 189 248 / 0.7); transform: translateY(-1px); }
.btn-primary .icon { transition: transform 0.25s var(--ease); }
.btn-primary:hover .icon-arrow { transform: translateX(3px); }
.btn-lg { padding: 15px 24px; font-size: 1.02rem; border-radius: 14px; }
.btn-sm { padding: 7px 11px; font-size: 0.85rem; border-radius: 10px; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); border-color: var(--border); }
.btn-danger:hover { color: var(--fail); border-color: color-mix(in srgb, var(--fail) 40%, transparent); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--surface-3);
  color: var(--muted);
}
.pill.s-pass { background: color-mix(in srgb, var(--pass) 16%, transparent); color: var(--pass); }
.pill.s-warn, .pill.warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.pill.s-fail { background: color-mix(in srgb, var(--fail) 16%, transparent); color: var(--fail); }
.pill.s-info { background: color-mix(in srgb, var(--info) 16%, transparent); color: var(--info); }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.s-pass { background: var(--pass); box-shadow: 0 0 10px var(--pass); }
.dot.s-warn { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.dot.s-fail { background: var(--fail); box-shadow: 0 0 10px var(--fail); }
.dot.s-info { background: var(--info); box-shadow: 0 0 10px var(--info); }

.scan-form { margin-top: 32px; max-width: 600px; }
.scan-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 7px 7px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.scan-row::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.scan-row:focus-within::before { opacity: 1; }
.scan-row:focus-within { box-shadow: 0 0 0 6px rgb(45 212 191 / 0.12), var(--shadow); }
.scan-row > .icon { color: var(--faint); width: 20px; height: 20px; }
.scan-row input {
  flex: 1;
  min-width: 0;
  padding: 12px 4px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 600 1.08rem var(--font);
  outline: none;
}
.scan-row input::placeholder { color: var(--faint); font-weight: 500; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.consent input { appearance: none; flex: none; width: 18px; height: 18px; margin: 2px 0 0; border: 1.5px solid var(--border-strong); border-radius: 5px; background: var(--surface-2); cursor: pointer; display: grid; place-content: center; transition: background 0.2s, border-color 0.2s; }
.consent input::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--btn-ink); border-bottom: 2px solid var(--btn-ink); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.consent input:checked { background: var(--accent); border-color: var(--accent); }
.consent input:checked::after { opacity: 1; }
.consent small { display: block; color: var(--faint); font-size: 0.82rem; margin-top: 2px; }
.form-error {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--fail) 35%, transparent);
  background: color-mix(in srgb, var(--fail) 10%, transparent);
  color: var(--fail);
  font-weight: 600;
  animation: shake 0.4s var(--ease);
}
.form-error .icon { margin-top: 3px; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ==========================================================================
   Cards & generic sections
   ========================================================================== */

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

/* Cursor spotlight on hover */
.spot { overflow: hidden; }
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(45 212 191 / 0.13), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.spot:hover::before { opacity: 1; }
.spot:hover { border-color: var(--border-strong); }

.section { padding: 96px 0 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.kicker { display: inline-block; margin-bottom: 14px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Home: hero
   ========================================================================== */

.hero { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; padding: 40px 0 24px; }
.hero > *, .bento > *, .steps > *, .pricing > *, .kpis > *, .cat-grid > *, .footer-grid > * { min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 10px;
  border-radius: 99px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--pass); }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--pass); animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.hero-title { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; margin-bottom: 22px; }
:lang(el) .hero-title { font-size: clamp(2rem, 4.1vw, 3.15rem); letter-spacing: -0.03em; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 580px; margin: 0; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 22px 0 0; color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--pass); }

/* Animated sample report */
.preview { position: relative; padding: 24px 8px; }
.preview::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  border-radius: 40px;
  background: var(--grad);
  filter: blur(70px);
  opacity: 0.35;
}
.preview-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  box-shadow: var(--shadow), 0 0 0 1px rgb(255 255 255 / 0.03) inset;
  transform: perspective(1400px) rotateY(-7deg) rotateX(4deg);
  transition: transform 0.6s var(--ease);
}
.preview:hover .preview-card { transform: perspective(1400px) rotateY(0) rotateX(0); }
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.dots i:nth-child(1) { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.url { flex: 1; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: var(--surface-3); color: var(--muted); font: 500 0.8rem var(--mono); }
.url .icon { color: var(--pass); width: 13px; height: 13px; }
.preview-body { padding: 22px; }
.preview-top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.preview-label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.preview-host { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; margin: 2px 0 8px; }
.preview-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(16px);
  animation: row-in 0.6s var(--ease) forwards;
}
.pr span:nth-child(2) { flex: 1; }
.pr-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; }
.pr-icon .icon { width: 15px; height: 15px; }
.pr-icon.s-pass { background: color-mix(in srgb, var(--pass) 15%, transparent); color: var(--pass); }
.pr-icon.s-warn { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }
.pr-icon.s-fail { background: color-mix(in srgb, var(--fail) 15%, transparent); color: var(--fail); }
.pr-0 { animation-delay: 0.5s; } .pr-1 { animation-delay: 0.7s; } .pr-2 { animation-delay: 0.9s; }
.pr-3 { animation-delay: 1.1s; } .pr-4 { animation-delay: 1.3s; } .pr-5 { animation-delay: 1.5s; }
@keyframes row-in { to { opacity: 1; transform: none; } }
.scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, rgb(45 212 191 / 0.12) 70%, rgb(45 212 191 / 0.5));
  border-bottom: 1px solid var(--accent);
  animation: beam 4.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes beam { 0% { transform: translateY(-100px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(520px); opacity: 0; } }
.float-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  font: 600 0.8rem var(--mono);
  animation: bob 5s ease-in-out infinite;
}
.float-badge .icon { width: 15px; height: 15px; color: var(--pass); }
.float-badge.warn .icon { color: var(--warn); }
.fb-1 { top: 4px; right: -6px; }
.fb-2 { bottom: 70px; left: -22px; animation-delay: -1.6s; }
.fb-3 { bottom: 0; right: 28px; animation-delay: -3.2s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Stats strip */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; padding: 0; overflow: hidden; }
.stat-item { padding: 26px 24px; text-align: center; }
.stat-item + .stat-item { border-left: 1px solid var(--border); }
.stat-value { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stat-label { color: var(--muted); font-size: 0.9rem; font-weight: 600; margin-top: 4px; }

/* Features bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento .feature { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; transition: transform 0.35s var(--ease), border-color 0.3s; }
.bento .feature.wide { grid-column: span 3; }
.feature:hover { transform: translateY(-4px); }
.feature h3 { font-size: 1.15rem; font-weight: 800; margin: 4px 0 0; }
.feature p { color: var(--muted); font-size: 0.95rem; margin: 0; flex: 1; }
.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--accent);
  background: linear-gradient(135deg, rgb(45 212 191 / 0.18), rgb(167 139 250 / 0.14));
  border: 1px solid rgb(45 212 191 / 0.25);
}
.icon-tile .icon { width: 23px; height: 23px; }
.code-chip {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  font: 500 0.78rem/1.5 var(--mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.code-chip b { color: var(--accent); font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 62px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-3), transparent);
  opacity: 0.4;
}
.step { text-align: center; padding: 32px 26px; }
.step-num {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 6px var(--bg), var(--shadow-sm);
  font-size: 1.3rem;
  font-weight: 800;
  position: relative;
}
.step h3 { font-size: 1.15rem; font-weight: 800; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 16px; padding: 28px; }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 800; font-size: 1.1rem; }
.price { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price small { font-size: 0.95rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.plan ul { list-style: none; padding: 16px 0 0; margin: 0; display: grid; gap: 11px; font-size: 0.95rem; flex: 1; border-top: 1px solid var(--border); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .icon { color: var(--accent); margin-top: 4px; }

@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plan.featured { border-color: transparent; background: var(--surface-solid); }
.plan.featured::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--angle), #2dd4bf, #38bdf8, #a78bfa, #2dd4bf);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin-angle 6s linear infinite;
}
.plan.featured { isolation: isolate; box-shadow: 0 30px 80px -30px rgb(45 212 191 / 0.45); }
@keyframes spin-angle { to { --angle: 360deg; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { padding: 0; }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.04rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--surface-3); transition: transform 0.3s var(--ease), background 0.3s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--text); }
.faq summary .plus::after { transform: rotate(90deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary .plus { background: var(--accent); transform: rotate(180deg); }
.faq details[open] summary .plus::before, .faq details[open] summary .plus::after { background: var(--btn-ink); }
.faq details[open] summary .plus::after { transform: rotate(0); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }

/* CTA */
.cta {
  margin-top: 96px;
  padding: 64px 32px;
  text-align: center;
  overflow: hidden;
  border-color: var(--border-strong);
}
.cta::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgb(45 212 191 / 0.28), rgb(167 139 250 / 0.12) 40%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.cta { isolation: isolate; }
.cta h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); font-weight: 800; letter-spacing: -0.03em; max-width: 720px; margin: 0 auto 12px; }
.cta p { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }

/* ==========================================================================
   Scanning
   ========================================================================== */

.scan-stage { max-width: 640px; margin: 24px auto; text-align: center; }
.radar { position: relative; width: 220px; height: 220px; margin: 0 auto 32px; border-radius: 50%; }
.radar-ring { position: absolute; border-radius: 50%; border: 1px solid rgb(45 212 191 / 0.28); }
.radar-ring.r1 { inset: 0; }
.radar-ring.r2 { inset: 30px; }
.radar-ring.r3 { inset: 62px; }
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgb(45 212 191 / 0.55), rgb(45 212 191 / 0.08) 22%, transparent 30%);
  -webkit-mask: radial-gradient(circle, #000 69%, transparent 70%);
  mask: radial-gradient(circle, #000 69%, transparent 70%);
  animation: rotate 2.4s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.radar-core {
  position: absolute;
  inset: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: var(--btn-ink);
  box-shadow: 0 0 40px rgb(45 212 191 / 0.6);
}
.radar-core .icon { width: 22px; height: 22px; stroke-width: 2.4; }
.blip { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); animation: blip 2.4s ease-out infinite; }
.blip.b1 { top: 38px; left: 132px; }
.blip.b2 { top: 140px; left: 40px; animation-delay: 0.9s; }
.blip.b3 { top: 160px; left: 158px; animation-delay: 1.6s; background: var(--accent-3); box-shadow: 0 0 14px var(--accent-3); }
@keyframes blip { 0%, 100% { opacity: 0; transform: scale(0.4); } 20% { opacity: 1; transform: scale(1.2); } 60% { opacity: 0.6; transform: scale(1); } }
.scan-stage h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; }
.scan-target { display: inline-block; margin-bottom: 8px; padding: 6px 14px; border-radius: 10px; background: var(--surface-3); font: 600 0.95rem var(--mono); color: var(--accent); word-break: break-all; }
.progress { height: 6px; margin: 24px 0; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.progress-bar { height: 100%; width: 0; border-radius: inherit; background: var(--grad); box-shadow: 0 0 16px rgb(45 212 191 / 0.6); transition: width 0.5s var(--ease); }
.terminal { text-align: left; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-strong); background: #050913; box-shadow: var(--shadow); }
.term-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid rgb(148 163 184 / 0.15); color: #65718b; font: 500 0.78rem var(--mono); }
.term-body { padding: 16px 18px; min-height: 230px; font: 500 0.86rem/1.9 var(--mono); color: #94a1bb; }
.term-line { display: flex; gap: 10px; animation: row-in 0.35s var(--ease) both; opacity: 0; transform: translateX(8px); }
.term-line .prompt { color: #2dd4bf; }
.term-line.current { color: #eef2fb; }
.term-line.current::after { content: ""; width: 8px; height: 1.1em; align-self: center; background: #2dd4bf; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ==========================================================================
   Report
   ========================================================================== */

.report-hero { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; padding: 32px; overflow: hidden; isolation: isolate; }
.report-hero > * { min-width: 0; }
.report-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  left: -120px;
  top: -140px;
  border-radius: 50%;
  background: var(--glow-color, var(--accent));
  filter: blur(100px);
  opacity: 0.22;
}
.g-a { --glow-color: var(--pass); --g1: var(--pass); --g2: #2dd4bf; }
.g-b { --glow-color: var(--g-b); --g1: var(--g-b); --g2: var(--pass); }
.g-c { --glow-color: var(--warn); --g1: var(--warn); --g2: var(--g-b); }
.g-d { --glow-color: var(--g-d); --g1: var(--g-d); --g2: var(--warn); }
.g-f { --glow-color: var(--fail); --g1: var(--fail); --g2: var(--g-d); }

.ring { position: relative; flex: none; }
.ring-lg { width: 168px; height: 168px; }
.ring-sm { width: 92px; height: 92px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring circle { fill: none; stroke-width: 11; }
.ring-sm circle { stroke-width: 12; }
.ring .track { stroke: var(--surface-3); }
.ring .value { stroke-linecap: round; transition: stroke-dasharray 1.6s var(--ease); filter: drop-shadow(0 0 8px var(--glow-color)); }
.ring .stop-1 { stop-color: var(--g1); }
.ring .stop-2 { stop-color: var(--g2); }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-grade { font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--glow-color); }
.ring-sm .ring-grade { font-size: 1.8rem; }
.ring-score { margin-top: 6px; font: 600 0.85rem var(--mono); color: var(--muted); }
.ring-sm .ring-score { font-size: 0.7rem; margin-top: 2px; }

.report-eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.report-eyebrow .label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.verdict { padding: 4px 12px; border-radius: 99px; font-size: 0.82rem; font-weight: 800; color: var(--glow-color); background: color-mix(in srgb, var(--glow-color) 14%, transparent); border: 1px solid color-mix(in srgb, var(--glow-color) 30%, transparent); }
.report-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; overflow-wrap: anywhere; margin-bottom: 10px; }
.report-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 0.9rem; }
.report-meta span { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.report-meta .icon { color: var(--faint); width: 15px; height: 15px; }
.report-meta .mono { word-break: break-all; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.kpi { display: flex; align-items: center; gap: 16px; padding: 20px; }
.kpi-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; }
.kpi-icon .icon { width: 22px; height: 22px; }
.kpi.s-fail .kpi-icon { color: var(--fail); background: color-mix(in srgb, var(--fail) 14%, transparent); }
.kpi.s-warn .kpi-icon { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.kpi.s-pass .kpi-icon { color: var(--pass); background: color-mix(in srgb, var(--pass) 14%, transparent); }
.kpi.s-info .kpi-icon { color: var(--info); background: color-mix(in srgb, var(--info) 14%, transparent); }
.kpi-num { font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.kpi-label { color: var(--muted); font-size: 0.86rem; font-weight: 600; margin-top: 4px; }

.block-title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; margin: 40px 0 16px; }
.block-title .icon { color: var(--accent); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.cat-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.cat-card:hover { transform: translateY(-3px); }
.cat-card-top { display: flex; align-items: center; gap: 12px; }
.cat-card-top .icon-tile { width: 38px; height: 38px; border-radius: 11px; }
.cat-card-top .icon-tile .icon { width: 19px; height: 19px; }
.cat-card-name { flex: 1; font-weight: 800; }
.cat-pct { font: 700 0.95rem var(--mono); }
.bar { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: inherit; transition: width 1.2s var(--ease); }
.bar-fill.s-pass { background: linear-gradient(90deg, #2dd4bf, var(--pass)); }
.bar-fill.s-warn { background: linear-gradient(90deg, var(--warn), #fde047); }
.bar-fill.s-fail { background: linear-gradient(90deg, var(--fail), var(--g-d)); }
.counts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.counts span { display: inline-flex; align-items: center; gap: 6px; }

.priority-panel { margin-top: 18px; padding: 24px; }
.priority-panel .block-title { margin-top: 0; }
.priority { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: prio; }
.priority button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text);
  font: 600 0.98rem var(--font);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s var(--ease), background 0.2s;
}
.priority button:hover { border-color: var(--accent); background: var(--surface-3); transform: translateX(4px); }
.priority button::before {
  counter-increment: prio;
  content: counter(prio);
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--surface-3);
  font: 700 0.85rem var(--mono);
  color: var(--muted);
}
.priority .p-title { flex: 1; }
.priority .p-cat { color: var(--faint); font-size: 0.84rem; font-weight: 600; }
.all-good { display: flex; align-items: center; gap: 12px; color: var(--muted); margin: 0; }
.all-good .icon { color: var(--pass); width: 24px; height: 24px; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 44px 0 4px; flex-wrap: wrap; }
.toolbar .block-title { margin: 0; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--muted); font-weight: 600; cursor: pointer; user-select: none; }
.switch input { appearance: none; position: relative; width: 40px; height: 23px; margin: 0; border-radius: 99px; background: var(--surface-3); border: 1px solid var(--border-strong); cursor: pointer; transition: background 0.25s; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--text); transition: transform 0.25s var(--ease); }
.switch input:checked { background: var(--accent); border-color: var(--accent); }
.switch input:checked::after { transform: translateX(17px); background: var(--btn-ink); }

.category { margin-top: 30px; scroll-margin-top: 90px; }
.category-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.category-head h2 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 800; margin: 0; }
.category-head .icon-tile { width: 36px; height: 36px; border-radius: 10px; }
.category-head .icon-tile .icon { width: 18px; height: 18px; }

.findings { display: grid; gap: 10px; }
.finding {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  padding: 18px 20px;
  border-radius: 16px;
  scroll-margin-top: 90px;
  overflow: hidden;
}
.finding::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--s-color, var(--border)); }
.finding.s-pass { --s-color: var(--pass); }
.finding.s-warn { --s-color: var(--warn); }
.finding.s-fail { --s-color: var(--fail); }
.finding.s-info { --s-color: var(--info); }
.finding.flash { animation: flash 1.6s var(--ease); }
@keyframes flash { from { box-shadow: 0 0 0 2px var(--accent), 0 0 40px rgb(45 212 191 / 0.4); } to { box-shadow: 0 0 0 2px transparent; } }
.s-icon { grid-row: span 3; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--s-color); background: color-mix(in srgb, var(--s-color) 13%, transparent); }
.s-icon .icon { width: 18px; height: 18px; }
.f-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-weight: 700; font-size: 1rem; padding-top: 4px; }
.f-detail { color: var(--muted); font-size: 0.94rem; overflow-wrap: anywhere; }
.f-fix { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px dashed var(--border-strong); font-size: 0.92rem; overflow-wrap: anywhere; }
.f-fix strong { display: flex; align-items: center; gap: 6px; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.f-fix strong .icon { width: 14px; height: 14px; color: var(--accent); }
.hide-pass .finding.s-pass { display: none; }

.sev { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 9px; border-radius: 99px; }
.sev-high { background: color-mix(in srgb, var(--fail) 15%, transparent); color: var(--fail); }
.sev-medium { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.sev-low { background: color-mix(in srgb, var(--info) 15%, transparent); color: var(--info); }

details.tech { margin-top: 40px; padding: 0; }
details.tech summary { display: flex; align-items: center; gap: 10px; padding: 20px 24px; cursor: pointer; font-weight: 800; font-size: 1.1rem; list-style: none; }
details.tech summary::-webkit-details-marker { display: none; }
details.tech summary .chev { margin-left: auto; transition: transform 0.3s var(--ease); color: var(--muted); }
details.tech[open] summary .chev { transform: rotate(180deg); }
details.tech summary > .icon:first-child { color: var(--accent); }
.tech-body { padding: 0 24px 24px; }
.tech-body h3 { font-size: 0.95rem; font-weight: 800; margin: 24px 0 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.kv { display: grid; grid-template-columns: minmax(140px, max-content) 1fr; gap: 8px 20px; font-size: 0.9rem; margin: 0; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; font-family: var(--mono); font-size: 0.85rem; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); font-weight: 800; }
td.mono { font-family: var(--mono); font-size: 0.82rem; overflow-wrap: anywhere; }
.chain { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-family: var(--mono); font-size: 0.84rem; }
.chain li { display: flex; gap: 10px; align-items: baseline; overflow-wrap: anywhere; }
.chain .code { flex: none; padding: 1px 8px; border-radius: 6px; background: var(--surface-3); font-weight: 600; }

.disclaimer { display: flex; gap: 12px; margin-top: 32px; font-size: 0.86rem; color: var(--faint); }
.disclaimer .icon { flex: none; margin-top: 3px; }

/* ==========================================================================
   History
   ========================================================================== */

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; }
.history-list { display: grid; gap: 12px; }
.history-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.history-item:hover { transform: translateY(-2px); }
.history-item > * { min-width: 0; }
.badge-grade {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--glow-color);
  background: color-mix(in srgb, var(--glow-color) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--glow-color) 32%, transparent);
}
.h-host { font-weight: 800; font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-sub { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; }
.h-date { color: var(--faint); font-size: 0.86rem; white-space: nowrap; }
.h-score { width: 120px; }
.h-score .mono { display: block; text-align: right; font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; }
.empty { text-align: center; padding: 64px 24px; }
.empty .icon-tile { margin: 0 auto 18px; width: 64px; height: 64px; border-radius: 20px; }
.empty .icon-tile .icon { width: 30px; height: 30px; }
.empty h2 { font-weight: 800; }

.loading { display: grid; place-items: center; gap: 16px; padding: 96px 0; color: var(--muted); }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--surface-3); border-top-color: var(--accent); animation: rotate 0.8s linear infinite; }

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  color: var(--text);
  font-weight: 700;
  box-shadow: var(--shadow);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.print-only { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .preview { max-width: 520px; margin: 0 auto; width: 100%; }
  .bento .feature, .bento .feature.wide { grid-column: span 3; }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 8px 12px; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .nav a:first-child { padding-left: 0; }
  .nav a:first-child.active::after { left: 0; }
  .eyebrow { white-space: normal; }
  .hero { padding-top: 16px; }
  .hero .lead { font-size: 1.05rem; }
  .scan-row .btn { white-space: normal; }
  .float-badge { font-size: 0.72rem; padding: 6px 10px; }
  .preview-card { transform: none; }
  .stat-item { padding: 20px 12px; }
  .plan { padding: 22px; }
  .faq summary { padding: 16px 18px; font-size: 0.98rem; }
  .faq .answer { padding: 0 18px 18px; }
  .finding { padding: 16px; gap: 4px 12px; }
  .priority button { flex-wrap: wrap; padding: 12px 14px; }
  .priority .p-title { flex: 1 1 60%; min-width: 0; }
  .tech-body { padding: 0 16px 18px; }
  details.tech summary { padding: 16px 18px; }
  .page-head .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
  .toast { left: 16px; right: 16px; bottom: 16px; transform: translateY(20px); justify-content: center; }
  .toast.show { transform: none; }
  .nav a { padding: 6px 10px; font-size: 0.9rem; }
  .nav a.active::after { left: 10px; right: 10px; }
  .scan-row { flex-wrap: wrap; padding: 8px; }
  .scan-row > .icon { display: none; }
  .scan-row input { padding: 10px; flex-basis: 100%; }
  .scan-row .btn { width: 100%; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3) { border-left: 0; }
  .stat-item:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .bento .feature, .bento .feature.wide { grid-column: span 6; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .section { padding-top: 72px; }
  .fb-2 { left: -4px; }
  .fb-1 { right: 0; }
  .report-hero { grid-template-columns: 1fr; justify-items: start; padding: 24px; gap: 20px; }
  .ring-lg { width: 140px; height: 140px; }
  .ring-lg .ring-grade { font-size: 2.6rem; }
  .kpi { padding: 16px; gap: 12px; }
  .kpi-icon { width: 40px; height: 40px; }
  .history-item { grid-template-columns: auto 1fr auto; }
  .h-score { display: none; }
  .actions .btn { flex: 1 1 auto; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  .cta { padding: 48px 20px; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 14px; }
  .brand span { font-size: 1.05rem; }
  .header-tools { gap: 6px; }
  .icon-btn { width: 34px; height: 34px; }
  .lang-switch button { padding: 4px 8px; }
  .hero-title, :lang(el) .hero-title { font-size: clamp(1.75rem, 8.4vw, 2.2rem); }
  .preview { padding: 16px 0; }
  .fb-2 { display: none; }
  .preview-body { padding: 16px; }
  .preview-top { gap: 12px; }
  .ring-sm { width: 76px; height: 76px; }
  .ring-sm .ring-grade { font-size: 1.5rem; }
  .pr { padding: 8px 10px; gap: 10px; font-size: 0.86rem; }
  .stat-value { font-size: 1.6rem; }
  .stat-label { font-size: 0.82rem; }
  .card { padding: 18px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .kpi-num { font-size: 1.6rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .report-hero { padding: 20px; }
  .actions .btn { flex: 1 1 100%; }
  .history-item { gap: 12px; padding: 14px; }
  .history-item .btn-danger { align-self: start; padding: 6px; }
  .badge-grade { width: 46px; height: 46px; font-size: 1.1rem; border-radius: 13px; }
  .h-date { white-space: normal; }
  .radar { width: 180px; height: 180px; }
  .radar-ring.r2 { inset: 24px; }
  .radar-ring.r3 { inset: 50px; }
  .radar-core { inset: 68px; }
  .blip.b1 { top: 30px; left: 108px; }
  .blip.b2 { top: 114px; left: 32px; }
  .blip.b3 { top: 130px; left: 128px; }
  .term-body { padding: 12px 14px; font-size: 0.78rem; min-height: 200px; }
  .cta { padding: 40px 16px; }
  .cta .btn { width: 100%; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Print / PDF export
   ========================================================================== */

@media print {
  :root, :root[data-theme="dark"], :root[data-theme="light"] {
    --bg: #fff; --bg-2: #fff; --surface: #fff; --surface-solid: #fff; --surface-2: #f6f7f9; --surface-3: #eceef2;
    --text: #0b1324; --muted: #4b5563; --faint: #6b7280; --border: #dcdfe5; --border-strong: #c9cdd5;
    --pass: #047857; --warn: #b45309; --fail: #be123c; --info: #1d4ed8; --g-b: #4d7c0f; --g-d: #c2410c;
    --accent: #0f766e; --shadow: none; --shadow-sm: none;
    color-scheme: light;
  }
  body { font-size: 10.5pt; background: #fff; }
  .bg-fx, .site-header, .site-footer, .actions, .toolbar .switch, .toast, .no-print, details.tech { display: none !important; }
  main { padding: 0; }
  .card { -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .report-hero::after, .ring .value { filter: none; }
  .finding, .kpi, .cat-card, .priority li { break-inside: avoid; }
  .category-head, .block-title { break-after: avoid; }
  .cat-card:hover, .history-item:hover { transform: none; }
  .print-only { display: flex !important; justify-content: space-between; align-items: center; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid #0f766e; font-weight: 800; }
  .print-only .brand-mark { width: 26px; height: 26px; filter: none; }
}

/* ==========================================================================
   Accessibility & privacy additions
   ========================================================================== */

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--surface-solid);
  color: var(--text);
  border: 2px solid var(--accent);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.finding:focus-visible, .category:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.scan-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 0.9rem; font-weight: 700; }
.f-title { margin: 0; line-height: 1.4; letter-spacing: 0; }
.bar, .bar-fill { display: block; }

/* History: the host name is a real link stretched over the card. */
.h-link { color: var(--text); }
.h-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.h-link:focus-visible { outline: none; }
.history-item:has(.h-link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.history-item .btn-danger { position: relative; z-index: 1; }

/* Links inside running text are underlined so they don't rely on color alone. */
.legal p a, .legal li a, .notice a { text-decoration: underline; text-underline-offset: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--text); }

/* Privacy notice: informational, never blocks the page. */
.notice {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 20px;
  width: min(720px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  font-size: 0.92rem;
}
.notice p { margin: 0; flex: 1; color: var(--muted); }
.notice-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; color: var(--accent); background: var(--surface-3); }
.notice .btn { flex: none; min-width: 72px; }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; }
.legal-head { margin: 8px 0 28px; }
.legal-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
.legal-head .lead { color: var(--muted); font-size: 1.08rem; margin: 0; }
.legal-data { margin-bottom: 32px; }
.legal-data .block-title { margin-top: 0; }
.legal-data p { color: var(--muted); }
.legal-section { margin-top: 30px; }
.legal-section h2 { font-size: 1.2rem; font-weight: 800; }
.legal-section p, .legal-section li { color: var(--muted); overflow-wrap: anywhere; }
.legal-section ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 6px; }
.legal-section .table-wrap { padding: 0; }
.legal-section table th[scope="row"] { color: var(--text); text-transform: none; letter-spacing: 0; font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.legal-section td { color: var(--muted); }

@media (max-width: 720px) {
  .notice { flex-wrap: wrap; bottom: 12px; }
  .notice p { flex-basis: calc(100% - 50px); }
  .notice .btn { width: 100%; }
  .footer-links { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .scan-beam, .float-badge, .pulse-dot::after, .plan.featured::after { animation: none !important; }
}

@media (forced-colors: active) {
  .btn, .card, .scan-row, .notice, .pill, .sev { border: 1px solid CanvasText; }
  .grad-text { color: CanvasText; background: none; }
  .bar-fill, .progress-bar { background: Highlight; forced-color-adjust: none; }
}

@media print {
  .notice, .skip-link { display: none !important; }
}

/* Cookie table stacks into cards on narrow screens. */
@media (max-width: 600px) {
  .legal-section table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-section table, .legal-section tbody, .legal-section tr, .legal-section th, .legal-section td { display: block; }
  .legal-section tr { padding: 12px 14px; border-bottom: 1px solid var(--border); }
  .legal-section tr:last-child { border-bottom: 0; }
  .legal-section th[scope="row"], .legal-section td { padding: 2px 0; border: 0; white-space: normal; }
  .legal-section td::before { content: attr(data-label) ": "; color: var(--faint); font-weight: 700; }
}
.legal-data .btn { white-space: normal; text-align: left; max-width: 100%; }
