:root {
  --ink: oklch(23% 0.015 75);
  --page-bg: oklch(99% 0.004 75);
  --muted: oklch(50% 0.014 75);
  --border: oklch(90% 0.008 75);

  /* Brand: dark navy + soft lavender/periwinkle, matching jtbuildsco.com */
  --dark-1: oklch(20% 0.035 290);
  --dark-2: oklch(13% 0.03 290);
  --brand: oklch(74% 0.12 295);
  --brand-hover: oklch(66% 0.13 295);
  --brand-fg-on-brand: oklch(22% 0.05 290);
  --on-dark: oklch(97% 0.01 290);
  --on-dark-muted: oklch(97% 0.01 290 / .62);

  --good-ring: oklch(58% 0.16 145);
  --good-pill-bg: oklch(94% 0.05 145);
  --good-pill-fg: oklch(35% 0.13 145);

  --warn-ring: oklch(72% 0.15 72);
  --warn-pill-bg: oklch(95% 0.06 75);
  --warn-pill-fg: oklch(40% 0.12 75);

  --bad-ring: oklch(56% 0.18 25);
  --bad-pill-bg: oklch(95% 0.045 25);
  --bad-pill-fg: oklch(42% 0.16 25);

  --unknown-ring: oklch(70% 0.006 75);
  --unknown-pill-bg: oklch(93% 0.004 75);
  --unknown-pill-fg: oklch(45% 0.01 75);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@property --grade-deg {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* .sheet's own display:flex has equal specificity to the UA [hidden]
   rule and loads after it, so it would otherwise win and show through. */
[hidden] { display: none !important; }

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(oklch(97% 0.01 290 / .05) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--dark-2);
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--brand); }
a:hover { color: var(--brand-hover); }

.heading { font-family: 'Archivo', system-ui, sans-serif; }

.sheet {
  width: 8.5in;
  min-height: 11in;
  margin: 32px auto;
  background: var(--page-bg);
  box-shadow:
    0 1px 2px oklch(13% 0.03 290 / .3),
    0 12px 28px -8px oklch(13% 0.03 290 / .5),
    0 32px 64px -24px oklch(13% 0.03 290 / .4);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Plays once whenever a .sheet goes from [hidden] (display:none) to
   visible — the live checker's report, its skeleton, or a static report
   page on first paint. Animations (unlike transitions) restart on that
   display:none -> flex transition, so no JS trigger is needed. */
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.sheet:not([hidden]) { animation: sheet-in .6s var(--ease-out) both; }

/* Header (dark band) */
.header {
  font-family: 'Archivo', system-ui, sans-serif;
  background: linear-gradient(135deg, var(--dark-1), var(--dark-2));
  padding: 26px 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-shrink: 0;
}

.eyebrow {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}

.business-name {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  margin: 8px 0 0;
  color: var(--on-dark);
}

.subline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  color: var(--on-dark-muted);
  margin-top: 6px;
}

.grade-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.grade-ring {
  --grade-ring-color: var(--good-ring);
  --grade-deg: 0deg;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--grade-ring-color) var(--grade-deg), oklch(97% 0.01 290 / .16) var(--grade-deg) 360deg);
  transition: --grade-deg 900ms var(--ease-out);
}

.grade-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--dark-1);
  box-shadow: inset 0 1px 4px oklch(0% 0 0 / .35), inset 0 -1px 1px oklch(97% 0.01 290 / .06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.grade-letter {
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  color: var(--on-dark);
}

.grade-score {
  font-size: 10.5px;
  font-weight: 700;
  margin-top: 2px;
  color: var(--on-dark-muted);
}

.grade-caption {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-top: 8px;
}

.grade-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.share-btn {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--on-dark-muted);
  background: none;
  border: 1px solid oklch(97% 0.01 290 / .25);
  border-radius: 20px;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .18s var(--ease-out), border-color .18s var(--ease-out), transform .15s var(--ease-out);
}
.share-btn:hover { color: var(--on-dark); border-color: oklch(97% 0.01 290 / .4); transform: translateY(-1px); }
.share-btn:active { transform: translateY(0) scale(.96); }
.share-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.share-btn--copied { color: var(--good-ring); border-color: oklch(58% 0.16 145 / .55); }

