/* Securick landing (v2).
   Dark hero with a violet glow, light lavender sections, glass result card.
   General Sans for display and body, Geist Mono for labels, chips and proof.
   No inline styles anywhere: the CSP is style-src 'self'. */

/* ---------- fonts (self-hosted, see web/fonts/) ----------
   Google Sans Flex (SIL OFL 1.1, web/fonts/GoogleSansFlex-OFL.txt): Latin subset, weight axis 400–700
   only. General Sans stays for anything that still names it. */
@font-face { font-family: "Google Sans Flex"; src: url("/fonts/GoogleSansFlex-Variable.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --dark: #07070c;
  --dark-card: #0e0d18;
  --glass: rgba(12, 11, 22, .72);
  --glass-strong: rgba(12, 11, 22, .8);
  --glass-bar: rgba(14, 13, 24, .55);

  --page: #f4f3fa;
  --card: #fff;
  --border: #e4e2ef;
  --hair: #efedf7;
  --hair-2: #eeecf7;
  --tint: #efedff;
  --tint-2: #e9e6fb;

  --ink: #15141c;
  --ink-2: #3a3848;
  --muted: #5c5a70;
  --subtle: #67647e;

  --violet: #5a48ff;
  --violet-deep: #4a38f0;
  --violet-3: #8f82ff;
  --violet-4: #b7aeff;
  --violet-5: #c9c2ff;
  --violet-6: #d9d3ff;
  --violet-hover: #e4e0ff;

  --mint: #3de6a4; /* Securick brand green (2026-11-15): the tick and "passed" only */
  --pass: #3de6a4;
  --pass-ink: #3de6a4;
  --pass-light: #1d8a5a;
  --pass-light-2: #2bb57a;
  --warn-ink: #f5c56e;
  --warn-light: #d9961f;
  --fail: #ff5470;
  --fail-ink: #ff8095;
  --fail-light: #e8364f;

  --sans: "Google Sans Flex", "General Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --shadow-primary: 0 8px 24px rgba(90, 72, 255, .45);
  --shadow-dark-card: 0 30px 70px rgba(40, 30, 120, .25);
  --shadow-glass: 0 20px 50px rgba(0, 0, 0, .4);
  --shadow-light: 0 1px 2px rgba(20, 18, 40, .04);
  --gutter: 48px;
}

/* ---------- keyframes ---------- */
@keyframes lpDrift { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(4%, -5%, 0) scale(1.08); } }
@keyframes lpPulse { 0% { box-shadow: 0 0 0 0 rgba(61, 230, 164, .7); } 70% { box-shadow: 0 0 0 7px rgba(61, 230, 164, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 230, 164, 0); } }
@keyframes lpIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes lpRowIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes lpScanLine { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
main { display: block; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--violet-3); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }
code, pre { font-family: var(--mono); }
::selection { background: rgba(110, 92, 255, .35); }
:focus-visible { outline: 2px solid var(--violet-3); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 16px; }

/* Lucide-style icons: stroke via CSS so markup carries no style attributes. */
.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { max-width: 1228px; width: 100%; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 14.5px/1 var(--sans); border: 0; border-radius: 8px; cursor: pointer;
  white-space: nowrap; text-decoration: none; transition: background-color .15s, box-shadow .15s;
}
.btn:disabled, .btn[aria-disabled="true"] { cursor: default; }
.btn-sm { font-size: 13.5px; padding: 10px 14px; gap: 6px; }
.btn-lg { font-size: 15px; padding: 14px 20px; border-radius: 10px; }
.btn-block { width: 100%; padding: 12px; font-size: 14px; margin-top: 8px; }
.btn-primary {
  background: var(--violet); color: #fff; padding: 0 18px;
  box-shadow: var(--shadow-primary), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { background: var(--violet-deep); color: #fff; }
.btn-primary.btn-lg { padding: 14px 20px; } /* .btn-primary's padding would otherwise flatten large buttons */
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.btn-white { background: #fff; color: #0c0b14; }
.btn-white:hover { background: var(--violet-hover); color: #0c0b14; }
.btn-white:disabled { opacity: .6; cursor: not-allowed; }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid #d9d6e8; }
.btn-outline:hover { background: var(--page); color: var(--ink); }
.btn-soon, .btn-soon:hover { background: var(--page); color: var(--subtle); }
.btn-ghost-dark {
  background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .16);
  padding: 10px 14px; font-size: 13.5px;
}
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .18); color: #fff; }

/* ---------- wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; color: #fff; }
.wordmark:hover { color: #fff; }
.wm-tile { fill: var(--violet); }
.wm-shield { fill: var(--dark); }
.wm-tick { fill: none; stroke: var(--mint); stroke-width: 3.8; stroke-linecap: round; stroke-linejoin: round; }

/* =================================================================
   1. Hero
   ================================================================= */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.hero-glow {
  position: absolute; inset: -30% -20% -40% -20%; pointer-events: none; z-index: -1;
  background:
    radial-gradient(45% 45% at 72% 78%, #d9d3ff 0%, #8f82ff 16%, #5a48ff 34%, rgba(64, 44, 220, .55) 52%, transparent 72%),
    radial-gradient(35% 35% at 10% 95%, rgba(90, 72, 255, .45) 0%, transparent 70%);
  animation: lpDrift 18s ease-in-out infinite;
}

/* header */
.site-header-wrap { position: relative; z-index: 4; padding: 18px 24px 0; }
.site-header {
  max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 18px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px;
  background: var(--glass-bar); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.site-nav { display: flex; gap: 0 26px; white-space: nowrap; min-width: 0; font-size: 13.5px; color: rgba(255, 255, 255, .62); margin: 0 auto 0 24px; }
.site-header .btn { margin-left: auto; }
.site-nav + .btn { margin-left: 0; }

/* grid */
.hero-grid {
  position: relative; z-index: 2; display: grid; gap: 16px; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding-top: 80px; padding-bottom: 40px;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pass); animation: lpPulse 2s infinite; }

.hero-title { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 400; }

.hero-lead { font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .7); max-width: 42ch; }

.scan-form {
  display: flex; max-width: 540px; padding: 6px; gap: 6px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .15s, box-shadow .15s;
}
.scan-form:focus-within { border-color: rgba(183, 174, 255, .6); box-shadow: 0 0 0 4px rgba(90, 72, 255, .2); }
.scan-field { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 10px; }
.scan-globe { color: rgba(255, 255, 255, .5); }
.scan-field input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 0;
  font: 400 14.5px var(--mono); color: #fff; outline: none;
}
.scan-field input::placeholder { color: rgba(255, 255, 255, .4); }
.scan-form .btn-primary { min-height: 44px; }

.form-error { margin: -12px 0 0; font-size: 13.5px; color: var(--fail-ink); max-width: 540px; }
.hero-fine { margin-top: -8px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }

/* right column: 3D stack */
.hero-visual { position: relative; height: 560px; min-width: 0; }

/* glass cards */
.glass {
  border: 1px solid rgba(255, 255, 255, .14); background: var(--glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-glass);
}

/* live result card */
.result-card {
  position: absolute; right: 0; top: 10px; z-index: 5; width: 380px; max-width: 100%;
  background: var(--glass-strong); border-radius: 14px; overflow: hidden;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: lpIn .45s ease-out;
}
.rc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; }
.rc-title { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); white-space: nowrap; }
.rc-title .i { color: var(--violet-4); }
.rc-host { font: 400 11px var(--mono); color: rgba(255, 255, 255, .55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.rc-score-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px; }
.rc-score { font-size: 56px; line-height: .9; font-weight: 300; letter-spacing: -0.05em; color: #fff; }
.rc-score small { font-size: 18px; color: rgba(255, 255, 255, .45); letter-spacing: 0; }
.rc-sub { margin-top: 8px; font-size: 12px; color: rgba(255, 255, 255, .55); }
.rc-public { margin-top: 8px; font: 400 12px var(--mono); color: rgba(255, 255, 255, .7); }
.rc-public strong { font-weight: 500; color: #fff; }
.rc-label { margin-bottom: 6px; font: 400 11px var(--mono); color: rgba(255, 255, 255, .55); }
.rc-cap { margin: 0 16px 12px; padding: 9px 11px; border-radius: 8px; background: rgba(245, 197, 110, .1); border: 1px solid rgba(245, 197, 110, .25); color: var(--warn-ink); font-size: 12px; line-height: 1.45; }
.rc-cap ul { margin: 4px 0 0; padding-left: 16px; color: rgba(255, 255, 255, .78); }
.rc-cap a { display: inline-block; margin-top: 6px; color: var(--warn-ink); font-weight: 500; }
.rc-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 9px 16px; border-top: 1px solid rgba(255, 255, 255, .06); }
.rc-name { font-size: 13px; color: #fff; }
.rc-summary { grid-column: 1 / -1; font: 400 11px/1.5 var(--mono); color: rgba(255, 255, 255, .5); overflow-wrap: anywhere; }
/* Fixed-height list: results fill in top to bottom and the list scrolls to follow the running check. */
.rc-rows {
  position: relative; max-height: 330px; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .35), #000 14px, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .35), #000 14px, #000 calc(100% - 28px), transparent);
}
.rc-rows::-webkit-scrollbar { width: 6px; }
.rc-rows::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); border-radius: 3px; }
.rc-row { position: relative; transition: background-color .3s; }
.rc-row-active { background: rgba(143, 130, 255, .08); overflow: hidden; }
.rc-row-active::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 40%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-3), transparent); animation: lpScanLine 1.4s linear infinite;
}
.rc-row-new { animation: lpRowIn .35s ease-out; }
.rc-row:has(.chip-queued) .rc-name { color: rgba(255, 255, 255, .45); }
.rc-unlock { padding: 12px 16px 16px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 10px; }
.rc-issues { font-size: 12px; color: rgba(255, 255, 255, .7); }
.rc-teaser { color: var(--fail-ink); }
.rc-unlock .btn { justify-content: space-between; font-size: 13px; padding: 11px 14px; }
.rc-msg { font-size: 12px; color: var(--fail-ink); }

/* Owner sign-in under the unlock button (shown when checkout isn't available) */
.owner-form { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .14); }
.owner-label { font-size: 12px; color: rgba(255, 255, 255, .7); }
.owner-row { display: flex; gap: 8px; }
.owner-input {
  flex: 1; min-width: 0; font: 400 12.5px var(--mono); color: #fff; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; padding: 9px 10px;
}
.owner-input::placeholder { color: rgba(255, 255, 255, .35); }
.owner-input:focus { outline: none; border-color: var(--violet-3); box-shadow: 0 0 0 3px rgba(143, 130, 255, .25); }
.owner-row .btn { white-space: nowrap; }
.owner-msg { font-size: 12px; color: var(--fail-ink); }
.unlock-panel .owner-form { margin-top: 16px; }
.rc-more { display: block; padding: 11px 16px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; color: var(--violet-4); }
.rc-more:hover { color: #fff; }
.rc-inline { color: var(--violet-4); }
.rc-inline:hover { color: #fff; }

/* status chips (dark surfaces) */
.chip { align-self: start; white-space: nowrap; font: 500 10.5px/1.5 var(--mono); padding: 2px 8px; border-radius: 6px; }
.chip-lg { font-size: 12px; padding: 4px 10px; }
.chip-pass { background: rgba(61, 230, 164, .14); color: var(--pass-ink); }
.chip-warn { background: rgba(245, 184, 74, .14); color: var(--warn-ink); }
.chip-fail { background: rgba(255, 84, 112, .16); color: var(--fail-ink); }
.chip-skipped { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .5); }
.chip-running { background: rgba(143, 130, 255, .2); color: var(--violet-5); }
.chip-queued { background: transparent; color: rgba(255, 255, 255, .35); }
.chip-pro { background: rgba(143, 130, 255, .14); color: var(--violet-6); }
.rc-row-pro .rc-name, .rc-row-pro .rc-summary { color: rgba(255, 255, 255, .5); }

/* Pro scan switch under the hero form (signed-in visitors with scans left) */
.pro-toggle { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: -10px; font-size: 13.5px; color: rgba(255, 255, 255, .85); cursor: pointer; }
.pro-toggle input { width: 16px; height: 16px; accent-color: var(--violet); }
.pro-left { font: 400 12px/1.5 var(--mono); color: var(--violet-6); }

/* builders row */

.builder-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.builder-chip {
  display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); font-size: 14px; font-weight: 500;
}
.builder-chip img { width: 16px; height: 16px; }

/* =================================================================
   Shared light-section pieces
   ================================================================= */
