/* ==========================================================================
   /reviews: contractor Google review campaign page
   Builds on site.css (which also holds the shared hero, steps, FAQ and
   closing sections). Written for phones first.
   ========================================================================== */


/* Problem (light) ------------------------------------------------------- */
.problem-grid {
  display: grid;
  gap: 36px;
}
.problem-title { font-size: var(--fs-h2); }

.day-list {
  list-style: none;
  border-top: 1px solid var(--line-ink);
}
.day-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-ink);
}
.day {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-2);
}
.day-list p {
  font-size: 1.125rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--ink-2);
}
.day-list .is-miss .day { color: var(--ink); }
.day-list .is-miss p { color: var(--ink); font-weight: 750; }

.problem-turn {
  margin-top: 26px;
  font-size: var(--fs-h3);
  font-weight: 750;
  font-stretch: 106%;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--blue-ink);
}

@media (min-width: 960px) {
  .problem-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
  }
}


/* The guarantee ------------------------------------------------------------ */
.offer {
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 95% 60% at 50% 0%, rgb(6 51 184 / 0.6), transparent 72%),
    radial-gradient(ellipse 70% 45% at 50% 100%, rgb(10 108 255 / 0.16), transparent 72%),
    var(--black);
  border-block: 1px solid rgb(46 134 255 / 0.22);
}
.offer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scoreboard {
  display: grid;
  justify-items: center;
  font-weight: 900;
  font-stretch: var(--widest);
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.88;
}
.score-num {
  font-size: clamp(5.75rem, 26vw, 11.5rem);
  background: linear-gradient(180deg, #ffffff 35%, #9fc3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-inline: 0.04em;
}
.score-word {
  font-size: clamp(1.875rem, 8vw, 3.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.45em;
}
.score-word:last-child { margin-bottom: 0; }

@media (min-width: 720px) {
  .scoreboard {
    grid-template-columns: auto auto;
    align-items: baseline;
    column-gap: 0.28em;
    row-gap: 0.04em;
  }
  .score-num { justify-self: end; font-size: clamp(7rem, 15vw, 11.5rem); }
  .score-word { justify-self: start; margin-bottom: 0; }
}

.offer .guarantee { margin-top: 30px; }

.offer-tally { margin-top: 44px; max-width: 320px; }
.tally-caption {
  margin-top: 16px;
  font-size: var(--fs-sm);
  font-weight: 550;
  color: var(--steel);
}
@media (min-width: 720px) {
  .offer-tally { max-width: none; gap: 18px 24px; }
  .offer-tally .tally-group { width: 68px; height: 62px; }
}

.offer-copy {
  margin-top: 36px;
  max-width: 34em;
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--steel);
}
.offer-copy strong { color: var(--white); font-weight: 650; }

.terms {
  width: 100%;
  max-width: 640px;
  margin-top: 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-l);
  background: rgb(0 0 0 / 0.5);
  text-align: left;
  overflow: hidden;
}
.terms-row {
  display: grid;
  gap: 3px;
  padding: 15px 18px;
  border-top: 1px solid var(--line);
}
.terms-row:first-child { border-top: 0; }
.terms dt {
  font-size: var(--fs-xs);
  font-weight: 550;
  line-height: 1.5;
  color: var(--steel);
}
.terms dd {
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.4;
}
.terms .is-key dd { color: var(--cyan); }
@media (min-width: 560px) {
  .terms-row {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 16px;
    align-items: baseline;
    padding: 18px 24px;
  }
  .terms dt { font-size: var(--fs-sm); }
}

.offer .offer-cta { margin-top: 34px; }
@media (max-width: 479.98px) {
  .offer .offer-cta { width: 100%; }
}