/* Body content (light) */
.body-content {
  flex: 1;
  padding: 24px 50px 4px;
  background-image: radial-gradient(oklch(85% 0.01 255 / .5) 1px, transparent 1px);
  background-size: 15px 15px;
  display: flex;
  flex-direction: column;
}

/* At-a-glance dashboard summary — counts of Good/Needs Work/Failing
   across all categories, computed client-side from the same data the
   checklist renders from. */
.stat-strip {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}

.stat-tile {
  position: relative;
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  overflow: hidden;
}
/* A same-width border-top would fight the card's own border-radius at the
   corners (a thicker top border than the sides makes the curve pinch
   unevenly). This strip is clipped by the card's own overflow:hidden
   instead, so it always follows the real rounded corner cleanly. */
.stat-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
}
.stat-tile--good::before { background: var(--good-ring); }
.stat-tile--warn::before { background: var(--warn-ring); }
.stat-tile--bad::before  { background: var(--bad-ring); }

.stat-num {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

.stat-label {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* Section blocks */
.block { margin-bottom: 18px; }
.block--tight { margin-bottom: 14px; }

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.section-tick {
  width: 22px;
  height: 3px;
  background: var(--brand);
  flex-shrink: 0;
}

.section-eyebrow span {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: oklch(40% 0.09 290);
}

.section-title {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 9px;
}

/* Checklist */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 -10px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  border-radius: 8px;
  animation: row-in .45s var(--ease-out) both;
}

.check-row--last { border-bottom: none; }

@media (hover: hover) {
  .check-row { transition: background-color .15s var(--ease-out); }
  .check-row:hover { background: oklch(96% 0.006 75); }
  .check-row:hover .dot { transform: scale(1.08); }
}

@keyframes row-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.check-row:nth-child(1)  { animation-delay: .04s; }
.check-row:nth-child(2)  { animation-delay: .08s; }
.check-row:nth-child(3)  { animation-delay: .12s; }
.check-row:nth-child(4)  { animation-delay: .16s; }
.check-row:nth-child(5)  { animation-delay: .2s; }
.check-row:nth-child(6)  { animation-delay: .24s; }
.check-row:nth-child(7)  { animation-delay: .28s; }
.check-row:nth-child(8)  { animation-delay: .32s; }
.check-row:nth-child(9)  { animation-delay: .36s; }
.check-row:nth-child(10) { animation-delay: .4s; }
.check-row:nth-child(11) { animation-delay: .44s; }
.check-row:nth-child(12) { animation-delay: .48s; }
.check-row:nth-child(13) { animation-delay: .52s; }

.check-num {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: oklch(72% 0.01 75);
  width: 16px;
  flex-shrink: 0;
}

.dot {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  color: #fff;
  transition: transform .18s var(--ease-out);
}

.dot--good    { background: var(--good-ring); }
.dot--warn    { background: var(--warn-ring); color: oklch(24% 0.058 255); }
.dot--bad     { background: var(--bad-ring); }
.dot--unknown { background: var(--unknown-ring); }

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

.check-title {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
}

.check-desc {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.pill {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}

.pill--good    { background: var(--good-pill-bg); color: var(--good-pill-fg); }
.pill--warn    { background: var(--warn-pill-bg); color: var(--warn-pill-fg); }
.pill--bad     { background: var(--bad-pill-bg); color: var(--bad-pill-fg); }
.pill--unknown { background: var(--unknown-pill-bg); color: var(--unknown-pill-fg); }

/* Head-to-head competitor comparison — only present (and unhidden) when
   the live checker was run with a competitor domain filled in. */
.compare-scores {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 2px 0 18px;
}

.compare-score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.compare-ring {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--unknown-ring);
}
.compare-ring--good { background: var(--good-ring); }
.compare-ring--warn { background: var(--warn-ring); }
.compare-ring--bad  { background: var(--bad-ring); }

.compare-ring-inner {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}

.compare-vs {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

.compare-label {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  max-width: 130px;
  text-align: center;
  overflow-wrap: break-word;
}

.compare-gaps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
}

.compare-gap-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
}

