/* ─── A11Y: visually hidden ──────────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #171717;
  --white: #ffffff;
  --gray-600: #4d4d4d;
  --gray-500: #666666;
  --gray-400: #808080;
  --gray-200: #c8c8c8;
  --gray-100: #ebebeb;
  --gray-50:  #fafafa;

  /* Verdict tints (set by JS via --band-tint) */
  --band-tint: rgba(0,0,0,0.03);

  /* Severity colors */
  --red-600: #dc2626;
  --red-50:  #fef2f2;
  --amber-600: #d97706;
  --amber-50: #fffbeb;
  --green-600: #16a34a;
  --green-50: #f0fdf4;

  --border-shadow: 0px 0px 0px 1px rgba(0,0,0,0.08);
  --card-shadow: rgba(0,0,0,0.06) 0px 1px 3px, rgba(0,0,0,0.04) 0px 0px 0px 1px;
  --card-shadow-hover: rgba(0,0,0,0.10) 0px 4px 12px, rgba(0,0,0,0.06) 0px 0px 0px 1px;
  --ring-shadow: rgb(235,235,235) 0px 0px 0px 1px;
  --focus-color: hsla(212,100%,48%,1);
  --radius-sm: 4px;
  --radius:    6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  font-feature-settings: "liga" 1;
}

html { font-size: 16px; }

body {
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ─── Layout ─────────────────────────────────────────────────────────────────── */
.page { min-height: 100vh; display: flex; flex-direction: column; }

/* ─── Nav ────────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  height: 56px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--gray-100);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.2px;
}
.logo:hover { opacity: 0.75; }

.back-btn {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--ring-shadow);
  transition: background 0.1s;
}
.back-btn:hover { background: var(--gray-50); }
.back-btn:focus-visible { outline: 2px solid var(--focus-color); outline-offset: 2px; }

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 24px 64px;
  text-align: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* Dotted-grid background on landing hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, #d4d4d4 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 10%, transparent 80%);
  opacity: 0.45;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-500);
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: var(--ring-shadow);
  margin-bottom: 32px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -2.2px;
  color: var(--black);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 40px;
}

/* ─── Scan form ──────────────────────────────────────────────────────────────── */
.scan-form { width: 100%; }

.input-row {
  display: flex;
  gap: 8px;
  box-shadow: var(--border-shadow);
  border-radius: var(--radius-md);
  padding: 6px 6px 6px 16px;
  background: var(--white);
  align-items: center;
}

.input-row input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 400;
  color: var(--black);
  background: transparent;
  font-family: inherit;
  min-width: 0;
}
.input-row input::placeholder { color: var(--gray-400); }

.input-row button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  background: var(--black);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.1s;
  white-space: nowrap;
  font-family: inherit;
  flex-shrink: 0;
}
.input-row button:hover { opacity: 0.85; }
.input-row button:focus-visible { outline: 2px solid var(--focus-color); outline-offset: 2px; }
.input-row button:disabled { opacity: 0.5; cursor: not-allowed; }

.error-msg {
  margin-top: 10px;
  font-size: 13px;
  color: #c0392b;
  font-family: 'Geist Mono', ui-monospace, monospace;
}

/* ─── Scanning state ─────────────────────────────────────────────────────────── */
.scanning {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 48px 24px;
}

.scan-progress {
  display: flex;
  align-items: center;
  gap: 14px;
}

.scan-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gray-100);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.scan-status-text {
  font-size: 14px;
  color: var(--gray-500);
  font-family: 'Geist Mono', ui-monospace, monospace;
}

.scan-steps {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.scan-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-400);
  padding: 4px 10px;
  border-radius: 9999px;
  box-shadow: var(--ring-shadow);
  font-family: 'Geist Mono', ui-monospace, monospace;
  transition: color 0.2s;
}

.step-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gray-100);
  transition: background 0.2s;
}

.scan-step.done { color: var(--black); }
.scan-step.done .step-dot { background: #22c55e; }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--gray-100);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-400);
}
.footer a { color: var(--gray-400); text-underline-offset: 2px; }
.footer a:hover { color: var(--black); }