/* Why contractors use it ---------------------------------------------------- */
.benefit-grid {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 36px;
}
.benefit {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
}
.benefit h3 { margin-top: 8px; font-size: 1.25rem; padding-inline: 4px; }
.benefit p { color: var(--steel); padding-inline: 4px; }
.benefit-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background:
    radial-gradient(ellipse 80% 90% at 50% 120%, rgb(10 108 255 / 0.18), transparent 70%),
    var(--panel);
}
/* Phones: a plain list reads faster than four stacked cards */
@media (max-width: 479.98px) {
  .benefit-grid { gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
  .benefit { gap: 4px; padding: 18px 0 19px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
  .benefit-visual { display: none; }
  .benefit h3 { margin-top: 0; padding-inline: 0; font-size: 1.1875rem; }
  .benefit p { padding-inline: 0; }
}
@media (min-width: 720px) {
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
  .benefit { padding: 18px 18px 26px; }
  .benefit-visual { height: 128px; }
  .benefit-visual > * { transform: scale(1.12); }
}

/* Mini visual: toggle */
.mini-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  max-width: 260px;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.03);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.switch {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--electric);
  box-shadow: 0 0 16px -2px rgb(10 108 255 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.3);
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
}

/* Mini visual: a week of sends */
.mini-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 280px;
  text-align: center;
}
.mini-week span {
  font-size: 0.6875rem;
  font-weight: 650;
  color: var(--steel);
}
.mini-week i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: 6px auto 0;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 12px -3px rgb(10 108 255 / 0.9);
}
.mini-week i::after {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-1px) rotate(-45deg);
}
.mini-week .off i { background: transparent; border: 1px dashed var(--line-strong); box-shadow: none; }
.mini-week .off i::after { display: none; }

/* Mini visual: tally */
.mini-tally { display: flex; gap: 10px; align-items: center; }
.mini-tally .tally-group { width: 38px; height: 36px; }
.mini-tally .tally-group line { stroke-width: 4; }
.mini-tally .is-dim line { stroke: rgb(255 255 255 / 0.28); }

/* Mini visual: task handled */
.mini-task {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 300px;
  font-size: var(--fs-sm);
}
.mini-task .box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 7px;
  background: var(--electric);
}
.mini-task .box::after {
  content: "";
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-1px) rotate(-45deg);
}
.mini-task s {
  flex: 1;
  min-width: 0;
  color: var(--steel);
  text-decoration-color: rgb(255 255 255 / 0.55);
  text-decoration-thickness: 1.5px;
}

/* What your customer sees -------------------------------------------------- */
/* Phones: heading, name field, then the phone right under it so typing shows
   the change immediately; steps and button follow. Desktop: phone on the right. */
.demo { overflow: hidden; }
.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "field" "phone" "steps" "cta";
}
.demo-head { grid-area: head; display: flex; flex-direction: column; gap: 16px; }

.field-dark { grid-area: field; margin-top: 26px; width: 100%; max-width: 420px; }
.field-dark label { color: var(--white); }
.field-dark input {
  background: rgb(255 255 255 / 0.05);
  border-color: var(--line-strong);
  color: var(--white);
}
.field-dark input::placeholder { color: var(--steel-dim); }
.field-dark input:hover { border-color: rgb(255 255 255 / 0.28); }
.field-dark input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgb(25 217 255 / 0.16); }

.demo-steps {
  grid-area: steps;
  list-style: none;
  width: 100%;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.demo-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.demo-steps .n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 0.8125rem;
  font-weight: 700;
}
.demo-steps strong { display: block; font-weight: 650; line-height: 1.4; }
.demo-steps span.d { display: block; margin-top: 2px; font-size: var(--fs-sm); color: var(--steel); line-height: 1.5; }
.demo-cta-wrap { grid-area: cta; margin-top: 30px; }
/* Below desktop the phone mockup tells the story on its own */
@media (max-width: 959.98px) {
  .demo-steps { display: none; }
  .demo-cta-wrap { margin-top: 36px; }
}
@media (max-width: 479.98px) {
  .demo-cta-wrap .btn { width: 100%; }
}

.demo-visual {
  grid-area: phone;
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.demo-visual::before {
  content: "";
  position: absolute;
  inset: 10% -10% 5%;
  background: radial-gradient(closest-side, rgb(10 108 255 / 0.32), transparent 72%);
  pointer-events: none;
}

@media (min-width: 960px) {
  .demo-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas:
      "head  phone"
      "field phone"
      "steps phone"
      "cta   phone";
    column-gap: 72px;
  }
  .demo-visual { margin-top: 0; align-self: center; }
}

