:root {
  color-scheme: light;
  --ink: #111517;
  --ink-soft: #2f3a3d;
  --muted: #637177;
  --line: rgba(24, 36, 40, 0.14);
  --line-strong: rgba(24, 36, 40, 0.22);
  --paper: #f5f7f4;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.88);
  --panel-dark: rgba(18, 24, 27, 0.84);
  --teal: #0e7c73;
  --teal-dark: #075b56;
  --blue: #3157a4;
  --violet: #5a4fcf;
  --amber: #a96512;
  --red: #bd2f2a;
  --green: #1f8a55;
  --cream: #fff8ea;
  --shadow: 0 24px 80px rgba(15, 29, 34, 0.14);
  --shadow-tight: 0 14px 34px rgba(15, 29, 34, 0.12);
  --blur: blur(22px) saturate(1.25);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(14, 124, 115, 0.18), rgba(255, 248, 234, 0.55) 36%, rgba(49, 87, 164, 0.16) 68%, rgba(240, 103, 71, 0.12)),
    linear-gradient(180deg, #fbfcf8 0%, #eef4f2 52%, #f8efe6 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 74%);
}

main {
  width: min(1180px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  padding: 28px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  margin-bottom: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand span:last-child {
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.38)),
    conic-gradient(from 220deg, #0e7c73, #3157a4, #f06747, #f1c453, #0e7c73);
  box-shadow: 0 10px 28px rgba(14, 124, 115, 0.22);
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
}

.brand-mark::before {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(17, 21, 23, 0.84);
  border-radius: 5px;
  transform: rotate(45deg);
}

.brand-mark::after {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  transform: rotate(-42deg) translateY(-7px);
}

.brand-mark.small {
  width: 30px;
  height: 30px;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.topnav a,
.site-footer a,
a {
  color: var(--teal-dark);
  font-weight: 800;
}

.topnav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(3.1rem, 8vw, 7.3rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  letter-spacing: 0;
}

.hero,
.share-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  gap: 28px;
  align-items: end;
  padding-bottom: 30px;
}

.hero-copy {
  min-width: 0;
  max-width: 100%;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lede {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-metrics span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(15, 29, 34, 0.06);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.hero-proof {
  max-width: 760px;
  margin-top: 18px;
  border: 1px solid rgba(14, 124, 115, 0.16);
  border-radius: 8px;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58));
  box-shadow: var(--shadow-tight);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.hero-proof p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.45;
}

.hero-proof .eyebrow {
  margin-bottom: 6px;
}

.hero-proof strong {
  color: var(--ink);
}

.hero-proof-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hero-proof-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(14, 124, 115, 0.16);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 29, 34, 0.06);
}

.campaign-prompt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr) 250px;
  gap: 18px;
  align-items: center;
  margin: 0 0 22px;
  border-top: 1px solid rgba(14, 124, 115, 0.2);
  border-bottom: 1px solid rgba(14, 124, 115, 0.18);
  padding: 16px 0;
}

.campaign-prompt[hidden] {
  display: none;
}

.campaign-prompt h2 {
  margin-bottom: 6px;
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  line-height: 1.06;
}

.campaign-prompt p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.48;
}

.campaign-prompt ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.campaign-prompt li {
  border: 1px solid rgba(14, 124, 115, 0.16);
  border-radius: 8px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.campaign-prompt-actions {
  display: grid;
  gap: 10px;
}

.scanner,
.score-panel,
.upgrade,
.finding,
.status,
.paid-pack,
.prompt-card,
.manual-summary,
.manual-steps,
.info-section,
.setup-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-tight);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.scanner {
  position: relative;
  padding: 22px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.scanner.is-scanning {
  border-color: rgba(14, 124, 115, 0.28);
}

.scanner::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.96), transparent);
}

.scanner-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.scanner-header h2 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 850;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.scan-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
  border: 0;
  padding: 0;
}

.scan-mode label {
  margin: 0;
}