/* ─── Audit preview (landing) ────────────────────────────────────────────────── */
.audit-preview {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  max-width: 560px;
  margin: 0 auto 16px;
}

.ap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 8px;
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.ap-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  text-transform: uppercase;
}

.ap-score-badge {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  font-variant-numeric: tabular-nums;
}

.ap-site-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px 8px;
  border-bottom: 1px solid var(--gray-100);
}

.ap-domain {
  font-weight: 500;
  color: var(--black);
  font-size: 13px;
}

.ap-verdict {
  font-size: 11px;
  color: var(--amber-600);
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 500;
}

.ap-minibar {
  display: flex;
  gap: 3px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--gray-100);
}

.ap-seg {
  flex: 1;
  height: 4px;
  border-radius: 2px;
}
.ap-seg-pass { background: #22c55e; }
.ap-seg-fail { background: #ef4444; }

.ap-rows {
  padding: 8px 0 4px;
}

.ap-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px;
  font-size: 12px;
}

.ap-status-x {
  color: #ef4444;
  font-size: 11px;
  flex-shrink: 0;
  width: 12px;
}
.ap-status-ok {
  color: #22c55e;
  font-size: 11px;
  flex-shrink: 0;
  width: 12px;
}

.ap-row-fail { color: var(--black); }
.ap-row-pass { color: var(--gray-500); }

.ap-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ap-chip {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 1px 5px;
  border-radius: 3px;
  flex-shrink: 0;
}
.ap-chip-high { background: #fef2f2; color: var(--red-600); }
.ap-chip-med  { background: #fffbeb; color: var(--amber-600); }
.ap-chip-pass { background: var(--gray-50); color: var(--gray-400); }

.ap-pts {
  font-variant-numeric: tabular-nums;
  color: var(--red-600);
  font-size: 11px;
  flex-shrink: 0;
  min-width: 44px;
  text-align: right;
}
.ap-row-pass .ap-pts { color: transparent; }

.ap-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 4px 16px;
}

.ap-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 10px;
  border-top: 1px solid var(--gray-100);
  font-size: 11px;
  color: var(--gray-400);
  background: var(--gray-50);
}
.ap-sep { color: var(--gray-200); }

/* ─── Score hero band (results) ──────────────────────────────────────────────── */
.score-hero-band {
  width: 100%;
  background: var(--band-tint);
  border-bottom: 1px solid var(--gray-100);
  padding: 32px 24px;
  transition: background 0.4s;
}

.score-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.score-ring-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.score-ring {
  width: 140px;
  height: 140px;
}

.score-number-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-number {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -1.5px;
  color: var(--black);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.score-denom {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-400);
  font-family: 'Geist Mono', ui-monospace, monospace;
  margin-top: 3px;
}

.score-hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.score-site-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.site-favicon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
  object-fit: contain;
}

.score-site-info {
  flex: 1;
  min-width: 0;
}

.site-title-display {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-url-display {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray-400);
  font-family: 'Geist Mono', ui-monospace, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-500);
  padding: 2px 8px;
  border-radius: 9999px;
  box-shadow: var(--ring-shadow);
  font-family: 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0.02em;
  background: var(--white);
}

.score-verdict {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.8px;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.15;
}

