/* Public Opinions: big, bold, simple, soft. One purpose per screen. */
:root {
  --bg: #fbf7f0;
  --card: #ffffff;
  --ink: #1b1f3b;
  --soft: #5b6078;
  --line: #e9e3d8;
  --blue: #1f3fd1;
  --blue-dark: #1631a8;
  --blue-soft: #e8ecff;
  --coral: #ff7a59;
  --coral-soft: #ffece6;
  --green: #1d8a5b;
  --green-soft: #e3f5ec;
  --red: #c4372a;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(27, 31, 59, .06), 0 8px 28px rgba(27, 31, 59, .07);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-size: 1.15rem; line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--blue); }
img, svg { max-width: 100%; }
main { flex: 1; width: 100%; }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 22px; }
.wide { max-width: 1040px; margin: 0 auto; padding: 0 22px; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; max-width: 1040px; margin: 0 auto; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand svg { width: 34px; height: 34px; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; margin-left: 18px; font-size: 1rem; }
.top nav a.pill { background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; }

/* type */
h1 { font-size: clamp(2.3rem, 7.2vw, 4.1rem); line-height: 1.04; letter-spacing: -.03em; margin: .2em 0 .35em; font-weight: 850; }
h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .4em; font-weight: 800; }
h3 { font-size: 1.35rem; margin: 0 0 .3em; font-weight: 750; }
.lead { font-size: clamp(1.2rem, 3.2vw, 1.45rem); color: var(--soft); margin: 0 0 1.4em; max-width: 34em; }
.small { font-size: .95rem; color: var(--soft); }
.center { text-align: center; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .95rem; color: var(--blue); background: var(--blue-soft); padding: 6px 14px; border-radius: 999px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; padding: 0 34px; border-radius: 18px;
  background: var(--blue); color: #fff; font-size: 1.25rem; font-weight: 750; text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 6px 18px rgba(31, 63, 209, .28); transition: transform .12s ease, background .12s ease; font-family: inherit; }
.btn:hover { background: var(--blue-dark); }
.btn:active { transform: scale(.98); }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; border: 2px solid var(--line); }
.btn.ghost:hover { background: #fff; }
.btn.danger { background: var(--red); box-shadow: 0 6px 18px rgba(196, 55, 42, .25); }
.link { background: none; border: 0; color: var(--soft); font-size: 1rem; text-decoration: underline; cursor: pointer; padding: 10px; font-family: inherit; }

/* hero */
.hero { padding: 28px 0 56px; }
.hero .art { margin: 8px 0 26px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } .hero { padding: 60px 0 90px; } }
.bubbles { position: relative; height: 330px; max-width: 420px; }
.bubble { position: absolute; background: var(--card); border-radius: 26px; padding: 18px 22px; box-shadow: var(--shadow); font-weight: 700; font-size: 1.15rem; max-width: 270px; }
.bubble small { display: block; font-weight: 600; color: var(--soft); font-size: .85rem; margin-bottom: 4px; }
.bubble.b1 { top: 0; left: 0; }
.bubble.b2 { top: 138px; right: 0; background: var(--blue); color: #fff; }
.bubble.b2 small { color: #c9d3ff; }
.bubble.b3 { bottom: 0; left: 30px; background: var(--coral-soft); }
.taps { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.taps span { background: var(--blue-soft); color: var(--blue); border-radius: 999px; padding: 6px 14px; font-size: .95rem; }
.taps span.on { background: var(--blue); color: #fff; }

/* sections */
.band { padding: 64px 0; }
.band.white { background: #fff; }
.steps { display: grid; gap: 18px; margin-top: 26px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.band.white .step { background: var(--bg); box-shadow: none; }
.step .num { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 14px; }
.step p { margin: 0; color: var(--soft); }
.big-number { font-size: clamp(3rem, 12vw, 5.4rem); font-weight: 850; letter-spacing: -.04em; line-height: 1; }
.promise { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.promise li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.2rem; font-weight: 600; }
.promise li::before { content: ""; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231d8a5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; margin-top: 2px; }
.note { background: var(--coral-soft); border-radius: var(--radius); padding: 22px 24px; font-weight: 600; }
.note.blue { background: var(--blue-soft); }
.note.green { background: var(--green-soft); }

/* forms and tap answers */
.screen { padding: 26px 0 70px; }
.card { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
label.field { display: block; font-weight: 700; margin: 0 0 10px; font-size: 1.1rem; }
input[type=email], input[type=text] { width: 100%; font-size: 1.4rem; padding: 18px 20px; border-radius: 16px; border: 2px solid var(--line); background: #fff; color: var(--ink); font-family: inherit; }
input[type=email]:focus, input[type=text]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.check { display: flex; gap: 14px; align-items: flex-start; margin: 18px 0; font-size: 1.05rem; cursor: pointer; }
.check input { width: 28px; height: 28px; flex: 0 0 28px; margin: 0; accent-color: var(--blue); }
.check a { font-weight: 600; }
.answers { display: grid; gap: 12px; margin: 26px 0 10px; }
.answers.two { grid-template-columns: 1fr 1fr; }
.answer { display: flex; align-items: center; min-height: 66px; padding: 14px 22px; border-radius: 18px; background: var(--card); border: 2px solid var(--line);
  font-size: 1.2rem; font-weight: 650; color: var(--ink); cursor: pointer; text-align: left; width: 100%; font-family: inherit; transition: border-color .1s, background .1s; }
.answer:hover { border-color: var(--blue); }
.answer.picked { border-color: var(--blue); background: var(--blue-soft); }
label.answer input { width: 24px; height: 24px; margin: 0 14px 0 0; accent-color: var(--blue); flex: 0 0 24px; }
label.answer:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.why { color: var(--soft); font-size: 1.05rem; margin: -6px 0 0; }
.progress { display: flex; gap: 6px; margin: 4px 0 22px; }
.progress i { flex: 1; height: 8px; border-radius: 99px; background: var(--line); }
.progress i.on { background: var(--blue); }
.qnav { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.qnav a, .qnav button.link { color: var(--soft); font-size: 1rem; }
.error { background: #fdecea; color: #8c2219; border-radius: 14px; padding: 14px 18px; font-weight: 600; margin: 0 0 18px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* member page */
.points { background: var(--ink); color: #fff; border-radius: 28px; padding: 30px; position: relative; overflow: hidden; }
.points .big-number { color: #fff; }
.points .label { color: #c5c9dc; font-weight: 600; }
.points::after { content: ""; position: absolute; right: -70px; top: -80px; width: 170px; height: 170px; border-radius: 50%; background: var(--blue); opacity: .45; }
.points > * { position: relative; z-index: 1; }
.grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid.two { grid-template-columns: 1fr 1fr; } }
.section-card { display: block; background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; border: 2px solid transparent; }
.section-card:hover { border-color: var(--blue); }
.section-card .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.section-card h3 { margin: 0; }
.section-card p { margin: 4px 0 12px; color: var(--soft); font-size: 1rem; }
.bar { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar b { display: block; height: 100%; background: var(--blue); border-radius: 99px; }
.badge { display: inline-block; font-size: .9rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--coral-soft); color: #a8432a; white-space: nowrap; }
.badge.done { background: var(--green-soft); color: var(--green); }
.history { list-style: none; margin: 0; padding: 0; }
.history li { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.history li:last-child { border-bottom: 0; }
.history .plus { font-weight: 800; color: var(--green); white-space: nowrap; }
.history .when { color: var(--soft); font-size: .95rem; }
.empty { text-align: center; padding: 34px 22px; color: var(--soft); }
.empty strong { display: block; color: var(--ink); font-size: 1.25rem; margin-bottom: 4px; }
.settings form { display: inline; }
.settings .row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.settings .row:last-child { border-bottom: 0; }
.toggle { min-height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 700; font-size: 1rem; border: 2px solid var(--line); background: #fff; cursor: pointer; font-family: inherit; color: var(--ink); white-space: nowrap; }
.toggle.on { background: var(--green-soft); border-color: var(--green-soft); color: var(--green); }

/* prose (privacy, terms) */
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose p, .prose li { color: #2f3350; }
.prose li { margin: .35em 0; }

footer { padding: 34px 22px 46px; color: var(--soft); font-size: .95rem; text-align: center; }
footer a { color: var(--soft); margin: 0 10px; }
.done-mark { width: 92px; height: 92px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; margin: 10px 0 18px; }
.done-mark svg { width: 48px; height: 48px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* jb-7952bf: the local marketing survey */
.top nav a { margin-left: 14px; }
@media (max-width: 560px) { .top nav a:not(.pill) { display: none; } }
.eyebrow.coral { color: #a8432a; background: var(--coral-soft); }
.taps.big span { font-size: 1.05rem; padding: 10px 18px; }
.badge.big { font-size: 1.1rem; padding: 8px 16px; }
ul.plain { padding-left: 1.1em; }
ul.plain li { margin: .3em 0; }
.linkbtn { display: inline-flex; align-items: center; text-decoration: none; }
.danger-text { color: var(--red); }
.row-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.row-buttons .btn { flex: 1 1 200px; }
select { width: 100%; font-size: 1.2rem; padding: 16px 18px; border-radius: 16px; border: 2px solid var(--line); background: #fff; color: var(--ink); font-family: inherit; }
input[type=date] { font-size: 1.2rem; padding: 14px 18px; border-radius: 16px; border: 2px solid var(--line); font-family: inherit; }
p.field { font-weight: 700; margin: 0 0 6px; font-size: 1.1rem; }

/* offers: side by side, best first */
.offer { display: block; background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); color: var(--ink);
  text-decoration: none; border: 2px solid transparent; position: relative; }
a.offer:hover { border-color: var(--blue); }
.offer small { display: block; color: var(--soft); font-weight: 650; font-size: .92rem; }
.offer h3 { margin: 6px 0 6px; }
.offer p { margin: 0 0 10px; color: #2f3350; }
.offer .go { display: inline-block; margin-top: 6px; font-weight: 750; color: var(--blue); }
.offer.big { background: var(--blue); color: #fff; padding: 30px; margin-top: 14px; }
.offer.big small, .offer.big p, .offer.big .go { color: #e3e8ff; }
.offer.big h3 { font-size: 1.7rem; }
.offer.big.static { background: var(--card); color: var(--ink); }
.offer.big.static small, .offer.big.static p { color: var(--soft); }
.codebox { background: var(--ink); color: #fff; border-radius: 26px; padding: 26px; text-align: center; }
.codebox small { color: #c5c9dc; font-weight: 650; }
.codebox .code { font-size: clamp(2.6rem, 11vw, 4rem); font-weight: 850; letter-spacing: .12em; margin: 6px 0; font-family: ui-monospace, Menlo, Consolas, monospace; }
.card.ask { margin-top: 22px; border: 2px solid var(--blue-soft); }
.card.poll .answers { margin-top: 16px; }

/* polls */
.pbars { display: grid; gap: 8px; margin: 14px 0; }
.pbar { display: grid; grid-template-columns: minmax(0, 1fr) 2fr 48px; align-items: center; gap: 10px; font-size: 1rem; }
.pbar b { display: block; height: 14px; border-radius: 99px; background: var(--blue); }
.pbar em { font-style: normal; font-weight: 750; text-align: right; }
.card.result { margin-top: 14px; }
.card.result h3 { margin: 6px 0; }

/* businesses */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 2px solid var(--line);
  font-weight: 650; font-size: 1rem; cursor: pointer; }
.chip input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }
.chip:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.note.reach { margin-top: 24px; }
.counts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.counts li { display: flex; justify-content: space-between; background: var(--bg); border-radius: 14px; padding: 12px 16px; }
.bizoffer { margin-top: 16px; }
.bizoffer .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bizoffer h3 { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 14px 0; }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats div { background: var(--bg); border-radius: 14px; padding: 10px; text-align: center; }
.stats b { display: block; font-size: 1.35rem; }
.stats span { font-size: .85rem; color: var(--soft); }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.acts form { display: inline; }
.settings .acts { flex-shrink: 0; }

/* the operator's numbers */
.tablewrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
table.ads { border-collapse: collapse; width: 100%; font-size: .95rem; }
table.ads th, table.ads td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
table.ads th { font-size: .85rem; color: var(--soft); }
.light { display: inline-block; width: 16px; height: 16px; border-radius: 50%; }