.scan-mode input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.scan-mode span {
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 36, 40, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.scan-mode input:checked + span {
  border-color: rgba(14, 124, 115, 0.44);
  background: rgba(224, 255, 247, 0.78);
  color: var(--teal-dark);
  box-shadow: 0 10px 22px rgba(14, 124, 115, 0.12);
}

.scan-mode input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(14, 124, 115, 0.14);
}

.scanner-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.scanner-trust span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(14, 124, 115, 0.18);
  border-radius: 8px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.input-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.42;
}

.scanner-examples {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 8px;
  margin-top: 10px;
}

.scanner-examples button,
.scanner-examples a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(14, 124, 115, 0.18);
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
}

.scanner-examples button {
  cursor: pointer;
}

input,
textarea,
select,
button {
  min-height: 48px;
  border-radius: 8px;
  font: inherit;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(24, 36, 40, 0.18);
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

input:focus,
textarea:focus {
  border-color: rgba(14, 124, 115, 0.58);
  box-shadow: 0 0 0 4px rgba(14, 124, 115, 0.14);
}

textarea {
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
}

select {
  appearance: none;
}

button,
.button-link {
  border: 0;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #111517, #263134);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(17, 21, 23, 0.18);
}

button:hover,
.button-link:hover {
  transform: translateY(-1px);
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.secondary-link {
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  box-shadow: none;
}

.fine-print {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.48;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(24, 36, 40, 0.12);
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.status {
  margin: 22px 0 0;
  padding: 14px 16px;
  box-shadow: none;
}

.status.loading {
  border-color: rgba(49, 87, 164, 0.34);
  color: var(--blue);
}

.status.ok {
  border-color: rgba(31, 138, 85, 0.36);
  color: var(--green);
}

.status.error {
  border-color: rgba(189, 47, 42, 0.32);
  color: var(--red);
}

.scan-theater {
  position: relative;
  --scan-progress: 18%;
  display: grid;
  grid-template-columns: minmax(250px, 0.74fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(224, 255, 247, 0.5)),
    linear-gradient(115deg, rgba(14, 124, 115, 0.12), rgba(49, 87, 164, 0.1), rgba(240, 103, 71, 0.09)),
    rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  overflow: hidden;
  isolation: isolate;
}

.scan-theater::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(112deg, transparent 0%, rgba(255, 255, 255, 0.46) 38%, transparent 62%);
  transform: translateX(-72%);
  animation: scanPanelGlint 3.8s ease-in-out infinite;
}

.scan-theater::after {
  position: absolute;
  inset: 12px;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 8px;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.28)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 42%, rgba(14, 124, 115, 0.08));
  opacity: 0.72;
}

.scan-theater[hidden] {
  display: none;
}

.scan-visual {
  min-height: 220px;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.scan-visual,
.scan-progress-copy {
  position: relative;
  z-index: 1;
}

.scan-glass {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1.62;
  border: 1px solid rgba(24, 36, 40, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.44)),
    linear-gradient(120deg, rgba(14, 124, 115, 0.26), rgba(49, 87, 164, 0.16), rgba(240, 103, 71, 0.13));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 22px 56px rgba(15, 29, 34, 0.14);
  overflow: hidden;
  transform: rotateX(4deg) rotateY(-3deg);
  transform-style: preserve-3d;
}

.scan-glass::before,
.scan-glass::after {
  position: absolute;
  content: "";
}

.scan-glass::before {
  inset: 16px;
  border: 1px solid rgba(14, 124, 115, 0.16);
  border-radius: 8px;
  z-index: 1;
}

.scan-glass::after {
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  transform: translateX(-100%);
  animation: scanSweep 1.45s ease-in-out infinite;
  z-index: 4;
}

.scan-pulse {
  position: absolute;
  inset: 28px 34px;
  border: 1px solid rgba(49, 87, 164, 0.22);
  border-radius: 8px;
  animation: scanPulse 1.8s ease-in-out infinite;
  z-index: 2;
}