.score-verdict-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.score-subline {
  font-size: 13px;
  color: var(--gray-500);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

/* 8-segment mini-bar */
.score-mini-bar {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.mini-seg {
  width: 24px;
  height: 5px;
  border-radius: 3px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.mini-seg-pass { background: #22c55e; }
.mini-seg-fail { background: #ef4444; }

/* ─── Results wrap ──────────────────────────────────────────────────────────── */
.results-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

/* ─── Checks section ─────────────────────────────────────────────────────────── */
.checks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Check group labels */
.check-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-group-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  font-family: 'Geist Mono', ui-monospace, monospace;
  padding: 0 2px;
  margin-bottom: 4px;
}

.check-group-fail .check-group-label { color: var(--red-600); opacity: 0.75; }
.check-group-pass .check-group-label { color: var(--gray-400); }

/* Individual check item card */
.check-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.15s;
}
.check-item:hover { box-shadow: var(--card-shadow-hover); }

/* Fail items get a slightly warmer border */
.check-item.fail {
  border-color: rgba(239,68,68,0.18);
}

.check-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
}
.check-header:hover { background: var(--gray-50); }
.check-header:focus-visible { outline: 2px solid var(--focus-color); outline-offset: -2px; }

.check-icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  margin-top: 1px;
}
.fail .check-icon-wrap { background: #fef2f2; }
.pass .check-icon-wrap { background: #f0fdf4; }

.check-icon { display: flex; }

.check-body-text {
  flex: 1;
  min-width: 0;
}

.check-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.4;
}

.check-cost-inline {
  font-size: 14px;
  font-weight: 500;
  margin-top: 3px;
  color: var(--red-600);
  line-height: 1.4;
}

.check-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

/* Severity chip */
.severity-chip {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-family: 'Geist Mono', ui-monospace, monospace;
  text-transform: uppercase;
  flex-shrink: 0;
}
.severity-high { background: #fef2f2; color: var(--red-600); }
.severity-medium { background: #fffbeb; color: var(--amber-600); }

.check-expand-icon {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform 0.15s;
  margin-top: 6px;
}
.check-item.expanded .check-expand-icon { transform: rotate(180deg); }

.check-body {
  display: none;
  padding: 0 16px 16px 56px;
}
.check-item.expanded .check-body { display: block; }

.check-detail {
  font-size: 12px;
  color: var(--gray-500);
  font-family: 'Geist Mono', ui-monospace, monospace;
  margin-bottom: 10px;
  word-break: break-all;
  line-height: 1.6;
}

.check-cost {
  font-size: 14px;
  font-weight: 500;
  color: var(--red-600);
  margin-bottom: 10px;
  line-height: 1.5;
}

.check-fix {
  font-size: 13px;
  color: var(--gray-600);
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  line-height: 1.6;
  border: 1px solid var(--gray-100);
}

/* Pass group collapsible */
.pass-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--card-shadow);
  transition: background 0.1s;
}
.pass-group-toggle:hover { background: var(--gray-50); }
.pass-group-toggle:focus-visible { outline: 2px solid var(--focus-color); outline-offset: 2px; }

.pass-group-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
}

.pass-group-count {
  font-size: 12px;
  color: var(--gray-400);
  font-family: 'Geist Mono', ui-monospace, monospace;
  flex: 1;
}

.pass-group-chevron {
  color: var(--gray-400);
  transition: transform 0.15s;
  flex-shrink: 0;
}
.pass-group-toggle[aria-expanded="true"] .pass-group-chevron { transform: rotate(180deg); }

.pass-group-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

/* ─── Fix-kit card — dark ────────────────────────────────────────────────────── */
.fixkit-card {
  background: #141414;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
}

.fixkit-great {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  box-shadow: var(--border-shadow);
  text-align: center;
}
.fixkit-great-text {
  font-size: 16px;
  font-weight: 500;
  color: #22c55e;
  margin-bottom: 8px;
}
.fixkit-great-share {
  font-size: 13px;
  color: var(--gray-500);
}
.share-url {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--gray-600);
}

.fixkit-top {
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.fixkit-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}

.fixkit-heading {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.5px;
}