/* Phone mockup */
.phone {
  position: relative;
  width: 100%;
  max-width: 322px;
  padding: 10px;
  border-radius: 52px;
  background: linear-gradient(150deg, #454a55 0%, #15171c 38%, #0b0c10 100%);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.16),
    inset 0 0 0 4px #050608,
    0 0 0 1px rgb(0 0 0 / 0.9),
    0 50px 100px -40px rgb(10 108 255 / 0.75);
}
.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 588px;
  border-radius: 43px;
  background: #000;
  overflow: hidden;
}
.phone-island {
  position: absolute;
  top: 11px;
  left: 50%;
  z-index: 3;
  width: 100px;
  height: 29px;
  border-radius: 20px;
  background: #000;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.05);
}
.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 14px 28px 0 32px;
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.status-icons { display: flex; align-items: center; gap: 6px; }
.status-icons svg { height: 12px; width: auto; }
.phone-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 4px 16px 12px;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  background: rgb(22 22 24 / 0.9);
}
.phone-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(180deg, #9aa0ab, #626772);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}
.phone-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 600;
}
.phone-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 12px;
}
.phone-stamp {
  align-self: center;
  margin: 4px 0 6px;
  font-size: 0.6875rem;
  color: #8e8e93;
}
.phone-stamp b { font-weight: 600; color: #aeaeb2; }
.bubble {
  max-width: 86%;
  padding: 9px 13px 10px;
  border-radius: 19px 19px 19px 6px;
  background: #26262a;
  font-size: 0.9375rem;
  line-height: 1.34;
  color: #fff;
  overflow-wrap: anywhere;
}
.bubble-link {
  width: 86%;
  border-radius: 18px;
  overflow: hidden;
  background: #1f1f23;
}
.bubble-link-media {
  display: grid;
  place-items: center;
  height: 88px;
  background:
    radial-gradient(ellipse 70% 90% at 70% 0%, rgb(25 217 255 / 0.45), transparent 70%),
    linear-gradient(140deg, #072a86, #0a6cff);
  color: #fff;
}
.bubble-link-media svg { width: 34px; height: 34px; opacity: 0.95; }
.bubble-link-text { padding: 9px 13px 11px; }
.bubble-link-title {
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.bubble-link-sub { margin-top: 1px; font-size: 0.75rem; color: #8e8e93; }
.phone-delivered { margin: 0 0 0 6px; font-size: 0.6875rem; color: #8e8e93; }
.phone-compose {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 24px;
}
.compose-plus {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #26262a;
  color: #aeaeb2;
  font-size: 1.25rem;
  line-height: 1;
}
.compose-field {
  flex: 1;
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 17px;
  font-size: 0.8125rem;
  color: #6d6d72;
}
.name-token {
  padding: 0 5px;
  border-radius: 5px;
  background: rgb(10 108 255 / 0.3);
  color: #bcd7ff;
  font-weight: 600;
}

/* Who it's for ------------------------------------------------------------- */
.trade-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 36px;
}
.trade {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
}
.trade-name {
  font-size: 1.0625rem;
  font-weight: 750;
  font-stretch: 106%;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.trade-jobs {
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--steel);
}
.trade.is-more {
  border-color: rgb(46 134 255 / 0.45);
  background: linear-gradient(180deg, rgb(10 108 255 / 0.14), rgb(10 108 255 / 0.03));
}
.trades-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 32px;
}
.trades-foot p { color: var(--steel); font-size: var(--fs-lg); max-width: 32em; }
@media (max-width: 479.98px) {
  .trade-grid { gap: 8px; margin-top: 28px; }
  .trade { gap: 3px; padding: 13px 13px 15px; }
  .trade-name { font-size: 1rem; }
}
.trades-foot p strong { color: var(--white); font-weight: 650; }
@media (max-width: 479.98px) {
  .trades-foot .btn { width: 100%; }
}
@media (min-width: 900px) {
  .trade-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 48px;
  }
  .trade { padding: 20px 18px 22px; }
  .trade-name { font-size: 1.1875rem; }
  .trades-foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 40px;
  }
}