.scan-line {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 34%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(14, 124, 115, 0.92), rgba(49, 87, 164, 0.72), transparent);
  box-shadow: 0 0 22px rgba(14, 124, 115, 0.36);
  animation: scanLine 1.25s ease-in-out infinite alternate;
  z-index: 6;
}

.scan-aperture {
  position: absolute;
  top: 18px;
  bottom: 58px;
  left: 18%;
  width: 18%;
  border-right: 1px solid rgba(14, 124, 115, 0.34);
  border-left: 1px solid rgba(255, 255, 255, 0.74);
  background:
    linear-gradient(90deg, transparent, rgba(224, 255, 247, 0.42), rgba(255, 255, 255, 0.5), transparent);
  filter: drop-shadow(0 0 18px rgba(14, 124, 115, 0.28));
  opacity: 0.92;
  transform: skewX(-9deg);
  animation: scanAperture 2.45s cubic-bezier(0.2, 0.78, 0.2, 1) infinite;
  z-index: 5;
}

.scan-scope-frame {
  position: absolute;
  inset: 42px 46px 76px;
  border: 1px solid rgba(14, 124, 115, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(14, 124, 115, 0.2) 50%, transparent calc(50% + 1px)),
    linear-gradient(180deg, transparent calc(50% - 1px), rgba(49, 87, 164, 0.18) 50%, transparent calc(50% + 1px));
  box-shadow:
    inset 0 0 28px rgba(14, 124, 115, 0.08),
    0 0 0 10px rgba(255, 255, 255, 0.08);
  z-index: 4;
}

.scan-scope-frame::before,
.scan-scope-frame::after {
  position: absolute;
  width: 22px;
  height: 22px;
  content: "";
}

.scan-scope-frame::before {
  left: -1px;
  top: -1px;
  border-top: 2px solid rgba(14, 124, 115, 0.72);
  border-left: 2px solid rgba(14, 124, 115, 0.72);
}

.scan-scope-frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid rgba(49, 87, 164, 0.62);
  border-bottom: 2px solid rgba(49, 87, 164, 0.62);
}

.scan-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(14, 124, 115, 0.12);
  animation: scanNode 1.45s ease-in-out infinite;
  z-index: 7;
}

.node-a {
  left: 20%;
  top: 28%;
}

.node-b {
  right: 18%;
  top: 24%;
  animation-delay: 0.2s;
}

.node-c {
  left: 31%;
  bottom: 22%;
  animation-delay: 0.38s;
}

.node-d {
  right: 28%;
  bottom: 28%;
  animation-delay: 0.56s;
}

.scan-inspection-stack {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 120px;
  z-index: 9;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.scan-inspection-stack span {
  min-width: 0;
  min-height: 30px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(24, 36, 40, 0.1);
  border-radius: 8px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px) saturate(1.18);
  -webkit-backdrop-filter: blur(16px) saturate(1.18);
  transition: border-color 0.28s ease, background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.scan-inspection-stack b,
.scan-inspection-stack i {
  min-width: 0;
  overflow: hidden;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.scan-inspection-stack i {
  color: inherit;
  font-size: 0.56rem;
  opacity: 0.78;
}

.scan-inspection-stack span.active {
  border-color: rgba(14, 124, 115, 0.32);
  background: rgba(224, 255, 247, 0.72);
  color: var(--teal-dark);
  transform: translateY(-1px);
}

.scan-inspection-stack span.complete {
  border-color: rgba(49, 87, 164, 0.24);
  background: rgba(255, 255, 255, 0.68);
  color: var(--blue);
}

.scan-spectrogram {
  position: absolute;
  top: 84px;
  right: 18px;
  bottom: 78px;
  z-index: 6;
  width: 62px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 4px;
  opacity: 0.86;
}

.scan-spectrogram span {
  min-height: 18%;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(14, 124, 115, 0.8), rgba(49, 87, 164, 0.34));
  box-shadow: 0 0 16px rgba(14, 124, 115, 0.18);
  transform-origin: bottom;
  animation: scanMeter 1.3s ease-in-out infinite;
}

.scan-spectrogram span:nth-child(2) {
  animation-delay: 0.12s;
}

.scan-spectrogram span:nth-child(3) {
  animation-delay: 0.24s;
}

.scan-spectrogram span:nth-child(4) {
  animation-delay: 0.36s;
}

.scan-spectrogram span:nth-child(5) {
  animation-delay: 0.48s;
}

.scan-spectrogram span:nth-child(6) {
  animation-delay: 0.6s;
}

.scan-spectrogram span:nth-child(7) {
  animation-delay: 0.72s;
}

.scan-beam-stack {
  position: absolute;
  inset: 26px 24px 58px;
  z-index: 3;
  pointer-events: none;
}

.scan-beam-stack span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(49, 87, 164, 0.32), rgba(14, 124, 115, 0.54), transparent);
  opacity: 0.82;
  animation: scanBeam 1.8s ease-in-out infinite;
}