.fixkit-price-badge {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.fixkit-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.fixkit-fail-header {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding: 14px 28px 0;
  line-height: 1.5;
  font-family: 'Geist Mono', ui-monospace, monospace;
}

.fixkit-items {
  list-style: none;
  padding: 16px 28px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.kit-item svg { flex-shrink: 0; margin-top: 2px; color: rgba(255,255,255,0.5); }
.kit-item strong { color: var(--white); font-weight: 500; }

.buy-btn {
  display: block;
  width: calc(100% - 56px);
  margin: 20px 28px 16px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #141414;
  background: var(--white);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: opacity 0.1s, background 0.1s;
  font-family: inherit;
  text-align: center;
  letter-spacing: -0.2px;
}
.buy-btn:hover { background: rgba(255,255,255,0.9); }
.buy-btn:focus-visible { outline: 2px solid rgba(255,255,255,0.6); outline-offset: 2px; }
.buy-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.buy-status {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 0 28px 16px;
  margin-top: -8px;
  font-family: 'Geist Mono', ui-monospace, monospace;
}

.fixkit-sample {
  margin: 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.fixkit-sample-toggle {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 12px 0;
  list-style: none;
  font-family: 'Geist Mono', ui-monospace, monospace;
  user-select: none;
}
.fixkit-sample-toggle::-webkit-details-marker { display: none; }
.fixkit-sample-toggle::before { content: '▸ '; }
details[open] .fixkit-sample-toggle::before { content: '▾ '; }
.fixkit-sample-content { padding-bottom: 12px; }
.fixkit-sample-pre {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 11px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}
.fixkit-sample-pre .blurred {
  filter: blur(3px);
  user-select: none;
}

.fixkit-delivery {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding: 14px 28px 0;
  line-height: 1.5;
}
.fixkit-delivery::before { content: '→ '; }

.fixkit-refund {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  padding: 6px 28px 20px;
  line-height: 1.5;
}

/* Waitlist (on dark bg) — kept for compat but unused */
.waitlist-form {
  padding: 16px 28px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.waitlist-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  line-height: 1.5;
}
.waitlist-row {
  display: flex;
  gap: 8px;
}
.waitlist-input {
  flex: 1;
  padding: 8px 12px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  outline: none;
  min-width: 0;
  color: var(--white);
  background: rgba(255,255,255,0.07);
}
.waitlist-input::placeholder { color: rgba(255,255,255,0.3); }
.waitlist-input:focus { border-color: rgba(255,255,255,0.4); }
.waitlist-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #141414;
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}
.waitlist-btn:hover { opacity: 0.9; }
.waitlist-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.waitlist-status {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  font-family: 'Geist Mono', ui-monospace, monospace;
}

/* Report (email CTA) form — on dark card */
.fixkit-free-badge {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  font-family: 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.1);
  padding: 3px 8px;
  border-radius: 4px;
}
.report-form {
  padding: 20px 28px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.report-row {
  display: flex;
  gap: 8px;
}
.report-input {
  flex: 1;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  outline: none;
  min-width: 0;
  color: var(--white);
  background: rgba(255,255,255,0.07);
}
.report-input::placeholder { color: rgba(255,255,255,0.3); }
.report-input:focus { border-color: rgba(255,255,255,0.4); }
.report-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #141414;
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.2px;
}
.report-btn:hover { background: rgba(255,255,255,0.9); }
.report-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.report-status {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  line-height: 1.5;
}
.report-status-ok { color: rgba(134,239,172,0.8); }

/* ─── FAQ ────────────────────────────────────────────────────────────────────── */
.section-heading {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Geist Mono', ui-monospace, monospace;
  margin-bottom: 12px;
}

.faq-section { margin-top: -16px; }
.faq-list {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--border-shadow);
}
.faq-item {
  border-bottom: 1px solid var(--gray-100);
  background: var(--white);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; color: var(--gray-400); font-weight: 400; }
details[open] .faq-question::after { content: '−'; }
.faq-answer {
  font-size: 13px;
  color: var(--gray-600);
  padding: 0 16px 14px 16px;
  line-height: 1.6;
}