.compare-gap-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-top: 1px;
}
.compare-gap-row--good .compare-gap-icon { background: var(--good-ring); }
.compare-gap-row--bad .compare-gap-icon { background: var(--bad-ring); }

/* Cost section */
.cost-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cost-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.cost-num {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: oklch(80% 0.03 255 / .45);
  width: 32px;
  flex-shrink: 0;
}

.cost-row p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.cost-row--clear {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* What To Fix First */
.fix-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fix-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.fix-num {
  font-family: 'Archivo', system-ui, sans-serif;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-fg-on-brand);
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.fix-text {
  font-size: 14px;
  line-height: 1.5;
}

.fix-text strong { font-family: 'Archivo', system-ui, sans-serif; }

.fix-row--clear {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* 3-step "how it works" strip */
.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-num {
  font-family: 'Archivo', system-ui, sans-serif;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  color: oklch(40% 0.09 290);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.step-label {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
}

.step-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

.step-arrow {
  color: var(--border);
  font-size: 16px;
  padding-top: 5px;
  flex-shrink: 0;
}

/* Contact form */
.contact-section { margin-bottom: 4px; }

.contact-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 14px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
}

.contact-row {
  display: flex;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  flex: 1;
  min-width: 0;
  transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out);
}

.contact-form textarea { resize: vertical; }

.contact-form input:hover,
.contact-form textarea:hover { border-color: oklch(70% 0.01 75); }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px oklch(74% 0.12 295 / .2);
}

.contact-form .cta {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-family: 'Archivo', system-ui, sans-serif;
}

.contact-form .cta:disabled { opacity: .75; cursor: default; animation: btn-pulse 1.4s ease-in-out infinite; }

.contact-thanks {
  font-size: 14px;
  color: var(--ink);
  font-weight: 700;
}

/* Honeypot — hidden from real visitors, left in the tab/DOM flow so
   basic bots that fill every field still trip it. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Footer (dark band) */
.footer {
  font-family: 'Archivo', system-ui, sans-serif;
  background: linear-gradient(135deg, var(--dark-1), var(--dark-2));
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--on-dark);
  text-decoration: none;
  display: inline-block;
}
.brand-name:hover { color: var(--on-dark); }
.brand-name .accent-dot { color: var(--brand); }

.brand-tag {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11.5px;
  color: var(--on-dark-muted);
  margin-top: 3px;
}

.privacy-link {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 11px;
  color: var(--on-dark-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.privacy-link:hover { color: var(--on-dark); }

.cta {
  background: var(--brand);
  color: var(--brand-fg-on-brand);
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s var(--ease-out), transform .15s var(--ease-out), box-shadow .18s var(--ease-out);
}
.cta:hover { background: var(--brand-hover); color: var(--brand-fg-on-brand); transform: translateY(-1px); box-shadow: 0 8px 20px oklch(74% 0.12 295 / .3); }
.cta:active { transform: translateY(0) scale(.98); box-shadow: none; }
.cta:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

@keyframes btn-pulse {
  0%, 100% { opacity: .65; }
  50% { opacity: .9; }
}

/* Interactive checker (index.html) */
.tool-wrap {
  max-width: 8.5in;
  margin: 0 auto;
  padding: 76px 24px 64px;
}

.tool-intro {
  position: relative;
  isolation: isolate;
  text-align: center;
  font-family: 'Archivo', system-ui, sans-serif;
}

/* Ambient spotlight glow behind the hero — purely decorative, sits
   below the content (z-index) and outside the layout flow so it can't
   affect measurements or wrap. */
.tool-intro::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  max-width: 160vw;
  height: 520px;
  background: radial-gradient(closest-side, oklch(74% 0.12 295 / .3), transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}

.hero-illustration {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.hero-illustration svg {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 14px 26px oklch(13% 0.03 290 / .5));
  animation: hero-float 5s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (max-width: 480px) {
  .hero-illustration svg { width: 170px; }
}

.tool-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 16px 0 0;
  color: var(--on-dark);
}

.tool-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--on-dark-muted);
  max-width: 480px;
  margin: 14px auto 0;
}