.scan-beam-stack span:nth-child(1) {
  top: 22%;
}

.scan-beam-stack span:nth-child(2) {
  top: 50%;
  animation-delay: 0.22s;
}

.scan-beam-stack span:nth-child(3) {
  top: 78%;
  animation-delay: 0.44s;
}

.scan-grid {
  position: absolute;
  inset: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  z-index: 1;
}

.scan-grid span {
  border: 1px solid rgba(24, 36, 40, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.16)),
    rgba(255, 255, 255, 0.28);
  animation: scanTile 1.6s ease-in-out infinite;
}

.scan-grid span:nth-child(2n) {
  animation-delay: 0.18s;
}

.scan-grid span:nth-child(3n) {
  animation-delay: 0.34s;
}

.scan-console {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.scan-console span {
  min-height: 30px;
  display: flex;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(24, 36, 40, 0.12);
  border-radius: 8px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(14px) saturate(1.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.18);
  transition: border-color 0.28s ease, background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
}

.scan-console span.active {
  border-color: rgba(14, 124, 115, 0.36);
  background: rgba(224, 255, 247, 0.74);
  color: var(--teal-dark);
  box-shadow: 0 8px 24px rgba(14, 124, 115, 0.14);
}

.scan-console span.complete {
  border-color: rgba(49, 87, 164, 0.24);
  background: rgba(255, 255, 255, 0.7);
  color: var(--blue);
}

.scan-readout {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 9;
  display: grid;
  min-width: 92px;
  border: 1px solid rgba(24, 36, 40, 0.12);
  border-radius: 8px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 12px 26px rgba(15, 29, 34, 0.12);
  text-align: right;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.scan-readout strong {
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1;
}

.scan-readout small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
}

.scan-progress-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.scan-progress-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.scan-progress-rail {
  position: relative;
  height: 10px;
  margin-top: 18px;
  border: 1px solid rgba(24, 36, 40, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  overflow: hidden;
}

.scan-progress-rail::before {
  position: absolute;
  inset: 2px auto 2px 2px;
  width: calc(var(--scan-progress) - 4px);
  max-width: calc(100% - 4px);
  min-width: 24px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--blue), #f06747);
  box-shadow: 0 0 18px rgba(14, 124, 115, 0.28);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.22, 1);
}

.scan-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.scan-steps span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 36, 40, 0.12);
  border-radius: 8px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-align: center;
  transition: border-color 0.28s ease, background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.scan-steps span.active {
  border-color: rgba(14, 124, 115, 0.34);
  background: rgba(224, 255, 247, 0.8);
  color: var(--teal-dark);
  transform: translateY(-1px);
}

.report {
  margin-top: 28px;
}

.sample-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 10px 0 24px;
}

.proof-card {
  border: 1px solid rgba(14, 124, 115, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-tight);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.proof-card h2 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  line-height: 1.12;
}

.proof-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.score-panel {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.76);
}

.score-line {
  display: flex;
  align-items: center;
  gap: 16px;
}