/* ─── Mobile ─────────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 48px 20px 40px; }
  h1 { letter-spacing: -1.5px; }
  .hero-sub { font-size: 16px; }

  .input-row {
    flex-direction: column;
    padding: 12px;
    gap: 10px;
  }
  .input-row input { width: 100%; font-size: 16px; }
  .input-row button { width: 100%; justify-content: center; }

  .score-hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .score-hero-right { align-items: center; }
  .score-site-row { justify-content: center; }
  .score-verdict { justify-content: center; font-size: 21px; }
  .score-mini-bar { justify-content: center; }
  .platform-badge { align-self: center; }

  .fixkit-top { padding: 20px 20px 16px; }
  .fixkit-items { padding: 16px 20px; }
  .buy-btn { width: calc(100% - 40px); margin: 16px 20px 16px; }
  .buy-status { padding: 0 20px 16px; }
  .fixkit-sample { margin: 0 20px; }
  .fixkit-delivery { padding: 14px 20px 0; }
  .fixkit-refund { padding: 6px 20px 20px; }
  .waitlist-form { padding: 16px 20px 20px; }

  .check-body { padding-left: 16px; }

  .audit-preview { font-size: 11px; }
  .ap-name { font-size: 11px; }
}

/* ─── Results entrance animation ─── */
@keyframes resultsIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.results-enter .score-hero-band { animation: resultsIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
.results-enter .results-wrap    { animation: resultsIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both; }
.results-enter .check-item { opacity: 0; animation: resultsIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.results-enter .check-item:nth-child(1) { animation-delay: 0.18s; }
.results-enter .check-item:nth-child(2) { animation-delay: 0.25s; }
.results-enter .check-item:nth-child(3) { animation-delay: 0.32s; }
.results-enter .check-item:nth-child(4) { animation-delay: 0.39s; }
.results-enter .check-item:nth-child(5) { animation-delay: 0.46s; }
.results-enter .check-item:nth-child(6) { animation-delay: 0.53s; }
.results-enter .check-item:nth-child(7) { animation-delay: 0.60s; }
.results-enter .check-item:nth-child(8) { animation-delay: 0.67s; }
@media (prefers-reduced-motion: reduce) {
  .results-enter .score-hero-band,
  .results-enter .results-wrap,
  .results-enter .check-item { animation: none; opacity: 1; }
}

/* ─── One-screen landing layout ─── */
#landing { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; justify-content: space-between; }
#landing .hero { padding: 32px 24px 20px; flex-shrink: 1; display: flex; flex-direction: column; justify-content: center; flex: 1; min-height: 0; }
.landing-meta { flex-shrink: 0; padding: 0 24px 8px; }
#landing .footer { padding: 12px 24px; flex-shrink: 0; }

.audit-preview { max-width: 640px; }

/* Methodology note */
.methodology-note {
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
  margin-top: 10px;
  font-family: 'Geist Mono', ui-monospace, monospace;
}
.methodology-note a { color: var(--gray-500); text-underline-offset: 2px; }
.methodology-note a:hover { color: var(--black); }

@media (max-height: 760px) {
  #landing .hero { padding: 20px 24px 10px; }
  #landing h1 { font-size: 34px; }
  .audit-preview { display: none; }
}
@media (max-width: 700px) {
  #landing { height: auto; min-height: 100dvh; overflow: visible; }
  .audit-preview { font-size: 11px; }
}

/* hidden attribute must always win over layout display rules */
[hidden] { display: none !important; }

/* ─── Typographic scale-up: hero must carry the page ─── */
#landing .hero { max-width: 780px; }
#landing h1 { font-size: clamp(44px, 6.5vw, 72px); letter-spacing: -3px; margin-bottom: 24px; }
#landing .hero-sub { font-size: 19px; max-width: 560px; margin-left: auto; margin-right: auto; margin-bottom: 36px; }
#landing .input-row { max-width: 560px; margin: 0 auto; padding: 8px 8px 8px 18px; }
#landing .input-row input { font-size: 17px; }
#landing .input-row button { padding: 12px 22px; font-size: 15px; }
#landing .hero-badge { font-size: 13px; margin-bottom: 24px; }
/* sample report reads as secondary evidence, not competing with the hero */
#landing .audit-preview { max-width: 520px; opacity: 0.92; transform: scale(0.97); }
@media (max-height: 820px) {
  #landing h1 { font-size: clamp(40px, 5.5vw, 56px); }
  #landing .hero { padding: 32px 24px 20px; }
}

/* ─── Newsletter consent ─── */
.newsletter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #525252;
  margin-top: 10px;
  cursor: pointer;
}
.newsletter-checkbox { accent-color: #171717; cursor: pointer; }
.report-microcopy {
  font-size: 0.75rem;
  color: #737373;
  margin-top: 6px;
  line-height: 1.5;
}
.report-microcopy a { color: #525252; }
