/* =====================================================================
   WebTrust OS — shared design system
   Used by every page (index, sample-report, dashboard, about, legal).
   ===================================================================== */
:root {
  --navy-900: #08142e;
  --navy-800: #0b1b3a;
  --navy-700: #12254c;
  --navy-600: #1b335f;
  --ink: #0d1b34;
  --slate: #5b6b86;
  --slate-light: #8593aa;
  --paper: #f6f8fc;
  --paper-2: #eef2f9;
  --white: #ffffff;
  --line: #e2e8f3;
  --line-dark: rgba(255,255,255,0.10);

  --blue: #2f6bff;
  --blue-soft: #5b8cff;
  --cyan: #18c2d8;
  --green: #14b27a;
  --amber: #f3a33b;
  --coral: #ff5b6a;
  --lav: #9b8cff;

  --shadow-sm: 0 1px 2px rgba(13,27,52,0.06), 0 2px 8px rgba(13,27,52,0.04);
  --shadow-md: 0 8px 28px rgba(13,27,52,0.08), 0 2px 8px rgba(13,27,52,0.05);
  --shadow-lg: 0 30px 70px rgba(8,20,46,0.18), 0 8px 24px rgba(8,20,46,0.10);
  --shadow-navy: 0 40px 90px rgba(8,20,46,0.45);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --maxw: 1180px;

  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--blue); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--blue); display: inline-block; }
h1,h2,h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; }
.sec-title { font-size: clamp(28px, 4vw, 46px); margin: 16px 0 14px; }
.sec-lead { color: var(--slate); font-size: 18px; max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s; white-space: nowrap;
}
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(47,107,255,0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(47,107,255,0.42); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.18); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,0.18); }
.btn-white { background: #fff; color: var(--navy-800); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(246,248,252,0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
header.nav.scrolled { border-color: var(--line); background: rgba(246,248,252,0.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px; position: relative; flex: none;
  background: linear-gradient(150deg, var(--navy-700), var(--blue));
  display: grid; place-items: center; box-shadow: 0 6px 14px rgba(47,107,255,0.34);
}
.logo-mark svg { width: 18px; height: 18px; }
.logo span.os { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.link { font-size: 14.5px; font-weight: 500; color: var(--slate); transition: color .15s; position: relative; }
.nav-links a.link:hover { color: var(--ink); }
.nav-links a.link.active { color: var(--ink); }
.nav-links a.link.active::after { content: ""; position: absolute; bottom: -6px; left: 0; right: 0; height: 2px; background: var(--blue); border-radius: 2px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; background: none; border: none; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg .glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero-bg .g1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(47,107,255,0.30), transparent 70%); top: -180px; right: -120px; }
.hero-bg .g2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(24,194,216,0.22), transparent 70%); bottom: -160px; left: -120px; }
.grid-overlay {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  -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%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 54px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); margin: 22px 0 0; }
.hero h1 em { font-style: italic; color: var(--blue); }
.hero .sub { font-size: 19px; color: var(--slate); margin: 22px 0 28px; max-width: 540px; }