.score-line strong {
  font-size: clamp(3.2rem, 9vw, 5.2rem);
  line-height: 0.9;
}

.risk-summary {
  max-width: 540px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-weight: 850;
  line-height: 1.45;
}

.grade {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(15, 29, 34, 0.16);
}

.grade-a,
.grade-b {
  background: linear-gradient(135deg, var(--green), #3dbf84);
}

.grade-c,
.grade-d {
  background: linear-gradient(135deg, var(--amber), #e0a72e);
}

.grade-f {
  background: linear-gradient(135deg, var(--red), #f06747);
}

.scan-meta {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 180px;
  color: var(--muted);
  text-align: right;
  overflow-wrap: anywhere;
}

.conversion-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr) 210px;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  border: 1px solid rgba(14, 124, 115, 0.22);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(224, 255, 247, 0.82), rgba(255, 255, 255, 0.74)),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-tight);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.conversion-strip h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.05;
}

.conversion-strip p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.conversion-details {
  display: grid;
  gap: 10px;
}

.first-fix-preview {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.7);
}

.first-fix-preview span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.first-fix-preview strong {
  font-size: 0.92rem;
  line-height: 1.45;
}

.conversion-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.conversion-list li {
  border: 1px solid rgba(14, 124, 115, 0.14);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.conversion-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.conversion-proof div {
  min-width: 0;
  border: 1px solid rgba(14, 124, 115, 0.14);
  border-radius: 8px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.54);
}

.conversion-proof span,
.upgrade-guarantee span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.conversion-proof strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.35;
}

.conversion-action {
  display: grid;
  gap: 10px;
}

.conversion-action span {
  color: var(--ink);
  font-weight: 950;
}

.conversion-sample-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(14, 124, 115, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--teal-dark);
  font-size: 0.85rem;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
}

.conversion-assurance {
  display: grid;
  gap: 6px;
}

.conversion-assurance span {
  border: 1px solid rgba(14, 124, 115, 0.14);
  border-radius: 8px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--teal-dark);
  font-size: 0.78rem;
  line-height: 1.2;
}

.findings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.analytics-hero h1 {
  font-size: clamp(2.8rem, 7vw, 6.2rem);
}

.analytics-controls {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(140px, 180px) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--panel);
  box-shadow: var(--shadow-tight);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.analytics-controls label {
  margin-bottom: 0;
  align-self: center;
}

.analytics-controls input,
.analytics-controls select {
  min-width: 0;
}

.analytics-controls .fine-print {
  grid-column: 1 / -1;
  margin-top: 0;
}

.analytics-summary {
  display: grid;
  gap: 18px;
}

.analytics-summary[hidden] {
  display: none;
}

.analytics-grid,
.analytics-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.analytics-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.analytics-card,
.analytics-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-tight);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.analytics-card {
  display: grid;
  gap: 8px;
  min-height: 116px;
  align-content: center;
  padding: 18px;
}

.analytics-card strong {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.92;
}

.analytics-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.analytics-panel {
  padding: 18px;
}

.analytics-panel .findings-header {
  margin-top: 0;
}

.funnel-bars,
.analytics-list {
  display: grid;
  gap: 10px;
}

.funnel-row {
  display: grid;
  gap: 8px;
}

.funnel-meta,
.analytics-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.funnel-meta span,
.analytics-list-row span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink-soft);
  font-weight: 850;
}

.funnel-meta strong,
.analytics-list-row strong {
  flex: 0 0 auto;
}

.funnel-bar {
  position: relative;
  height: 10px;
  border: 1px solid rgba(24, 36, 40, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  overflow: hidden;
}

.funnel-bar::before {
  position: absolute;
  inset: 2px auto 2px 2px;
  width: calc(var(--bar-width, 0%) - 4px);
  min-width: 4px;
  max-width: calc(100% - 4px);
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--blue), #f06747);
}

.analytics-list-row {
  min-height: 44px;
  border: 1px solid rgba(24, 36, 40, 0.1);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.48);
}