.check-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 28px auto 0;
}

.compare-toggle {
  display: block;
  margin: 12px auto 0;
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--on-dark-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .18s var(--ease-out);
}
.compare-toggle:hover { color: var(--on-dark); }
.compare-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.compare-field {
  max-width: 460px;
  margin: 10px auto 0;
  animation: fade-in .25s var(--ease-out) both;
}

.compare-field input {
  width: 100%;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid oklch(97% 0.01 290 / .2);
  border-radius: 8px;
  background: oklch(97% 0.01 290 / .06);
  color: var(--on-dark);
  transition: border-color .18s var(--ease-out), background-color .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.compare-field input::placeholder { color: var(--on-dark-muted); }
.compare-field input:hover { border-color: oklch(97% 0.01 290 / .35); }
.compare-field input:focus {
  outline: none;
  border-color: var(--brand);
  background: oklch(97% 0.01 290 / .1);
  box-shadow: 0 0 0 3px oklch(74% 0.12 295 / .25);
}

.trust-row {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--on-dark-muted);
  background: oklch(97% 0.01 290 / .06);
  border: 1px solid oklch(97% 0.01 290 / .14);
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
}

.trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--good-ring);
  flex-shrink: 0;
}

.check-form input {
  flex: 1;
  min-width: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid oklch(97% 0.01 290 / .2);
  border-radius: 8px;
  background: oklch(97% 0.01 290 / .06);
  color: var(--on-dark);
  transition: border-color .18s var(--ease-out), background-color .18s var(--ease-out), box-shadow .18s var(--ease-out);
}

.check-form input::placeholder { color: var(--on-dark-muted); }

.check-form input:hover { border-color: oklch(97% 0.01 290 / .35); }

.check-form input:focus {
  outline: none;
  border-color: var(--brand);
  background: oklch(97% 0.01 290 / .1);
  box-shadow: 0 0 0 3px oklch(74% 0.12 295 / .25);
}

.check-form button {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-fg-on-brand);
  background: var(--brand);
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s var(--ease-out), transform .15s var(--ease-out), box-shadow .18s var(--ease-out);
}

.check-form button:hover:not(:disabled) { background: var(--brand-hover); transform: translateY(-1px); box-shadow: 0 8px 20px oklch(74% 0.12 295 / .35); }
.check-form button:active:not(:disabled) { transform: translateY(0) scale(.98); box-shadow: none; }
.check-form button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.check-form button:disabled { opacity: .75; cursor: default; animation: btn-pulse 1.4s ease-in-out infinite; }

.status-msg {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13.5px;
  color: var(--on-dark-muted);
  margin: 14px 0 0;
}

