:root {
  color: #1c2421;
  background: #fff;
  font-family: "Segoe UI", sans-serif;
  line-height: 1.5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  width: 100%;
}

.site-header__inner,
.site-footer__inner,
.site-footer__legal {
  max-width: 40rem;
}

@media (min-width: 720px) {
  main, .site-header__inner, .site-footer__inner, .site-footer__legal { max-width: 42rem; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ba2029;
}

.brand img {
  display: block;
  width: 2.5rem;
  height: auto;
}

.progress {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 16rem;
  margin: 0.35rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.progress::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  top: 50%;
  height: 2px;
  background: #d9d3c7;
  transform: translateY(-50%);
}

.progress li {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 2px solid #d9d3c7;
  border-radius: 50%;
  background: #fff;
  color: #5c6b66;
  font-size: 0.78rem;
  font-weight: 700;
}

.progress li.done {
  border-color: #ba2029;
  background: #ba2029;
  color: white;
}

h1 { font-size: 1.8rem; line-height: 1.2; margin: 0 0 0.75rem; }
h2 { font-size: 1.25rem; margin: 0 0 0.5rem; }
h3 { font-size: 1rem; margin: 1.25rem 0 0.35rem; }

.lede, .hint { color: #3d4a45; }
.hint { margin-top: 0.35rem; font-size: 0.92rem; }
.consent {
  margin: 1.25rem 0 0;
  color: #5c6b66;
  font-size: 0.78rem;
  line-height: 1.4;
}

footer .consent { margin: 0; }

label {
  display: block;
  margin: 1rem 0 0.35rem;
  font-weight: 600;
}

label span {
  margin-left: 0.25rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: #8a918d;
}

input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #c9c2b4;
  border-radius: 0.4rem;
  font: inherit;
  background: white;
}

button, .button {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 0.4rem;
  background: #ba2029;
  color: white;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

button.text {
  background: transparent;
  color: #ba2029;
  padding-left: 0;
}

.url-field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.url-prefix {
  color: #3d4a45;
  font-weight: 600;
  white-space: nowrap;
}

.url-field input {
  flex: 1;
  width: auto;
  min-width: 0;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0.75rem;
}

@media (max-width: 540px) {
  .name-row { grid-template-columns: 1fr; }
}

.has-js[data-panel="business"] [data-step="contact"],
.has-js[data-panel="contact"] [data-step="business"] {
  display: none;
}

.actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.location-choice {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.55rem;
  margin-top: 1rem;
}

.location-choice .location-check {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  padding: 0;
}

.location-choice > label {
  margin: 0;
  cursor: pointer;
}

.location-field { display: none; grid-column: 1 / -1; }

.location-check:checked ~ .location-field { display: block; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.flash {
  padding: 0.75rem 0.9rem;
  background: #fff4d8;
  border-radius: 0.4rem;
}

.card, .totals, .next, .email-box {
  margin-top: 1.5rem;
  padding: 1rem 1rem 1.25rem;
  background: #fff;
  border: 1px solid #e4e0d8;
  border-radius: 0.6rem;
}

.choices {
  border: 0;
  margin: 1rem 0 0;
  padding: 0;
}

.choices legend {
  font-weight: 600;
  padding: 0;
}

.choices label {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 0.85rem;
  font-weight: 400;
}

.choices input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  padding: 0;
  flex: 0 0 auto;
}

.choices strong { display: block; }

.kicker {
  margin: 0;
  color: #ba2029;
  font-size: 0.85rem;
  font-weight: 700;
}

dl { margin: 0.5rem 0 0; }
dl div { margin-top: 0.7rem; }
dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: #5c6b66; }
dd { margin: 0.15rem 0 0; }

.summary { font-size: 1.05rem; }
.opportunity { color: #3d4a45; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.stats li {
  padding: 0.7rem;
  background: #f6f4ef;
  border-radius: 0.4rem;
}

.stats strong { display: block; font-size: 1.4rem; }

a { color: #ba2029; }

.waiting-line { font-size: 1.15rem; }

.promo {
  margin-top: 1.25rem;
  padding: 1.15rem 1rem 1.35rem;
  background: #fff;
  border: 1px solid #e4e0d8;
  border-radius: 0.8rem;
}

.eyebrow {
  margin: 0;
  color: #5c6b66;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promo h2 {
  margin: 0.35rem 0 0.45rem;
  font-size: 1.7rem;
  line-height: 1.15;
}

.chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.7rem 0.35rem;
  background: #f6f4ef;
  border-radius: 0.55rem;
  text-align: center;
}

.chips strong { display: block; font-size: 1.25rem; }
.chips span { color: #5c6b66; font-size: 0.78rem; }

.switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.switch label {
  position: relative;
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #f6f4ef;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.switch label:has(input:checked) {
  background: #1c2421;
  color: white;
}

.panels section { display: none; margin-top: 1rem; }
.promo:has(.switch input[value="overview"]:checked) [data-panel="overview"],
.promo:has(.switch input[value="google"]:checked) [data-panel="google"],
.promo:has(.switch input[value="ai"]:checked) [data-panel="ai"],
.promo:has(.switch input[value="ads"]:checked) [data-panel="ads"] { display: block; }

.meaning {
  padding: 0.9rem 0.95rem;
  background: #f6f4ef;
  border-radius: 0.55rem;
}

.meaning h3 { margin-top: 0; }
.meaning p { margin: 0; }

.rounds {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.rounds li {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #ece7dc;
}

.rounds li:first-child { margin-top: 0.35rem; padding-top: 0; border-top: 0; }
.rounds strong { display: block; }

.answer { margin-top: 0.45rem; }
.answer summary { cursor: pointer; color: #ba2029; font-weight: 600; }

.email-reveal { margin-top: 1rem; }
.email-reveal summary {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: #1c2421;
  color: white;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  list-style: none;
}
.email-reveal summary::-webkit-details-marker { display: none; }
.email-reveal summary { list-style: none; }
.email-reveal[open] summary { margin-bottom: 0.35rem; }

.help-link { margin: 1rem 0 0; text-align: center; }

a.continue { display: block; text-align: center; }

.facts {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li { margin-top: 0.35rem; }

.check-list {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  margin-top: 0.45rem;
  color: #5c6b66;
}

.check-list li.checking {
  color: #ba2029;
  font-weight: 700;
}

.site-header {
  width: 100%;
  align-self: stretch;
  background: #fff;
  border-bottom: 1px solid #e4e0d8;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
}

.site-header__name {
  margin: 0;
  color: #1c2421;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.site-header__nav {
  justify-self: end;
}

.site-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.site-brand img {
  display: block;
  width: 3.5rem;
  height: auto;
  border-radius: 0.35rem;
}

.site-header__phone {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #ba2029;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__phone:hover,
.site-header__phone:focus {
  background: #9b1a22;
  color: #fff;
}

body:has(.site-header) main .brand {
  display: none;
}

.powered {
  margin: 1.75rem 0 0;
  text-align: right;
}

.powered a {
  color: #ba2029;
  font-size: 0.85rem;
  text-decoration: none;
}

.powered a:hover,
.powered a:focus {
  text-decoration: underline;
}

.site-footer {
  flex: 0 0 auto;
  align-self: stretch;
  width: 100%;
  max-width: none;
  margin: auto 0 0;
  padding: 0;
  background: #111;
  color: #fff;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
}

.site-footer__inner {
  margin: 0 auto;
  padding: 2rem 1.25rem 1.25rem;
}

.site-footer .consent {
  color: #fff;
}

.site-footer__inner > .consent {
  margin: 0 0 1.25rem;
}

.site-footer__grid {
  display: grid;
  gap: 1.25rem;
}

.site-footer__logo {
  display: inline-block;
  margin: 0 0 0.75rem;
}

.site-footer__logo img {
  display: block;
  width: 4.5rem;
  height: auto;
  border-radius: 0.4rem;
}

.site-footer__brand p {
  margin: 0;
  line-height: 1.45;
}

.site-footer__label {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0 0 0.35rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.site-footer .site-footer__legal {
  margin: 0.5rem auto 0;
  padding: 0 1.25rem 1.5rem;
  color: #fff;
  font-size: 0.78rem;
}

@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 479px) {
  .site-header__nav {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .site-header__phone {
    width: 100%;
    justify-content: center;
  }
}