.findings-header h2 {
  margin-bottom: 0;
}

.findings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.findings-actions button,
.prompt-copy {
  min-height: 40px;
  border: 1px solid rgba(24, 36, 40, 0.12);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  box-shadow: none;
}

.findings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.finding {
  padding: 18px;
  box-shadow: none;
}

.severity {
  display: inline-block;
  margin-bottom: 14px;
  border: 1px solid rgba(24, 36, 40, 0.08);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 950;
  text-transform: uppercase;
}

.checklist-cards .severity {
  background: rgba(14, 124, 115, 0.12);
  color: var(--teal-dark);
}

.finding-critical .severity,
.finding-high .severity {
  background: rgba(255, 229, 226, 0.88);
  color: var(--red);
}

.finding-medium .severity {
  background: rgba(255, 244, 202, 0.92);
  color: var(--amber);
}

.finding h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.evidence {
  color: var(--muted);
  line-height: 1.48;
}

pre {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  border: 1px solid rgba(24, 36, 40, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  padding: 12px;
  color: #263134;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.48;
}

.quick-prompt {
  display: grid;
  gap: 6px;
  border-top: 1px dashed rgba(24, 36, 40, 0.18);
  padding-top: 12px;
}

.quick-prompt span {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.quick-prompt p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.prompt-copy {
  justify-self: start;
  padding: 0 12px;
  font-size: 0.84rem;
}

.share-kit {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(14, 124, 115, 0.2);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-tight);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.share-kit[hidden] {
  display: none;
}

.share-kit h3 {
  margin-bottom: 0;
  font-size: 1.15rem;
}

.share-kit textarea {
  min-height: 112px;
}

.share-kit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-kit-actions button,
.share-kit-actions .button-link {
  min-height: 42px;
  padding: 0 13px;
  font-size: 0.88rem;
}

.upgrade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 24px;
  margin-top: 20px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(17, 21, 23, 0.92), rgba(25, 41, 45, 0.86)),
    rgba(18, 24, 27, 0.84);
  color: #fff;
  box-shadow: var(--shadow);
}

.upgrade .eyebrow,
.upgrade .fine-print {
  color: #bde8df;
}

.upgrade p {
  color: #eef8f6;
  line-height: 1.56;
}

.upgrade ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: #eef8f6;
}