.status-msg:not([hidden]) { animation: fade-in .3s var(--ease-out) both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.status-msg--error { color: oklch(78% 0.1 25); }

/* Skeleton loader — shown in place of #report while a live check runs.
   Reuses .sheet so it has the same card footprint (size/shadow/radius),
   so swapping it out for the real report doesn't jump or reflow. */
.skel-sheet { margin: 40px auto 0; }

.skel-header {
  background: linear-gradient(135deg, var(--dark-1), var(--dark-2));
  padding: 26px 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-shrink: 0;
}

.skel-rows {
  padding: 32px 50px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.skel-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.skel {
  position: relative;
  overflow: hidden;
  background: oklch(97% 0.01 290 / .08);
  border-radius: 6px;
}
/* .skel-header sits on the dark navy band (light-on-dark, above); .skel-rows
   sits on the light page body, where that same near-white fill would be
   nearly invisible — needs a dark-on-light fill instead. */
.skel-rows .skel {
  background: oklch(23% 0.015 75 / .09);
}
.skel-rows .skel::after {
  background: linear-gradient(90deg, transparent, oklch(23% 0.015 75 / .18), transparent);
}
.skel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, oklch(97% 0.01 290 / .16), transparent);
  transform: translateX(-100%);
  animation: skel-shimmer 1.6s ease-in-out infinite;
}
@keyframes skel-shimmer {
  100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .skel::after { animation: none; }
}

.skel-eyebrow { width: 150px; height: 11px; }
.skel-title { width: 230px; height: 24px; margin-top: 10px; }
.skel-sub { width: 170px; height: 13px; margin-top: 10px; }
.skel-grade { width: 104px; height: 104px; border-radius: 50%; flex-shrink: 0; }
.skel-row-dot { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.skel-row-text { flex: 1; height: 13px; }
.skel-row-pill { width: 92px; height: 26px; border-radius: 999px; flex-shrink: 0; }

.tool-wrap .sheet { margin: 40px auto 0; }

@media (prefers-reduced-motion: reduce) {
  .sheet:not([hidden]),
  .check-row,
  .status-msg:not([hidden]),
  .hero-illustration svg,
  .check-form button:disabled,
  .contact-form .cta:disabled {
    animation: none !important;
  }
  .grade-ring { transition: none; }
}

/* Print: full bleed, letter-sized pages. The report now regularly runs
   longer than one page (9 checklist rows + fix list + contact section),
   so .sheet is left auto-height here rather than forced to a fixed
   11in — a fixed height combined with the base rule's overflow:hidden
   would silently clip everything past the first page. */
@media print {
  @page { size: letter; margin: 0; }
  body { background: none; }
  .sheet {
    width: auto;
    min-height: 0;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
    animation: none;
  }
  .check-row { animation: none; }
  /* A live form doesn't work on paper — the footer CTA is enough there. */
  .contact-section { display: none; }
  /* Only the report card itself should print/export — not the checker's
     search UI, status messages, or the share/PDF buttons (meaningless
     once it's already on paper). */
  .tool-intro, .status-msg, .grade-actions, .skel-sheet { display: none; }
  .tool-wrap { padding: 0; }
}

/* Small screens: the .sheet is authored at letter-page width for
   print/PDF; on a phone it should just fill the viewport instead. */
@media screen and (max-width: 700px) {
  .sheet {
    width: 100%;
    min-height: 0;
    margin: 16px auto;
  }
  .header { padding: 22px 24px; flex-wrap: wrap; gap: 16px; }
  .body-content { padding: 20px 24px 4px; }
  .footer { padding: 18px 24px; }
  .business-name { font-size: 26px; }
  .check-row { flex-wrap: wrap; }
  .pill { margin-left: 39px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tool-wrap { padding: 44px 16px 48px; }
  .tool-title { font-size: 28px; }
  .tool-intro::before { top: -60px; height: 380px; }
  .check-form { flex-direction: column; }
  .step-label { font-size: 11.5px; }
  .step-sub { display: block; }
  .stat-strip { gap: 8px; }
  .stat-tile { padding: 10px 10px; }
  .stat-num { font-size: 21px; }
  .stat-label { font-size: 9.5px; }
  .compare-scores { gap: 16px; }
  .compare-ring { width: 64px; height: 64px; }
  .compare-ring-inner { width: 50px; height: 50px; font-size: 16px; }
  .compare-label { max-width: 90px; font-size: 10.5px; }
}