.section { background: var(--page); padding: 40px 0 104px; }
.eyebrow { margin: 0 0 14px; font: 500 12px var(--mono); color: var(--violet); }
.h2 { font-size: 50px; line-height: 1.08; letter-spacing: -0.045em; font-weight: 400; color: var(--ink); max-width: 20ch; }
.accent { color: var(--violet); }
.lead { margin-top: 16px; font-size: 16px; color: var(--muted); max-width: 52ch; }
.lead-wide { max-width: 56ch; }
.h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.body { font-size: 14px; line-height: 1.55; color: var(--muted); }
.mono-meta { font: 400 11px var(--mono); color: var(--subtle); }
.footnote { margin-top: 20px; font-size: 13px; color: var(--subtle); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-light); }
.card-tight { padding: 22px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); }
.card-head-title { display: flex; align-items: center; gap: 8px; }

/* =================================================================
   2. How it works
   ================================================================= */
.section-how { background: linear-gradient(180deg, #e2ddff 0%, #f4f3fa 34%); padding: 104px 0 96px; }

/* step 1: url bar */

/* step 2: radar */

/* step 3: diff */

/* =================================================================
   3. What we check
   ================================================================= */

.icon-tile { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); color: var(--violet); display: flex; align-items: center; justify-content: center; }
.icon-tile .i { stroke-width: 1.8; }
.tag { font-size: 11.5px; font-weight: 500; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tag-free { background: var(--tint); color: var(--violet-deep); }
.tag-deep { background: var(--dark-card); color: #fff; }
.tag-pro { background: var(--violet); color: #fff; }

/* =================================================================
   4. The report (sample)
   ================================================================= */
.evidence-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; margin-top: 52px; align-items: stretch; }

.digest { flex: 1; }
.count-pill { font: 400 11px var(--mono); color: var(--violet); background: var(--tint); border-radius: 6px; padding: 3px 8px; }
.digest-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #efeef6; margin-top: 10px; }
.digest-text { flex: 1; min-width: 0; }
.digest-text p:first-child { font-size: 14px; }
.digest-text .mono-meta { margin-top: 2px; overflow-wrap: anywhere; }
.sev-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sev-dot-critical { background: var(--fail-light); box-shadow: 0 0 0 4px rgba(232, 54, 79, .13); }
.sev-dot-warn { background: var(--warn-light); box-shadow: 0 0 0 4px rgba(217, 150, 31, .13); }
.sev-pill { font-size: 11.5px; font-weight: 500; border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.sev-pill-critical { color: var(--fail-light); background: rgba(232, 54, 79, .08); }
.sev-pill-warn { color: var(--warn-light); background: rgba(217, 150, 31, .08); }

/* dark report card (sample + real findings) */
.report-card { background: var(--dark-card); color: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-dark-card); display: flex; flex-direction: column; min-width: 0; }
.report-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.report-path { display: flex; align-items: center; gap: 8px; font: 400 12px var(--mono); color: rgba(255, 255, 255, .6); min-width: 0; overflow-wrap: anywhere; }
.report-body { padding: 22px 22px 0; }
.report-title { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.report-detail { margin-top: 8px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .6); }
.report-source { margin-top: 10px; font: 400 11.5px/1.5 var(--mono); color: var(--violet-4); }
.report-source a { color: var(--violet-5); text-decoration: underline; text-underline-offset: 2px; }
.report-source a:hover { color: #fff; }
.proof {
  margin: 18px 22px 0; padding: 16px 18px; border-radius: 10px; background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08); font: 400 13px/1.8 var(--mono); overflow-wrap: anywhere;
}
.proof > div { white-space: pre-wrap; }
.proof-label { color: rgba(255, 255, 255, .45); }
.proof-verb { color: var(--violet-4); }
.proof-ok { color: var(--pass-ink); }
.proof-secret { color: var(--fail-ink); }
.fix-box {
  margin: 14px 22px 22px; padding: 16px 18px; border-radius: 10px; flex: 1;
  background: linear-gradient(135deg, rgba(90, 72, 255, .22), rgba(90, 72, 255, .08)); border: 1px solid rgba(143, 130, 255, .35);
}
.fix-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.fix-label { font-size: 12px; color: var(--violet-4); }
.fix-text { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .88); white-space: pre-wrap; overflow-wrap: anywhere; }
.copy-btn {
  display: flex; align-items: center; gap: 6px; font: 500 12px var(--sans); cursor: pointer;
  background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .16); border-radius: 6px; padding: 6px 10px;
}
.copy-btn:hover { background: rgba(255, 255, 255, .18); }
.sev-chip { font: 500 11px var(--sans); border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.sev-chip-critical, .sev-chip-high { color: var(--fail-ink); background: rgba(255, 84, 112, .14); }
.sev-chip-medium { color: var(--warn-ink); background: rgba(245, 184, 74, .14); }
.sev-chip-low, .sev-chip-info { color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); }

/* =================================================================
   5. Pricing
   ================================================================= */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.plan-name { font-size: 16px; font-weight: 500; }
.plan-price { font-size: 44px; letter-spacing: -0.04em; line-height: 1.15; }
.plan-unit { font-size: 14px; color: var(--subtle); letter-spacing: 0; }
.plan-copy { font-size: 14px; color: var(--muted); flex: 1; }
.plans-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.plan-list { flex: 1; display: grid; align-content: start; gap: 8px; margin: 4px 0 8px; padding-left: 18px; font-size: 14px; color: var(--muted); }
.plan-main .plan-list { color: rgba(255, 255, 255, .78); }
.plan-main { position: relative; background: var(--dark-card); color: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(40, 30, 120, .3); isolation: isolate; }
.plan-glow { position: absolute; inset: auto -30% -60% -30%; height: 120%; z-index: -1; pointer-events: none; background: radial-gradient(50% 50% at 50% 100%, rgba(143, 130, 255, .7), transparent 70%); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-pill { font-size: 11px; background: var(--violet); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.plan-main .plan-unit { color: rgba(255, 255, 255, .6); }
.plan-main .plan-copy { color: rgba(255, 255, 255, .75); }

/* =================================================================
   6. FAQ
   ================================================================= */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.faq-h { font-size: inherit; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: transparent; border: 0; padding: 18px 20px; cursor: pointer; text-align: left;
  font: 500 16px/1.4 var(--sans); color: var(--ink); border-radius: 12px;
}
.faq-icon {
  flex: none; width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: #f1effb; color: var(--violet); transition: transform .25s, background-color .25s, color .25s;
}
.faq-q[aria-expanded="true"] .faq-icon { background: var(--violet); color: #fff; transform: rotate(45deg); }
.faq-a { padding: 0 56px 18px 20px; font-size: 14.5px; line-height: 1.6; color: var(--muted); animation: lpIn .3s ease-out; }

/* =================================================================
   7. Closing CTA + footer
   ================================================================= */
.closing { position: relative; background: var(--dark); color: #fff; overflow: hidden; padding: 120px 0; isolation: isolate; }
.closing-glow { position: absolute; inset: -40% -10% -80%; z-index: -1; pointer-events: none; background: radial-gradient(40% 50% at 50% 100%, #8f82ff 0%, #5a48ff 30%, rgba(64, 44, 220, .4) 55%, transparent 75%); animation: lpDrift 18s ease-in-out infinite; }
.closing-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.closing-title { font-size: 64px; line-height: 1.04; letter-spacing: -0.05em; font-weight: 400; max-width: 16ch; }
.closing-sub { font-size: 17px; color: rgba(255, 255, 255, .7); }

.site-footer { background: var(--dark); color: rgba(255, 255, 255, .55); border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.site-footer a:hover { color: var(--violet-3); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 40px 32px; padding-top: 56px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.footer-brand .wordmark { align-self: flex-start; }
.footer-about { color: rgba(255, 255, 255, .7); max-width: 36ch; line-height: 1.55; }
.status-pill { display: flex; align-self: flex-start; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); font: 500 11px var(--mono); color: rgba(255, 255, 255, .7); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pass); }
.status-pill.is-down .status-dot { background: var(--warn-ink); }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
/* WCAG 2.2 SC 2.5.8: text links people tap on phones get at least a 24px target. */
.footer-col a, .site-nav a, .site-header .wordmark, .rc-inline, .legal-nav a, .dash-back { display: inline-flex; align-items: center; min-height: 24px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.legal-doc .dash-card { margin-top: 16px; }
.legal-list { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.legal-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 0; }
.legal-dl dt { font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; color: #6b6880; }
.legal-dl dd { margin: 0; }
.footer-h { font: 500 11px var(--mono); color: rgba(255, 255, 255, .4); margin-bottom: 4px; }
.footer-bottom {
  margin-top: 48px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: 12.5px;
}
.footer-copy { white-space: nowrap; }

/* =================================================================
   Full report view (#results)
   ================================================================= */
.section-results { padding: 72px 0 40px; background: linear-gradient(180deg, #e2ddff 0%, #f4f3fa 220px); }
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 32px; }
.results-head .h2 { max-width: none; overflow-wrap: anywhere; }
.btn-pdf { margin-top: 16px; gap: 8px; }
.rc-links { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255, 255, 255, .08); }
.rc-links .rc-more { border-top: 0; }
.rc-pdf { display: inline-flex; align-items: center; gap: 6px; }
.results-scores { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.results-score-public .results-score-num { font-size: 36px; color: var(--ink-2); }
.results-score { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 12px; }
.results-score-label { grid-column: 1 / -1; margin-bottom: 4px; font: 400 11px var(--mono); color: var(--muted); }
.results-score-num { font-size: 56px; line-height: 1; letter-spacing: -0.05em; }
.results-score-num small { font-size: 18px; color: var(--subtle); letter-spacing: 0; }
.results-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; margin-top: 40px; align-items: start; }
.results-side, .results-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.check-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-top: 1px solid #efeef6; }
.check-list li:first-child { border-top: 0; padding-top: 4px; }
.check-list .cl-name { font-size: 14px; font-weight: 500; }
.check-list .cl-summary { grid-column: 1 / -1; font: 400 11.5px/1.5 var(--mono); color: var(--subtle); overflow-wrap: anywhere; }
.check-list .cl-note { grid-column: 1 / -1; margin-top: 4px; padding: 6px 8px; border-radius: 6px; background: var(--tint); font-size: 12px; line-height: 1.45; color: var(--ink-2); overflow-wrap: anywhere; }

/* status chips on light surfaces */
.lchip { align-self: start; white-space: nowrap; font: 500 10.5px/1.5 var(--mono); padding: 2px 8px; border-radius: 6px; }
.lchip-pass { background: #e7f7ef; color: var(--pass-light); }
.lchip-warn { background: rgba(217, 150, 31, .1); color: #a86f0c; }
.lchip-fail { background: rgba(232, 54, 79, .08); color: #c42840; }
.lchip-skipped { background: var(--page); color: var(--subtle); }
.lchip-running { background: var(--tint); color: var(--violet-deep); }

.panel h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.panel > p, .panel .body { margin-top: 6px; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.panel-actions .btn-primary { padding: 12px 18px; }
.panel-msg { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.panel-msg.is-error { color: var(--fail-light); }
.panel-msg.is-ok { color: var(--pass-light); }
.verify-steps { margin-top: 14px; display: grid; gap: 12px; }
.verify-steps dt { font: 500 11px var(--mono); color: var(--violet); }
.verify-steps dd { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.code-inline { font: 400 12.5px var(--mono); background: var(--page); border: 1px solid var(--hair); border-radius: 6px; padding: 1px 6px; }
.code-block { display: block; margin-top: 10px; font: 400 12.5px/1.6 var(--mono); background: var(--page); border: 1px solid var(--hair); border-radius: 10px; padding: 12px 14px; overflow-wrap: anywhere; white-space: pre-wrap; color: var(--ink-2); }
.badge-img { margin-top: 14px; height: 22px; width: auto; }

.unlock-panel { position: relative; background: var(--dark-card); color: #fff; border-radius: 16px; padding: 24px; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-dark-card); }
.unlock-panel .plan-glow { inset: auto -30% -80% -30%; }
.unlock-panel h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.unlock-panel .teaser { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--fail-ink); }
.unlock-panel .body { color: rgba(255, 255, 255, .7); margin-top: 10px; }
.unlock-panel .panel-msg { color: var(--fail-ink); }

.empty-state { text-align: left; }
.gaps-panel { border-color: rgba(217, 150, 31, .35); }
.gaps-panel .body { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }
.gap-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.gap-list li { display: grid; gap: 2px; padding-left: 12px; border-left: 2px solid rgba(217, 150, 31, .5); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.gap-list strong { font-weight: 500; color: var(--ink); }

/* AI summary at the top of a paid report */
.summary-card { border-left: 3px solid var(--violet); }
.summary-label { font: 500 12px var(--mono); color: var(--violet-deep); }
.panel > .summary-text { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--ink); max-width: 68ch; }
.panel > .summary-note { margin-top: 12px; font-size: 12.5px; color: var(--subtle); }
.summary-wait { color: var(--muted); animation: lpBreath 1.6s ease-in-out infinite; }
@keyframes lpBreath { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.report-pad { height: 22px; }
.results-error { max-width: 640px; }
.results-error .btn { margin-top: 16px; padding: 12px 18px; }

/* owner mode + two-account fields */
.owner-pill { flex: none; font: 500 11px/1.5 var(--mono); color: var(--pass-ink); background: rgba(61, 230, 164, .14); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.owner-pill + .btn { margin-left: 0; }
.accounts { margin: 16px 0 0; padding: 16px; border: 1px solid var(--hair); border-radius: 12px; min-width: 0; }
.accounts legend { padding: 0 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.accounts .body { margin-top: 0; }
.acct-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; margin-top: 12px; }
.acct-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.acct-field span { font: 500 11px var(--mono); color: var(--subtle); }
.acct-field input {
  width: 100%; min-width: 0; font: 400 14px var(--sans); color: var(--ink); background: #fff;
  border: 1px solid #d9d6e8; border-radius: 8px; padding: 9px 10px;
}
.acct-field input:focus { outline: none; border-color: var(--violet-3); box-shadow: 0 0 0 3px rgba(90, 72, 255, .15); }

/* Connect GitHub panel */
.gh-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gh-mark { flex: none; fill: currentColor; }
.gh-optional { font: 500 11px var(--mono); color: var(--violet-deep); background: var(--tint); border-radius: 999px; padding: 2px 8px; }
.gh-panel .body { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.gh-what, .gh-meta, .gh-note { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.gh-meta strong { font-weight: 500; color: var(--ink); }
.gh-note a, .gh-signin { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 2px; }
.gh-actions { align-items: center; }
.gh-actions .btn-outline { padding: 12px 18px; }
.gh-signin { font-size: 13px; }
.gh-picker { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; min-width: 0; }
.gh-picker span { font: 500 11px var(--mono); color: var(--subtle); }
.gh-picker select {
  width: 100%; min-width: 0; font: 400 14px var(--sans); color: var(--ink); background: #fff;
  border: 1px solid #d9d6e8; border-radius: 8px; padding: 9px 10px;
}
.gh-picker select:focus { outline: none; border-color: var(--violet-3); box-shadow: 0 0 0 3px rgba(90, 72, 255, .15); }
.gh-progress { display: flex; align-items: center; gap: 8px; margin-top: 12px; font: 400 12.5px var(--mono); color: var(--violet-deep); }
.gh-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); animation: ghPulse 1.2s ease-in-out infinite; }
@keyframes ghPulse { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
.panel-msg-error { color: var(--fail-light); }

/* With fifteen rows the live card sits in the page flow, so the hero grows instead of overlapping. */
.hero-visual.has-result { height: auto; min-height: 560px; display: flex; align-items: flex-start; justify-content: flex-end; }
.hero-visual.has-result .result-card { position: relative; right: auto; top: auto; transform: none; }
.rc-row { padding: 7px 16px; }
.rc-summary { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* =================================================================
   Scroll reveal (only once app.js marks the page ready)
   ================================================================= */
.reveal-ready [data-reveal] {
  opacity: 0; translate: 0 26px;
  transition: opacity .9s var(--ease-out), translate .9s var(--ease-out);
}
.reveal-ready [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* =================================================================
   Responsive: 1280 · 1024 · 900 · 640 · 375
   ================================================================= */
@media (max-width: 1280px) {
  .hero-visual { height: 540px; }
}

@media (max-width: 1100px) {
  .h2 { font-size: 44px; }
  .closing-title { font-size: 56px; }
}

/* Hero collapses to one column below ~1000px. */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 64px; gap: 8px; }
  .hero-visual { height: 520px; }

  .result-card { right: 50%; transform: translateX(50%); top: 0; width: 420px; animation: none; }
  .hero-visual.has-result { justify-content: center; }
  .evidence-grid { grid-template-columns: minmax(0, 1fr); }
  .results-body { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .site-nav { display: none; }
  .site-nav + .btn, .site-nav + .owner-pill { margin-left: auto; }

  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .section-how { padding: 88px 0 80px; }
  .section { padding-bottom: 88px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 15px; }
  .site-header-wrap { padding: 12px 12px 0; }
  .site-header { padding: 6px 6px 6px 14px; gap: 12px; }
  .hero-grid { padding-top: 48px; }
  .hero-copy { gap: 20px; }
  .hero-lead { font-size: 16px; }
  .scan-form { flex-direction: column; }
  .scan-form .btn-primary { min-height: 46px; }

  .hero-visual { height: 440px; }

  /* the result card leaves the absolute stack and sits in flow */
  .hero-visual.has-result { height: auto; }

  .result-card { position: relative; right: auto; top: auto; transform: none; width: 100%; }

  .builder-chip { font-size: 13px; padding: 6px 12px; }
  .h2 { font-size: 36px; }
  .lead { font-size: 15px; }
  .section { padding: 32px 0 72px; }
  .section-how { padding: 72px 0 64px; }

  .evidence-grid { margin-top: 36px; }

  .report-body { padding: 18px 18px 0; }
  .proof { margin: 16px 18px 0; padding: 14px; font-size: 12px; }
  .fix-box { margin: 12px 18px 18px; padding: 14px; }
  .plans { margin-top: 36px; }
  .plan-price { font-size: 38px; }

  .faq-q { padding: 16px; font-size: 15px; }
  .faq-a { padding: 0 16px 16px; }
  .closing { padding: 88px 0; }
  .closing-title { font-size: 40px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); padding-top: 44px; }
  .footer-copy { white-space: normal; }
  .section-results { padding-top: 48px; }
  .results-score-num { font-size: 44px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 40px; }

  .hero-visual { height: 400px; }
  .h2 { font-size: 32px; }
  .closing-title { font-size: 34px; }

  .rc-score { font-size: 48px; }
}

/* =================================================================
   Reduced motion: no typing, no reveals, no loops.
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  .hero-glow, .closing-glow, .live-dot, .result-card, .faq-a, .rc-row-new, .summary-wait { animation: none !important; }
  .rc-row-active::after { display: none; }

  .reveal-ready [data-reveal] { opacity: 1; translate: none; transition: none; }
}

/* =================================================================
   Admin page (/admin): owner only
   ================================================================= */
.admin-page { background: var(--page); min-height: 100vh; }
.admin-bar { background: var(--dark); padding: 16px 0; }
.admin-bar-inner { display: flex; align-items: center; gap: 14px; }
.admin-tag { font: 500 11px/1.5 var(--mono); color: var(--violet-4); background: rgba(143, 130, 255, .14); border-radius: 999px; padding: 3px 9px; }
.admin-main { display: flex; flex-direction: column; gap: 20px; padding-top: 36px; padding-bottom: 64px; }
.admin-title { font-size: 40px; }
.admin-locked { max-width: 560px; }
.admin-head .body { margin-top: 4px; max-width: 70ch; }
.admin-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 16px; }
.admin-field { display: flex; flex-direction: column; gap: 6px; font: 500 11.5px var(--mono); color: var(--muted); }
.admin-field-wide { flex: 1 1 240px; }
.admin-input {
  min-width: 0; font: 400 14px var(--sans); color: var(--ink); background: #fff;
  border: 1px solid #d9d6e8; border-radius: 8px; padding: 9px 10px;
}
.admin-field .admin-input[type="number"] { width: 120px; }
.admin-input:focus { outline: none; border-color: var(--violet-3); box-shadow: 0 0 0 3px rgba(90, 72, 255, .15); }
.admin-key-row { margin-top: 16px; }
.admin-key-row .admin-input { flex: 1; }
.admin-new-pass { margin-top: 16px; padding: 14px; border-radius: 10px; background: var(--tint); }
.admin-code-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.admin-code { font: 500 18px var(--mono); color: var(--violet-deep); letter-spacing: .04em; overflow-wrap: anywhere; }
.admin-table-wrap { margin-top: 16px; overflow-x: auto; }
.admin-ready { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.admin-ready-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid #e4e2ef; border-radius: 12px; background: #fff; }
.admin-ready-item .body { margin: 2px 0 0; }
.admin-ready-mark { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; }
.admin-ready-item.is-ok .admin-ready-mark { background: #e3f8ee; color: #137a4b; }
.admin-ready-item.is-todo .admin-ready-mark { background: #fff2dc; color: #8a5300; }
.admin-waitlist .btn { flex: none; }
.admin-waitlist { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 16px; }
.auth-forgot { margin: -4px 0 4px; text-align: right; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: left; font: 500 11px var(--mono); color: var(--subtle); padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.admin-table td { padding: 9px 10px; border-bottom: 1px solid var(--hair); color: var(--ink-2); vertical-align: top; }
.admin-table td.mono { font: 400 12px var(--mono); }
.admin-table td.url { max-width: 280px; overflow-wrap: anywhere; }
.admin-table .empty { color: var(--subtle); text-align: center; padding: 18px; }
.admin-table .btn { padding: 6px 10px; font-size: 12.5px; }
.admin-status { font: 500 11px/1.5 var(--mono); border-radius: 6px; padding: 2px 8px; white-space: nowrap; background: var(--hair); color: var(--muted); }
.admin-status-active, .admin-status-paid { background: #e3f6ec; color: var(--pass-light); }
.admin-status-revoked, .admin-status-expired { background: #fde4e8; color: var(--fail-light); }

/* Free pass redemption on the unlock panel */
.link-btn { align-self: flex-start; background: none; border: 0; padding: 0; font: 500 12.5px var(--sans); color: var(--violet-4); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: #fff; }
.unlock-panel .link-btn { margin-top: 14px; }
.admin-app { display: flex; flex-direction: column; gap: 20px; }
.admin-form .btn, .admin-key-row .btn { padding: 11px 16px; }

/* Database index check (paste mode) */
.index-box { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--hair); border-radius: 12px; min-width: 0; }
.index-box summary { cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink); }
.index-box[open] summary { margin-bottom: 8px; }
.index-box .body { margin-top: 0; }
.index-slow { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.index-slow input { margin-top: 3px; accent-color: var(--violet); }
.index-query-head { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.index-query {
  margin-top: 6px; max-height: 180px; overflow: auto; padding: 12px; border-radius: 10px;
  background: var(--dark-card); color: var(--violet-6); font: 400 11px/1.55 var(--mono); white-space: pre;
}
.index-paste {
  width: 100%; min-width: 0; resize: vertical; font: 400 12px/1.5 var(--mono); color: var(--ink); background: #fff;
  border: 1px solid #d9d6e8; border-radius: 8px; padding: 9px 10px;
}
.index-paste:focus { outline: none; border-color: var(--violet-3); box-shadow: 0 0 0 3px rgba(90, 72, 255, .15); }
.index-box .acct-field { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.index-box .fix-label { color: var(--violet-deep); font: 500 11.5px var(--mono); }
.index-box .copy-btn { background: var(--tint); color: var(--violet-deep); }
.index-box .copy-btn:hover { background: var(--tint-2); }
.reset-opt-in { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.reset-opt-in input { margin-top: 4px; accent-color: var(--violet); }
.reset-opt-in strong { color: var(--ink); font-weight: 500; }

/* =================================================================
   Dashboard (/app): accounts, projects, issues
   Dark header band with the violet glow, lavender page, white cards.
   ================================================================= */
.dash-body { min-height: 100vh; }
.dash-top { position: relative; background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; padding: 18px 24px; }
.dash-glow {
  position: absolute; inset: -120% -10% auto; height: 260%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 50% 100%, var(--violet-3) 0%, var(--violet) 30%, rgba(64, 44, 220, .35) 55%, transparent 75%);
  opacity: .55; animation: lpDrift 18s ease-in-out infinite;
}
.dash-header {
  max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  padding: 8px 8px 8px 18px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px;
  background: var(--glass-bar); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.dash-switcher select {
  font: 500 13.5px/1.2 var(--sans); color: #fff; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; padding: 8px 10px; max-width: 220px;
}
.dash-switcher option { color: var(--ink); }
.dash-account { margin-left: auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dash-plan { font: 500 12px/1.5 var(--mono); color: var(--violet-6); background: rgba(143, 130, 255, .16); padding: 3px 9px; border-radius: 999px; }
.dash-link { font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.dash-link:hover { color: #fff; }

.dash-main { max-width: 1180px; margin: 0 auto; padding: 32px 24px 64px; display: flex; flex-direction: column; gap: 20px; outline: none; }
.dash-loading, .dash-muted { color: var(--muted); }
.dash-small { font-size: 13px; color: var(--muted); }
.dash-block { display: block; }
.dash-h1 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.025em; line-height: 1.15; }
.dash-h2 { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.dash-h3 { font-size: 15px; font-weight: 500; margin: 16px 0 6px; }
.dash-title-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.dash-url { font: 400 13px/1.5 var(--mono); color: var(--ink-2); overflow-wrap: anywhere; }
.dash-link-ink { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 2px; }
.dash-link-ink:hover { color: var(--violet); }
.dash-linkbtn { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--violet-5); text-underline-offset: 3px; }
.dash-linkbtn:hover { color: var(--violet-deep); }
.dash-flash { background: var(--tint); border: 1px solid var(--violet-6); color: var(--ink); padding: 10px 14px; border-radius: 10px; }

.dash-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-light); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dash-card > .btn, .dash-card > p > .btn, .dash-form > .btn { align-self: flex-start; }
.dash-stack { display: flex; flex-direction: column; gap: 16px; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.dash-project.is-archived { opacity: .75; }
.dash-project-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dash-project .btn { align-self: flex-start; }
.dash-empty { align-items: flex-start; }
.dash-tag { font: 500 12px/1.5 var(--mono); color: var(--muted); background: var(--page); border: 1px solid var(--border); border-radius: 6px; padding: 2px 8px; }

.dash-scores { display: flex; flex-wrap: wrap; gap: 10px; }
.dash-score { flex: 1 1 110px; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; background: var(--page); border: 1px solid var(--hair); }
.dash-score-n { font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.dash-score-l { font: 400 12px/1.4 var(--mono); color: var(--muted); }
.dash-score.is-fail .dash-score-n { color: var(--fail-light); }

.dash-form { gap: 14px; }
.dash-signin { max-width: 520px; margin: 24px auto 0; width: 100%; }
.dash-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.dash-field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.dash-field-inline { flex-direction: row; align-items: center; gap: 8px; }
.dash-field input, .dash-field textarea, .dash-field select, .dash-form > input, .dash-filters select {
  font: 400 15px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #d9d6e8;
  border-radius: 8px; padding: 10px 12px; width: 100%; min-width: 0;
}
.dash-field-inline select { width: auto; }
.dash-field input:focus-visible, .dash-field textarea:focus-visible, .dash-field select:focus-visible, .dash-form > input:focus-visible { outline: 2px solid var(--violet); outline-offset: 1px; }
.dash-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.dash-check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--violet); }
.dash-error { color: var(--fail-light); font-size: 13.5px; min-height: 0; }
.dash-error:empty { display: none; }
.dash-body .btn-primary.btn-sm { padding: 10px 14px; }
.dash-body .btn-primary.btn-lg { padding: 14px 20px; }
.dash-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dash-pro { display: flex; flex-direction: column; gap: 12px; border-color: var(--violet-6); }
.dash-pro.is-active { background: var(--tint); }
.dash-list { display: grid; gap: 6px; padding-left: 18px; color: var(--muted); font-size: 14px; }
.dash-sites { display: grid; gap: 8px; margin: 4px 0 12px; }
.dash-site { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 12px; border: 1px solid var(--hair); border-radius: 10px; }
.dash-site .dash-url { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.btn-danger { background: #fff; color: #b0122e; border: 1px solid #f1b7c1; }
.btn-danger:hover { background: #fff1f3; color: #8e0d24; }
.dash-danger { border-color: #f3cdd4; }
.dash-code, .dash-proof pre {
  font: 400 12.5px/1.55 var(--mono); background: var(--dark-card); color: #e8e6f5; padding: 12px 14px;
  border-radius: 10px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0;
}

.dash-recent ul { display: flex; flex-direction: column; gap: 8px; }
.dash-recent-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 12px; border: 1px solid var(--hair); border-radius: 10px; }
.dash-recent-row .btn { margin-left: auto; }

.dash-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.dash-tab { padding: 10px 14px; font-size: 14.5px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.dash-tab:hover { color: var(--ink); }
.dash-tab.is-active { color: var(--ink); border-bottom-color: var(--violet); font-weight: 500; }

.dash-filters { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.dash-table-wrap { overflow-x: auto; }
.dash-pad { padding: 8px 0; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dash-table th { text-align: left; font: 500 12px/1.4 var(--mono); color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.dash-table td { padding: 10px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.dash-row-actions { white-space: nowrap; text-align: right; }
.dash-row-actions .btn + .btn { margin-left: 6px; }

/* Severity and status chips on light backgrounds (4.5:1 text contrast). */
.sev-chip, .status-chip { display: inline-block; font: 500 12px/1.5 var(--mono); padding: 1px 8px; border-radius: 6px; white-space: nowrap; }
.sev-critical { background: #ffe3e8; color: #9d0f28; }
.sev-high { background: #ffecef; color: #a3192f; }
.sev-medium { background: #fff1d6; color: #7a4d00; }
.sev-low { background: #eef0f6; color: #464b5c; }
.sev-info { background: var(--page); color: var(--muted); }
.status-open, .status-reopened { background: var(--tint); color: #3a2bc4; }
.status-fixed { background: #dcf6ea; color: #13623f; }
.status-ignored, .status-accepted_risk { background: #eef0f6; color: #464b5c; }
.dash-sev-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.dash-sev-item { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; font-size: 13px; }
.dash-sev-n { font-size: 24px; letter-spacing: -0.02em; }

.dash-figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.dash-chart { width: 100%; height: auto; }
.chart-grid { stroke: var(--hair-2); stroke-width: 1; }
.chart-axis { font: 400 13px var(--mono); fill: var(--muted); }
.chart-line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart-launch.chart-line { stroke: var(--violet); }
.chart-public.chart-line { stroke: var(--violet-4); stroke-dasharray: 5 4; }
.chart-dot.chart-launch { fill: var(--violet); }
.chart-dot.chart-public { fill: var(--violet-4); }
.dash-legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); }
.dash-legend span::before { content: ""; display: inline-block; width: 18px; height: 3px; border-radius: 2px; margin-right: 8px; vertical-align: middle; }
.legend-launch::before { background: var(--violet); }
.legend-public::before { background: var(--violet-4); }
@media (prefers-reduced-motion: no-preference) {
  .chart-line { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: lpChart 1.2s var(--ease-out) forwards; }
  .chart-public.chart-line { animation-name: lpChartDashed; }
}
@keyframes lpChart { to { stroke-dashoffset: 0; } }
@keyframes lpChartDashed { from { stroke-dasharray: 5 4; stroke-dashoffset: 400; } to { stroke-dasharray: 5 4; stroke-dashoffset: 0; } }

.dash-dialog, .dash-drawer { border: 1px solid var(--border); border-radius: 14px; padding: 0; color: var(--ink); background: #fff; box-shadow: var(--shadow-dark-card); }
.dash-dialog { width: min(480px, calc(100vw - 32px)); }
.dash-dialog::backdrop, .dash-drawer::backdrop { background: rgba(7, 7, 12, .55); }
.dash-dialog-form { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.dash-reasons { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dash-radio { display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.dash-radio input { accent-color: var(--violet); }
.dash-drawer { margin: 0 0 0 auto; height: 100vh; max-height: 100vh; width: min(620px, 100vw); border-radius: 14px 0 0 14px; }
.dash-drawer-head { position: sticky; top: 0; background: #fff; display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 20px 22px 14px; border-bottom: 1px solid var(--hair); }
.dash-drawer-body { padding: 18px 22px 28px; display: flex; flex-direction: column; gap: 10px; }
.dash-note { font-size: 13.5px; color: #6b4a00; background: #fff6e0; border: 1px solid #f3dca4; border-radius: 10px; padding: 10px 12px; }
.dash-subcard { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid var(--hair); border-radius: 10px; }
.dash-subcard .dash-field { align-self: stretch; }
.dash-events { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }

/* Sign in link on the landing header and the report's "Save this to a project". */
.site-signin { font-size: 13.5px; color: rgba(255, 255, 255, .78); white-space: nowrap; }
.site-signin:hover { color: #fff; }
.site-signin:not([hidden]) + .btn { margin-left: 0; }
@media (max-width: 900px) { .site-signin:not([hidden]) { margin-left: auto; } }
.save-project { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

@media (max-width: 640px) {
  .dash-top { padding: 12px 16px; }
  .dash-main { padding: 24px 16px 48px; }
  .dash-card { padding: 18px 16px; }
  .dash-account { margin-left: 0; }
  .dash-drawer { width: 100vw; border-radius: 0; }
  .dash-row-actions { text-align: left; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .dash-glow { animation: none !important; } }
.doc-main { max-width: 880px; }
.doc-main code { font-family: var(--mono); font-size: .92em; }
.doc-main p code, .doc-list code { background: var(--tint); padding: 1px 6px; border-radius: 5px; }
.doc-list { display: flex; flex-direction: column; gap: 8px; list-style: disc; padding-left: 20px; }
.dash-keys { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Trust-first report (2026-11-10) ----------
   Rows are passed / issues / doesn't apply / couldn't check; untested areas live in the coverage panel. */
.chip-na { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .6); }
.lchip-na { background: var(--page); color: var(--muted); }
.rc-sev { margin: 0 16px 10px; font: 500 12px/1.5 var(--mono); color: rgba(255, 255, 255, .78); }
.rc-scope { margin: 0; padding: 10px 16px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; }
.rc-coverage { color: var(--violet-4); }
.rc-coverage:hover { color: #fff; }
.rc-score:focus { outline: none; }
.rc-score:focus-visible { outline: 2px solid var(--violet-4); outline-offset: 4px; border-radius: 6px; }

.results-verdict { display: grid; gap: 6px; justify-items: end; text-align: right; max-width: 420px; }
.results-verdict-detail { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.results-score-note { font: 400 11px/1.5 var(--mono); color: var(--subtle); }
.panel-sub { margin: 4px 0 6px; font-size: 13px; color: var(--muted); }

.coverage-panel { border-color: var(--border); display: grid; gap: 14px; }
.cov-group { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--hair); }
.cov-group:first-of-type { padding-top: 0; border-top: 0; }
.cov-group h4 { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.cov-group .body { font-size: 13px; line-height: 1.5; color: var(--muted); }
.cov-list { margin: 2px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.cov-soon { justify-self: start; font: 500 11px/1.5 var(--mono); color: var(--violet-deep); background: var(--tint); padding: 2px 8px; border-radius: 6px; }
.cov-limits { font-size: 12px; line-height: 1.5; color: var(--subtle); }

.sev-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sev-filter { font: 400 13px var(--sans); color: var(--ink-2); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.sev-filter strong { font-weight: 600; margin-right: 2px; }
.sev-filter:hover { border-color: var(--violet-4); }
.sev-filter.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sev-filter-critical strong, .sev-filter-high strong { color: var(--fail-light); }
.sev-filter-medium strong { color: #a86f0c; }
.sev-filter.is-on strong { color: inherit; }
.sev-group { display: grid; gap: 14px; margin-bottom: 26px; }
.sev-group[hidden] { display: none; }
.sev-group-title { font-size: 15px; font-weight: 500; color: var(--ink); }
.sev-group-title span { margin-left: 6px; font: 400 12px var(--mono); color: var(--muted); }
h4.report-title { font-size: 19px; }
.report-more { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 18px; }
.report-more > summary { cursor: pointer; list-style: none; padding: 14px 22px; font: 500 12.5px var(--mono); color: var(--violet-4); }
.report-more > summary::-webkit-details-marker { display: none; }
.report-more > summary::before { content: "+ "; }
.report-more[open] > summary::before { content: "– "; }
.report-more > summary:hover { color: #fff; }
.report-more > summary:focus-visible { outline: 2px solid var(--violet-4); outline-offset: -2px; }
@media (max-width: 900px) {
  .results-verdict { justify-items: start; text-align: left; }
}
.rc-sev span { white-space: nowrap; }

/* Sign-in: a way back, and a quiet secondary button */
.dash-back { font-size: 13px; color: var(--muted); text-decoration: none; }
.dash-back:hover { color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-2); border: 1px solid transparent; }
.btn-ghost:hover { background: var(--tint); color: var(--ink); }
#inbox-title:focus { outline: none; }
.sample-note { margin-top: 10px; font: 400 12px/1.5 var(--mono); color: var(--subtle); }

/* ---------- sign-in pages (user and admin): the homepage's night look ---------- */
body.auth-mode { background: var(--dark); color: #fff; position: relative; isolation: isolate; overflow-x: hidden; }
body.auth-mode::before {
  content: ""; position: fixed; inset: -30% -20% -40% -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 45% at 72% 82%, #d9d3ff 0%, #8f82ff 16%, #5a48ff 34%, rgba(64, 44, 220, .5) 52%, transparent 72%),
    radial-gradient(35% 35% at 8% 95%, rgba(90, 72, 255, .4) 0%, transparent 70%);
  animation: lpDrift 18s ease-in-out infinite;
}
body.auth-mode::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 35%, #000, transparent);
}
.auth-mode .dash-top, .auth-mode .admin-bar { background: transparent; }
.auth-mode .dash-glow { display: none; }
.auth-mode .dash-main, .auth-mode .admin-main { min-height: calc(100vh - 90px); justify-content: center; }
.auth-mode .dash-signin, .auth-mode .admin-locked {
  max-width: 440px; margin: 0 auto; width: 100%; padding: 32px 28px; gap: 16px; color: #fff;
  background: var(--glass); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px -20px rgba(20, 10, 80, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
  animation: lpIn .5s ease-out both;
}
.auth-mode .dash-h1, .auth-mode .admin-locked .h3 { font-weight: 400; font-size: clamp(28px, 4vw, 36px); letter-spacing: -0.035em; line-height: 1.1; color: #fff; }
.auth-mode .dash-muted, .auth-mode .dash-small, .auth-mode .admin-locked .body { color: rgba(255, 255, 255, .62); }
.auth-mode .dash-back { font: 400 12.5px/1.5 var(--mono); color: rgba(255, 255, 255, .55); }
.auth-mode .dash-back:hover { color: #fff; }
.auth-mode .dash-field, .auth-mode .admin-field span { font: 400 12.5px/1.5 var(--mono); color: rgba(255, 255, 255, .7); }
.auth-mode .dash-form > input, .auth-mode .admin-locked .admin-input {
  font: 400 15px/1.4 var(--sans); color: #fff; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; padding: 12px 14px; width: 100%;
  transition: border-color .15s, background .15s;
}
.auth-mode .dash-form > input::placeholder, .auth-mode .admin-input::placeholder { color: rgba(255, 255, 255, .35); }
.auth-mode .dash-form > input:focus-visible, .auth-mode .admin-input:focus-visible { outline: none; border-color: var(--violet-3); background: rgba(143, 130, 255, .1); box-shadow: 0 0 0 3px rgba(143, 130, 255, .25); }
.auth-mode .dash-form > .btn, .auth-mode .admin-locked .btn-primary { align-self: stretch; justify-content: center; margin-top: 4px; }
.auth-mode .dash-error, .auth-mode .admin-locked .is-error { color: #ff8095; }
.auth-mode .btn-ghost { color: var(--violet-5); padding: 4px 6px; }
.auth-mode .btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.auth-mode .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .22); background: transparent; justify-content: center; width: 100%; }
.auth-mode .btn-outline:hover { background: rgba(255, 255, 255, .08); }
.auth-mode .admin-locked code { color: var(--violet-6); background: rgba(143, 130, 255, .14); }
.auth-mode .admin-locked .admin-form { display: flex; flex-direction: column; gap: 12px; }
.auth-chip { align-self: flex-start; font: 500 12px/1.5 var(--mono); color: var(--violet-6); background: rgba(143, 130, 255, .16); padding: 3px 10px; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { body.auth-mode::before, .auth-mode .dash-signin, .auth-mode .admin-locked { animation: none; } }
@media (max-width: 560px) { .auth-mode .dash-signin, .auth-mode .admin-locked { padding: 24px 18px; } }
.auth-mode .dash-form > .btn { width: 100%; }
.auth-mode .admin-locked .admin-form { display: flex; flex-direction: column; align-items: stretch; gap: 12px; grid-template-columns: none; }
.auth-mode .admin-locked .admin-field { display: flex; flex-direction: column; gap: 6px; grid-column: auto; }
.auth-mode .admin-locked .admin-key-row { display: flex; gap: 8px; }
.auth-mode .admin-locked .admin-key-row .admin-input { flex: 1; min-width: 0; }
.auth-mode .admin-locked .admin-key-row .btn { background: transparent; border: 1px solid rgba(255, 255, 255, .22); color: #fff; box-shadow: none; }
.auth-mode .admin-locked .admin-field-wide { flex: 0 0 auto; }
.auth-mode .admin-locked .admin-form { margin-top: 4px; }

/* ---------- dashboard Pro offer: a night band like the homepage hero ---------- */
.pro-offer {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--dark);
  border-radius: 18px; padding: 32px; display: grid; gap: 16px 40px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); grid-template-areas: "title buy" "list buy";
  box-shadow: 0 30px 80px -30px rgba(40, 20, 140, .55);
}
.pro-offer-glow {
  position: absolute; inset: -60% -20% -80% 20%; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 50% at 75% 70%, #d9d3ff 0%, #8f82ff 16%, #5a48ff 34%, rgba(64, 44, 220, .5) 52%, transparent 72%);
  animation: lpDrift 18s ease-in-out infinite;
}
.pro-offer-title { grid-area: title; font-weight: 400; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.035em; line-height: 1.1; color: #fff; }
.pro-offer-list { grid-area: list; display: grid; gap: 10px; padding-left: 18px; color: rgba(255, 255, 255, .72); font-size: 14.5px; line-height: 1.5; }
.pro-offer-list li::marker { color: var(--violet-4); }
.pro-offer-buy {
  grid-area: buy; align-self: center; display: flex; flex-direction: column; gap: 14px; padding: 24px;
  background: var(--glass); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.pro-offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.pro-offer-amount { font-size: 48px; font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.pro-offer-per { font: 400 12.5px/1.5 var(--mono); color: rgba(255, 255, 255, .62); }
.pro-offer-cta { width: 100%; justify-content: center; font-size: 16px; padding: 16px 20px; }
.pro-offer-status { font-size: 13.5px; color: var(--violet-6); }
.pro-offer-status:empty { display: none; }
@media (max-width: 760px) {
  .pro-offer { grid-template-columns: 1fr; grid-template-areas: "title" "buy" "list"; padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) { .pro-offer-glow { animation: none; } }

/* ---------- account page: profile band + tiles ---------- */
.acct-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--dark); border-radius: 18px;
  padding: 26px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; box-shadow: 0 30px 80px -30px rgba(40, 20, 140, .55);
}
.acct-avatar {
  width: 60px; height: 60px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 26px; font-weight: 500;
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-3) 100%); color: #fff; box-shadow: 0 10px 30px -8px rgba(90, 72, 255, .7);
}
.acct-who { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 220px; }
.acct-title { font-weight: 400; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.035em; line-height: 1.1; color: #fff; }
.acct-email { color: rgba(255, 255, 255, .72); font-size: 15px; overflow-wrap: anywhere; }
.acct-hero-side { margin-left: auto; }
.acct-hero-note { color: rgba(255, 255, 255, .72); font-size: 14px; max-width: 260px; }
.acct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: stretch; }
.acct-tile { gap: 14px; }
.acct-tile-head { display: flex; flex-direction: column; gap: 4px; }
.acct-wide { grid-column: 1 / -1; }
.acct-grid .dash-field input, .acct-grid .dash-field textarea {
  background: var(--page); border: 1.5px solid #cfcbe3; border-radius: 10px; padding: 12px 14px; font-size: 15px; color: var(--ink);
}
.acct-grid .dash-field input:hover { border-color: var(--violet-4); }
.acct-grid .dash-field input:focus-visible { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 3px rgba(90, 72, 255, .18); }
.acct-grid .dash-field > span { font: 500 12.5px/1.5 var(--mono); color: var(--ink-2); }
.acct-toggle { padding: 12px 14px; border: 1px solid var(--hair); border-radius: 10px; background: var(--page); }
.acct-delete summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.acct-delete summary::-webkit-details-marker { display: none; }
.acct-delete summary::after { content: "Show"; font: 500 12.5px var(--mono); color: var(--fail-light); }
.acct-delete[open] summary::after { content: "Hide"; }
.acct-delete:not([open]) { padding-top: 18px; padding-bottom: 18px; }
@media (max-width: 560px) { .acct-hero { padding: 22px 18px; } .acct-hero-side, .acct-hero-side .btn { width: 100%; justify-content: center; } }
.acct-delete summary { justify-content: flex-start; }
.acct-delete summary::after { margin-left: auto; }

/* ---------- active Pro pass ---------- */
.pro-active { grid-template-areas: "main buy"; }
.pro-active-main { grid-area: main; display: flex; flex-direction: column; gap: 14px; align-self: center; }
.pro-active-n { font-size: 1.6em; letter-spacing: -0.05em; color: #fff; margin-right: 4px; }
.pro-active-sub { color: rgba(255, 255, 255, .62); font: 400 12.5px/1.5 var(--mono); }
.pro-meter { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; max-width: 520px; }
.pro-meter-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet) 0%, var(--violet-3) 60%, var(--violet-6) 100%); box-shadow: 0 0 18px rgba(143, 130, 255, .6); }
.pro-meter-fill[data-pct="0"] { width: 0%; }
.pro-meter-fill[data-pct="5"] { width: 5%; }
.pro-meter-fill[data-pct="10"] { width: 10%; }
.pro-meter-fill[data-pct="15"] { width: 15%; }
.pro-meter-fill[data-pct="20"] { width: 20%; }
.pro-meter-fill[data-pct="25"] { width: 25%; }
.pro-meter-fill[data-pct="30"] { width: 30%; }
.pro-meter-fill[data-pct="35"] { width: 35%; }
.pro-meter-fill[data-pct="40"] { width: 40%; }
.pro-meter-fill[data-pct="45"] { width: 45%; }
.pro-meter-fill[data-pct="50"] { width: 50%; }
.pro-meter-fill[data-pct="55"] { width: 55%; }
.pro-meter-fill[data-pct="60"] { width: 60%; }
.pro-meter-fill[data-pct="65"] { width: 65%; }
.pro-meter-fill[data-pct="70"] { width: 70%; }
.pro-meter-fill[data-pct="75"] { width: 75%; }
.pro-meter-fill[data-pct="80"] { width: 80%; }
.pro-meter-fill[data-pct="85"] { width: 85%; }
.pro-meter-fill[data-pct="90"] { width: 90%; }
.pro-meter-fill[data-pct="95"] { width: 95%; }
.pro-meter-fill[data-pct="100"] { width: 100%; }
.auth-chip-live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--mint); vertical-align: 1px; animation: lpPulse 2s infinite; }
.pro-active-side .pro-offer-per { margin-top: -6px; }
@media (max-width: 760px) { .pro-active { grid-template-areas: "main" "buy"; } }
@media (prefers-reduced-motion: reduce) { .auth-chip-live::before { animation: none; } }

/* ---------- API keys tile ---------- */
.acct-keys { gap: 12px; }
.key-create { display: flex; gap: 8px; }
.key-create input {
  flex: 1; min-width: 0; font: 400 15px/1.4 var(--sans); color: var(--ink); background: var(--page);
  border: 1.5px solid #cfcbe3; border-radius: 10px; padding: 10px 12px;
}
.key-create input:focus-visible { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 3px rgba(90, 72, 255, .18); }
.key-create .btn { flex: none; }
.key-fresh { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; background: var(--dark); color: #fff; }
.key-fresh-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.key-secret { font: 400 12.5px/1.6 var(--mono); color: var(--violet-6); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; padding: 10px 12px; white-space: pre-wrap; word-break: break-all; margin: 0; }
.key-fresh-note { font-size: 12.5px; color: rgba(255, 255, 255, .62); }
.key-list { display: flex; flex-direction: column; gap: 8px; list-style: none; padding: 0; margin: 0; }
.key-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--hair); border-radius: 12px; background: var(--page); }
.key-row.is-revoked { opacity: .6; }
.key-icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--tint); color: var(--violet); font-size: 15px; }
.key-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.key-name { font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.key-prefix { font: 400 12px var(--mono); color: var(--muted); }
.key-revoke { flex: none; }
.key-empty { padding: 12px; border: 1px dashed var(--border); border-radius: 12px; color: var(--muted); font-size: 14px; text-align: center; }

/* ---------- delete account ---------- */
.acct-delete-actions { margin-top: 8px; }
.btn-danger-solid { background: #d6203f; color: #fff; border: 0; padding: 12px 20px; box-shadow: 0 8px 24px -10px rgba(214, 32, 63, .7); }
.btn-danger-solid:hover { background: #b8162f; color: #fff; }
.btn-danger-solid:focus-visible { outline: 2px solid #ff8095; outline-offset: 2px; }
.acct-grid .dash-score-n { font-size: 22px; }

/* ---------- deep scan: connect your site ---------- */
.verify-easy { display: grid; gap: 14px; margin: 14px 0 4px; padding-left: 22px; }
.verify-easy li::marker { font: 500 13px var(--mono); color: var(--violet); }
.verify-step-title { font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.verify-prompt { border: 1px solid var(--border); border-radius: 10px; background: var(--page); padding: 10px 12px; display: grid; gap: 8px; }
.verify-prompt-text { margin: 0; font: 400 12.5px/1.6 var(--mono); color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.verify-other { margin-top: 14px; border-top: 1px solid var(--hair); padding-top: 12px; }
.verify-other summary { cursor: pointer; font-size: 13.5px; color: var(--muted); }
.verify-other summary:hover { color: var(--ink); }
.verify-copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.verify-copy-row .code-inline { overflow-wrap: anywhere; }
.verify-easy { list-style: none; padding-left: 0; counter-reset: vstep; }
.verify-easy > li { counter-increment: vstep; position: relative; padding-left: 38px; }
.verify-easy > li::before {
  content: counter(vstep); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font: 500 12.5px var(--mono); color: #fff; background: var(--violet);
}
.verify-prompt .fix-label, .verify-other .fix-label { color: var(--muted); }
.verify-prompt .copy-btn, .verify-copy-row .copy-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; cursor: pointer;
  font: 500 12.5px var(--sans); color: #fff; background: var(--violet); border: 0; opacity: 1;
}
.verify-prompt .copy-btn:hover, .verify-copy-row .copy-btn:hover { background: var(--violet-deep); }
.verify-prompt .copy-btn svg, .verify-copy-row .copy-btn svg { width: 14px; height: 14px; }
.verify-prompt .index-query-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* ---------- report: compact checks panel ---------- */
.ck-panel h3 { display: flex; align-items: center; gap: 8px; }
.ck-total { font: 500 11.5px var(--mono); color: var(--violet); background: var(--tint); border-radius: 999px; padding: 2px 8px; }
.ck-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.ck-stat { font-size: 13px; color: var(--ink-2); padding: 6px 10px; border-radius: 8px; background: var(--page); border: 1px solid var(--hair); }
.ck-stat b { font-weight: 600; margin-right: 2px; }
.ck-stat-pass b { color: #1f9d68; }
.ck-stat-warn b { color: #a86f0c; }
.ck-stat-na b { color: var(--muted); }
.ck-attention { margin-top: 8px; }
.ck-more { margin-top: 12px; border-top: 1px solid #efeef6; padding-top: 12px; }
.ck-more summary { cursor: pointer; font-size: 13.5px; font-weight: 500; color: var(--violet); list-style: none; }
.ck-more summary::-webkit-details-marker { display: none; }
.ck-more summary::after { content: " ↓"; }
.ck-more[open] summary::after { content: " ↑"; }
.ck-grid { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.ck-chip { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 8px; background: var(--page); border: 1px solid var(--hair); font-size: 12.5px; color: var(--ink-2); min-width: 0; }
.ck-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--mint); }
.ck-chip-na .ck-dot { background: var(--subtle); }
.ck-chip-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ck-chip-tag { margin-left: auto; font: 400 10px var(--mono); color: var(--subtle); white-space: nowrap; }
.ck-foot { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* ---------- new API key dialog ---------- */
.key-dialog {
  width: min(520px, calc(100vw - 32px)); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 26px;
  background: var(--dark); color: #fff; box-shadow: 0 40px 120px -20px rgba(40, 20, 140, .8);
  display: flex; flex-direction: column; gap: 14px;
}
.key-dialog:not([open]) { display: none; }
.key-dialog::backdrop { background: rgba(7, 7, 12, .65); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.key-dialog .auth-chip { align-self: flex-start; }
.key-dialog-title { font-weight: 400; font-size: 26px; letter-spacing: -0.03em; color: #fff; }
.key-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.key-dialog-actions .btn { flex: 1 1 160px; justify-content: center; }
.key-revoked-note { padding: 2px 4px; }

.ck-rows { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; }
.ck-row { display: flex; align-items: center; gap: 9px; padding: 8px 2px; border-top: 1px solid #efeef6; font-size: 13.5px; min-width: 0; }
.ck-row:first-child { border-top: 0; }
.ck-row-name { flex: 1; min-width: 0; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ck-row-sum { font: 400 11px var(--mono); color: var(--subtle); white-space: nowrap; }
.ck-dot-fail { background: #e8364f; }
.ck-dot-warn { background: #e0a43a; }
.ck-row .lchip { align-self: center; }
.ck-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.dash-link[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--violet-3); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- sessions tile: a scrolling list, the tile keeps its height ---------- */
.sess-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; max-height: 172px; overflow-y: auto; overscroll-behavior: contain; padding-right: 2px; }
.sess-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--hair); border-radius: 10px; background: var(--page); }
.sess-row.is-current { border-color: var(--violet-6); background: var(--tint); }
.sess-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--subtle); }
.sess-row.is-current .sess-dot { background: var(--mint); }
.sess-meta { flex: 1; min-width: 0; }
.sess-device { font-size: 14px; font-weight: 500; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sess-tag { font: 500 10.5px var(--mono); color: var(--violet); background: #fff; border: 1px solid var(--violet-6); border-radius: 999px; padding: 1px 7px; }

/* ---------- Sign in with GitHub ---------- */
.btn-github { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #24292f; color: #fff; border: 1px solid #1b1f24; padding: 11px 18px; border-radius: 10px; font-weight: 500; text-decoration: none; }
.btn-github:hover { background: #32383f; color: #fff; }
.btn-github:focus-visible { outline: 2px solid var(--violet-3); outline-offset: 2px; }
.btn-github.is-off { opacity: .55; cursor: not-allowed; }
.gh-btn-icon { width: 18px; height: 18px; flex: none; }
.gh-tile-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.gh-linked { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.gh-linked-icon { width: 16px; height: 16px; padding: 4px; box-sizing: content-box; background: #24292f; border-radius: 6px; }
.auth-or { display: flex; flex-direction: column; gap: 12px; }
.auth-or > span { display: flex; align-items: center; gap: 10px; font: 400 12px var(--mono); color: rgba(255, 255, 255, .45); }
.auth-or > span::before, .auth-or > span::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .12); }
.auth-mode .btn-github { width: 100%; background: #fff; color: #0c0b14; border-color: #fff; }
.auth-mode .btn-github:hover { background: #ece9ff; }
.auth-mode .btn-github .gh-btn-icon { filter: invert(1); }

/* ---------- Sign in with Google (Google's light button: white, grey border, the four-colour G) ---------- */
.btn-google { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #1f1f1f; border: 1px solid #747775; padding: 11px 18px; border-radius: 10px; font-weight: 500; text-decoration: none; }
.btn-google:hover { background: #f2f2f2; color: #1f1f1f; }
.btn-google:focus-visible { outline: 2px solid var(--violet-3); outline-offset: 2px; }
.google-btn-icon { width: 18px; height: 18px; flex: none; }
.google-linked-icon { width: 16px; height: 16px; padding: 4px; box-sizing: content-box; background: #fff; border: 1px solid #e4e2ef; border-radius: 6px; }
.auth-mode .btn-google { width: 100%; border-color: #fff; }
.auth-mode .btn-google:hover { background: #ece9ff; }

/* Deep scan setup */
#verify > .tag { display: inline-block; margin-bottom: 8px; }
.deep-what { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.deep-cost { font-size: 13px; color: #6b6880; align-self: center; }
.index-steps { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 12px; }
.index-steps .index-query-head { margin-top: 8px; }
.acct-second { margin-top: 12px; }
.acct-second > summary { cursor: pointer; min-height: 24px; }

/* Sample report: plain-language password test. Each bar is one guess; 1–5 are normal, the rest should have been blocked. */

.digest-why { margin: 2px 0 0; font-size: 12.5px; color: var(--subtle); }
.proof-step { color: #a9a6c2; font-family: inherit; margin-top: 6px; }
.proof-step:first-of-type { margin-top: 0; }

/* Chrome extension section */
.section-extension { padding-top: 24px; }

/* =================================================================
   Landing v3 (2026-11-10): one job per section, less to read.
   Hero = the scan form + an example result; then how it works, three
   check groups, one sample finding, pricing, a small extension band, FAQ.
   ================================================================= */
.hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); font: 400 12.5px var(--mono); color: rgba(255, 255, 255, .78); }
.hero-title { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; text-wrap: balance; }
.hero-accent { color: var(--violet-3); }
.hero-lead { max-width: 46ch; }
.hero-fine { margin-top: -10px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.hero-copy .builder-chips { margin-top: 4px; }
.hero-copy .builder-chip { font-size: 12.5px; }

.hero-visual, .hero-visual.has-result { height: auto; min-height: 0; display: flex; justify-content: center; align-items: flex-start; }
.result-card, .hero-visual.has-result .result-card { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 440px; }
.preview-card { width: 100%; max-width: 400px; border-radius: 14px; overflow: hidden; }
.preview-card .rc-score small { font-size: 18px; color: rgba(255, 255, 255, .5); letter-spacing: 0; }
.preview-rows { list-style: none; margin: 0; padding: 0; }
.preview-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 13.5px; color: #fff; }
.preview-foot { padding: 12px 16px 14px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 12px; color: rgba(255, 255, 255, .55); }

/* How it works: three numbered cards */
.section-how { padding: 96px 0 72px; }
.steps-simple { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step-card { display: flex; flex-direction: column; gap: 8px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 8px; border-radius: 10px; background: var(--tint); color: var(--violet-deep); font: 500 15px var(--mono); }

/* What we check: three tiers */
.section-checks { padding-top: 40px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; align-items: start; }
.tier { display: flex; flex-direction: column; gap: 8px; }
.tier-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tier-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 0; }
.tier-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--hair); }
.tier-list strong { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.cl-desc { display: block; margin-top: 1px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.cl-tick { width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--tint); box-shadow: inset 0 0 0 4px var(--tint), inset 0 0 0 10px var(--violet); }
.tier-soon { background: #faf9fd; }
.tier-soon .cl-tick { box-shadow: inset 0 0 0 4px var(--tint), inset 0 0 0 10px var(--violet-5); }
.tier-soon strong { color: var(--ink-2); }

/* Sample report: list + one opened finding */
.section-evidence .evidence-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); margin-top: 40px; align-items: start; }

/* Pricing */
.section-pricing .plans { margin-top: 40px; }

/* Footer: brand + three link columns on one row */
.footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* Extension: one band */
.section-extension { padding: 0 0 88px; }
.ext-band { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 24px 28px; }
.ext-band .body { margin-top: 6px; max-width: 60ch; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 64px; }
  .hero-visual, .hero-visual.has-result { justify-content: flex-start; }
  .steps-simple, .tiers { grid-template-columns: minmax(0, 1fr); }
  .section-evidence .evidence-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hero-grid { padding-top: 40px; gap: 28px; }
  .preview-card { display: none; }
  .section-how { padding: 64px 0 48px; }
  .ext-band { padding: 20px; }
  .ext-band .btn { width: 100%; justify-content: center; }
}

/* Report v3: one column. Verdict, then what to fix, then the checks and scope panels as a grid. */
.results-body { grid-template-columns: minmax(0, 1fr); max-width: 980px; gap: 16px; }
.results-section-title { margin: 12px 0 0; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.results-main > .results-section-title { margin: 0; }
.results-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.results-head { max-width: 980px; }

/* Dashboard v3: the scan form is the first thing, on one row */
.dash-scan-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.dash-scan-row .dash-field { flex: 1 1 280px; margin: 0; }
.dash-scan-row .btn { min-height: 44px; padding: 0 20px; }

@media (max-width: 640px) { .hero-kicker { font-size: 11px; gap: 8px; padding: 5px 10px; white-space: nowrap; } }

/* =================================================================
   Full-screen sections (2026-11-13, owner: "each section one screen
   high, like crewick.com"). Landing page only (<html class="snap-page">).
   Every section fills the screen, its content sits in the middle, and the
   page snaps section by section. Sections taller than the screen (the
   report, long lists on phones) still scroll freely inside. Snapping
   switches off on very short screens.
   ================================================================= */
.snap-page { scroll-snap-type: y mandatory; scroll-padding-top: 0; }
.snap-page .hero,
.snap-page .section,
.snap-page .closing {
  min-height: 100vh; min-height: 100svh;
  scroll-snap-align: start; scroll-snap-stop: always;
}
.snap-page .section,
.snap-page .closing { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 9vh, 104px) 0; }
.snap-page .section > .wrap,
.snap-page .closing > .wrap { width: 100%; }
.snap-page .section[hidden] { display: none; }
.snap-page .hero-grid { margin-block: auto; padding-top: clamp(32px, 6vh, 72px); padding-bottom: clamp(32px, 6vh, 72px); }
.snap-page .site-footer { scroll-snap-align: end; }

/* Neighbouring screens alternate lavender and near-white so each one reads as its own screen */
.snap-page .section-extension { background: #fbfaff; }
/* The sample report screen stays dark (v4); keep this after the lavender rule above */
.snap-page .section-evidence.section-dark { background: var(--dark); }

/* The extension band gets a full screen, so it can be larger */
.snap-page .ext-band { padding: clamp(28px, 5vh, 48px) clamp(24px, 4vw, 48px); }
.snap-page .ext-band .h3 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; }

/* Fit more into one screen: spacing follows the screen's height */
.snap-page .section,
.snap-page .closing { padding: clamp(40px, 6vh, 96px) 0; }
.snap-page .steps-simple,
.snap-page .tiers,
.snap-page .section-evidence .evidence-grid,
.snap-page .section-pricing .plans { margin-top: clamp(20px, 3.5vh, 40px); }
@media (min-width: 641px) and (max-height: 960px) {
  .snap-page .tier { padding-top: 20px; padding-bottom: 16px; }
  .snap-page .tier-list { margin-top: 4px; }
  .snap-page .tier-list li { padding: 7px 0; }
  .snap-page .cl-desc { font-size: 12.5px; }
}

/* Phones: long card lists swipe sideways (like crewick.com), so each screen stays one screen */
@media (max-width: 640px) {
  .snap-page .tiers,
  .snap-page .section-pricing .plans { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .snap-page .tiers::-webkit-scrollbar,
  .snap-page .section-pricing .plans::-webkit-scrollbar { display: none; }
  .snap-page .tier,
  .snap-page .section-pricing .plan { flex: 0 0 86%; scroll-snap-align: start; }
  .snap-page .swipe-hint { display: block; }
}
.swipe-hint { display: none; margin: 16px 0 0; position: relative; font: 400 12px var(--mono); color: var(--subtle); }

@media (max-height: 560px) {
  .snap-page { scroll-snap-type: none; }
  .snap-page .hero, .snap-page .section, .snap-page .closing { min-height: 0; }
}

/* =================================================================
   v4 (2026-11-13, owner: "new UI based on the current one, full-height
   sections, better fonts, user-experience friendly").
   Google Sans Flex with bold headlines; seven screens on the landing page,
   each with "NN / 07" and a way to the next one; the check groups as tabs;
   the sample report on dark; the extension as a row under pricing; a second
   scan form on the last screen with a compact footer. The report opens on a
   full-height verdict screen; the dashboard leads with a dark scan + pass band.
   Greys pass 4.5:1, tap targets are 44px.
   ================================================================= */
body { font-size: 17px; line-height: 1.6; }
h1, h2, h3, h4 { font-weight: 700; }

/* type: bold, slightly less tight than the old light headlines */
.hero-title { font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; font-size: clamp(42px, 5.4vw, 80px); }
.h2 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(34px, 4vw, 56px); max-width: 18ch; }
.h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
.body { font-size: 15.5px; line-height: 1.6; }
.lead { font-size: 18px; line-height: 1.6; }
.closing-title { font-weight: 700; letter-spacing: -0.035em; font-size: clamp(42px, 5.6vw, 84px); line-height: 1; }
.plan-price, .rc-score, .results-score-num, .pro-offer-amount, .dash-score-n, .dash-sev-n { font-weight: 700; }
.plan-name { font-size: 22px; font-weight: 700; }
.report-title, h4.report-title { font-weight: 700; }
.dash-h1, .auth-mode .dash-h1, .auth-mode .admin-locked .h3, .pro-offer-title, .acct-title, .key-dialog-title, .admin-title { font-weight: 700; letter-spacing: -0.03em; }
.dash-h2, .panel h3, .unlock-panel h3, .results-section-title, .sev-group-title, .cov-group h4 { font-weight: 700; }
.wordmark { font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }

/* buttons: 44px tap targets */
.btn { min-height: 44px; font-size: 15px; border-radius: 10px; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { min-height: 52px; font-size: 16px; padding: 0 22px; border-radius: 12px; }
.btn-primary.btn-lg { padding: 0 22px; }
.btn-block { min-height: 52px; font-size: 16px; font-weight: 600; }
.admin-table .btn, .rc-unlock .btn { min-height: 0; }

/* section label: "02 / 07  How it works" */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 400 13px var(--mono); color: var(--muted); }
.eyebrow-n { display: inline-flex; align-items: center; gap: 12px; color: var(--violet); }
.eyebrow-n::after { content: ""; width: 32px; height: 1px; background: #cfcce0; }
.section-dark .eyebrow, .eyebrow-dark { color: #a9a6c0; }
.section-dark .eyebrow-n, .eyebrow-dark .eyebrow-n { color: var(--violet-4); }
.section-dark .eyebrow-n::after, .eyebrow-dark .eyebrow-n::after { background: rgba(255, 255, 255, .2); }

.next-link, .scroll-cue { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }
.next-link { margin-top: clamp(20px, 3.5vh, 40px); color: var(--violet-deep); }
.next-link:hover { color: var(--violet); }
.inline-link { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 01 hero ---------- */
.site-nav { font-size: 15px; gap: 0 6px; color: #c9c6dc; }
.site-nav a { padding: 8px 10px; border-radius: 8px; min-height: 40px; }
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-signin { font-size: 15px; color: #e4e2ef; padding: 0 8px; min-height: 44px; display: inline-flex; align-items: center; }
.hero-kicker { font-size: 13px; color: #c9c6dc; }
.hero-lead { font-size: 19px; color: #b9b6cc; }
.hero-accent { color: var(--violet-4); }
.scan-block { display: flex; flex-direction: column; gap: 10px; max-width: 580px; }
.scan-label { font-size: 15px; font-weight: 500; color: #e4e2ef; }
.scan-form { max-width: 580px; border-radius: 14px; }
.scan-field input { font-size: 16px; padding: 14px 0; }
.scan-field input::placeholder { color: rgba(255, 255, 255, .5); }
.scan-form .btn-primary { min-height: 52px; padding: 0 22px; font-size: 16px; font-weight: 600; border-radius: 10px; }
.hero-fine { margin-top: -10px; font-size: 14px; color: #a9a6c0; }
.form-error { font-size: 14.5px; }
.pro-toggle { font-size: 15px; }
.builder-chip { font-size: 14px; color: #e4e2ef; }
.preview-card { max-width: 440px; border-radius: 20px; }
.preview-card .rc-head { padding: 16px 22px; font-size: 14px; }
.preview-card .rc-host { font-size: 13px; color: #a9a6c0; }
.preview-card .rc-score-row { padding: 24px 22px 18px; }
.preview-card .rc-score { font-size: 72px; letter-spacing: -0.04em; }
.preview-card .rc-label { font-size: 12px; color: #a9a6c0; }
.preview-rows li { padding: 14px 22px; font-size: 16px; }
.preview-foot { padding: 14px 22px; font-size: 14px; color: #a9a6c0; }
.chip { font-size: 12px; padding: 3px 9px; }
.chip-lg { font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.scroll-cue { position: relative; z-index: 2; align-self: center; flex-direction: column; gap: 4px; padding: 8px 16px 24px; color: #c9c6dc; font-size: 14px; }
.scroll-cue:hover { color: #fff; }
.hero .rc-name { font-size: 14px; }
.rc-summary { font-size: 12px; color: rgba(255, 255, 255, .62); }

/* ---------- 02 how it works ---------- */
.section-how { background: var(--page); }
.steps-simple { gap: 20px; }
.step-card { gap: 14px; padding: 32px; border-radius: 20px; }
.step-num { width: auto; height: auto; margin: 0; background: none; border-radius: 0; font: 700 56px/1 var(--sans); letter-spacing: -0.04em; color: var(--violet); justify-content: flex-start; }
.step-card .h3 { font-size: 23px; }
.step-visual { margin-top: auto; }
.step-visual-url { padding: 14px 16px; border-radius: 12px; background: var(--page); border: 1px solid var(--border); font: 400 14px var(--mono); color: var(--ink-2); }
.step-caret { color: var(--violet); }
.step-visual-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-chip { padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.mini-chip-fail { background: #fdecef; color: #b3203a; }
.mini-chip-warn { background: #fdf3e1; color: #8a5600; }
.mini-chip-pass { background: #e3f6ec; color: #1d6e48; }
.step-visual-fix { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: var(--violet-6); font: 400 13px var(--mono); }
.step-copy { padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- 03 what we check: tabs ---------- */
.section-checks { background: #fff; border-top: 1px solid var(--border); }
.checks-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.checks-intro .lead { max-width: 40ch; }
.tier-tabs { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.tier-tabs[hidden] { display: none; }
.tier-tab {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; padding: 10px 20px;
  border-radius: 14px; border: 1.5px solid var(--border); background: #fff; color: var(--ink); text-align: left; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.tier-tab:hover { border-color: var(--violet-4); }
.tier-tab[aria-selected="true"] { border-color: var(--violet); background: var(--tint); }
.tier-tab-text { display: flex; flex-direction: column; }
.tier-tab-name { font-weight: 700; font-size: 19px; }
.tier-tab-sub { font-size: 14px; color: var(--muted); }
.tier-tab-count { font: 400 13px var(--mono); color: var(--muted); white-space: nowrap; }
.tier-tab[aria-selected="true"] .tier-tab-count { color: var(--violet-deep); }
.tabs-ready .tiers { display: block; margin-top: 0; }
.tabs-ready .tier { background: var(--page); }
.tabs-ready .tier-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.tabs-ready .tier-list li { border-top: 0; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--border); }
.tier-list strong { font-size: 16px; font-weight: 600; }
.cl-desc { font-size: 14px; }
.tier .body { font-size: 16px; color: var(--ink-2); }

/* ---------- 04 sample report (dark) ---------- */
.section-dark { background: var(--dark); color: #f4f3fa; }
.section-dark .h2 { color: #fff; }
.evidence-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.section-dark .sample-note { margin: 0; max-width: 38ch; font: 400 14px/1.5 var(--sans); color: #a9a6c0; }
.section-dark .digest { background: #12111d; border-color: rgba(255, 255, 255, .1); box-shadow: none; color: #fff; }
.section-dark .card-head { color: #fff; font-size: 16px; font-weight: 600; }
.section-dark .count-pill { background: rgba(255, 255, 255, .08); color: #c9c6dc; }
.section-dark .digest-row { border-top-color: rgba(255, 255, 255, .08); }
.section-dark .digest-text p:first-child { font-size: 16px; color: #fff; }
.section-dark .digest-why { font-size: 14px; color: #a9a6c0; }
.section-dark .sev-pill-critical { color: var(--fail-ink); background: rgba(255, 84, 112, .14); }
.section-dark .sev-pill-warn { color: var(--warn-ink); background: rgba(245, 184, 74, .14); }
.section-dark .report-card { background: #12111d; border: 1px solid rgba(255, 255, 255, .1); box-shadow: none; }
.report-title { font-size: 24px; }
.report-detail { font-size: 16px; color: #c9c6dc; }
.proof { font-size: 13.5px; }
.proof-label { color: #a9a6c0; }
.fix-label { font-size: 14px; color: var(--violet-6); font-weight: 500; }
.fix-text { font-size: 15.5px; }
.copy-btn { min-height: 40px; padding: 0 14px; border-radius: 10px; font-size: 14px; background: #fff; color: var(--ink); border: 0; }
.copy-btn:hover { background: var(--violet-hover); color: var(--ink); }
.sev-chip { font-size: 12.5px; }

/* ---------- 05 pricing + extension row ---------- */
.pricing-wrap { max-width: 1040px; }
.pricing-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pricing-head .h2 { max-width: 22ch; }
.pricing-head .lead { margin-top: 12px; }
.plans-two { margin-inline: auto; max-width: none; }
.plan { padding: 36px; gap: 18px; border-radius: 24px; }
.plan-price { font-size: 64px; line-height: 1; }
.plan-unit { font-size: 15px; font-weight: 400; }
.plan-list { gap: 12px; font-size: 16px; color: var(--ink-2); padding-left: 20px; }
.plan-main .plan-list { color: #e4e2ef; }
.plan-pill { font: 400 12px var(--mono); padding: 5px 12px; background: rgba(255, 255, 255, .12); color: var(--violet-6); }
.ext-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 20px; padding: 18px 24px; border-radius: 16px; background: #fff; border: 1px dashed #cfcce0; font-size: 16px; color: var(--ink-2); }
.ext-row p { max-width: 70ch; }
.ext-row strong { color: var(--ink); font-weight: 600; }
.ext-soon { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--tint); color: var(--violet-deep); font: 400 13px var(--mono); }
.ext-soon[aria-disabled="false"] { background: var(--violet); color: #fff; font: 600 15px var(--sans); }

/* ---------- 06 FAQ ---------- */
.section-faq { background: #fff; border-top: 1px solid var(--border); }
.faq-list { gap: 0; border-top: 1px solid var(--border); }
.faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; }
.faq-q { padding: 20px 0; min-height: 64px; font: 600 19px/1.35 var(--sans); letter-spacing: -0.01em; border-radius: 0; }
.faq-a { padding: 0 48px 22px 0; font-size: 16px; color: var(--muted); max-width: 68ch; }

/* ---------- 07 closing + compact footer: one screen ---------- */
.end-screen { display: flex; flex-direction: column; background: var(--dark); }
.end-screen .closing { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.closing-inner { gap: 24px; }
.closing-inner .eyebrow { margin: 0; }
.closing-sub { font-size: 19px; color: #c9c6dc; }
.closing-form { width: 100%; max-width: 580px; }
.closing-form .btn-white { min-height: 52px; padding: 0 22px; font-weight: 600; font-size: 16px; }
.site-footer { font-size: 14.5px; color: #a9a6c0; }
.end-screen .footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-top: 28px; }
.footer-brand { flex-direction: row; align-items: center; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 4px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 8px; color: #c9c6dc; }
.footer-links a:hover { color: #fff; }
.end-screen .footer-bottom { margin-top: 16px; padding-top: 16px; padding-bottom: 24px; font-size: 13.5px; }

/* ---------- full-screen sections, v4 ---------- */
.snap-page .end-screen { min-height: 100vh; min-height: 100svh; scroll-snap-align: start; scroll-snap-stop: always; }
.snap-page .end-screen .closing { min-height: 0; scroll-snap-align: none; padding: clamp(40px, 8vh, 96px) 0; }
.snap-page .site-footer { scroll-snap-align: none; }
.snap-page .section-results { display: block; padding: 0; justify-content: normal; }

/* ---------- report: a full-height verdict screen, then what to fix ---------- */
.section-results { padding: 0; background: var(--page); }
.verdict-screen {
  position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  background: radial-gradient(55% 60% at 50% 38%, rgba(255, 84, 112, .14), transparent 70%), radial-gradient(60% 60% at 88% 0%, rgba(90, 72, 255, .32), transparent 70%), var(--dark);
  color: #f4f3fa;
}
.verdict-screen.tone-pass { background: radial-gradient(55% 60% at 50% 38%, rgba(61, 230, 164, .12), transparent 70%), radial-gradient(60% 60% at 88% 0%, rgba(90, 72, 255, .32), transparent 70%), var(--dark); }
.verdict-screen.tone-warn { background: radial-gradient(55% 60% at 50% 38%, rgba(245, 197, 110, .12), transparent 70%), radial-gradient(60% 60% at 88% 0%, rgba(90, 72, 255, .32), transparent 70%), var(--dark); }
.verdict-bar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-top: 20px; }
.verdict-bar .btn-outline { background: transparent; color: #f4f3fa; border-color: rgba(255, 255, 255, .22); }
.verdict-bar .btn-outline:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.verdict-bar .btn-pdf { margin-top: 0; }
.verdict-inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding-top: 24px; padding-bottom: 24px; }
.verdict-kicker { font: 400 13px var(--mono); color: #a9a6c0; }
.verdict-host { font: 500 clamp(18px, 2.2vw, 26px)/1.3 var(--mono); color: #e4e2ef; overflow-wrap: anywhere; letter-spacing: 0; }
.verdict-score { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.verdict-score-label { font: 400 13px var(--mono); color: #a9a6c0; }
.verdict-score-num { font-weight: 700; font-size: clamp(88px, 12vw, 168px); line-height: .9; letter-spacing: -0.05em; color: #fff; }
.verdict-score-num small { font-size: .22em; color: #8f8ca6; letter-spacing: 0; }
.verdict-chip { padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 18px; border: 1px solid; }
.verdict-chip-fail { background: rgba(255, 84, 112, .14); border-color: rgba(255, 84, 112, .4); color: var(--fail-ink); }
.verdict-chip-warn { background: rgba(245, 197, 110, .12); border-color: rgba(245, 197, 110, .4); color: var(--warn-ink); }
.verdict-chip-pass { background: rgba(61, 230, 164, .12); border-color: rgba(61, 230, 164, .4); color: var(--pass-ink); }
.verdict-chip-running, .verdict-chip-na, .verdict-chip-skipped { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #e4e2ef; }
.verdict-detail { max-width: 56ch; font-size: 19px; color: #c9c6dc; }
.verdict-note { max-width: 70ch; font: 400 13px/1.5 var(--mono); color: #a9a6c0; }
.verdict-counts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.verdict-count { display: flex; align-items: baseline; gap: 8px; padding: 10px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #e4e2ef; }
.verdict-count b { font-size: 24px; font-weight: 700; color: #fff; }
.verdict-count-critical, .verdict-count-high { background: rgba(255, 84, 112, .1); border-color: rgba(255, 84, 112, .3); }
.verdict-count-critical b, .verdict-count-high b { color: var(--fail-ink); }
.verdict-count-medium { background: rgba(245, 197, 110, .08); border-color: rgba(245, 197, 110, .28); }
.verdict-count-medium b { color: var(--warn-ink); }
.verdict-count-pass { background: rgba(61, 230, 164, .08); border-color: rgba(61, 230, 164, .28); }
.verdict-count-pass b { color: var(--pass-ink); }
.verdict-next { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; align-self: center; min-height: 44px; padding: 8px 16px 28px; color: #e4e2ef; font-weight: 500; }
.verdict-next:hover { color: #fff; }
.results-wrap { padding-top: clamp(48px, 8vh, 88px); padding-bottom: clamp(56px, 9vh, 104px); }
.results-body { margin: 0 auto; max-width: 980px; gap: 20px; }
.results-main > .results-section-title, .results-section-title { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; }
.results-step { display: block; margin-bottom: 6px; font: 400 13px var(--mono); color: var(--muted); letter-spacing: 0; }
.results-body > .results-section-title { margin-top: 32px; }
.results-main .report-card { border-radius: 20px; }
.sev-filter { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.sev-group-title { font-size: 17px; }
.panel h3 { font-size: 20px; }
.panel .body, .cov-group .body { font-size: 15px; }
.ck-row { font-size: 15px; padding: 10px 2px; }
.ck-stat { font-size: 14px; }
.ck-chip { font-size: 13.5px; }
.lchip { font-size: 12px; }
.report-more > summary { min-height: 48px; display: flex; align-items: center; font-size: 14px; }

/* ---------- dashboard ---------- */
.dash-body { background: var(--page); }
.dash-link { font-size: 15px; color: #c9c6dc; padding: 8px 10px; min-height: 40px; display: inline-flex; align-items: center; }
.dash-plan { font-size: 12.5px; }
.dash-main { max-width: 1200px; gap: 24px; }
.dash-h1 { font-size: clamp(30px, 3.4vw, 44px); }
.dash-h2 { font-size: 21px; }
.dash-card { border-radius: 20px; padding: 26px; }
.dash-muted, .dash-small { color: var(--muted); }
.dash-small { font-size: 14px; }
.dash-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; align-items: stretch; }
.dash-hero > .pro-offer { margin: 0; }
.dash-scan { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: #f4f3fa; border: 0; padding: 32px; box-shadow: 0 30px 80px -30px rgba(40, 20, 140, .55); }
.dash-scan::before { content: ""; position: absolute; inset: -40% -20% auto 30%; height: 160%; z-index: -1; pointer-events: none; background: radial-gradient(50% 50% at 60% 30%, rgba(90, 72, 255, .45), transparent 70%); }
.dash-scan .dash-h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; color: #fff; }
.dash-scan .dash-muted { color: #b9b6cc; }
.dash-scan .dash-field input { min-height: 52px; font: 400 16px var(--mono); color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 0 14px; }
.dash-scan .dash-field input::placeholder { color: rgba(255, 255, 255, .5); }
.dash-scan .dash-scan-row .btn { min-height: 52px; font-weight: 600; font-size: 16px; }
.dash-scan .dash-error { color: var(--fail-ink); }
.dash-rescan { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: #a9a6c0; }
.dash-rescan-chip { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: #e4e2ef; font: 400 13px var(--mono); cursor: pointer; }
.dash-rescan-chip:hover { border-color: var(--violet-4); color: #fff; }
.pro-offer { border-radius: 20px; }
.pro-active-n { font-weight: 700; }
.dash-sites { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 8px 0 16px; }
.dash-site { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 14px; padding: 20px; border-radius: 16px; border: 1px solid var(--border); background: var(--page); }
.dash-site-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dash-site-host { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dash-site .dash-url { font-size: 15px; color: var(--ink); flex: none; }
.dash-site-score { font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.dash-site-score small { font-size: 17px; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.dash-site-chip { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.dash-site-chip.is-fail { background: #fdecef; color: #b3203a; }
.dash-site-chip.is-ok { background: #e3f6ec; color: #1d6e48; }
.dash-site-chip.is-wait { background: var(--tint); color: var(--violet-deep); }
.dash-site-actions { display: flex; gap: 8px; }
.dash-site-actions > * { flex: 1; justify-content: center; }
.dash-table { font-size: 15px; }
.dash-table th { font-size: 12.5px; }
.dash-table td { padding: 12px 10px; }

@media (max-width: 1024px) {
  .checks-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tier-tabs { flex-direction: row; flex-wrap: wrap; margin-top: 20px; }
  .tier-tab { flex: 1 1 180px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .snap-page .tabs-ready .tiers { display: block; overflow: visible; margin-inline: 0; padding: 0; }
  .snap-page .tabs-ready .tier { flex: none; }
  .tabs-ready .tier-list { grid-template-columns: minmax(0, 1fr); }
  .tier-tabs { gap: 6px; }
  .tier-tab { flex: 1 1 0; min-height: 56px; padding: 8px 10px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
  .tier-tab-sub { display: none; }
  .tier-tab-name { font-size: 16px; }
  .tier-tab-count { font-size: 11.5px; }
  .step-card { padding: 24px; }
  .step-num { font-size: 44px; }
  .plan { padding: 26px; }
  .plan-price { font-size: 52px; }
  .faq-q { font-size: 17px; padding: 16px 0; }
  .faq-a { padding: 0 0 18px; }
  .scan-form { flex-direction: column; }
  .closing-form .btn-white, .scan-form .btn-primary { width: 100%; }
  .verdict-bar { justify-content: stretch; }
  .verdict-bar .btn { flex: 1 1 140px; }
  .dash-scan { padding: 24px 20px; }
  .end-screen .footer-grid { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .tier-tab { transition: none; } }
/* Laptop-height screens: keep the hero and pricing within one screen */
@media (min-width: 641px) and (max-height: 960px) {
  .snap-page .hero-grid { padding-top: clamp(16px, 3vh, 40px); padding-bottom: clamp(8px, 2vh, 24px); }
  .snap-page .hero-copy { gap: 18px; }
  .snap-page .scroll-cue { padding-bottom: 16px; }
  .snap-page .plan { padding: 26px 30px; gap: 14px; }
  .snap-page .plan-price { font-size: 52px; }
  .snap-page .plan-list { gap: 8px; }
  .snap-page .ext-row { margin-top: 14px; padding: 12px 20px; }
  .snap-page .pricing-head .lead { margin-top: 6px; }
}
/* Phones: the three steps swipe sideways too, so "How it works" stays one screen */
@media (max-width: 640px) {
  .snap-page .steps-simple { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .snap-page .steps-simple::-webkit-scrollbar { display: none; }
  .snap-page .step-card { flex: 0 0 82%; scroll-snap-align: start; }
}
.verdict-bar .btn, .btn-pdf { padding: 0 16px; }
/* Dashboard: the active pass sits beside "Scan a site" as one compact card */
.dash-hero .pro-active { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "buy"; padding: 30px; gap: 14px; align-content: center; }
.dash-hero .pro-offer-title { font-size: clamp(24px, 2.4vw, 30px); }
.dash-hero .pro-active-side { align-self: start; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.dash-hero .pro-active-side a.pro-offer-cta { display: none; }
.dash-hero .pro-active-side .pro-offer-amount { font-size: 40px; }
.dash-hero .pro-active-side .pro-offer-per { margin-top: 0; }
/* Short laptop screens (around 768px tall) */
@media (min-width: 641px) and (max-height: 820px) {
  .snap-page .hero-title { font-size: clamp(40px, 4.6vw, 64px); }
  .snap-page .hero-lead { font-size: 17px; }
  .snap-page .builder-chips { display: none; }
  .snap-page .h2 { font-size: clamp(32px, 3.4vw, 46px); }
  .snap-page .section-evidence .proof-step { display: none; }
  .snap-page .section-evidence .report-body { padding-top: 16px; }
  .snap-page .plan-price { font-size: 44px; }
  .snap-page .plan-list { font-size: 15px; }
  .snap-page .pricing-head .lead { display: none; }
}

/* Contact form on /contact (2026-11-13) */
.contact-form { display: flex; flex-direction: column; margin-top: 4px; }
.contact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { align-self: flex-start; min-height: 44px; }
.contact-form .panel-msg { margin-top: 0; }
.contact-form .panel-msg.is-error { color: #c2304a; }
.contact-form .panel-msg.is-ok { color: #157a4f; }
.contact-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.legal-doc .dash-card { position: relative; }

/* Admin: contact messages */
.admin-msg-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.admin-msg { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.admin-msg.is-unread { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet) inset; }
.admin-msg-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; font-size: 14px; }
.admin-msg-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; }
.admin-msg-actions { display: flex; gap: 8px; flex-wrap: wrap; }
