/* SnagHub brochure site. Light only, by design. */
:root {
  color-scheme: light;
  --blue: #1a78fe;
  --blue-dark: #0f63e0;
  --blue-ink: #0b3d91;
  --ink: #0f172a;
  --text: #4b4d57;
  --muted: #6b6d78;
  --tint: #f3f8ff;
  --tint-2: #e6efff;
  --yellow: #ffcc00;
  --yellow-soft: #fff3b8;
  --green: #2f9e5a;
  --green-soft: #e3f1e8;
  --red: #d6395c;
  --amber: #e0a23c;
  --border: #e4e4e7;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(15 23 42 / 0.06), 0 8px 24px rgb(15 23 42 / 0.08);
  --shadow-lg: 0 2px 4px rgb(15 23 42 / 0.06), 0 24px 48px rgb(15 23 42 / 0.14);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
a { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.section { padding: 80px 0; }
.section--tint { background: var(--tint); }
.section--blue { background: var(--blue); color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; display: grid; gap: 16px; }
.section-head p { font-size: 19px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; justify-self: center;
  font-size: 14px; font-weight: 600; color: var(--blue-dark);
  background: var(--tint-2); padding: 6px 14px; border-radius: 999px;
}
.mark {
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%);
  padding: 0 4px; margin: 0 -4px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font: 600 17px/1 "Inter", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgb(26 120 254 / 0.3); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 16px rgb(255 204 0 / 0.35); }
.btn--yellow:hover { background: #f5c400; transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; transform: none; }

.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; font-size: 15px; color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 0.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-word { height: 27px; width: 101px; flex: none; } /* the drawn wordmark: 391×104 viewBox */
.nav { display: none; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--blue-dark); }
@media (min-width: 900px) { .nav { display: flex; } }

.banner { background: var(--ink); color: #fff; font-size: 14px; text-align: center; padding: 9px 16px; }
.banner a { color: var(--yellow); font-weight: 600; }

/* Hero */
.hero { padding: 56px 0 72px; background: radial-gradient(1200px 500px at 85% -10%, var(--tint-2), transparent 60%), radial-gradient(800px 400px at -10% 110%, #fff7d6, transparent 60%); overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-copy .lead { font-size: clamp(18px, 2vw, 21px); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Phone concept */
.phone-stage { position: relative; display: grid; place-items: center; padding: 8px 0 24px; }
.phone {
  width: min(340px, 100%); border-radius: 44px; background: #0f172a; padding: 12px;
  box-shadow: var(--shadow-lg);
}
.phone-screen { border-radius: 34px; background: #f6f8fc; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; }
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.phone-notch { width: 90px; height: 22px; background: #0f172a; border-radius: 999px; }
.phone-title { padding: 6px 18px 10px; display: flex; justify-content: space-between; align-items: baseline; }
.phone-title strong { font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.phone-title span { font-size: 12px; color: var(--muted); }
.feed { display: grid; gap: 10px; padding: 0 12px 12px; }
.feed-item { background: #fff; border-radius: 16px; padding: 12px; display: grid; grid-template-columns: 36px 1fr; gap: 10px; box-shadow: 0 1px 2px rgb(15 23 42 / 0.06); }
.feed-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; }
.feed-icon--blue { background: var(--tint-2); }
.feed-icon--yellow { background: var(--yellow-soft); }
.feed-icon--green { background: var(--green-soft); }
.feed-what { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.feed-did { font-size: 12px; color: var(--muted); line-height: 1.35; margin-top: 3px; }
.feed-did b { color: var(--green); font-weight: 600; }
.chip-tally { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--blue-dark); background: var(--tint-2); border-radius: 999px; padding: 3px 9px; margin-top: 6px; }
.spinner { width: 11px; height: 11px; border-radius: 50%; border: 2px solid rgb(26 120 254 / 0.25); border-top-color: var(--blue); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone-bar { margin-top: auto; display: flex; justify-content: space-around; padding: 12px 16px 18px; background: #fff; border-top: 1px solid var(--border); }
.phone-bar span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: var(--tint); }
.phone-bar span.big { background: var(--blue); color: #fff; box-shadow: 0 6px 14px rgb(26 120 254 / 0.35); }

.float-card {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 14px 16px; font-size: 13px; color: var(--ink); max-width: 230px; display: none;
}
@media (min-width: 560px) { .float-card { display: block; } }
.float-card--q { left: 0; top: 150px; transform: rotate(-2deg); max-width: 210px; }
.float-card--a { right: 0; bottom: -4px; transform: rotate(2deg); max-width: 210px; }
@media (min-width: 560px) { .phone-stage { padding-left: 150px; } }
@media (min-width: 980px) { .phone-stage { padding-left: 0; justify-items: end; padding-right: 30px; } .float-card--q { left: -10px; } .float-card--a { right: -16px; } }
.hero-copy .eyebrow { justify-self: start; }
.float-card small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.choice-row { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.choice-row span { border: 1.5px solid var(--blue); color: var(--blue-dark); border-radius: 999px; padding: 4px 10px; font-weight: 600; font-size: 12px; }
.choice-row span:first-child { background: var(--blue); color: #fff; }
.big-num { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }

/* Pain bubbles */
.bubbles { display: grid; gap: 16px; }
@media (min-width: 720px) { .bubbles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bubbles { grid-template-columns: repeat(3, 1fr); } }
.bubble { position: relative; background: #fff; border-radius: 20px 20px 20px 6px; padding: 22px 24px; box-shadow: var(--shadow); font-size: 18px; color: var(--ink); font-weight: 500; line-height: 1.45; }
.bubble::before { content: "“"; position: absolute; top: -14px; left: 18px; font-size: 54px; line-height: 1; color: var(--yellow); font-weight: 800; }
.bubbles-foot { text-align: center; margin-top: 36px; font-size: 20px; color: var(--ink); font-weight: 600; }

/* Steps */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; }
.step-num { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.step-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.step-tags span { background: var(--tint); color: var(--blue-ink); font-size: 13px; font-weight: 600; border-radius: 999px; padding: 4px 11px; }

/* Feature grid */
.features { display: grid; gap: 20px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--tint-2); display: grid; place-items: center; font-size: 24px; margin-bottom: 6px; }

/* Spotlights */
.spot { display: grid; gap: 40px; align-items: center; padding: 40px 0; }
@media (min-width: 900px) { .spot { grid-template-columns: 1fr 1fr; gap: 64px; } .spot--flip .spot-visual { order: -1; } }
.spot-copy { display: grid; gap: 18px; }
.spot-copy .eyebrow { justify-self: start; }
.spot-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.spot-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.spot-list li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-weight: 800; font-size: 13px; margin-top: 2px; }
.spot-visual { background: var(--tint); border-radius: 24px; padding: 28px; display: grid; gap: 14px; }
@media (min-width: 560px) { .spot-visual { padding: 40px; } }

.card { background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); font-size: 15px; color: var(--ink); }
.card small { color: var(--muted); font-size: 13px; }
.card-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill--blue { background: var(--tint-2); color: var(--blue-ink); }
.pill--green { background: var(--green-soft); color: #1f6e3e; }
.pill--yellow { background: var(--yellow-soft); color: #6b5200; }
.pill--ink { background: var(--ink); color: #fff; }

.line { font-size: 14px; line-height: 1.5; padding: 8px 12px; border-radius: 12px; background: var(--tint); margin-top: 8px; }
.line b { color: var(--blue-ink); }
.hl { background: var(--yellow-soft); border-radius: 4px; padding: 0 3px; }

.bar { height: 8px; border-radius: 999px; background: var(--tint-2); overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: var(--blue); border-radius: 999px; }
.bar i.warn { background: var(--amber); }

.chat { display: grid; gap: 10px; }
.chat-me { justify-self: end; background: var(--blue); color: #fff; border-radius: 18px 18px 4px 18px; padding: 12px 16px; max-width: 85%; font-size: 15px; }
.chat-ai { justify-self: start; background: #fff; border-radius: 18px 18px 18px 4px; padding: 14px 16px; max-width: 92%; font-size: 15px; box-shadow: var(--shadow); color: var(--ink); }
.chat-ai ul { margin: 8px 0 0; padding-left: 18px; }

/* Facts band */
.facts { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); text-align: center; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact strong { display: block; font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1.05; }
.fact span { color: rgb(255 255 255 / 0.9); font-size: 16px; }

/* Comparison */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--border); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink); font-weight: 500; }
.compare thead th { font-size: 15px; color: var(--ink); background: #fafbfd; }
.compare .us { background: var(--tint); width: 24%; border-left: 2px solid var(--blue); border-right: 2px solid var(--blue); }
.compare tbody tr:last-child .us { border-bottom: 2px solid var(--blue); }
.compare thead .us { background: var(--blue); color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; padding: 20px 18px; }
.compare thead .us span { display: inline-flex; align-items: center; gap: 8px; }
.compare thead .us svg { width: 26px; height: 26px; }
.compare tr:last-child td { border-bottom: 0; }
.yes { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; font-size: 18px; line-height: 1; box-shadow: 0 3px 8px rgb(47 158 90 / 0.3); }
.no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fbe9ea; color: #d9636e; font-weight: 800; font-size: 14px; line-height: 1; }
.meh { color: var(--muted); font-size: 13px; }

/* Score CTA */
.score-cta { display: grid; gap: 32px; align-items: center; background: var(--ink); color: #dfe3ec; border-radius: 28px; padding: 40px 24px; position: relative; overflow: hidden; }
@media (min-width: 900px) { .score-cta { grid-template-columns: 1.1fr 0.9fr; padding: 56px; } }
.score-cta h2 { color: #fff; }
.score-cta .checks { color: #dfe3ec; }
.score-cta .checks li::before { color: var(--yellow); }
.score-cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgb(255 204 0 / 0.35), transparent 70%); }
.gauge { justify-self: center; width: 260px; max-width: 100%; aspect-ratio: 1; position: relative; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-label strong { font-size: 64px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.03em; }
.gauge-label span { font-size: 14px; color: #b9c0d0; margin-top: 6px; }

/* Founding */
.founding { display: grid; gap: 40px; }
@media (min-width: 980px) { .founding { grid-template-columns: 1fr 1fr; align-items: start; } }
.sticker { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 800; padding: 8px 16px; border-radius: 10px; transform: rotate(-2deg); box-shadow: 0 4px 0 #d9ad00; letter-spacing: -0.01em; justify-self: start; }
.perks { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.perks li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.perks li > span { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 20px; box-shadow: var(--shadow); }
.perks b { color: var(--ink); display: block; }
.places { display: grid; gap: 8px; background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); }
.places .bar { height: 12px; }
.places .bar i { background: var(--yellow); }

.plans { display: grid; gap: 12px; }
@media (min-width: 560px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.field .plan { position: relative; display: flex; flex-direction: column; gap: 4px; border: 2px solid var(--border); border-radius: 16px; padding: 16px 18px 18px; cursor: pointer; background: #fff; transition: border-color 0.15s; }
.plan:hover { border-color: #9cc3ff; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan:has(input:checked) { border-color: var(--blue); background: var(--tint); }
.plan:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.plan-name { font-weight: 700; color: var(--ink); font-size: 17px; }
.plan-who { font-size: 13px; color: var(--muted); line-height: 1.35; }
.plan-price { margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--muted); }
.plan-price s { color: var(--muted); }
.plan-price b { font-size: 24px; color: var(--ink); letter-spacing: -0.02em; }

.form-card { background: #fff; border-radius: 24px; padding: 28px 20px; box-shadow: var(--shadow-lg); display: grid; gap: 18px; }
@media (min-width: 560px) { .form-card { padding: 36px; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; color: var(--ink); font-size: 15px; padding: 0; }
.field input, .field select {
  width: 100%; min-height: 50px; border: 1.5px solid #d4d6dd; border-radius: 12px; padding: 0 14px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(26 120 254 / 0.15); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field-problem { color: var(--red); font-size: 14px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; color: var(--muted); align-items: start; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--muted); }
.form-done { display: grid; gap: 12px; text-align: center; justify-items: center; padding: 20px 0; }
.form-done .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 32px; font-weight: 800; }
.form-error { background: #fdecef; color: #8f1d36; border-radius: 12px; padding: 12px 14px; font-size: 15px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; color: var(--ink); font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 24px; line-height: 1; font-weight: 500; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; }

/* Final CTA + footer */
.final { text-align: center; display: grid; gap: 22px; justify-items: center; }
.final h2 { color: #fff; }
.final p { color: rgb(255 255 255 / 0.9); font-size: 19px; max-width: 620px; }
.footer { background: var(--ink); color: #b9c0d0; padding: 48px 0; font-size: 14px; }
.footer .wrap { display: grid; gap: 20px; }
@media (min-width: 720px) { .footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.footer .logo { color: #fff; }
.footer a { color: #dfe3ec; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* Scorecard dialog */
.quiz { width: min(720px, 100vw); max-width: 100vw; max-height: 100dvh; margin: auto; padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); }
@media (max-width: 719px) { .quiz { width: 100vw; height: 100dvh; border-radius: 0; } }
.quiz::backdrop { background: rgb(15 23 42 / 0.6); backdrop-filter: blur(4px); }
.quiz-inner { display: flex; flex-direction: column; min-height: min(640px, 100dvh); max-height: 100dvh; }
.quiz-top { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.quiz-progress { flex: 1; height: 8px; border-radius: 999px; background: var(--tint-2); overflow: hidden; }
.quiz-progress i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 999px; transition: width 0.3s ease; }
.quiz-count { font-size: 13px; color: var(--muted); font-weight: 600; min-width: 48px; text-align: right; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--tint); color: var(--ink); font-size: 20px; cursor: pointer; display: grid; place-items: center; flex: none; }
.icon-btn:hover { background: var(--tint-2); }
.icon-btn[hidden] { display: none; }
.quiz-body { flex: 1; overflow-y: auto; padding: 28px 20px 32px; display: grid; gap: 20px; align-content: start; }
@media (min-width: 560px) { .quiz-body { padding: 36px 40px 40px; } }
.quiz-cat { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-dark); }
.quiz-q { font-size: clamp(22px, 3vw, 28px); font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.25; }
.quiz-hint { color: var(--muted); font-size: 15px; margin-top: -8px; }
.opts { display: grid; gap: 10px; }
.opt {
  text-align: left; width: 100%; min-height: 58px; border: 2px solid var(--border); border-radius: 14px; background: #fff;
  padding: 14px 18px; font: 500 17px/1.35 "Inter", system-ui, sans-serif; color: var(--ink); cursor: pointer;
  display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; transition: border-color 0.12s, background-color 0.12s;
}
.opt:hover { border-color: #9cc3ff; background: #fbfdff; }
.opt[aria-pressed="true"] { border-color: var(--blue); background: var(--tint); }
.opt-key { width: 28px; height: 28px; border-radius: 8px; background: var(--tint-2); color: var(--blue-ink); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.opt[aria-pressed="true"] .opt-key { background: var(--blue); color: #fff; }
.quiz-next { justify-self: start; }

.result { display: grid; gap: 24px; }
.result-head { display: grid; gap: 20px; align-items: center; }
@media (min-width: 560px) { .result-head { grid-template-columns: 180px 1fr; } }
.ring { width: 180px; height: 180px; position: relative; justify-self: center; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label strong { font-size: 52px; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.ring-label span { font-size: 13px; color: var(--muted); }
.cats { display: grid; gap: 14px; }
.cat-row { display: grid; gap: 4px; }
.cat-row .card-row { font-size: 15px; font-weight: 600; color: var(--ink); }
.cat-row .bar { height: 10px; margin: 0; }
.cost-box { background: var(--yellow-soft); border-radius: 16px; padding: 18px 20px; color: var(--ink); }
.cost-box strong { font-size: 28px; letter-spacing: -0.02em; }
.tips { display: grid; gap: 12px; }
.tip { border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; display: grid; gap: 4px; }
.tip b { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* Admin */
.admin { padding: 32px 0 64px; }
.admin-stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 20px 0; }
.admin-stats .card strong { display: block; font-size: 30px; letter-spacing: -0.02em; }
.admin table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.admin th, .admin td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.admin th { background: #fafbfd; color: var(--ink); position: sticky; top: 0; }
.admin .table-wrap { overflow: auto; max-height: 70vh; border-radius: 14px; box-shadow: var(--shadow); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { border: 1.5px solid var(--border); background: #fff; border-radius: 999px; padding: 8px 14px; font: 600 14px "Inter", sans-serif; color: var(--ink); cursor: pointer; }
.tabs button[aria-pressed="true"] { border-color: var(--blue); background: var(--tint); color: var(--blue-ink); }
.dist { display: grid; gap: 6px; }
.dist-row { display: grid; grid-template-columns: 140px 1fr 40px; gap: 10px; align-items: center; font-size: 14px; }
.dist-row .bar { margin: 0; }

/* ── In the office: tabbed desktop-app concept ── */
.office-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.office-tabs button { font: inherit; font-size: 15px; font-weight: 600; color: var(--blue-ink); background: #fff; border: 2px solid var(--tint-2); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: border-color .15s; }
.office-tabs button:hover { border-color: var(--blue); }
.office-tabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 14px rgb(26 120 254 / 0.3); }
.office-tabs button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.browser { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border); }
.browser-top { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #eef1f6; border-bottom: 1px solid var(--border); }
.browser-top i { width: 11px; height: 11px; border-radius: 50%; }
.browser-top i:nth-child(1) { background: #f26b5b; } .browser-top i:nth-child(2) { background: #f5c04a; } .browser-top i:nth-child(3) { background: #4fc26b; }
.browser-top span { margin: 0 auto; background: #fff; border-radius: 8px; padding: 3px 40px; font-size: 12px; color: var(--muted); }

.app { display: grid; min-height: 560px; }
@media (min-width: 900px) { .app { grid-template-columns: 190px 1fr; } .app.app--tv { grid-template-columns: 1fr; } }
.app-side { display: none; background: #f6f8fc; border-right: 1px solid var(--border); padding: 18px 12px; flex-direction: column; gap: 2px; }
@media (min-width: 900px) { .app-side { display: flex; } .app--tv .app-side { display: none; } }
.app-firm { display: flex; gap: 10px; align-items: center; padding: 0 8px 16px; }
.app-firm svg { width: 32px; height: 32px; flex: none; }
.app-firm b { display: block; color: var(--ink); font-size: 14px; }
.app-firm small { display: block; color: var(--muted); font-size: 11px; line-height: 1.3; }
.app-link { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--text); }
.app-link em { font-style: normal; font-size: 11px; font-weight: 700; background: var(--yellow-soft); color: #6b5200; border-radius: 999px; padding: 1px 8px; }
.app-link.is-current { background: var(--tint-2); color: var(--blue-ink); font-weight: 700; }
.app-tally { margin-top: auto; display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--blue-ink); background: #fff; border-radius: 12px; padding: 10px; border: 1px solid var(--tint-2); }
.app-tally .spinner { flex: none; }

.app-main { padding: 18px; min-width: 0; background: #fff; }
@media (min-width: 720px) { .app-main { padding: 26px 28px; } }
.app--tv .app-main { padding: 0; }
.app.app--tv { min-height: 0; }
.app-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.app-head h3 { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; margin: 2px 0; }
.app-head small, .panel-card small, .job small { color: var(--muted); font-size: 12.5px; }
.app-btn { display: inline-flex; align-items: center; gap: 4px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 7px 14px; white-space: nowrap; }
.app-btn--ghost { background: #fff; color: var(--blue-ink); border: 1.5px solid var(--tint-2); }
.app-btn--small { font-size: 12px; padding: 4px 11px; background: var(--tint-2); color: var(--blue-ink); justify-self: start; }

.alerts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.alerts span { font-size: 13px; background: var(--yellow-soft); color: #5c4600; border-radius: 10px; padding: 6px 12px; }
.alerts b { color: var(--ink); }

.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(176px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.col { background: #f6f8fc; border-radius: 14px; padding: 12px; display: grid; gap: 9px; align-content: start; }
.col h4 { font-size: 13px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; margin-bottom: 2px; }
.col h4 em { font-style: normal; color: var(--muted); font-weight: 600; }
.job { background: #fff; border-radius: 11px; padding: 11px 12px; box-shadow: 0 1px 2px rgb(15 23 42 / 0.07); display: grid; gap: 4px; justify-items: start; font-size: 13px; }
.job b { color: var(--ink); font-size: 13.5px; line-height: 1.3; }
.job .bar { width: 100%; height: 6px; margin: 4px 0 2px; }
.job .pill { margin-top: 3px; }
.bar i.over { background: var(--red); }
.pill--amber { background: #fbecd2; color: #7a4d00; }
.pill--red { background: #fbe9ea; color: #b02a46; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
@media (min-width: 1040px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats > div { background: #f6f8fc; border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; align-content: start; }
.stats small { color: var(--muted); font-size: 12px; font-weight: 600; }
.stats strong { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.stats span { font-size: 12px; color: var(--muted); }
.stats .stat--warn { background: var(--yellow-soft); }
.stats .stat--warn small, .stats .stat--warn span { color: #6b5200; }

.job-grid { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 1040px) { .job-grid { grid-template-columns: 1.6fr 1fr; } .job-grid--even { grid-template-columns: 1fr 1fr; } }
.stats + .job-grid { margin-top: 0; }
.panel-card { border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.panel-card h4 { font-size: 15px; font-weight: 700; color: var(--ink); }

.table-scroll { overflow-x: auto; }
.mini { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 480px; }
@media (min-width: 1040px) { .mini { min-width: 0; } }
.mini th { text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--border); }
.mini td { padding: 9px 8px; border-bottom: 1px solid #f0f1f4; color: var(--ink); vertical-align: top; }
.mini tr:last-child td { border-bottom: 0; }
.mini td small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.mini .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.who { font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; }
.who--tally { color: var(--blue-ink); background: var(--tint-2); border-radius: 999px; padding: 2px 8px; }

.extra { background: #f6f8fc; border-radius: 12px; padding: 12px; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink); }
.extra strong { font-size: 17px; }

.tally-note { font-size: 13.5px; background: var(--tint); border: 1px solid var(--tint-2); border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; color: var(--ink); }
.tally-note .pill { margin-right: 6px; }
.snag { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid #f0f1f4; font-size: 13.5px; }
.card-row + .snag { border-top: 0; }
.snag b { color: var(--ink); font-weight: 600; display: block; line-height: 1.35; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--red { background: var(--red); } .dot--amber { background: var(--amber); } .dot--green { background: var(--green); } .dot--blue { background: var(--blue); }

.tv { background: #0b1530; color: #dfe6f5; padding: 20px; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 720px) { .tv { padding: 28px 32px; } }
.tv-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #a9b6d3; align-items: center; }
.tv-top span:first-child { display: flex; gap: 8px; align-items: center; color: #fff; font-weight: 700; }
.tv-top svg { width: 24px; height: 24px; }
.tv-top b { color: #fff; font-size: 18px; }
.tv-grid { display: grid; gap: 18px; flex: 1; }
@media (min-width: 900px) { .tv-grid { grid-template-columns: 1.5fr 1fr; } }
.tv-job { background: rgb(255 255 255 / 0.06); border-radius: 18px; padding: 26px; display: grid; gap: 14px; align-content: start; }
.tv-job small { color: #8fa0c4; font-size: 13px; }
.tv-job h4 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.tv-job p { color: #c4cfe6; }
.tv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0; }
.tv-stats div { background: rgb(255 255 255 / 0.07); border-radius: 12px; padding: 10px 12px; }
.tv-stats strong { display: block; color: var(--yellow); font-size: 24px; font-weight: 800; }
.tv-stats span { font-size: 12px; color: #a9b6d3; }
.stages { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
@media (min-width: 560px) { .stages { grid-template-columns: repeat(8, 1fr); } }
.stages li { font-size: 11px; text-align: center; padding: 6px 2px; border-radius: 6px; background: rgb(255 255 255 / 0.08); color: #8fa0c4; }
.stages li.done { background: rgb(47 158 90 / 0.35); color: #d6f2e0; }
.stages li.now { background: var(--blue); color: #fff; font-weight: 700; }
.tv-feed { background: rgb(255 255 255 / 0.04); border-radius: 18px; padding: 20px 22px; display: grid; gap: 16px; align-content: start; }
.tv-feed h5 { color: #fff; font-size: 15px; font-weight: 700; }
.tv-feed p { display: grid; grid-template-columns: 48px 1fr; column-gap: 10px; font-size: 14px; color: #e6ecf8; line-height: 1.35; }
.tv-feed b { color: var(--yellow); grid-row: span 2; font-variant-numeric: tabular-nums; }
.tv-feed small { color: #8fa0c4; font-size: 12px; }
.tv-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-strip span { font-size: 13px; border-radius: 999px; padding: 5px 12px; background: rgb(255 255 255 / 0.07); }
.tv-strip span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; }
.tv-strip .ok::before { background: #4fc26b; } .tv-strip .warn::before { background: var(--amber); } .tv-strip .bad::before { background: #f0647e; }

.office-points { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 900px) { .office-points { grid-template-columns: repeat(3, 1fr); } }
.office-points div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.office-points span { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: var(--shadow); }
.office-points b { color: var(--ink); }

/* ── Scroll reveal (switched on by app.js; off with reduced motion or no JS) ── */
.reveal-on .reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }

/* ── Office tabs: a self-press now and then, as a hint to click ── */
.office-tabs button.is-nudge { animation: tab-press .6s ease; }
@keyframes tab-press {
  0%   { transform: none; }
  28%  { transform: translateY(2px) scale(.94); background: var(--tint-2); border-color: var(--blue); box-shadow: inset 0 2px 6px rgb(15 23 42 / 0.18); }
  62%  { transform: translateY(-1px) scale(1.03); }
  100% { transform: none; }
}

/* ── Admin Snag Score box: a staged entrance once the box is revealed ──
   box fades up → text → checks one by one, while the donut fills and the number counts to 54
   → the "Free · 2 minutes" sticker pops in → the button fades in. Only with .reveal-on (JS, motion allowed). */
.gauge-num { font-variant-numeric: tabular-nums; }
.reveal-on .score-cta .sc-text,
.reveal-on .score-cta .sc-checks li,
.reveal-on .score-cta .sc-btn { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal-on .score-cta .sc-sticker { opacity: 0; transform: rotate(-2deg) scale(0); }
.reveal-on .score-cta .gauge-arc { stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.8s cubic-bezier(.3, .7, .25, 1) .5s; }

.reveal-on .score-cta.is-in .sc-text,
.reveal-on .score-cta.is-in .sc-checks li,
.reveal-on .score-cta.is-in .sc-btn { opacity: 1; transform: none; }
.reveal-on .score-cta.is-in h2.sc-text { transition-delay: .3s; }
.reveal-on .score-cta.is-in p.sc-text { transition-delay: .45s; }
.reveal-on .score-cta.is-in .sc-checks li:nth-child(1) { transition-delay: .75s; }
.reveal-on .score-cta.is-in .sc-checks li:nth-child(2) { transition-delay: .95s; }
.reveal-on .score-cta.is-in .sc-checks li:nth-child(3) { transition-delay: 1.15s; }
.reveal-on .score-cta.is-in .gauge-arc { stroke-dashoffset: 150; }
.reveal-on .score-cta.is-in .sc-sticker { animation: sticker-pop .65s cubic-bezier(.3, 1.6, .5, 1) 2.2s forwards; }
.reveal-on .score-cta.is-in .sc-btn { transition-delay: 2.6s; }

@keyframes sticker-pop {
  0%   { opacity: 0; transform: rotate(-2deg) scale(0); }
  40%  { opacity: 1; }
  100% { opacity: 1; transform: rotate(-2deg) scale(1); }
}

/* ── How it works: one sequence. Eyebrow → "Snap it." → "Say it." → "Sorted." → the line under it
   → step 1 → step 2 → step 3 (step delays are set in app.js so they still line up on phones,
   where each step is revealed as it scrolls into view). ── */
.reveal-on #how .section-head.reveal { opacity: 1; transform: none; }
.hw { display: inline-block; }
.reveal-on #how .section-head .eyebrow,
.reveal-on #how .hw,
.reveal-on #how .section-head p { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .65s cubic-bezier(.2, .7, .2, 1); }
.reveal-on #how .section-head.is-in .eyebrow,
.reveal-on #how .section-head.is-in .hw,
.reveal-on #how .section-head.is-in p { opacity: 1; transform: none; }
.reveal-on #how .section-head.is-in .hw1 { transition-delay: .2s; }
.reveal-on #how .section-head.is-in .hw2 { transition-delay: .55s; }
.reveal-on #how .section-head.is-in .hw3 { transition-delay: .9s; }
.reveal-on #how .section-head.is-in p { transition-delay: 1.3s; }

/* ── "Ask your own AI" conversation (played by app.js; static with reduced motion or no JS) ── */
.chat { position: relative; }
.chat-me { transform-origin: 100% 100%; }
.chat-ai { transform-origin: 0 100%; }
.chat.is-seq > .chat-me, .chat.is-seq > .chat-ai { opacity: 0; }
.chat.is-seq > .is-pop { animation: bubble-pop .75s cubic-bezier(.34, 1.56, .64, 1) forwards; }
@keyframes bubble-pop {
  0%   { opacity: 0; transform: translateY(14px) scale(.55); }
  45%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
.chat-status {
  position: absolute; left: 6px; margin: 0; font-size: 15px; font-weight: 500;
  opacity: 0; transition: opacity .22s ease;
  color: var(--muted);
  background: linear-gradient(100deg, var(--muted) 0%, var(--muted) 38%, #dfe8f6 50%, var(--muted) 62%, var(--muted) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sheen 2.2s linear infinite;
}
.chat-status.is-on { opacity: 1; }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* -- Yellow header underline: drawn left to right like a marker pen once its heading is revealed.
   The highlight is the .mark background, so it grows by widening background-size (spans line breaks too). -- */
.reveal-on .mark {
  background-repeat: no-repeat; background-position: 0 0; background-size: 0% 100%;
  transition: background-size .85s cubic-bezier(.65, .05, .35, 1) var(--mark-delay, .55s);
}
.reveal-on .is-in .mark { background-size: 100% 100%; }
.reveal-on #how .mark { --mark-delay: 1.4s; }  /* after "Sorted." itself has faded in */

/* ── Phone calls: call player concept. Static, it shows the whole call as played.
   With .is-seq (app.js) it starts unplayed: the button is pressed, waits, then the words light up
   one by one while the waveform fills and the playhead moves. ── */
.player { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin: 14px 0 6px; }
.player-ctl { display: grid; justify-items: center; gap: 5px; }
.play-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgb(26 120 254 / 0.35); }
.play-btn > * { grid-area: 1 / 1; }
.play-btn svg { width: 20px; height: 20px; }
.play-btn .ic-play { margin-left: 2px; }
.play-btn .ic-pause, .play-btn .ic-wait { display: none; }
.play-btn.is-wait .ic-play, .play-btn.is-playing .ic-play { display: none; }
.play-btn.is-wait .ic-wait { display: block; }
.play-btn.is-playing .ic-pause { display: block; }
.ic-wait { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / 0.35); border-top-color: #fff; animation: spin .8s linear infinite; }
.play-btn.is-press { animation: btn-press .32s ease; }
@keyframes btn-press { 40% { transform: scale(.86); box-shadow: 0 1px 4px rgb(26 120 254 / 0.3); } 100% { transform: none; } }
.play-time { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Waveform: Mrs Jones above the line (blue), you below it (green), like the call player. */
.wave { position: relative; display: flex; gap: 2px; height: 52px; background: linear-gradient(transparent calc(50% - .5px), var(--border) calc(50% - .5px), var(--border) calc(50% + .5px), transparent calc(50% + .5px)); }
.wave i { flex: 1; height: 50%; display: flex; }
.wave i.s1 { align-self: flex-start; align-items: flex-end; }
.wave i.s2 { align-self: flex-end; align-items: flex-start; }
.wave b { width: 100%; border-radius: 2px; }
.wave .s1 b { background: var(--blue); }
.wave .s2 b { background: var(--green); }
.playhead { position: absolute; top: -3px; bottom: -3px; left: 100%; width: 2px; background: var(--ink); border-radius: 1px; display: none; }
.line--you b { color: #1f6e3e; }

/* The unplayed part of the waveform: a washed-out overlay from the playhead to the end. */
.wave-mask { position: absolute; top: 0; bottom: 0; right: 0; left: 100%; display: none;
  background: rgb(255 255 255 / 0.55); -webkit-backdrop-filter: saturate(.25); backdrop-filter: saturate(.25); }
.call-card.is-seq .wave-mask, .call-card.is-seq .playhead { display: block; }
.call-card.is-seq .wave-mask { left: 0; }
.call-card.is-seq .playhead { left: -1px; }
.call-card.is-seq .line .w { color: #9a9ca6; transition: color .12s ease; border-radius: 4px; }
.call-card.is-seq .line .w.said { color: var(--ink); }
.call-card.is-seq .line .w.now { color: var(--ink); background: var(--yellow); box-shadow: 0 0 0 2px var(--yellow); }
.call-card.is-seq .hl { background: transparent; transition: background-color .4s ease; }
.call-card.is-seq .hl.lit { background: var(--yellow-soft); }
.call-after.is-wait { opacity: 0; }
.call-after.is-pop { animation: bubble-pop .75s cubic-bezier(.34, 1.56, .64, 1) forwards; transform-origin: 50% 0; }

/* Tally card after the call: pops in, works it out ("Tally's thinking…") with the sheen, then shows
   what it did as badges. Static (no JS / reduced motion) it simply shows the badges. */
.call-after { position: relative; }
.tally-status {
  position: absolute; left: 20px; top: 18px; margin: 0; font-size: 15px; font-weight: 600; display: none;
  background: linear-gradient(100deg, var(--muted) 0%, var(--muted) 38%, #e3eaf6 50%, var(--muted) 62%, var(--muted) 100%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: sheen 2s linear infinite; opacity: 0; transition: opacity .22s ease;
}
.tally-status.is-on { opacity: 1; }
.call-after.is-seq .tally-status { display: block; }
.call-after.is-seq .call-after-body { opacity: 0; }
.call-after.is-seq .did { opacity: 0; }
.call-after.is-seq.is-done .call-after-body { opacity: 1; transition: opacity .35s ease; }
.call-after.is-seq.is-done .did { animation: bubble-pop .6s cubic-bezier(.34, 1.56, .64, 1) forwards; transform-origin: 0 50%; }
.call-after.is-seq.is-done .did:nth-child(1) { animation-delay: .25s; }
.call-after.is-seq.is-done .did:nth-child(2) { animation-delay: .55s; }
.did-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.did { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--blue-ink);
  background: #fff; border: 1.5px solid #c9dcfb; border-radius: 999px; padding: 6px 8px 6px 6px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.06), 0 2px 0 #dbe7fb; cursor: pointer; transition: border-color .15s, transform .15s; }
.did:hover { border-color: var(--blue); transform: translateY(-1px); }
.did-ic { width: 24px; height: 24px; border-radius: 50%; background: var(--tint-2); display: grid; place-items: center; font-size: 13px; }
.did svg { width: 16px; height: 16px; color: var(--blue); }

/* Comparison on phones: the feature column stays put while the three comparison columns scroll
   underneath it, and app.js starts them scrolled fully right so the SnagHub column shows first. */
@media (max-width: 719px) {
  .compare { min-width: 560px; font-size: 14px; }
  .compare th, .compare td { padding: 14px 12px; }
  .compare th:first-child {
    position: sticky; left: 0; z-index: 2; background: #fff; width: 132px; min-width: 132px;
    box-shadow: 8px 0 10px -8px rgb(15 23 42 / 0.25);
  }
  .compare thead th:first-child { background: #fafbfd; }
  .compare thead .us { font-size: 17px; padding: 16px 12px; }
  .compare thead .us svg { width: 22px; height: 22px; }
}

/* Admin Snag Score on phones and small tablets: edge to edge, with a small donut tucked in the top right
   beside the sticker instead of a big one under the button. */
@media (max-width: 899px) {
  .score-cta { margin: 0 -16px; border-radius: 0; padding: 28px 20px 36px; }
  .score-cta .gauge { position: absolute; top: 22px; right: 20px; width: 92px; z-index: 1; }
  .score-cta .gauge-label strong { font-size: 30px; }
  .score-cta .gauge-label span { font-size: 10px; margin-top: 1px; }
  .score-cta .gauge-word { display: none; }
  .score-cta .sc-sticker { margin-top: 28px; }
  .score-cta::after { right: -90px; top: -90px; }
}
@media (min-width: 720px) and (max-width: 899px) {
  .score-cta { margin: 0 -32px; padding: 36px 32px 44px; }
  .score-cta .gauge { top: 28px; right: 32px; width: 110px; }
}

/* Office screens swap with a fade and scale (app.js); grow from the top so the frame does not jump. */
.opanel { transform-origin: 50% 0; }
.plan-price b.plan-quote { font-size: 19px; }

/* ── Founding form: price by team size (app.js works out the price) ── */
.team-hint { margin: 4px 0 14px; }
.team-ctl { display: grid; grid-template-columns: 44px 1fr 44px; gap: 12px; align-items: center; }
.team-step { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--border); background: #fff; color: var(--ink); font-family: inherit; font-size: 22px; font-weight: 600; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: border-color .15s, background-color .15s; }
.team-step:hover:not(:disabled) { border-color: var(--blue); background: var(--tint); }
.team-step:disabled { opacity: .4; cursor: default; }
.team-step:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.field #f-team { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; min-height: 0; padding: 0; border: 0; border-radius: 4px; margin: 0; cursor: pointer; box-shadow: none;
  background: linear-gradient(var(--blue), var(--blue)) 0 0 / var(--fill, 16%) 100% no-repeat, var(--border); }
#f-team::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 2px 8px rgb(26 120 254 / .3); }
#f-team::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 2px 8px rgb(26 120 254 / .3); }
.field #f-team:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
.team-out { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 16px; margin-top: 16px; padding: 16px 18px; border: 2px solid var(--blue); border-radius: 16px; background: var(--tint); }
.team-who { display: grid; gap: 2px; }
.team-n { font-size: 19px; color: var(--ink); }
.team-who { justify-items: start; gap: 6px; }
.team-band { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #fff; background: var(--blue); }
.team-band[data-plan="solo"] { background: #5b6b85; }
.team-band[data-plan="firm"] { background: #1f6e3e; }
.team-band[data-plan="quote"] { background: var(--ink); }
.team-band.is-pop { animation: band-pop .5s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes band-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .team-band.is-pop { animation: none; } }
.team-price { display: flex; align-items: baseline; gap: 6px; color: var(--muted); font-size: 14px; }
.team-half { font-size: 28px; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.team-half.is-quote { font-size: 21px; }
.team-full { font-variant-numeric: tabular-nums; }
.team-how { margin-top: 10px; font-size: 14px; color: var(--muted); }
.team-how summary { cursor: pointer; color: var(--blue-dark); width: fit-content; }
.team-how table { margin: 10px 0 6px; border-collapse: collapse; }
.team-how td { padding: 3px 18px 3px 0; }
.team-how td + td { color: var(--ink); font-weight: 600; }
.team-how p { margin: 4px 0 0; }
.team-share { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--yellow-soft); font-size: 14px; line-height: 1.45; color: var(--ink); }

/* ── Hero phone: played by app.js once "paperwork" is underlined. The last two items drop in,
   the two cards around the phone pop up, then Tally finishes sorting the photos. ── */
.float-card--q { --rot: -2deg; }
.float-card--a { --rot: 2deg; }
.phone-stage.hero-seq .feed-item:nth-child(n+3), .phone-stage.hero-seq .float-card { opacity: 0; }
.phone-stage.hero-seq .feed-item.is-pop { animation: feed-drop .6s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.phone-stage.hero-seq .float-card.is-pop { animation: float-pop .7s cubic-bezier(.34, 1.56, .64, 1) forwards; }
@keyframes feed-drop { 0% { opacity: 0; transform: translateY(-14px) scale(.94); } 50% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes float-pop { 0% { opacity: 0; transform: rotate(var(--rot)) scale(.4); } 45% { opacity: 1; } 100% { opacity: 1; transform: rotate(var(--rot)) scale(1); } }
.chip-tally { transition: opacity .25s ease; }
.chip-tally.is-out { opacity: 0; }
.tally-done { display: grid; gap: 5px; margin-top: 4px; }
.tally-done .feed-did { margin-top: 0; }
.photo-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.photo-tags i { font-style: normal; font-size: 11px; font-weight: 600; color: var(--blue-dark); background: var(--tint-2); border-radius: 6px; padding: 2px 7px; opacity: 0; animation: tag-in .45s cubic-bezier(.34, 1.56, .64, 1) forwards; animation-delay: calc(var(--i) * 140ms + 150ms); }
.tally-done > .feed-did { animation: fade-in .3s ease forwards; }
@keyframes tag-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.sorted-n.is-bump { display: inline-block; animation: band-pop .5s cubic-bezier(.34, 1.56, .64, 1); color: var(--green); font-weight: 700; }