.scanbar { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px; display: flex; gap: 8px; box-shadow: var(--shadow-md); max-width: 540px; }
.scanbar .inputwrap { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.scanbar .inputwrap svg { width: 17px; height: 17px; color: var(--slate-light); flex: none; }
.scanbar input { border: none; outline: none; font-family: var(--font-mono); font-size: 15px; width: 100%; background: transparent; color: var(--ink); padding: 12px 0; }
.scanbar input::placeholder { color: var(--slate-light); }
.microcopy { font-size: 13.5px; color: var(--slate); margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.microcopy svg { width: 15px; height: 15px; color: var(--green); }
.hero-ctas { display: flex; gap: 12px; align-items: center; margin-top: 22px; }

/* ---------- Device / dashboard mock ---------- */
.device {
  position: relative; z-index: 1;
  background: var(--navy-800);
  border-radius: 18px;
  box-shadow: var(--shadow-navy);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.device-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line-dark); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.device-url { margin-left: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--slate-light); background: rgba(255,255,255,0.06); padding: 5px 12px; border-radius: 7px; flex: 1; }
.device-body { padding: 20px; color: #e8edf6; }

.dash-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.dash-head .dom { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); }
.dash-head .meta { font-size: 11.5px; color: var(--slate-light); margin-top: 3px; }
.risk-badge { font-family: var(--font-mono); font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 30px; letter-spacing: .04em; }
.risk-low { background: rgba(20,178,122,0.16); color: var(--green); border: 1px solid rgba(20,178,122,0.3); }
.risk-medium { background: rgba(243,163,59,0.16); color: var(--amber); border: 1px solid rgba(243,163,59,0.3); }
.risk-high { background: rgba(255,91,106,0.16); color: var(--coral); border: 1px solid rgba(255,91,106,0.3); }
.risk-critical { background: rgba(255,91,106,0.22); color: var(--coral); border: 1px solid rgba(255,91,106,0.45); }

.overall { display: flex; align-items: center; gap: 18px; padding: 16px 0 20px; }
.ring { position: relative; width: 96px; height: 96px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring .val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .val b { font-family: var(--font-mono); font-size: 26px; font-weight: 600; color: #fff; line-height: 1; }
.ring .val small { font-size: 10px; color: var(--slate-light); }
.overall-txt h4 { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: #fff; }
.overall-txt p { font-size: 12.5px; color: var(--slate-light); margin-top: 4px; max-width: 230px; }

.score-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.mini { background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); border-radius: 10px; padding: 11px 10px; }
.mini .lbl { font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-light); height: 24px; }
.mini .num { font-family: var(--font-mono); font-size: 19px; font-weight: 600; margin: 7px 0 7px; }
.barwrap { height: 4px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.barwrap i { display: block; height: 100%; border-radius: 3px; }
.float-card {
  position: absolute; background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 14px;
  box-shadow: var(--shadow-lg); font-size: 12.5px; display: flex; align-items: center; gap: 10px; z-index: 3;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.float-card b { font-family: var(--font-mono); font-size: 13px; }
.fc1 { top: 60px; left: -34px; }
.fc2 { bottom: 40px; right: -28px; animation-delay: 1.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Trust bar ---------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trustbar .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding: 22px 0; align-items: center; }
.trustbar .item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; color: var(--slate); }
.trustbar .item svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

/* ---------- generic section ---------- */
section.block { padding: 96px 0; }
.center { text-align: center; margin: 0 auto; }
.center .sec-lead { margin-left: auto; margin-right: auto; }

/* ---------- Sub-page header ---------- */
.page-header { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; padding: 84px 0 64px; }
.page-header .glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(47,107,255,.26), transparent 70%); filter: blur(80px); top: -220px; right: -120px; }
.page-header .grid-overlay { opacity: .12; -webkit-mask-image: radial-gradient(ellipse 80% 80% at 30% 20%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 80% at 30% 20%, #000, transparent 75%); background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px); }
.page-header .inner { position: relative; z-index: 1; }
.page-header .eyebrow { color: var(--cyan); } .page-header .eyebrow::before { background: var(--cyan); }
.page-header h1 { font-size: clamp(30px, 4.6vw, 50px); margin: 16px 0 14px; color: #fff; }
.page-header p { color: var(--slate-light); font-size: 18px; max-width: 640px; }
.crumb { font-family: var(--font-mono); font-size: 12px; color: var(--slate-light); margin-bottom: 6px; }
.crumb a:hover { color: #fff; }

/* ---------- Pain ---------- */
.pain { background: var(--navy-800); color: #e8edf6; position: relative; overflow: hidden; }
.pain .grid-overlay { opacity: .14; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 30% 30%, #000, transparent 75%); background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px); }
.pain .eyebrow { color: var(--cyan); } .pain .eyebrow::before { background: var(--cyan); }
.pain h2 { color: #fff; }
.pain .sec-lead { color: var(--slate-light); }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.leak-list { display: flex; flex-direction: column; gap: 10px; }
.leak {
  display: flex; align-items: center; gap: 13px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark); border-radius: 12px; padding: 14px 16px; font-size: 14.5px;
}
.leak .x { width: 24px; height: 24px; border-radius: 7px; background: rgba(255,91,106,0.16); color: var(--coral); display: grid; place-items: center; flex: none; font-weight: 700; }
.leak .tag { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--amber); border: 1px solid rgba(243,163,59,.3); padding: 3px 8px; border-radius: 20px; }

/* ---------- Score cards section ---------- */
.cards5 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.scard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden;
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.scard .top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.scard .cat { font-weight: 600; font-size: 15px; }
.scard .pill { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; padding: 4px 9px; border-radius: 20px; }
.scard .scorebig { font-family: var(--font-mono); font-size: 40px; font-weight: 600; line-height: 1; }
.scard .scorebig sub { font-size: 16px; color: var(--slate-light); font-weight: 400; }
.scard .desc { font-size: 13.5px; color: var(--slate); margin-top: 12px; min-height: 58px; }
.scard .track { height: 6px; background: var(--paper-2); border-radius: 4px; margin-top: 14px; overflow: hidden; }
.scard .track i { display: block; height: 100%; border-radius: 4px; width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.p-green { background: rgba(20,178,122,.12); color: var(--green); }
.p-amber { background: rgba(243,163,59,.14); color: #d98018; }
.p-coral { background: rgba(255,91,106,.12); color: var(--coral); }
.p-blue  { background: rgba(47,107,255,.12); color: var(--blue); }

/* ---------- Features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 44px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(47,107,255,.4); }
.feat .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(150deg, var(--paper-2), #fff); border: 1px solid var(--line); }
.feat .ic svg { width: 22px; height: 22px; color: var(--blue); }
.feat h3 { font-size: 19px; margin-bottom: 9px; }
.feat p { font-size: 14px; color: var(--slate); }

/* ---------- How it works ---------- */
.how { background: linear-gradient(180deg, #fff, var(--paper)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 46px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step .n { font-family: var(--font-mono); font-size: 13px; color: var(--blue); font-weight: 600; }
.step h3 { font-size: 18px; margin: 12px 0 8px; }
.step p { font-size: 13.5px; color: var(--slate); }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), transparent); }

/* ---------- Audience ---------- */
.who-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-top: 44px; }
.who { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px; transition: transform .2s, box-shadow .2s; }
.who:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.who .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-800); margin-bottom: 14px; }
.who .ic svg { width: 19px; height: 19px; color: var(--cyan); }
.who h3 { font-size: 16px; margin-bottom: 7px; }
.who p { font-size: 13px; color: var(--slate); }

/* ---------- split / region table ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.cmp-table { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-md); font-size: 13px; }
.cmp-table table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp-table thead th { background: var(--navy-800); color: #fff; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; }
.cmp-table th:first-child { width: 40%; }
.cmp-table td { color: var(--slate); }
.cmp-table td.req { color: var(--green); font-weight: 500; font-family: var(--font-mono); font-size: 11.5px; }
.cmp-table td.yours { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; }
.cmp-table td.partial { color: var(--amber); } .cmp-table td.missing { color: var(--coral); }
.cmp-table tbody tr:last-child td { border-bottom: none; }

/* ---------- Sample report band (landing) ---------- */
.report { background: var(--navy-900); color: #e8edf6; position: relative; overflow: hidden; }
.report .glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(47,107,255,.22), transparent 70%); filter: blur(80px); top: -200px; right: -150px; }
.report .eyebrow { color: var(--cyan); } .report .eyebrow::before { background: var(--cyan); }
.report h2 { color: #fff; }
.report .sec-lead { color: var(--slate-light); }
.report-card {
  background: linear-gradient(180deg, #fff, #f4f7fd); color: var(--ink); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative; z-index: 1;
}
.rc-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 26px; border-bottom: 1px solid var(--line); background: #fff; flex-wrap: wrap; gap: 12px; }
.rc-head .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.rc-head .stamp { font-family: var(--font-mono); font-size: 11px; color: var(--slate); }
.rc-body { padding: 26px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.rc-sum h4 { font-family: var(--font-display); font-size: 21px; font-weight: 500; margin-bottom: 12px; }
.rc-sum p { font-size: 14px; color: var(--slate); margin-bottom: 16px; }
.rc-stats { display: flex; gap: 22px; flex-wrap: wrap; }
.rc-stat .k { font-family: var(--font-mono); font-size: 11px; color: var(--slate-light); text-transform: uppercase; letter-spacing: .05em; }
.rc-stat .v { font-family: var(--font-display); font-size: 20px; margin-top: 2px; }
.fixlist { list-style: none; }
.fixlist .ttl { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); margin-bottom: 12px; }
.fixlist li.fx { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.fixlist li.fx .rank { font-family: var(--font-mono); font-weight: 600; color: var(--blue); flex: none; width: 22px; }
.fixlist li.fx .sev { margin-left: auto; font-family: var(--font-mono); font-size: 10px; padding: 2px 7px; border-radius: 14px; flex: none; align-self: center; }
.sev-high { background: rgba(255,91,106,.12); color: var(--coral); }
.sev-med { background: rgba(243,163,59,.14); color: #d98018; }
.sev-low { background: rgba(20,178,122,.12); color: var(--green); }
.radar-wrap { display: grid; place-items: center; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 46px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; position: relative; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.feature { border: 1.5px solid var(--blue); box-shadow: 0 20px 44px rgba(47,107,255,.16); }
.plan .badge { position: absolute; top: -11px; left: 22px; background: var(--blue); color: #fff; font-family: var(--font-mono); font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: 20px; letter-spacing: .06em; }
.plan .name { font-weight: 600; font-size: 15px; }
.plan .price { font-family: var(--font-display); font-size: 38px; margin: 12px 0 2px; line-height: 1; }
.plan .price small { font-size: 14px; color: var(--slate); font-family: var(--font-sans); }
.plan .sub { font-size: 12.5px; color: var(--slate); min-height: 34px; }
.plan ul { list-style: none; margin: 18px 0 22px; display: flex; flex-direction: column; gap: 9px; }
.plan li { font-size: 13px; display: flex; gap: 9px; align-items: flex-start; color: var(--ink); }
.plan li svg { width: 15px; height: 15px; color: var(--green); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; width: 100%; }
.price-note { text-align: center; margin-top: 28px; font-size: 13px; color: var(--slate); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 44px auto 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; text-align: left; padding: 22px 4px; font-family: var(--font-display); font-size: 19px; font-weight: 500; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .25s; font-size: 18px; color: var(--blue); }
.faq-item.open .pm { transform: rotate(45deg); background: var(--blue); color: #fff; border-color: var(--blue); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 4px 22px; color: var(--slate); font-size: 15px; max-width: 660px; }

/* ---------- Final CTA ---------- */
.final { padding: 0 0 96px; }
.final-card {
  background: var(--navy-800); border-radius: var(--r-lg); padding: 64px 48px; text-align: center; color: #fff;
  position: relative; overflow: hidden; box-shadow: var(--shadow-navy);
}
.final-card .glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.final-card .g1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(47,107,255,.4), transparent 70%); top: -160px; left: -80px; }
.final-card .g2 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(24,194,216,.3), transparent 70%); bottom: -160px; right: -60px; }
.final-card h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); position: relative; z-index: 1; }
.final-card p { color: var(--slate-light); font-size: 17px; max-width: 520px; margin: 16px auto 28px; position: relative; z-index: 1; }
.final-scanbar { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; }

/* ---------- Footer ---------- */
footer { background: var(--navy-900); color: var(--slate-light); padding: 60px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 38px; border-bottom: 1px solid var(--line-dark); }
footer .logo { color: #fff; margin-bottom: 14px; }
footer .blurb { font-size: 13.5px; max-width: 280px; }
.foot-col h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-mono); font-weight: 500; margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14px; margin-bottom: 11px; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.disclaimer { font-size: 12px; line-height: 1.7; padding: 26px 0 0; color: #6f7f9c; max-width: 880px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 13px; }

/* ---------- Scan modal/overlay ---------- */
.overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(8,20,46,0.72); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .3s; }
.overlay.show { display: flex; opacity: 1; }
.scan-modal { background: var(--navy-800); border: 1px solid var(--line-dark); border-radius: var(--r-lg); width: 100%; max-width: 520px; padding: 36px; color: #e8edf6; box-shadow: var(--shadow-navy); }
.scan-modal .mhead { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.scan-modal .mhead .pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(24,194,216,.6); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(24,194,216,.5);} 70%{box-shadow:0 0 0 12px rgba(24,194,216,0);} 100%{box-shadow:0 0 0 0 rgba(24,194,216,0);} }
.scan-modal h3 { color: #fff; font-size: 22px; }
.scan-modal .scandom { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); margin: 4px 0 22px; }
.checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.ck { display: flex; align-items: center; gap: 13px; font-size: 14.5px; color: var(--slate-light); opacity: .45; transition: opacity .3s, color .3s; }
.ck.active { opacity: 1; color: #fff; }
.ck.done { opacity: 1; color: #e8edf6; }
.ck .box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-dark); display: grid; place-items: center; flex: none; transition: .3s; }
.ck.active .box { border-color: var(--cyan); }
.ck.done .box { background: var(--green); border-color: var(--green); }
.ck .box svg { width: 13px; height: 13px; color: #fff; opacity: 0; transition: .2s; }
.ck.done .box svg { opacity: 1; }
.ck .spinner { width: 14px; height: 14px; border: 2px solid rgba(24,194,216,.3); border-top-color: var(--cyan); border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.ck.active .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress { height: 5px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--cyan), var(--blue)); border-radius: 4px; transition: width .4s ease; }
.modal-note { font-size: 11.5px; color: var(--slate-light); margin-top: 16px; text-align: center; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   FULL REPORT PAGE (sample-report.html)
   ===================================================================== */
.report-page { padding: 56px 0 96px; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.doc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
.doc-toolbar .left { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--slate); }
.doc-toolbar .actions { display: flex; gap: 10px; }
.sample-flag { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; color: #d98018; background: rgba(243,163,59,.14); border: 1px solid rgba(243,163,59,.3); padding: 4px 10px; border-radius: 20px; }

.doc-hero { padding: 36px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--paper)); }
.doc-hero .screenshot { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: #fff; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.shot-bar .device-url { color: var(--slate); background: #fff; }
.shot-body { padding: 26px; min-height: 150px; background:
  radial-gradient(circle at 20% 20%, rgba(47,107,255,.06), transparent 40%),
  radial-gradient(circle at 80% 80%, rgba(24,194,216,.06), transparent 40%), #fff; }
.shot-body .fake-h { height: 16px; width: 60%; background: var(--paper-2); border-radius: 5px; margin-bottom: 12px; }
.shot-body .fake-l { height: 9px; background: var(--paper-2); border-radius: 5px; margin-bottom: 8px; }
.shot-body .fake-l.s { width: 80%; } .shot-body .fake-l.m { width: 92%; }
.shot-body .fake-btn { height: 30px; width: 120px; background: var(--blue); border-radius: 7px; margin-top: 16px; opacity: .85; }

.doc-overall { display: flex; align-items: center; gap: 22px; }
.ring-lg { position: relative; width: 132px; height: 132px; flex: none; }
.ring-lg svg { transform: rotate(-90deg); }
.ring-lg .val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-lg .val b { font-family: var(--font-mono); font-size: 38px; font-weight: 600; color: var(--ink); line-height: 1; }
.ring-lg .val small { font-size: 11px; color: var(--slate); }
.doc-overall h2 { font-size: 26px; }
.doc-overall .meta { font-family: var(--font-mono); font-size: 12px; color: var(--slate); margin: 6px 0 12px; }

.doc-section { padding: 36px; border-bottom: 1px solid var(--line); }
.doc-section:last-child { border-bottom: none; }
.doc-section > .head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.doc-section > .head .num { font-family: var(--font-mono); font-size: 12px; color: var(--blue); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; }
.doc-section > .head h3 { font-size: 24px; }
.doc-section .lead { color: var(--slate); font-size: 15px; max-width: 760px; margin-bottom: 22px; }

.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: #fff; }
.cat-card .cname { font-size: 13px; font-weight: 600; }
.cat-card .cscore { font-family: var(--font-mono); font-size: 30px; font-weight: 600; margin: 8px 0; }
.cat-card .clabel { font-family: var(--font-mono); font-size: 10px; padding: 3px 8px; border-radius: 14px; display: inline-block; }
.cat-card .ctrack { height: 5px; border-radius: 4px; background: var(--paper-2); margin-top: 12px; overflow: hidden; }
.cat-card .ctrack i { display: block; height: 100%; border-radius: 4px; }

.finding { border: 1px solid var(--line); border-left-width: 4px; border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; background: #fff; }
.finding.high { border-left-color: var(--coral); }
.finding.med { border-left-color: var(--amber); }
.finding.low { border-left-color: var(--green); }
.finding .fhead { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.finding .fhead .ttl { font-weight: 600; font-size: 15px; }
.finding .fhead .sev { font-family: var(--font-mono); font-size: 10px; padding: 2px 8px; border-radius: 14px; }
.finding .fhead .cat-tag { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--slate); }
.finding p { font-size: 13.5px; color: var(--slate); margin-bottom: 6px; }
.finding .rec { font-size: 13.5px; color: var(--ink); }
.finding .rec b { color: var(--blue); }

.aifix { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 16px; }
.aifix .ahead { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
.aifix .ahead .badge-ai { font-family: var(--font-mono); font-size: 10px; color: var(--blue); background: rgba(47,107,255,.1); border: 1px solid rgba(47,107,255,.25); padding: 3px 8px; border-radius: 14px; letter-spacing: .04em; }
.aifix .ahead .ttl { font-weight: 600; font-size: 14.5px; }
.aifix .ahead .pr { margin-left: auto; display: flex; gap: 8px; }
.aifix .chip { font-family: var(--font-mono); font-size: 10px; padding: 3px 8px; border-radius: 14px; background: var(--paper-2); color: var(--slate); }
.aifix .abody { padding: 18px; display: grid; gap: 14px; }
.aifix .blk .lab { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); margin-bottom: 6px; }
.aifix .blk p { font-size: 13.5px; color: var(--ink); }
.aifix .draft { background: var(--navy-900); color: #cdd8ec; border-radius: 10px; padding: 14px 16px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; white-space: pre-wrap; }
.aifix .draft .cm { color: var(--slate-light); }

.report-sidebar { position: sticky; top: 86px; }
.report-layout { display: grid; grid-template-columns: 1fr; gap: 0; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; font-size: 13.5px; }
.toc h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin-bottom: 12px; }
.toc a { display: block; padding: 6px 0; color: var(--slate); border-bottom: 1px dashed var(--line); }
.toc a:last-child { border-bottom: none; }
.toc a:hover { color: var(--blue); }

/* =====================================================================
   DASHBOARD PAGE (dashboard.html)
   ===================================================================== */
.app { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar { background: var(--navy-900); color: #cdd8ec; padding: 22px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.sidebar .logo { color: #fff; margin: 4px 8px 26px; }
.side-group { margin-bottom: 22px; }
.side-group .gl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-light); padding: 0 10px; margin-bottom: 8px; }
.side-link { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 10px; font-size: 14px; color: #aebbd2; transition: background .15s, color .15s; margin-bottom: 2px; }
.side-link svg { width: 18px; height: 18px; flex: none; }
.side-link:hover { background: rgba(255,255,255,0.05); color: #fff; }
.side-link.active { background: rgba(47,107,255,.16); color: #fff; }
.side-foot { margin-top: auto; }
.side-user { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 10px; background: rgba(255,255,255,0.04); }
.side-user .av { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(150deg, var(--blue), var(--cyan)); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; flex: none; }
.side-user .nm { font-size: 13px; color: #fff; font-weight: 500; }
.side-user .pl { font-size: 11px; color: var(--slate-light); }

.main { background: var(--paper); min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 30px; background: rgba(246,248,252,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; flex-wrap: wrap; }
.topbar h1 { font-size: 24px; }
.topbar .sub { font-size: 13px; color: var(--slate); }
.topbar .right { display: flex; align-items: center; gap: 12px; }
.search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 13px; color: var(--slate); min-width: 200px; }
.search input { border: none; outline: none; font-family: var(--font-sans); font-size: 13px; width: 100%; }
.main-inner { padding: 30px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-sm); }
.kpi .kl { font-size: 12.5px; color: var(--slate); display: flex; align-items: center; gap: 8px; }
.kpi .kl .dotk { width: 8px; height: 8px; border-radius: 50%; }
.kpi .kv { font-family: var(--font-mono); font-size: 32px; font-weight: 600; margin-top: 10px; line-height: 1; }
.kpi .kd { font-size: 12px; margin-top: 8px; display: flex; align-items: center; gap: 5px; }
.kpi .up { color: var(--green); } .kpi .down { color: var(--coral); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); margin-bottom: 24px; overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-head h3 { font-size: 19px; }
.panel-head .ph-sub { font-size: 12.5px; color: var(--slate); }

.wt-table { width: 100%; border-collapse: collapse; }
.wt-table th { text-align: left; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--slate); padding: 12px 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
.wt-table td { padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.wt-table tr:last-child td { border-bottom: none; }
.wt-table tbody tr { transition: background .15s; }
.wt-table tbody tr:hover { background: var(--paper); }
.site-cell { display: flex; align-items: center; gap: 12px; }
.site-cell .fav { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; flex: none; font-family: var(--font-display); }
.site-cell .dn { font-weight: 600; font-size: 14px; }
.site-cell .ind { font-size: 12px; color: var(--slate); }
.score-pill { font-family: var(--font-mono); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.score-pill .dotk { width: 9px; height: 9px; border-radius: 50%; }
.spark { display: inline-flex; align-items: flex-end; gap: 2px; height: 26px; }
.spark i { width: 5px; border-radius: 2px; background: var(--blue); opacity: .35; }
.spark i.last { opacity: 1; }
.trend { font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.trend.up { color: var(--green); } .trend.down { color: var(--coral); } .trend.flat { color: var(--slate); }
.row-actions { display: flex; gap: 8px; justify-content: flex-end; }

.dash-2col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.history { padding: 8px 22px 18px; }
.hrow { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.hrow:last-child { border-bottom: none; }
.hrow .hdate { font-family: var(--font-mono); font-size: 12px; color: var(--slate); width: 92px; flex: none; }
.hrow .hbar { flex: 1; height: 7px; background: var(--paper-2); border-radius: 5px; overflow: hidden; }
.hrow .hbar i { display: block; height: 100%; border-radius: 5px; }
.hrow .hscore { font-family: var(--font-mono); font-weight: 600; font-size: 13px; width: 40px; text-align: right; }
.hrow .hdelta { font-family: var(--font-mono); font-size: 11px; width: 46px; text-align: right; }

.reports-list { padding: 8px 0; }
.rep-item { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--line); transition: background .15s; }
.rep-item:last-child { border-bottom: none; }
.rep-item:hover { background: var(--paper); }
.rep-item .ric { width: 38px; height: 38px; border-radius: 9px; background: rgba(47,107,255,.1); color: var(--blue); display: grid; place-items: center; flex: none; }
.rep-item .rmeta { flex: 1; }
.rep-item .rname { font-weight: 600; font-size: 13.5px; }
.rep-item .rdate { font-size: 12px; color: var(--slate); }
.rep-item .rfmt { font-family: var(--font-mono); font-size: 10px; padding: 3px 8px; border-radius: 14px; background: var(--paper-2); color: var(--slate); }

.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--navy-800); color: #fff; padding: 13px 20px; border-radius: 12px; box-shadow: var(--shadow-navy); font-size: 14px; display: flex; align-items: center; gap: 10px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 2000; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: var(--cyan); }

/* =====================================================================
   PROSE / LEGAL + ABOUT
   ===================================================================== */
.prose-page { padding: 56px 0 96px; }
.prose-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.prose-nav { position: sticky; top: 90px; font-size: 13.5px; }
.prose-nav h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; }
.prose-nav a { display: block; padding: 7px 0; color: var(--slate); transition: color .15s; }
.prose-nav a:hover { color: var(--blue); }
.prose { max-width: 760px; }
.prose .updated { font-family: var(--font-mono); font-size: 12px; color: var(--slate); margin-bottom: 28px; }
.prose h2 { font-size: 26px; margin: 38px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 24px 0 10px; }
.prose p { color: var(--slate); margin-bottom: 16px; font-size: 15.5px; }
.prose ul { margin: 0 0 18px 20px; color: var(--slate); }
.prose li { margin-bottom: 8px; font-size: 15px; }
.prose strong { color: var(--ink); }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--amber); background: rgba(243,163,59,.06); border-radius: 12px; padding: 18px 20px; margin: 22px 0; }
.callout.blue { border-left-color: var(--blue); background: rgba(47,107,255,.05); }
.callout p { margin: 0; color: var(--ink); font-size: 14.5px; }
.callout .ct { font-weight: 600; display: block; margin-bottom: 6px; }

.about-story { max-width: 820px; margin: 0 auto; }
.about-story .lead-quote { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 34px); line-height: 1.3; color: var(--ink); margin: 0 0 30px; }
.about-story p { font-size: 17px; color: var(--slate); margin-bottom: 20px; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 18px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.value .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--navy-800); display: grid; place-items: center; margin-bottom: 14px; }
.value .ic svg { width: 20px; height: 20px; color: var(--cyan); }
.value h3 { font-size: 18px; margin-bottom: 8px; }
.value p { font-size: 14px; color: var(--slate); margin: 0; }
.metrics-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.metric { text-align: center; }
.metric .big { font-family: var(--font-display); font-size: 40px; color: var(--blue); }
.metric .lbl { font-size: 13px; color: var(--slate); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}
@media (max-width: 980px) {
  .hero-grid, .pain-grid, .split, .rc-body, .doc-hero { grid-template-columns: 1fr; }
  .device { margin-top: 20px; }
  .cards5, .feat-grid, .steps { grid-template-columns: repeat(2,1fr); }
  .who-grid { grid-template-columns: repeat(2,1fr); }
  .price-grid { grid-template-columns: repeat(2,1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .float-card { display: none; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .kpis { grid-template-columns: repeat(2,1fr); }
  .dash-2col { grid-template-columns: 1fr; }
  .prose-layout { grid-template-columns: 1fr; }
  .prose-nav { display: none; }
  .values, .metrics-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  section.block { padding: 64px 0; }
  .cards5, .feat-grid, .steps, .who-grid, .price-grid, .score-grid, .cat-grid, .kpis, .values, .metrics-row { grid-template-columns: 1fr; }
  .score-grid, .cat-grid { grid-template-columns: repeat(2,1fr); }
  .scanbar { flex-direction: column; }
  .scanbar .btn { width: 100%; }
  .final-card { padding: 44px 24px; }
  .rc-body, .doc-section, .doc-hero { padding: 22px; }
  .wt-table thead { display: none; }
  .wt-table td { padding: 10px 16px; }
  .main-inner { padding: 18px; }
  .lf-row { grid-template-columns: 1fr; }
  .lead-modal { padding: 28px 22px; }
}

/* =====================================================================
   Report loading spinner (report.html)
   ===================================================================== */
.scan-spinner { width: 42px; height: 42px; border: 4px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }

/* Real-scan badge in the dashboard */
.real-badge { display: inline-block; vertical-align: middle; margin-left: 8px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; color: #fff; background: var(--green); padding: 3px 8px; border-radius: 6px; }

/* =====================================================================
   Lead / signup modal
   ===================================================================== */
.lead-overlay { position: fixed; inset: 0; z-index: 1500; background: rgba(8,20,46,0.72); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .25s; }
.lead-overlay.show { display: flex; opacity: 1; }
.lead-modal { position: relative; background: var(--white); border-radius: var(--r-lg); width: 100%; max-width: 560px; padding: 40px; box-shadow: var(--shadow-lg); max-height: 92vh; overflow-y: auto; }
.lead-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 1px solid var(--line); background: var(--white); border-radius: 10px; color: var(--slate); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.lead-close:hover { background: var(--paper-2); color: var(--ink); }
.lead-head h3 { font-family: var(--font-display); font-size: 27px; color: var(--ink); margin: 6px 0 8px; }
.lead-head p { color: var(--slate); font-size: 14.5px; margin: 0 0 22px; }
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.lf input, .lf textarea { font-family: var(--font-sans); font-size: 14.5px; font-weight: 400; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.lf input:focus, .lf textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,107,255,.12); background: #fff; }
.lf textarea { resize: vertical; }
.lead-fine { font-size: 12px; color: var(--slate); text-align: center; margin: 4px 0 0; }
.lead-fine a { color: var(--blue); }
.lead-success { text-align: center; padding: 18px 0 6px; }
.lead-success .ls-check { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: rgba(20,178,122,.12); color: var(--green); display: flex; align-items: center; justify-content: center; }
.lead-success .ls-check svg { width: 30px; height: 30px; }
.lead-success h3 { font-family: var(--font-display); font-size: 24px; color: var(--ink); margin: 0 0 8px; }
.lead-success p { color: var(--slate); font-size: 14.5px; max-width: 380px; margin: 0 auto 22px; }