.upgrade-guarantee {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.upgrade-guarantee span {
  display: flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #e6fff8;
  font-size: 0.76rem;
  line-height: 1.25;
  text-transform: none;
}

.paid-preview {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.paid-preview div {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 10px;
}

.paid-preview span {
  color: #bde8df;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.paid-preview code {
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.upgrade-action {
  display: grid;
  align-content: center;
  gap: 12px;
}

.upgrade-action strong {
  font-size: 1.15rem;
}

.upgrade button {
  background: linear-gradient(135deg, #fff, #e7fff8);
  color: var(--ink);
}

.share-hero h1 {
  display: flex;
  align-items: center;
  gap: 18px;
}

.share-hero h1 span {
  display: inline-grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 2rem;
}

.share-cta {
  display: grid;
  gap: 12px;
}

.share-cta form {
  display: grid;
}

.share-self-scan {
  gap: 10px;
  margin-top: 2px;
  border-top: 1px dashed rgba(24, 36, 40, 0.18);
  padding-top: 14px;
}

.share-self-scan label {
  margin-bottom: 0;
}

.share-self-scan button {
  padding: 0 14px;
}

.share-cta button,
.share-cta .button-link {
  width: 100%;
}

.share-cta .fine-print {
  margin-top: 0;
}

.shared-findings {
  margin-top: 24px;
}

.manual-checkout,
.fulfillment-console,
.copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  margin-top: 28px;
}

.fulfillment-console .scanner {
  display: grid;
  gap: 12px;
}

.copy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.manual-summary h2 {
  overflow-wrap: anywhere;
}

.manual-summary p,
.manual-steps {
  color: var(--ink-soft);
  line-height: 1.56;
}

.manual-summary,
.manual-steps {
  padding: 22px;
}

.manual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.manual-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 42px;
}

.info-hero {
  max-width: 850px;
  padding-bottom: 28px;
}

.info-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.info-list {
  display: grid;
  gap: 14px;
  max-width: 850px;
  margin-top: 24px;
}

.info-section {
  padding: 20px;
}

.info-section h2 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.info-section p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.56;
}

.setup-hero {
  max-width: 960px;
}

.setup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.setup-grid-wide {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
}

.setup-card {
  padding: 20px;
}

.setup-card h2 {
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.setup-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.setup-facts div {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  border-top: 1px solid rgba(24, 36, 40, 0.1);
  padding-top: 10px;
}

.setup-facts dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.setup-facts dd {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.setup-checks,
.setup-actions {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-checks li {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(24, 36, 40, 0.1);
  border-left-width: 5px;
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.44);
}

.setup-checks li.is-ok {
  border-left-color: var(--green);
}

.setup-checks li.needs-work {
  border-left-color: var(--amber);
}

.setup-checks span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.setup-checks strong {
  color: var(--ink);
}

.setup-checks p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.setup-actions {
  padding-left: 20px;
  list-style: decimal;
  color: var(--ink-soft);
  line-height: 1.5;
}

.paid-pack {
  margin-top: 20px;
  padding: 24px;
}

.paid-report-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  border-top: 1px solid rgba(14, 124, 115, 0.2);
  border-bottom: 1px solid rgba(14, 124, 115, 0.16);
  padding: 16px 0;
}

.paid-report-actions[hidden] {
  display: none;
}

.paid-report-actions h2 {
  margin-bottom: 6px;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  line-height: 1.08;
}

.paid-report-actions p {
  margin-bottom: 8px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.paid-report-actions a {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}

.paid-report-buttons {
  display: grid;
  gap: 10px;
}

.prompt-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.prompt-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  box-shadow: none;
}

.prompt-card h3 {
  margin-bottom: 0;
}

.prompt-card button {
  justify-self: start;
  min-height: 40px;
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.batch-workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: 28px;
  align-items: start;
  padding: 18px 0 28px;
}

.batch-intro h1 {
  max-width: 720px;
}

.batch-scanner textarea {
  min-height: 150px;
  resize: vertical;
}

.batch-form-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.batch-form-footer span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.batch-results {
  margin-top: 20px;
}

.batch-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.batch-result {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.batch-result-header {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
}

.batch-result h3 {
  margin: 4px 0 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.batch-score {
  flex: 0 0 auto;
  font-size: 1.05rem;
}

.batch-result button {
  width: 100%;
}

.batch-result-actions {
  display: grid;
  gap: 9px;
}

.batch-share-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.batch-share-note a {
  color: var(--teal-dark);
  font-weight: 900;
}

@media (max-width: 980px) {
  main {
    width: min(100% - 28px, 760px);
  }

  .hero,
  .share-hero,
  .campaign-prompt,
  .scan-theater,
  .sample-proof-grid,
  .upgrade,
  .paid-report-actions,
  .conversion-strip,
  .manual-checkout,
  .fulfillment-console,
  .copy-grid,
  .setup-grid,
  .setup-grid-wide,
  .analytics-grid,
  .analytics-columns {
    grid-template-columns: 1fr;
  }

  .findings {
    grid-template-columns: 1fr;
  }

  .analytics-controls {
    grid-template-columns: 1fr;
  }

  .campaign-prompt {
    gap: 12px;
  }

  .campaign-prompt-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .paid-report-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conversion-proof,
  .upgrade-guarantee {
    grid-template-columns: 1fr;
  }

  .scan-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .upgrade-action {
    align-content: start;
  }

  .batch-workspace,
  .batch-result-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  main {
    width: min(calc(100% - 20px), 520px);
    padding: 18px 0 34px;
  }

  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
  }

  .topnav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: flex-start;
  }

  .topnav a {
    justify-content: center;
    min-width: 0;
    padding: 0 10px;
    text-align: center;
  }

  .brand {
    min-height: 38px;
  }

  .topnav a {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.9rem;
  }

  h1 {
    margin-bottom: 14px;
    max-width: 100%;
    font-size: 2.36rem;
    line-height: 1;
    overflow-wrap: break-word;
  }

  .hero,
  .share-hero {
    gap: 16px;
    padding-bottom: 22px;
  }

  .lede {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.52;
    overflow-wrap: break-word;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
  }

  .hero-metrics span {
    justify-content: center;
    min-width: 0;
    padding: 0 9px;
    text-align: center;
  }

  .hero-proof {
    margin-top: 16px;
    padding: 12px 14px 14px;
  }

  .campaign-prompt {
    padding: 14px 0;
  }

  .campaign-prompt h2 {
    font-size: 1.45rem;
  }

  .campaign-prompt-actions {
    grid-template-columns: 1fr;
  }

  .paid-report-buttons {
    grid-template-columns: 1fr;
  }

  .scanner,
  .score-panel,
  .upgrade,
  .paid-pack {
    padding: 18px;
  }

  .input-row,
  .paid-preview div,
  .scanner-examples,
  .scan-mode,
  .scan-steps {
    grid-template-columns: 1fr;
  }

  .scan-glass {
    width: 100%;
    transform: none;
  }

  .scan-console {
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 6px;
  }

  .scan-console span {
    min-height: 28px;
    padding: 0 7px;
    font-size: 0.64rem;
  }

  .scan-inspection-stack {
    right: 102px;
    gap: 5px;
  }

  .scan-inspection-stack span {
    min-height: 28px;
    padding: 0 6px;
  }

  .scan-inspection-stack b {
    font-size: 0.58rem;
  }

  .scan-inspection-stack i {
    display: none;
  }

  .scan-spectrogram {
    top: 76px;
    right: 14px;
    bottom: 82px;
    width: 48px;
    gap: 3px;
  }

  .scan-readout {
    top: 10px;
    right: 10px;
    min-width: 82px;
    padding: 8px 9px;
  }

  .scan-progress-copy h2 {
    font-size: 2.2rem;
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  button,
  .button-link,
  input,
  textarea,
  select {
    width: 100%;
  }

  .score-panel,
  .findings-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .score-line {
    gap: 12px;
  }

  .grade {
    width: 52px;
    height: 52px;
  }

  .findings-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .findings-actions button {
    flex: 1 1 180px;
  }

  .scan-meta {
    min-width: 0;
    text-align: left;
  }

  .manual-steps {
    padding-left: 34px;
  }

  .setup-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@keyframes scanPanelGlint {
  0%,
  42% {
    transform: translateX(-72%);
  }
  78%,
  100% {
    transform: translateX(72%);
  }
}

@keyframes scanSweep {
  0% {
    transform: translateX(-100%);
  }
  52%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes scanPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scanLine {
  from {
    top: 28%;
  }
  to {
    top: 68%;
  }
}

@keyframes scanAperture {
  0% {
    left: 8%;
    opacity: 0;
  }
  18%,
  70% {
    opacity: 0.92;
  }
  100% {
    left: 74%;
    opacity: 0;
  }
}

@keyframes scanNode {
  0%,
  100% {
    transform: scale(0.82);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes scanBeam {
  0%,
  100% {
    transform: translateY(-8px);
    opacity: 0.28;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.9;
  }
}

@keyframes scanTile {
  0%,
  100% {
    opacity: 0.45;
  }
  45% {
    opacity: 0.94;
  }
}

@keyframes scanMeter {
  0%,
  100% {
    transform: scaleY(0.42);
    opacity: 0.46;
  }
  48% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scan-theater::before,
  .scan-glass::after,
  .scan-aperture,
  .scan-pulse,
  .scan-line,
  .scan-node,
  .scan-beam-stack span,
  .scan-grid span,
  .scan-spectrogram span {
    animation: none;
  }
}
