
/* ============================================================
   onlinepdfs.com — design elevation v3
   Editorial report language × Apple discipline:
   restraint · typography as interface · material honesty ·
   color discipline · clarity of action · pixel precision
   ============================================================ */
:root {
  --ink: #0D1B2A;
  --ink-2: #16283c;
  --teal: #0F766E;
  --teal-deep: #0b5c56;
  --teal-ink: #0a4a45;
  --teal-wash: #eaf4f2;
  --paper: #ffffff;
  --mist: #f7f9f8;
  --hairline: #e5eaed;
  --muted: #5c6c7b;
  --faint: #8b99a7;
  --brick: #b42318;
  --green: #177245;
  --radius: 14px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --border: #e5eaed;      /* = --hairline; used by flow/report components */
  --red: #b42318;         /* = --brick */
  --teal-dark: #0b5c56;   /* = --teal-deep */
  --teal-soft: #eaf4f2;   /* = --teal-wash */
  --green-soft: #eef7f3;
  --amber: #b45309;
  --info-bg: #eff6ff;
  /* 4/8pt spacing scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px;
  --s6: 24px; --s8: 32px; --s12: 48px; --s16: 64px; --s24: 96px; --s32: 128px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--teal-wash); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -56px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: .95rem; transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- prototype chrome (not part of the design) ---------- */
.proto-bar {
  background: var(--ink); color: #dbe4ec;
  font-size: 12px; letter-spacing: .02em;
  padding: 9px 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.proto-bar strong { font-size: 10px; letter-spacing: .14em; color: #7ee0d2; font-weight: 700; }
.proto-bar span { opacity: .75; }

/* ---------- typography ---------- */
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 {
  font-size: clamp(2.75rem, 7.5vw, 4.75rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.04;
  margin-bottom: var(--s5);
}
h2 {
  font-size: clamp(1.8rem, 4.2vw, 2.75rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: var(--s4);
}
.lede {
  font-size: clamp(1.05rem, 2.4vw, 1.27rem); line-height: 1.62;
  color: var(--muted); max-width: 32em; margin: 0 auto var(--s12);
}
.lede-light { color: #b9c6d2; }
/* kicker — plain, letterspaced, teal. No pill, no decoration. */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: var(--s5);
}
.eyebrow-light { color: #7ee0d2; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 17px 34px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background .16s ease, transform .12s ease, box-shadow .16s ease, border-color .16s ease;
  min-height: 56px;
}
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 1px 2px rgba(13,27,42,.08); }
.btn-primary:hover { background: var(--teal-deep); box-shadow: 0 6px 18px rgba(15,118,110,.22); }
.btn-ghost { background: transparent; color: var(--teal-ink); border-color: #bcd9d5; }
.btn-ghost:hover { border-color: var(--teal); background: var(--teal-wash); }
.btn-lg { font-size: 1.06rem; padding: 19px 40px; min-height: 60px; }
.btn-sm { padding: 11px 20px; font-size: .9rem; min-height: 44px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.logo { font-weight: 800; font-size: 1.28rem; letter-spacing: -0.025em; text-decoration: none; color: var(--ink); }
.logo span { color: var(--teal); }
.logo-light { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .15s; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 11px; border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1200px 480px at 50% -120px, var(--teal-wash), transparent 70%),
    var(--paper);
  padding: clamp(72px, 10vw, 128px) 0 clamp(64px, 8vw, 104px);
  scroll-margin-top: 70px;
}
#scan-form { max-width: 640px; margin: 0 auto; }
/* the one primary action per viewport */
.dropzone {
  display: block; position: relative;
  border: 1.5px dashed #9fc9c4; border-radius: 20px;
  background: var(--paper);
  padding: clamp(36px, 6vw, 56px) 24px;
  text-align: center; cursor: pointer;
  box-shadow: 0 1px 2px rgba(13,27,42,.05), 0 16px 44px rgba(15,118,110,.08);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  margin-bottom: var(--s4);
}
.dropzone:hover {
  border-color: var(--teal);
  box-shadow: 0 1px 2px rgba(13,27,42,.05), 0 20px 52px rgba(15,118,110,.14);
  transform: translateY(-1px);
}
.dropzone:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15,118,110,.15); }
.dropzone.dragover { border-color: var(--teal); border-style: solid; background: var(--teal-wash); }
.dropzone input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dz-icon {
  width: 60px; height: 60px; margin: 0 auto var(--s4); border-radius: 18px;
  background: var(--teal-wash); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.dropzone strong { display: block; font-size: 1.28rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 6px; }
.dz-hint { color: var(--muted); font-size: .93rem; }
#scan-submit { width: 100%; }
.status { margin-top: var(--s4); font-size: .95rem; color: var(--muted); min-height: 1.5em; }
.trust-row {
  display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap;
  margin-top: var(--s8); font-size: .88rem; color: var(--faint); font-weight: 500;
}
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { flex-shrink: 0; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; scroll-margin-top: 70px; }
.section + .section { border-top: 1px solid var(--hairline); }
.section-head { max-width: 720px; margin: 0 auto var(--s16); }
.section-head .lede { margin-bottom: 0; }

/* how it works — editorial numbered rows, hairline rules */
.steps { margin-top: var(--s4); }
.step {
  display: grid; grid-template-columns: 72px 1fr; gap: var(--s5);
  padding: var(--s8) 0; border-top: 1px solid var(--hairline);
  text-align: left;
}
.step:last-child { border-bottom: 1px solid var(--hairline); }
.step-num {
  font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.step-num::after {
  content: ""; display: block; width: 28px; height: 3px; border-radius: 2px;
  background: var(--teal); margin-top: 10px;
}
.step h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: .98rem; max-width: 38em; }

/* proof — key-finding callout card */
.proof { background: var(--mist); }
.finding-card {
  max-width: 760px; margin: var(--s12) auto 0; text-align: left;
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 18px;
  box-shadow: 0 1px 2px rgba(13,27,42,.05), 0 24px 60px rgba(13,27,42,.07);
  overflow: hidden;
}
.finding-card .fc-kicker {
  padding: 18px 32px 0;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
}
.fc-numbers {
  display: flex; align-items: baseline; justify-content: center; gap: 22px;
  padding: var(--s8) 32px var(--s2);
  font-variant-numeric: tabular-nums;
}
.fc-numbers .before { font-size: clamp(3.4rem, 11vw, 6rem); font-weight: 800; color: var(--brick); letter-spacing: -0.045em; line-height: 1; }
.fc-numbers .after { font-size: clamp(3.4rem, 11vw, 6rem); font-weight: 800; color: var(--teal); letter-spacing: -0.045em; line-height: 1; }
.fc-numbers .arrow { font-size: clamp(1.8rem, 5vw, 2.8rem); color: var(--faint); font-weight: 300; }
.fc-cap { text-align: center; color: var(--muted); font-size: .96rem; margin: 0; padding: 0 32px; max-width: 34em; margin-left: auto; margin-right: auto; }
.fc-issue { border-top: 1px solid var(--hairline); margin-top: var(--s8); padding: var(--s6) 32px var(--s8); }
.fc-issue .kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.fc-issue h4 { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.fc-issue p { margin: 0 0 6px; color: var(--muted); font-size: .94rem; }
.fc-issue .action { color: var(--ink); }
.fc-issue .action strong { color: var(--teal-ink); }

/* dark band — why now */
.section.dark { border-top: none; }
.dark { background: var(--ink); color: #fff; }
.dark .section-head .lede { color: #b9c6d2; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 960px; margin: var(--s16) auto var(--s12);
}
.stat { padding: var(--s4) var(--s6); text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.14); }
.stat b {
  display: block; font-size: clamp(2.1rem, 5.5vw, 3.1rem); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 10px; color: #9fb0bf; font-size: .93rem; line-height: 1.5; }
.dark .btn-primary { box-shadow: none; }

/* pricing — scannable, recommendation whispered */
.pricing { background: var(--paper); }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin-top: var(--s4); align-items: stretch; }
.tier {
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 16px;
  padding: var(--s8) var(--s6); display: flex; flex-direction: column; position: relative;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.tier:hover { box-shadow: 0 12px 32px rgba(13,27,42,.08); transform: translateY(-2px); }
.tier .rec-tag {
  position: absolute; top: -13px; left: 24px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--teal); border-radius: 999px; padding: 5px 13px;
}
.tier.hot { border: 1.5px solid var(--teal); box-shadow: 0 12px 32px rgba(15,118,110,.10); }
.tier .tname { font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tier .tprice { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.035em; margin: 12px 0 4px; font-variant-numeric: tabular-nums; }
.tier .tper { color: var(--faint); font-size: .88rem; margin-bottom: var(--s5); }
.tier ul { list-style: none; margin: 0 0 var(--s8); padding: 0; display: grid; gap: 10px; font-size: .92rem; color: var(--muted); }
.tier ul li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.5; }
.tier ul li svg { flex-shrink: 0; margin-top: 4px; }
.tier .btn { margin-top: auto; width: 100%; padding: 14px 20px; min-height: 52px; font-size: .95rem; }

/* learn — editorial article cards */
.learn { background: var(--mist); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s4); }
.lcard {
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 16px;
  padding: var(--s8) var(--s6); display: flex; flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease;
}
.lcard:hover { box-shadow: 0 12px 32px rgba(13,27,42,.08); transform: translateY(-2px); }
.lcard .pill {
  align-self: flex-start;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-ink); background: var(--teal-wash); border-radius: 999px; padding: 5px 13px; margin-bottom: var(--s4);
}
.lcard h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 10px; }
.lcard p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.6; }

/* faq — hairline rows, motion affordance */
.faq { max-width: 760px; margin: var(--s4) auto 0; text-align: left; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq details:first-of-type { border-top: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: 24px 4px; font-weight: 600; font-size: 1.02rem; letter-spacing: -0.005em;
  min-height: 72px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .qmark {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--hairline); color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 400; line-height: 1;
  transition: transform .22s ease, background .18s ease, border-color .18s ease;
}
.faq summary:hover .qmark { border-color: var(--teal); background: var(--teal-wash); }
.faq details[open] summary .qmark { transform: rotate(45deg); background: var(--teal); border-color: var(--teal); color: #fff; }
.faq details p { margin: 0; padding: 0 44px var(--s6) 4px; color: var(--muted); font-size: .97rem; }

/* footer */
.site-footer { background: var(--ink); color: #9fb0bf; padding: var(--s16) 0 var(--s8); font-size: .92rem; }
.footer-inner { display: flex; flex-direction: column; gap: var(--s6); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s6); flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 26px; flex-wrap: wrap; }
.site-footer nav a { color: #9fb0bf; text-decoration: none; font-size: .92rem; transition: color .15s; }
.site-footer nav a:hover { color: #fff; }
.site-footer .fine-print { margin: 0; padding-top: var(--s6); border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: #6e8091; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .cards3 { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 760px) {
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--hairline);
    flex-direction: column; align-items: stretch; padding: 8px 24px 20px; gap: 0;
    box-shadow: 0 24px 48px rgba(13,27,42,.10);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--hairline); font-size: 1rem; }
  .site-nav .btn { margin-top: 16px; text-align: center; }
  .nav-toggle { display: block; }
  .site-header .wrap { position: relative; }
  .step { grid-template-columns: 56px 1fr; gap: var(--s4); padding: var(--s6) 0; }
  .step-num { font-size: 1.6rem; }
  .stats { grid-template-columns: 1fr; gap: var(--s8); margin: var(--s12) auto var(--s8); }
  .stat + .stat { border-left: none; border-top: 1px solid rgba(255,255,255,.14); padding-top: var(--s8); }
  .tiers { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .finding-card .fc-kicker, .fc-issue { padding-left: 22px; padding-right: 22px; }
  .faq details p { padding-right: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- hero live-proof strip (signature moment; real 19->2 data) ---------- */
.hero-proof {
  max-width: 640px; margin: var(--s8) auto 0; padding-top: var(--s6);
  border-top: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  gap: 8px 14px; flex-wrap: wrap;
  font-size: .9rem; color: var(--muted); text-align: center;
}
.hp-kicker {
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint);
}
.hp-nums { display: inline-flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.hp-nums .before { font-size: 1.55rem; font-weight: 800; color: var(--brick); letter-spacing: -0.03em; line-height: 1; }
.hp-nums .after { font-size: 1.55rem; font-weight: 800; color: var(--teal); letter-spacing: -0.03em; line-height: 1; }
.hp-nums .arrow { color: var(--faint); font-weight: 300; }
.hp-cap { font-size: .88rem; }
.hp-ex { flex-basis: 100%; font-size: .82rem; color: var(--faint); }

/* ---------- guided flow overlay ---------- */
.flow { position: fixed; inset: 0; z-index: 200; display: flex; }
.flow[hidden] { display: none; }
.flow-backdrop { position: absolute; inset: 0; background: rgba(13, 27, 42, 0.6); }
.flow-shell {
  position: relative; margin: auto;
  width: min(880px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem);
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: 18px;
  box-shadow: 0 24px 80px rgba(13, 27, 42, 0.35);
  overflow: hidden;
}
.flow-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
  background: var(--mist); flex-shrink: 0;
}
.flow-crumb { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.flow-crumb li { display: flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.crumb-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--border); color: var(--muted); font-size: 0.8rem; font-weight: 700;
}
.flow-crumb li.active { color: var(--ink); }
.flow-crumb li.active .crumb-num { background: var(--teal); color: #fff; }
.flow-crumb li.done { color: var(--muted); }
.flow-crumb li.done .crumb-num { background: var(--green); color: #fff; }
.flow-x {
  background: none; border: 1px solid var(--border); border-radius: 8px;
  width: 2.25rem; height: 2.25rem; font-size: 1.4rem; line-height: 1;
  color: var(--muted); cursor: pointer; flex-shrink: 0;
}
.flow-x:hover { color: var(--ink); border-color: var(--muted); }
.flow-main { overflow-y: auto; padding: 0; }
.flow-main > div { padding: 1.5rem; }

/* Staged progress */
.scan-progress { max-width: 640px; margin: 0 auto; }
.scan-progress-title { margin: 0 0 0.9rem; font-size: 1.15rem; font-weight: 600; }
.scan-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.scan-steps li { display: flex; align-items: center; gap: 0.7rem; color: var(--muted); font-size: 0.98rem; }
.scan-step-dot { width: 0.85rem; height: 0.85rem; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; }
.scan-steps li.active { color: var(--ink); font-weight: 600; }
.scan-steps li.active .scan-step-dot { border-color: var(--teal); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.scan-steps li.done { color: var(--muted); }
.scan-steps li.done .scan-step-dot { border-color: var(--green); background: var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  display: inline-block; width: 1em; height: 1em; margin-right: .5em;
  border: 2px solid var(--border); border-top-color: var(--teal); border-radius: 50%;
  animation: spin .8s linear infinite; vertical-align: -0.15em;
}
.fix-tip {
  margin: 1.1rem 0 0; padding: 0.85rem 1rem;
  background: var(--info-bg); border: 1px solid #bfdbfe; border-radius: 10px;
  font-size: 0.92rem;
}
.fix-tip strong { color: var(--teal-dark); }
.section-note { color: var(--muted); font-size: .92rem; }

/* Audit report */
.report-doc {
  max-width: 800px; margin: 0 auto; background: var(--paper);
  border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 10px 36px rgba(13,27,42,.09); overflow: hidden;
}
.report-head {
  padding: 28px 32px; border-bottom: 3px solid var(--ink);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap;
}
.report-head .doc-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.report-head h3 { margin: 4px 0 6px; font-size: clamp(1.35rem, 4vw, 1.8rem); letter-spacing: -0.02em; }
.report-meta { font-size: .9rem; color: var(--muted); margin: 0; }
.report-sec { padding: 26px 32px; border-bottom: 1px solid var(--border); }
.report-sec:last-child { border-bottom: none; }
.report-sec > h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.exec-sum { font-size: 1.04rem; margin: 0; max-width: 36em; }
.result-sec { text-align: center; }
.result-sec .exec-sum { margin: 14px auto 0; }
.result-sec .reveal-label { margin-bottom: 0; }
.finding { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); min-width: 0; }
.finding:last-child { border-bottom: none; padding-bottom: 0; }
.finding .fno {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; color: #fff; background: var(--amber);
}
.finding.err .fno { background: var(--red); }
.finding.fixed .fno { background: var(--green); }
.finding h5 { margin: 2px 0 4px; font-size: 1rem; }
.finding p { margin: 0 0 4px; color: var(--muted); font-size: .92rem; overflow-wrap: break-word; }
.finding .act { color: var(--ink); font-size: .92rem; }
.finding .act strong { color: var(--teal-dark); }
.finding .human-steps { margin: 10px 0 4px; border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; background: var(--mist); }
.finding .human-steps summary { cursor: pointer; font-size: .92rem; color: var(--ink); }
.finding .human-steps summary strong { color: var(--teal-dark); }
.finding .human-steps ol { margin: 8px 0 4px; padding-left: 22px; }
.finding .human-steps li { margin-bottom: 6px; font-size: .9rem; color: var(--muted); overflow-wrap: break-word; }
.finding .human-steps li:last-child { margin-bottom: 0; }
.finding .src-link { margin: 8px 0 0; font-size: .8rem; color: var(--muted); }
.finding .src-link a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.finding .src-link a:hover { color: var(--teal-dark); }
.finding .auto-fix-note { margin: 10px 0 4px; border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; background: var(--teal-soft); font-size: .9rem; color: var(--ink); }
.finding .auto-fix-note strong { color: var(--teal-dark); }
.tech-detail { margin-top: 0.6rem; }
.tech-detail summary { cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--teal); }
.tech-detail .issue-rule { margin-top: 0.5rem; overflow-wrap: anywhere; font-size: .85rem; color: var(--muted); }
.report-foot { padding: 22px 32px; background: var(--mist); font-size: .82rem; color: var(--muted); }
.report-foot p { margin: 0 0 6px; }
.report-foot p:last-child { margin-bottom: 0; }

/* Promise card + reveal */
.promise {
  background: var(--green-soft); border: 2px solid var(--green); border-radius: var(--radius);
  padding: 22px 24px; text-align: center;
}
.promise h3 { margin: 0 0 6px; color: #14532d; font-size: 1.2rem; }
.promise p { margin: 0; font-size: .96rem; }
.reveal-hero { text-align: center; padding: 1.5rem 1rem 1rem; max-width: 640px; margin: 0 auto; }
.reveal-hero h3 { font-size: 1.7rem; margin: 0 0 0.4rem; letter-spacing: -0.02em; }
.reveal-hero .sub { color: var(--muted); margin: 0 0 1.1rem; }
.reveal-numbers { display: flex; align-items: baseline; justify-content: center; gap: 1rem; }
.reveal-before, .reveal-after { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.reveal-before { color: var(--red); }
.reveal-after { color: var(--green); }
.reveal-arrow { font-size: 2rem; color: var(--muted); font-weight: 300; }
.reveal-label { font-size: 0.9rem; color: var(--muted); margin-top: .3rem; }
.gate-note {
  background: var(--green-soft); border: 1px solid var(--green); border-radius: 10px;
  padding: 1rem 1.2rem; font-size: .94rem; max-width: 640px; margin: 1.2rem auto 0;
}
.download-row { text-align: center; max-width: 560px; margin: 1.6rem auto 0; }
.download-row .btn { width: 100%; }
.download-row .disclaimer-text { font-size: .88rem; color: var(--muted); margin: .8rem 0 0; }

/* Paywall in flow */
.flow-paywall {
  border: 2px solid var(--teal); border-radius: var(--radius);
  padding: 1.6rem; margin: 1.4rem auto 0; max-width: 560px;
  background: var(--teal-soft); text-align: center;
}
.flow-paywall h3 { margin: 0 0 0.5rem; font-size: 1.35rem; }
.flow-paywall p { margin: 0 0 1rem; }
.flow-paywall .fine-print { margin: 1rem 0 0; font-size: 0.85rem; color: var(--muted); }
.beta-flag { margin-top: 1rem; padding: 1rem 1.25rem; background: var(--info-bg); border: 1px solid #bfdbfe; border-radius: var(--radius); text-align: left; }
.beta-flag p { margin: 0 0 0.75rem; }
.retention-row { margin: 1.4rem auto 0; max-width: 560px; padding: 1.25rem; border: 1px dashed var(--border); border-radius: var(--radius); text-align: center; }
.retention-row p { margin: 0 0 0.75rem; color: var(--muted); }
.retention-row .btn { margin: 0 0.35rem 0.5rem; }

/* Sticky CTA in flow */
.sticky-cta {
  position: sticky; bottom: 0; z-index: 5;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  text-align: center; margin: 1.5rem -1.5rem -1.5rem;
}
.sticky-cta .btn { width: min(560px, 100%); }
.sticky-cta small { display: block; margin-top: 8px; color: var(--muted); }

/* Alerts */
.alert { border-radius: 12px; padding: 1.1rem 1.25rem; margin: 1rem auto; max-width: 640px; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; }
.alert-error h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.alert-error p { margin: 0 0 .8rem; color: var(--muted); font-size: .94rem; }
.alert[role="status"] { background: var(--info-bg); border: 1px solid #bfdbfe; }

/* Print: ONLY the report prints — never the homepage behind the overlay. */
@media print {
  .site-header, main, .site-footer,
  .flow-backdrop, .flow-top, .sticky-cta, .no-print { display: none !important; }
  .flow { position: static; display: block; }
  .flow-shell { box-shadow: none; border-radius: 0; max-height: none; width: 100%; margin: 0; }
  .flow-main { overflow: visible; }
  .flow-main > div { padding: 0; }
  .report-doc { box-shadow: none; border: none; max-width: 100%; }
  body { font-size: 11pt; background: #fff; }
}

@media (max-width: 760px) {
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 12px 20px 18px; gap: 4px;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .site-nav .btn { margin-top: 10px; text-align: center; }
  .nav-toggle { display: block; }
  .site-header .wrap { position: relative; }
}
@media (max-width: 640px) {
  .flow-shell { width: 100%; max-height: 100dvh; margin: 0; border-radius: 0; }
  .flow-main > div { padding: 1.1rem; }
  .crumb-label { display: none; }
  .reveal-before, .reveal-after { font-size: 2.6rem; }
  .report-head, .report-sec { padding-left: 20px; padding-right: 20px; }
  .sticky-cta { margin: 1.2rem -1.1rem -1.1rem; }
}
