/* Clarity Creative Group brand (iwantclarity.com): Libre Baskerville headings, Inter text,
   orange #F85000 for actions, navy #023047 and blue #219EBC for "you" in the charts. */
:root {
  color-scheme: light;
  --page: #fafafa;
  --surface: #f6f6f7;
  --card: #ffffff;
  --ink: #1b1b1c;
  --ink-2: #4f4f55;
  --muted: #8d8d91;
  --grid: #e6e6e8;
  --axis: #cbcbcd;
  --border: rgba(27, 27, 28, 0.1);
  --brand: #f85000;        /* buttons and calls to action */
  --brand-dark: #c43f00;   /* orange that's readable as text on white */
  --navy: #023047;
  --tint: #eef7fb;         /* light blue background, from the site's #8ECAE6 */
  --you: #219ebc;          /* categorical slot 1: the audited business */
  --you-strong: #023047;   /* "you" where text sits on it */
  --you-soft: #bfe2f0;
  --other: #cbcbcd;        /* everyone else */
  --track: #efeff1;
  --good: #0ca30c;
  --good-text: #006300;
  --warning: #ffb703;
  --serious: #ec835a;
  --critical: #d03b3b;
  --accent: var(--brand-dark);
  --radius: 12px;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.6; font-size: 15px; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.25; margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; color: var(--ink); }
h1 { font-size: 28px; }
h2 { font-size: 20px; }
h3 { font-size: 15px; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--muted); }
.ink2 { color: var(--ink-2); }
.small { font-size: 13px; }
.tabnum { font-variant-numeric: tabular-nums; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 28px 24px 64px; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.section { margin-top: 28px; }
.section > header { margin-bottom: 14px; }
.section > header p { color: var(--ink-2); margin-top: 4px; font-size: 14px; }

/* ---------- Form ---------- */
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
input[type="text"], input[type="url"], input[type="email"], input[type="tel"], input[type="password"], textarea, select {
  width: 100%; padding: 10px 12px; font: inherit; color: var(--ink);
  border: 1px solid var(--axis); border-radius: 8px; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--you-soft); border-color: var(--you-strong); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.field + .field, .grid-2 + .field, .field + .grid-2, .grid-3 + .field, .field + .grid-3 { margin-top: 16px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

button, .btn {
  font: inherit; font-weight: 500; border-radius: 80px; padding: 10px 20px; cursor: pointer;
  border: 1px solid var(--axis); background: #fff; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
button.primary, .btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
button.primary:hover:not(:disabled), .btn.primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
button:disabled { opacity: 0.55; cursor: default; }

.seg { display: inline-flex; border: 1px solid var(--axis); border-radius: 80px; overflow: hidden; }
.seg input { display: none; }
.seg label { margin: 0; padding: 8px 14px; cursor: pointer; font-weight: 600; color: var(--ink-2); border-right: 1px solid var(--axis); }
.seg label:last-of-type { border-right: 0; }
.seg input:checked + label { background: var(--navy); color: #fff; }

.checks { display: flex; gap: 16px; flex-wrap: wrap; }
.checks label { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; color: var(--ink); margin: 0; }

.banner { border-radius: var(--radius); padding: 14px 16px; border: 1px solid; font-size: 14px; }
.banner.warn { background: #fff8e6; border-color: #f2d48a; }
.banner.info { background: var(--tint); border-color: var(--you-soft); }

.profile-card { border: 1px solid var(--you-soft); background: var(--tint); border-radius: var(--radius); padding: 14px 16px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--track); color: var(--ink-2); white-space: nowrap; }
.chip.you { background: var(--you-strong); color: #fff; }

/* ---------- Progress ---------- */
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; color: var(--muted); }
.steps li.running { color: var(--ink); font-weight: 600; }
.steps li.done { color: var(--ink-2); }
.steps .dot { width: 16px; flex: none; text-align: center; }
.bar-track { height: 8px; background: var(--track); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--you); border-radius: 4px; transition: width 0.3s; }

.list-reports { list-style: none; margin: 0; padding: 0; }
.list-reports li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--grid); align-items: center; }
.list-reports li:first-child { border-top: 0; }

/* ---------- Public lead page ---------- */
.eyebrow-brand { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); min-height: 1.5em; margin-bottom: 18px; }
.lead-layout { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: start; }
.lead-pitch h1 { font-size: 40px; line-height: 1.2; }
.lead-sub { font-size: 17px; margin-top: 14px; font-weight: 300; color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 22px 0; }
.ticks li { position: relative; padding: 6px 0 6px 28px; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: var(--good-text); font-weight: 700; }
.ticks strong { color: var(--ink); }
button.wide { width: 100%; justify-content: center; padding: 12px 16px; }
button.small-btn { padding: 4px 12px; font-size: 13px; }
#details + .field { margin-top: 16px; }

/* Google business search */
.combo { position: relative; }
.combo-list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px 0; list-style: none;
  background: #fff; border: 1px solid var(--axis); border-radius: 10px; box-shadow: 0 10px 30px rgba(2, 48, 71, 0.12);
}
.combo-list li { padding: 8px 12px; cursor: pointer; display: flex; flex-direction: column; gap: 1px; }
.combo-list li strong { font-weight: 600; color: var(--ink); }
.combo-list li span { font-size: 13px; color: var(--ink-2); }
.combo-list li.active, .combo-list li:hover { background: var(--tint); }
.combo-list li.combo-manual { font-size: 13px; color: var(--accent); border-top: 1px solid var(--grid); margin-top: 4px; padding-top: 10px; }

/* Next steps page */
.next-steps { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: step; }
.next-steps li { position: relative; padding: 0 0 18px 48px; counter-increment: step; }
.next-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; background: var(--tint); color: var(--navy); border: 1px solid var(--you-soft);
}
.next-steps li.now::before { background: var(--brand); color: #fff; border-color: var(--brand); }
.next-steps strong { display: block; color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.footer-note { margin-top: 32px; }

@media (max-width: 860px) {
  .lead-layout { grid-template-columns: 1fr; gap: 24px; }
  .lead-pitch h1 { font-size: 30px; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
