@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("./assets/Exo2-Variable-Latin.woff2") format("woff2");
}

:root {
  --deep-teal: #005475;
  --bright-teal: #008fc7;
  --ink: #0b2a38;
  --ink-soft: #4d6873;
  --muted: #7a929b;
  --line: #dce8ec;
  --field: #f7fafb;
  --white: #ffffff;
  --success: #168b72;
  --danger: #d8455e;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.2, .9, .25, 1.12);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #f7fcfe;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.ambient {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #f8fdff;
  pointer-events: none;
}

.ambient::before {
  content: "";
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(circle at 48% 47%, rgba(255, 255, 255, 0.96) 0 15%, transparent 40%),
    radial-gradient(circle at 17% 78%, rgba(255, 255, 255, 0.78) 0 9%, transparent 33%),
    radial-gradient(circle at 86% 20%, rgba(255, 255, 255, 0.82) 0 10%, transparent 34%);
  filter: blur(28px);
}

.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(52px) saturate(112%);
  -webkit-backdrop-filter: blur(52px) saturate(112%);
}

.ambient__glow {
  position: absolute;
  border-radius: 48% 52% 61% 39% / 43% 46% 54% 57%;
  filter: blur(62px);
  opacity: 0.6;
  transform: translate3d(0, 0, 0);
  animation: meshFloat 16s var(--ease) infinite alternate;
}

.ambient__glow--one {
  width: 58vw;
  height: 54vw;
  left: -22vw;
  top: -28vw;
  background: #006f9b;
}

.ambient__glow--two {
  width: 56vw;
  height: 52vw;
  right: -23vw;
  top: -23vw;
  background: #008fc7;
  animation-delay: -5s;
}

.ambient__glow--three {
  width: 45vw;
  height: 38vw;
  left: -11vw;
  bottom: -24vw;
  background: #008fc7;
  opacity: 0.48;
  animation-delay: -9s;
}

.ambient__glow--four {
  width: 48vw;
  height: 42vw;
  right: -13vw;
  bottom: -27vw;
  background: #006f9b;
  opacity: 0.5;
  animation-delay: -12s;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px 20px;
}

.workspace {
  width: 100%;
  display: grid;
  place-items: center;
}

.builder-card {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  width: min(680px, 100%);
  overflow: hidden;
  padding: 36px;
  border: 1px solid rgba(0, 84, 117, 0.12);
  border-radius: 28px;
  background: #ffffff;
  box-shadow:
    0 32px 85px rgba(0, 58, 80, 0.18),
    0 8px 24px rgba(0, 58, 80, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.builder-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 143, 199, 0.035), transparent 24%, transparent 78%, rgba(0, 84, 117, 0.025));
  pointer-events: none;
}

.builder-card__spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(330px circle at var(--pointer-x) var(--pointer-y), rgba(0, 143, 199, 0.065), transparent 68%);
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}

.builder-card:hover .builder-card__spotlight {
  opacity: 1;
}

.form-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.part-label {
  display: inline-flex;
  margin-bottom: 7px;
  color: var(--bright-teal);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.2em;
}

.form-head h2,
.form-head p {
  margin-top: 0;
}

.form-head h2 {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: clamp(29px, 3vw, 37px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.form-head p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.score {
  position: relative;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
}

.score svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score circle {
  fill: none;
  stroke-width: 3;
}

.score__track {
  stroke: #e7eff2;
}

.score__value {
  stroke: var(--bright-teal);
  stroke-linecap: round;
  stroke-dasharray: 138.23;
  stroke-dashoffset: 138.23;
  filter: drop-shadow(0 2px 3px rgba(0, 143, 199, 0.24));
  transition: stroke-dashoffset 500ms var(--spring);
}

.score > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-top: 19px;
}

.score strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
}

.score small {
  color: var(--muted);
  font-size: 9px;
}

#businessForm {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 15px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.field {
  position: relative;
  min-width: 0;
}

.field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 2px 7px;
  color: #284650;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.005em;
}

.field label span {
  color: #91a4aa;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.input-shell {
  position: relative;
  height: 53px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--field);
  box-shadow: inset 0 1px 1px rgba(11, 42, 56, 0.018);
  transition: border-color 190ms ease, box-shadow 190ms ease, background 190ms ease, transform 190ms var(--ease);
}

.field:hover .input-shell {
  border-color: #c2d7de;
  background: #fbfdfe;
}

.field:focus-within .input-shell {
  border-color: rgba(0, 143, 199, 0.72);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 143, 199, 0.09), 0 8px 24px rgba(0, 84, 117, 0.055);
  transform: translateY(-1px);
}

.input-icon {
  width: 46px;
  height: 100%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #78929b;
  transition: color 180ms ease, transform 240ms var(--spring);
}

.input-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.field:focus-within .input-icon,
.field.is-complete .input-icon {
  color: var(--bright-teal);
}

.field:focus-within .input-icon {
  transform: scale(1.08);
}

.field input {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0 40px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 560;
  caret-color: var(--bright-teal);
}

.field input::placeholder {
  color: #91a5ac;
  opacity: 1;
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px #f7fafb inset;
  transition: background-color 9999s ease-out 0s;
}

.field-check {
  position: absolute;
  right: 13px;
  top: 50%;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(22, 139, 114, 0.2);
  border-radius: 50%;
  background: #eaf8f4;
  color: var(--success);
  font-size: 11px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(-50%) scale(0.55) rotate(-20deg);
  transition: opacity 170ms ease, transform 290ms var(--spring);
}

.field.is-complete .field-check {
  opacity: 1;
  transform: translateY(-50%) scale(1) rotate(0);
}

.field.has-error .input-shell {
  border-color: rgba(216, 69, 94, 0.62);
  box-shadow: 0 0 0 4px rgba(216, 69, 94, 0.075);
}

.field-error {
  position: absolute;
  z-index: 3;
  left: 3px;
  top: calc(100% + 3px);
  color: var(--danger);
  font-size: 9px;
  font-weight: 650;
}

.quick-picks {
  min-width: 0;
  margin: -1px 0 0;
  padding: 0;
  border: 0;
}

.quick-picks legend {
  margin-bottom: 8px;
  padding: 0;
  color: #839aa2;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.quick-picks__list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.industry-chip {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #dce8ec;
  border-radius: 10px;
  outline: none;
  background: #f8fbfc;
  color: #516d77;
  cursor: pointer;
  font-size: 10px;
  font-weight: 680;
  transition: color 170ms ease, border-color 170ms ease, background 170ms ease, transform 170ms var(--spring), box-shadow 170ms ease;
}

.industry-chip:hover {
  border-color: rgba(0, 143, 199, 0.38);
  background: #f1faff;
  color: var(--deep-teal);
  transform: translateY(-1px);
}

.industry-chip:focus-visible {
  border-color: var(--bright-teal);
  box-shadow: 0 0 0 4px rgba(0, 143, 199, 0.1);
}

.industry-chip:active {
  transform: scale(0.96);
}

.industry-chip.is-selected {
  border-color: rgba(0, 143, 199, 0.5);
  background: linear-gradient(135deg, rgba(0, 84, 117, 0.09), rgba(0, 143, 199, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 5px 14px rgba(0, 84, 117, 0.07);
  color: var(--deep-teal);
}

.industry-chip--other span {
  margin-left: 4px;
  color: var(--bright-teal);
  font-size: 13px;
}

.form-actions {
  margin-top: 4px;
}

.continue-button {
  position: relative;
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 14px;
  outline: none;
  background: linear-gradient(115deg, #005475 0%, #008fc7 100%);
  box-shadow: 0 14px 30px rgba(0, 84, 117, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transform: translateZ(0);
  transition: transform 210ms var(--spring), box-shadow 210ms ease, filter 210ms ease;
}

.continue-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 19px 38px rgba(0, 84, 117, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  filter: saturate(1.06) brightness(1.03);
}

.continue-button:focus-visible {
  box-shadow: 0 0 0 5px rgba(0, 143, 199, 0.14), 0 19px 38px rgba(0, 84, 117, 0.25);
}

.continue-button:active {
  transform: translateY(0) scale(0.985);
}

.continue-button__shine {
  position: absolute;
  inset: -100% auto -100% -35%;
  width: 20%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg);
  animation: buttonShine 4.8s ease-in-out 1.4s infinite;
}

.continue-button__label,
.continue-button__arrow {
  position: relative;
  z-index: 1;
}

.continue-button__arrow {
  font-size: 20px;
  font-weight: 500;
  transition: transform 210ms var(--spring);
}

.continue-button:hover .continue-button__arrow {
  transform: translateX(4px);
}

.continue-button.is-complete {
  background: linear-gradient(115deg, #168b72, #48bea0);
}

.form-hint {
  min-height: 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  padding: 0 2px;
  color: #7a929b;
  font-size: 9px;
  font-weight: 650;
}

.form-hint i {
  margin-right: 5px;
  color: var(--bright-teal);
  font-style: normal;
}

.enter-hint {
  padding: 3px 6px;
  border: 1px solid #dfe9ec;
  border-radius: 5px;
  color: #8ba0a7;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  min-width: 250px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border: 1px solid rgba(0, 84, 117, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(0, 58, 80, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 22px) scale(0.96);
  transition: opacity 210ms ease, transform 340ms var(--spring);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.toast__check {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf8f4;
  color: var(--success);
  font-weight: 900;
}

.toast > span:last-child {
  display: grid;
  gap: 1px;
}

.toast strong {
  color: var(--ink);
  font-size: 12px;
}

.toast small {
  color: var(--muted);
  font-size: 9px;
}

.completion-spark {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--spark-color, var(--bright-teal));
  box-shadow: 0 0 8px var(--spark-color, var(--bright-teal));
  pointer-events: none;
  animation: sparkBurst 780ms var(--ease) forwards;
}

@keyframes meshFloat {
  from { transform: translate3d(-2%, -1%, 0) rotate(-3deg) scale(0.96); }
  to { transform: translate3d(6%, 5%, 0) rotate(4deg) scale(1.08); }
}

@keyframes buttonShine {
  0%, 68% { left: -35%; opacity: 0; }
  73% { opacity: 0.75; }
  87% { left: 120%; opacity: 0.2; }
  88%, 100% { left: 120%; opacity: 0; }
}

@keyframes sparkBurst {
  from { opacity: 1; transform: translate(-50%, -50%) rotate(var(--angle)) translateX(0) scale(1); }
  to { opacity: 0; transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--distance)) scale(0); }
}

@media (max-width: 600px) {
  .app-shell {
    padding: max(16px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom));
  }

  .ambient__glow {
    filter: blur(48px);
  }

  .ambient__glow--one,
  .ambient__glow--two {
    width: 94vw;
    height: 84vw;
  }

  .ambient__glow--one { left: -48vw; top: -33vw; }
  .ambient__glow--two { right: -48vw; top: -30vw; }

  .ambient__glow--three,
  .ambient__glow--four {
    width: 83vw;
    height: 72vw;
  }

  .builder-card {
    padding: 22px;
    border-radius: 23px;
    box-shadow: 0 24px 58px rgba(0, 58, 80, 0.17), 0 7px 18px rgba(0, 58, 80, 0.07);
  }

  .form-head {
    margin-bottom: 18px;
  }

  .part-label {
    margin-bottom: 4px;
    font-size: 7px;
  }

  .form-head h2 {
    margin-bottom: 3px;
    font-size: 28px;
  }

  .form-head p {
    font-size: 11px;
  }

  .score {
    width: 50px;
    height: 50px;
  }

  .score > span {
    padding-top: 16px;
  }

  #businessForm {
    gap: 12px;
  }

  .field-row {
    gap: 8px;
  }

  .field label {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .field label span {
    font-size: 6px;
    letter-spacing: 0.08em;
  }

  .input-shell {
    height: 49px;
    border-radius: 11px;
  }

  .input-icon {
    width: 38px;
  }

  .input-icon svg {
    width: 16px;
    height: 16px;
  }

  .field input {
    padding-right: 31px;
    font-size: 12px;
  }

  .field input::placeholder {
    font-size: 11px;
  }

  .field-check {
    right: 9px;
    width: 18px;
    height: 18px;
    font-size: 9px;
  }

  .quick-picks legend {
    margin-bottom: 6px;
    font-size: 6px;
  }

  .quick-picks__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .industry-chip {
    min-width: 0;
    min-height: 32px;
    padding: 5px 4px;
    overflow: hidden;
    font-size: 7.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .continue-button {
    min-height: 53px;
    border-radius: 12px;
    font-size: 12px;
  }

  .form-hint {
    margin-top: 6px;
    font-size: 7px;
  }

  .enter-hint {
    display: none;
  }

  .toast {
    width: calc(100% - 30px);
    min-width: 0;
  }
}

@media (max-width: 360px) {
  .app-shell {
    place-items: start center;
  }

  .builder-card {
    padding: 18px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-height: 700px) and (min-width: 361px) {
  .app-shell {
    place-items: start center;
    padding-block: 12px;
  }

  .builder-card {
    padding-block: 19px;
  }

  .form-head {
    margin-bottom: 13px;
  }

  #businessForm {
    gap: 10px;
  }
}

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

  .continue-button__shine {
    display: none;
  }
}

/* Background matched to commands.erio.ai. */
body,
.ambient {
  background: #006f9b;
}

.ambient::before,
.ambient::after {
  display: none;
}

.ambient__glow {
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.8;
}

.ambient__glow--one {
  width: 46vw;
  height: 38vw;
  top: -11vw;
  right: auto;
  bottom: auto;
  left: -10vw;
  background: #14b4f5;
  opacity: 0.72;
  animation: commandsDriftOne 26s ease-in-out infinite alternate;
}

.ambient__glow--two {
  width: 38vw;
  height: 44vw;
  top: 12vh;
  right: 10vw;
  bottom: auto;
  left: auto;
  background: #006f9b;
  opacity: 0.82;
  animation: commandsDriftTwo 31s ease-in-out infinite alternate;
}

.ambient__glow--three {
  width: 42vw;
  height: 34vw;
  top: auto;
  right: auto;
  bottom: -12vw;
  left: 18vw;
  background: #027aa5;
  opacity: 0.62;
  animation: commandsDriftOne 38s ease-in-out infinite alternate-reverse;
}

.ambient__glow--four {
  display: block;
  width: 34vw;
  height: 42vw;
  top: auto;
  right: -12vw;
  bottom: -10vh;
  left: auto;
  background: #14b4f5;
  opacity: 0.68;
  animation: commandsDriftTwo 35s ease-in-out infinite alternate-reverse;
}

@keyframes commandsDriftOne {
  to { transform: translate(6vw, 5vh) scale(1.08); }
}

@keyframes commandsDriftTwo {
  to { transform: translate(-5vw, -6vh) scale(1.05); }
}

/* Two-step quiz flow */
[hidden],
.quiz-step[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.quiz-step {
  width: 100%;
  display: grid;
  place-items: center;
}

.quiz-step.is-active > .builder-card {
  animation: stepPanelIn 560ms var(--ease) both;
}

.builder-card--styles {
  width: min(900px, 100%);
  padding: 30px;
}

.style-header {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
}

.style-header .part-label,
.style-header h1,
.style-header p {
  animation: styleCopyIn 480ms var(--ease) both;
}

.style-header .part-label {
  animation-delay: 80ms;
}

.style-header h1 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(31px, 3.2vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  animation-delay: 145ms;
}

.style-header h1:focus {
  outline: none;
}

.style-header p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  animation-delay: 210ms;
}

#styleForm {
  position: relative;
  z-index: 1;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.style-option {
  position: relative;
  min-width: 0;
  display: block;
  cursor: pointer;
  animation: styleCardIn 540ms var(--ease) both;
  animation-delay: calc(250ms + var(--card-index) * 80ms);
}

.style-option__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.style-option__surface {
  position: relative;
  display: block;
  padding: 11px;
  overflow: hidden;
  border: 1px solid #d9e6ea;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 7px 19px rgba(0, 58, 80, 0.06);
  transition:
    transform 260ms var(--spring),
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 260ms ease;
}

.style-option__title {
  display: block;
  min-width: 0;
  margin: 1px 34px 9px 2px;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.style-option__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(0, 84, 117, 0.09);
  border-radius: 10px;
  background: #edf4f6;
}

.style-option__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  user-select: none;
  transition: transform 320ms var(--ease);
}

.style-option__check {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 2px solid #008fc7;
  border-radius: 50%;
  background: #008fc7;
  box-shadow: 0 4px 10px rgba(0, 111, 155, 0.2);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.45) rotate(-18deg);
  transition: opacity 180ms ease, transform 300ms var(--spring);
}

.style-option__input:checked + .style-option__surface {
  border-color: #008fc7;
  background: #f0faff;
  box-shadow: 0 0 0 2px #008fc7, 0 14px 30px rgba(0, 111, 155, 0.13);
  transform: translateY(-2px);
}

.style-option__input:checked + .style-option__surface .style-option__check {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.style-option__input:focus-visible + .style-option__surface {
  outline: 3px solid #005475;
  outline-offset: 4px;
  border-color: #008fc7;
}

@media (hover: hover) and (pointer: fine) {
  .style-option:hover .style-option__surface {
    border-color: rgba(0, 143, 199, 0.62);
    box-shadow: 0 17px 34px rgba(0, 58, 80, 0.15);
    transform: translateY(-4px);
  }

  .style-option:hover .style-option__image img {
    transform: scale(1.025);
  }

  .style-option:has(.style-option__input:checked):hover .style-option__surface {
    transform: translateY(-4px);
  }
}

.style-continue {
  margin-top: 18px;
}

.style-continue:disabled {
  border-color: #dce6e9;
  background: #e8eff1;
  box-shadow: none;
  color: #8fa1a7;
  cursor: not-allowed;
  filter: none;
  transform: none;
}

.style-continue:disabled:hover {
  box-shadow: none;
  filter: none;
  transform: none;
}

.style-continue:disabled .continue-button__shine {
  display: none;
}

.style-continue.is-ready {
  animation: buttonReady 430ms var(--spring) both;
}

.back-button {
  position: relative;
  z-index: 2;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: -9px 0 8px -6px;
  padding: 5px 7px;
  border: 0;
  border-radius: 8px;
  outline: none;
  background: transparent;
  color: #6f8992;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms var(--spring);
}

.back-button span {
  font-size: 15px;
}

.back-button:hover {
  background: #f1f7f9;
  color: var(--deep-teal);
  transform: translateX(-2px);
}

.back-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 143, 199, 0.13);
  color: var(--deep-teal);
}

.back-button + .form-head {
  margin-top: 3px;
}

@keyframes stepPanelIn {
  from { opacity: 0; transform: scale(0.975) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes styleCopyIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes styleCardIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes buttonReady {
  0% { opacity: 0.72; transform: scale(0.985); }
  100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 640px) {
  body[data-quiz-step="1"] .app-shell {
    place-items: start center;
  }

  .builder-card--styles {
    padding: 20px;
  }

  .style-header {
    margin-bottom: 18px;
  }

  .style-header h1 {
    font-size: 29px;
  }

  .style-header p {
    font-size: 12px;
  }

  .style-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .style-option__surface {
    padding: 10px;
    border-radius: 13px;
  }

  .style-option__title {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .style-continue {
    min-height: 55px;
    margin-top: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-step.is-active > .builder-card,
  .style-header .part-label,
  .style-header h1,
  .style-header p,
  .style-option,
  .style-continue.is-ready {
    animation: none !important;
  }

  .style-option__surface,
  .style-option__image img,
  .style-option__check,
  .back-button {
    transition: none !important;
  }

  .style-option:hover .style-option__surface,
  .style-option__input:checked + .style-option__surface,
  .back-button:hover {
    transform: none !important;
  }

  .style-option:hover .style-option__image img {
    transform: none !important;
  }
}

/* Persistent quiz brand layer */
:root {
  --quiz-progress-height: 12px;
}

html {
  scroll-padding-top: calc(var(--quiz-progress-height) + env(safe-area-inset-top, 0px) + 12px);
}

.quiz-progress {
  position: fixed;
  z-index: 120;
  inset: 0 0 auto;
  width: 100%;
  height: calc(var(--quiz-progress-height) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  overflow: hidden;
  background: rgba(2, 39, 53, 0.34);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.quiz-progress__fill {
  position: relative;
  width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #fdc619 0%, #e5ac08 100%);
  box-shadow: 7px 0 16px rgba(253, 198, 25, 0.5);
  transition: width 600ms var(--ease);
  will-change: width;
}

.quiz-progress__fill::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -24%;
  width: 20%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  opacity: 0;
  transform: skewX(-18deg);
  pointer-events: none;
}

.quiz-progress__fill.is-changing::after {
  animation: progressStepShimmer 650ms ease-out both;
}

.brand-layer {
  position: relative;
  z-index: 110;
  top: auto;
  right: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: calc(var(--quiz-progress-height) + env(safe-area-inset-top, 0px) + 16px) clamp(24px, 3vw, 46px) 0;
  pointer-events: none;
}

.brand-cluster {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.google-review-badge {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(8, 45, 58, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 7px 20px rgba(0, 43, 59, 0.14), inset 0 1px 0 #ffffff;
  color: #17333e;
  white-space: nowrap;
}

.google-review-badge__g {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.google-review-badge__copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.google-review-badge__stars {
  color: #e5ac08;
  font-size: 9px;
  letter-spacing: 0.02em;
}

.google-review-badge__rating {
  color: #46616b;
  font-size: 8.5px;
  font-weight: 650;
}

.google-review-badge__rating strong {
  margin-right: 3px;
  color: #102f3b;
  font-size: 10px;
  font-weight: 900;
}

@property --badge-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.promise-badge {
  --badge-angle: 0deg;
  position: relative;
  width: clamp(180px, 18vw, 310px);
  min-height: clamp(78px, 7vw, 118px);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 16px);
  overflow: hidden;
  padding: clamp(10px, 1vw, 16px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: clamp(22px, 2vw, 32px);
  background: linear-gradient(135deg, #fdc619 0%, #e5ac08 100%);
  box-shadow:
    0 18px 34px rgba(54, 34, 0, 0.3),
    0 0 25px rgba(253, 198, 25, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.66),
    inset 0 2px 0 rgba(255, 250, 218, 0.52);
  color: #ffffff;
  font-family: "Exo 2", sans-serif;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
  transform: rotate(1deg);
  transform-origin: center;
  pointer-events: auto;
  isolation: isolate;
}

.promise-badge::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 175%;
  aspect-ratio: 1;
  background: conic-gradient(
    rgba(255, 255, 255, 0.34) 0deg,
    rgba(255, 255, 255, 0.34) 250deg,
    #ffffff 285deg,
    #fff3a6 310deg,
    #fdc619 335deg,
    rgba(255, 255, 255, 0.34) 360deg
  );
  filter: drop-shadow(0 0 8px rgba(253, 198, 25, 0.85));
  transform: translate(-50%, -50%) rotate(0deg);
  animation: circulateBadgeFallback 3s linear infinite;
  pointer-events: none;
}

.promise-badge::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 3px;
  border-radius: calc(clamp(22px, 2vw, 32px) - 3px);
  background: linear-gradient(135deg, #fdc619 0%, #e5ac08 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.supports-badge-angle .promise-badge {
  overflow: visible;
}

.supports-badge-angle .promise-badge::before {
  z-index: -1;
  inset: -4px;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  padding: 3px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--badge-angle),
    rgba(255, 255, 255, 0.35) 0deg,
    rgba(255, 255, 255, 0.35) 250deg,
    #ffffff 285deg,
    #fff3a6 310deg,
    #fdc619 335deg,
    rgba(255, 255, 255, 0.35) 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  transform: none;
  animation: circulateBadgeLight 3s linear infinite;
}

.supports-badge-angle .promise-badge::after {
  display: none;
}

.promise-badge__eye {
  position: relative;
  z-index: 2;
  display: block;
  flex-shrink: 0;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: clamp(34px, 3.2vw, 58px);
  line-height: 1;
  text-shadow: 0 4px 8px rgba(52, 31, 0, 0.24);
}

.promise-badge__message {
  position: relative;
  z-index: 2;
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 0;
}

.promise-badge__line {
  display: block;
  color: #ffffff;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(17px, 1.65vw, 30px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.92;
  white-space: nowrap;
  -webkit-text-stroke: clamp(1px, 0.12vw, 1.8px) #101010;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 rgba(16, 16, 16, 0.92), 0 3px 5px rgba(16, 16, 16, 0.34);
}

.promise-badge__line--emphasis {
  font-size: clamp(18px, 1.72vw, 31px);
}

@media (hover: hover) and (pointer: fine) {
  .promise-badge:hover::before {
    animation-play-state: paused;
  }
}

.app-shell {
  padding-top: 28px;
}

@keyframes progressStepShimmer {
  0% { left: -24%; opacity: 0; }
  18% { opacity: 0.68; }
  100% { left: 112%; opacity: 0; }
}

@keyframes circulateBadgeLight {
  to { --badge-angle: 360deg; }
}

@keyframes circulateBadgeFallback {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 600px) {
  :root {
    --quiz-progress-height: 10px;
  }

  .brand-layer {
    gap: 10px;
    padding: calc(var(--quiz-progress-height) + env(safe-area-inset-top, 0px) + 10px) 12px 0;
  }

  .brand-cluster {
    gap: 6px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .google-review-badge {
    gap: 5px;
    padding: 5px 7px;
  }

  .google-review-badge__g {
    width: 16px;
    height: 16px;
  }

  .google-review-badge__stars {
    font-size: 7.5px;
  }

  .google-review-badge__rating {
    font-size: 7.5px;
  }

  .google-review-badge__rating strong {
    margin-right: 2px;
    font-size: 9px;
  }

  .promise-badge {
    width: clamp(180px, 48vw, 220px);
    min-height: 78px;
    gap: 8px;
    padding: 10px;
    border-radius: 22px;
  }

  .promise-badge__eye {
    font-size: clamp(34px, 9vw, 42px);
  }

  .promise-badge__line {
    font-size: clamp(17px, 4.6vw, 20px);
  }

  .promise-badge__line--emphasis {
    font-size: clamp(18px, 4.8vw, 21px);
  }

  .app-shell {
    padding-top: 16px;
  }
}

@media (max-width: 380px) {
  .brand-layer {
    flex-wrap: wrap;
    gap: 7px;
    row-gap: 10px;
    padding-inline: 8px;
  }

  .brand-cluster {
    flex: 0 0 100%;
    gap: 5px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .google-review-badge {
    gap: 4px;
    padding: 4px 6px;
  }

  .google-review-badge__g {
    width: 14px;
    height: 14px;
  }

  .google-review-badge__stars {
    font-size: 6.5px;
  }

  .google-review-badge__rating {
    font-size: 6.75px;
  }

  .google-review-badge__rating strong {
    font-size: 8px;
  }

  .promise-badge {
    width: min(65vw, 220px);
    min-height: 78px;
    margin-left: auto;
    margin-right: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-progress__fill {
    transition: none !important;
  }

  .quiz-progress__fill::after {
    display: none !important;
  }

  .promise-badge::before {
    animation: none !important;
  }

  .promise-badge {
    transform: rotate(1deg) !important;
  }

  .supports-badge-angle .promise-badge::before {
    --badge-angle: 305deg;
    transform: none !important;
  }

  html:not(.supports-badge-angle) .promise-badge::before {
    transform: translate(-50%, -50%) rotate(305deg) !important;
  }
}

/* Part 1 only: Exo 2 typography and gold selection system */
.quiz-step--style {
  --style-gold-start: #fdc619;
  --style-gold-end: #e5ac08;
  --style-gold-tint: #fff9e6;
  --style-gold-shadow: rgba(229, 172, 8, 0.22);
  font-family: "Exo 2", sans-serif;
}

#styleStep .part-label {
  font-weight: 600;
}

#styleStep .style-header h1 {
  font-weight: 800;
}

#styleStep .style-header p {
  font-weight: 500;
}

#styleStep .style-option__title,
#styleStep .style-continue,
#styleStep .style-continue .continue-button__arrow {
  font-weight: 700;
}

#styleStep .style-continue .continue-button__label {
  font-size: clamp(14px, 1.5vw, 20px);
  line-height: 1.1;
}

#styleStep .style-option__check {
  border-color: var(--style-gold-end);
  background: var(--style-gold-end);
  box-shadow: 0 4px 10px var(--style-gold-shadow);
  color: #111111;
  font-family: "Exo 2", sans-serif;
}

#styleStep .style-option__input:checked + .style-option__surface {
  border-color: var(--style-gold-end);
  background-color: var(--style-gold-tint);
  background-image: linear-gradient(
    135deg,
    rgba(253, 198, 25, 0.1) 0%,
    rgba(229, 172, 8, 0.05) 100%
  );
  box-shadow: 0 0 0 2px var(--style-gold-end), 0 14px 30px var(--style-gold-shadow);
}

#styleStep .style-option__input:focus-visible + .style-option__surface {
  outline-color: var(--style-gold-end);
  border-color: var(--style-gold-end);
}

@media (hover: hover) and (pointer: fine) {
  #styleStep .style-option:hover .style-option__surface {
    border-color: var(--style-gold-end);
    box-shadow: 0 17px 34px rgba(229, 172, 8, 0.17);
  }

  #styleStep .style-option:has(.style-option__input:checked):hover .style-option__surface {
    border-color: var(--style-gold-end);
    box-shadow: 0 0 0 2px var(--style-gold-end), 0 17px 34px var(--style-gold-shadow);
  }
}

#styleStep .style-continue:not(:disabled) {
  border-color: rgba(229, 172, 8, 0.72);
  background: linear-gradient(135deg, var(--style-gold-start) 0%, var(--style-gold-end) 100%);
  box-shadow: 0 14px 30px var(--style-gold-shadow), inset 0 1px 0 rgba(255, 250, 222, 0.62);
  color: #111111;
  opacity: 1;
}

#styleStep .style-continue:not(:disabled):hover {
  box-shadow: 0 19px 38px rgba(229, 172, 8, 0.28), inset 0 1px 0 rgba(255, 250, 222, 0.7);
  filter: brightness(1.045);
}

#styleStep .style-continue:not(:disabled):focus-visible {
  box-shadow: 0 0 0 5px rgba(229, 172, 8, 0.2), 0 19px 38px var(--style-gold-shadow);
}

#styleStep .style-continue:disabled {
  border-color: rgba(229, 172, 8, 0.3);
  background: linear-gradient(135deg, rgba(253, 198, 25, 0.38) 0%, rgba(229, 172, 8, 0.3) 100%);
  box-shadow: none;
  color: rgba(17, 17, 17, 0.55);
  opacity: 0.62;
}

#styleStep .style-continue:disabled:hover {
  box-shadow: none;
  filter: none;
}

@media (max-height: 700px) and (min-width: 361px) {
  .app-shell {
    padding-top: 12px;
  }
}

@media (max-width: 360px) {
  #styleStep .style-continue .continue-button__label {
    letter-spacing: -0.035em;
    white-space: nowrap;
  }
}

/* Steps 2–5: shared quiz system */
.quiz-step--form {
  --form-gold-start: #fdc619;
  --form-gold-end: #e5ac08;
  --form-gold-tint: #fff9e6;
  --form-gold-shadow: rgba(229, 172, 8, 0.22);
  font-family: "Exo 2", sans-serif;
}

.builder-card--quiz {
  width: min(900px, 100%);
  padding: 30px;
}

.step-back {
  position: relative;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin: -7px 0 8px -7px;
  padding: 0;
  border: 1px solid #dce8ec;
  border-radius: 11px;
  outline: none;
  background: #f8fbfc;
  box-shadow: 0 4px 12px rgba(0, 58, 80, 0.05);
  color: #55727d;
  cursor: pointer;
  font-size: 19px;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms var(--spring);
}

.step-back:hover {
  border-color: var(--form-gold-end);
  background: var(--form-gold-tint);
  box-shadow: 0 7px 16px rgba(229, 172, 8, 0.14);
  color: #111111;
  transform: translateX(-2px);
}

.step-back:focus-visible {
  border-color: var(--form-gold-end);
  box-shadow: 0 0 0 4px rgba(229, 172, 8, 0.18);
  color: #111111;
}

.quiz-form-header {
  margin-bottom: 20px;
}

.quiz-step--form .quiz-form-header h1 {
  font-weight: 800;
}

.quiz-step--form .quiz-form-header p {
  font-weight: 500;
}

.step-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.step-block {
  position: relative;
  min-width: 0;
  padding: 16px;
  border: 1px solid #d9e6ea;
  border-radius: 16px;
  background: #fbfdfe;
  box-shadow: 0 7px 19px rgba(0, 58, 80, 0.045);
}

.step-block__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.step-block__head > label,
.step-block__head h2,
.compact-field > label,
.hours-picker > legend,
.logo-methods > legend {
  margin: 0;
  color: var(--ink);
  font-family: "Exo 2", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.step-block__head h2 {
  margin-bottom: 2px;
}

.step-block__head small {
  display: block;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.step-block__head > span,
.compact-field > label span {
  color: #8a9ea6;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.hours-picker > legend span {
  color: #8a9ea6;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.step-block__head--counter {
  align-items: center;
}

.step-block__head--counter > strong {
  min-width: 48px;
  padding: 6px 9px;
  border: 1px solid rgba(229, 172, 8, 0.34);
  border-radius: 999px;
  background: var(--form-gold-tint);
  color: #5e4700;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.compact-input-shell {
  position: relative;
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #ffffff;
  box-shadow: inset 0 1px 1px rgba(11, 42, 56, 0.02);
  transition: border-color 190ms ease, box-shadow 190ms ease, transform 190ms var(--ease);
}

.compact-input-shell:focus-within {
  border-color: var(--form-gold-end);
  box-shadow: 0 0 0 4px rgba(229, 172, 8, 0.12), 0 8px 22px rgba(0, 84, 117, 0.05);
  transform: translateY(-1px);
}

.compact-input-shell input {
  min-width: 0;
  width: 100%;
  height: 50px;
  padding: 0 42px 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: "Exo 2", sans-serif;
  font-size: 16px;
  font-weight: 500;
  caret-color: var(--form-gold-end);
}

.compact-input-shell input::placeholder,
.compact-field textarea::placeholder {
  color: #8da1a9;
  opacity: 1;
}

.compact-input-check {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--form-gold-end);
  color: #111111;
  font-size: 11px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(-50%) scale(0.5) rotate(-18deg);
  transition: opacity 170ms ease, transform 280ms var(--spring);
}

.step-block.has-value > .compact-input-shell .compact-input-check,
.compact-field.has-value .compact-input-check {
  opacity: 1;
  transform: translateY(-50%) scale(1) rotate(0);
}

.step-block.has-error > .compact-input-shell,
.compact-field.has-error > .compact-input-shell {
  border-color: rgba(216, 69, 94, 0.7);
  box-shadow: 0 0 0 4px rgba(216, 69, 94, 0.08);
}

.inline-error {
  min-height: 0;
  display: block;
  margin: 5px 2px 0;
  color: var(--danger);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.inline-error:empty {
  display: none;
}

.choice-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.choice-chip {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #d9e6ea;
  border-radius: 11px;
  outline: none;
  background: #ffffff;
  color: #48646e;
  cursor: pointer;
  font-family: "Exo 2", sans-serif;
  font-size: 12px;
  font-weight: 650;
  transition: color 170ms ease, border-color 170ms ease, background 170ms ease, box-shadow 170ms ease, transform 170ms var(--spring);
}

.choice-chip:hover {
  border-color: var(--form-gold-end);
  background: var(--form-gold-tint);
  color: #111111;
  transform: translateY(-1px);
}

.choice-chip:focus-visible {
  border-color: var(--form-gold-end);
  box-shadow: 0 0 0 4px rgba(229, 172, 8, 0.15);
}

.choice-chip.is-selected,
.choice-chip[aria-pressed="true"] {
  border-color: var(--form-gold-end);
  background: linear-gradient(135deg, rgba(253, 198, 25, 0.14), rgba(229, 172, 8, 0.07));
  box-shadow: 0 0 0 1px var(--form-gold-end), 0 6px 14px rgba(229, 172, 8, 0.13);
  color: #111111;
}

.service-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 8px;
}

.compact-add-button,
.gold-small-button {
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--form-gold-end);
  border-radius: 12px;
  outline: none;
  background: linear-gradient(135deg, var(--form-gold-start), var(--form-gold-end));
  box-shadow: 0 8px 18px rgba(229, 172, 8, 0.18);
  color: #111111;
  cursor: pointer;
  font-family: "Exo 2", sans-serif;
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms var(--spring), box-shadow 180ms ease, filter 180ms ease;
}

.compact-add-button:hover,
.gold-small-button:hover:not(:disabled) {
  box-shadow: 0 11px 22px rgba(229, 172, 8, 0.26);
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.compact-add-button:disabled,
.compact-add-button:disabled:hover {
  border-color: rgba(229, 172, 8, 0.28);
  box-shadow: none;
  cursor: not-allowed;
  filter: none;
  opacity: 0.42;
  transform: none;
}

.compact-add-button:focus-visible,
.gold-small-button:focus-visible {
  box-shadow: 0 0 0 4px rgba(229, 172, 8, 0.18);
}

.gold-small-button:disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.45;
}

.selected-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.selected-chip-list:empty {
  display: none;
}

.selected-service {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 7px 6px 10px;
  border: 1px solid var(--form-gold-end);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--form-gold-start), var(--form-gold-end));
  box-shadow: 0 6px 14px rgba(229, 172, 8, 0.16);
  color: #111111;
  font-size: 12px;
  font-weight: 700;
}

.selected-service button {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  color: #111111;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}

.selected-service button:focus-visible {
  outline: 2px solid var(--form-gold-end);
  outline-offset: 2px;
}

.suggestion-fieldset {
  min-width: 0;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
}

.suggestion-fieldset legend {
  padding: 0;
  color: #8298a0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.suggestion-fieldset .choice-chip-row {
  margin-top: 7px;
}

.service-limit {
  display: block;
  margin: 6px 2px -3px;
  color: #718890;
  font-size: 10px;
  font-weight: 650;
  text-align: right;
}

#serviceSuggestions .choice-chip,
#serviceSuggestions .choice-chip.is-selected,
#serviceSuggestions .choice-chip[aria-pressed="true"] {
  border-color: #d9e6ea;
  background: #ffffff;
  box-shadow: none;
  color: #48646e;
}

#serviceSuggestions .choice-chip:hover:not(:disabled),
#serviceSuggestions .choice-chip[aria-pressed="true"]:hover:not(:disabled) {
  border-color: var(--form-gold-end);
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 58, 80, 0.07);
  color: #111111;
}

#serviceSuggestions .choice-chip:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

#serviceSuggestions .choice-chip:disabled:hover {
  border-color: #d9e6ea;
  background: #ffffff;
  box-shadow: none;
  color: #48646e;
  transform: none;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.compact-field {
  position: relative;
  min-width: 0;
}

.compact-field--wide {
  grid-column: 1 / -1;
}

.compact-field > label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 7px;
}

.compact-field textarea {
  width: 100%;
  min-height: 104px;
  display: block;
  resize: vertical;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  background: #ffffff;
  color: var(--ink);
  font-family: "Exo 2", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  caret-color: var(--form-gold-end);
  transition: border-color 190ms ease, box-shadow 190ms ease;
}

.compact-field textarea:focus {
  border-color: var(--form-gold-end);
  box-shadow: 0 0 0 4px rgba(229, 172, 8, 0.12);
}

.choice-chip-row--hours {
  margin-top: 7px;
}

.hours-picker {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.hours-picker > legend {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 7px;
  padding: 0;
}

.custom-hours {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #d9e6ea;
  border-radius: 14px;
  background: #fbfdfe;
  box-shadow: 0 8px 20px rgba(0, 58, 80, 0.045);
  animation: reviewEditorIn 260ms var(--spring) both;
}

.custom-hours__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.custom-hours__head strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.custom-hours__head small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 500;
}

.custom-hours__rows {
  display: grid;
  gap: 6px;
}

.custom-hours__row {
  display: grid;
  grid-template-columns: 92px minmax(92px, 1fr) auto minmax(92px, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid #e3ecef;
  border-radius: 11px;
  background: #ffffff;
}

.custom-hours__row > strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.custom-hours__row select {
  min-width: 0;
  width: 100%;
  height: 38px;
  padding: 0 25px 0 9px;
  border: 1px solid #d9e6ea;
  border-radius: 9px;
  outline: none;
  background: #ffffff;
  color: var(--ink);
  font-family: "Exo 2", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.custom-hours__row select:focus-visible {
  border-color: var(--form-gold-end);
  box-shadow: 0 0 0 3px rgba(229, 172, 8, 0.14);
}

.custom-hours__to {
  color: #8298a0;
  font-size: 10px;
  font-weight: 600;
}

.custom-hours__closed {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #5f757e;
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.custom-hours__closed input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--form-gold-end);
}

.custom-hours__row.is-closed select {
  opacity: 0.42;
}

.step-continue {
  margin-top: 2px;
  border-color: rgba(229, 172, 8, 0.72);
  background: linear-gradient(135deg, var(--form-gold-start), var(--form-gold-end));
  box-shadow: 0 14px 30px var(--form-gold-shadow), inset 0 1px 0 rgba(255, 250, 222, 0.62);
  color: #111111;
  font-size: clamp(15px, 1.45vw, 19px);
  font-weight: 800;
}

.step-continue:hover {
  box-shadow: 0 19px 38px rgba(229, 172, 8, 0.28), inset 0 1px 0 rgba(255, 250, 222, 0.7);
  filter: brightness(1.045);
}

.step-continue:focus-visible {
  box-shadow: 0 0 0 5px rgba(229, 172, 8, 0.2), 0 19px 38px var(--form-gold-shadow);
}

.step-continue:disabled,
.step-continue:disabled:hover {
  border-color: rgba(229, 172, 8, 0.3);
  background: linear-gradient(135deg, rgba(253, 198, 25, 0.38), rgba(229, 172, 8, 0.3));
  box-shadow: none;
  color: rgba(17, 17, 17, 0.55);
  cursor: not-allowed;
  filter: none;
  opacity: 0.62;
  transform: none;
}

.trait-toolbar {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 9px;
  margin-bottom: 10px;
}

.trait-toolbar > input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  background: #ffffff;
  color: var(--ink);
  font-family: "Exo 2", sans-serif;
  font-size: 14px;
}

.trait-toolbar > input:focus {
  border-color: var(--form-gold-end);
  box-shadow: 0 0 0 4px rgba(229, 172, 8, 0.11);
}

.trait-filters {
  min-width: 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 1px 2px 5px;
  scrollbar-width: thin;
}

.trait-filter {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid #d9e6ea;
  border-radius: 999px;
  outline: none;
  background: #ffffff;
  color: #57717a;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.trait-filter[aria-pressed="true"] {
  border-color: var(--form-gold-end);
  background: var(--form-gold-tint);
  box-shadow: inset 0 0 0 1px var(--form-gold-end);
  color: #111111;
}

.trait-filter:focus-visible {
  box-shadow: 0 0 0 4px rgba(229, 172, 8, 0.15);
}

.trait-grid {
  max-height: 300px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  overflow-y: auto;
  padding: 3px 5px 3px 3px;
  scrollbar-color: rgba(0, 84, 117, 0.28) transparent;
}

.trait-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.trait-option[hidden] {
  display: none;
}

.trait-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.trait-option__surface {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #d9e6ea;
  border-radius: 11px;
  background: #ffffff;
  color: #3e5963;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
  transition: border-color 170ms ease, background 170ms ease, box-shadow 170ms ease, transform 170ms var(--spring), opacity 170ms ease;
}

.trait-option__check {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #cbdade;
  border-radius: 6px;
  background: #f7fafb;
  color: transparent;
  font-size: 10px;
  font-weight: 900;
}

.trait-option:hover .trait-option__surface {
  border-color: var(--form-gold-end);
  transform: translateY(-1px);
}

.trait-option input:focus-visible + .trait-option__surface {
  border-color: var(--form-gold-end);
  box-shadow: 0 0 0 4px rgba(229, 172, 8, 0.15);
}

.trait-option input:checked + .trait-option__surface {
  border-color: var(--form-gold-end);
  background: linear-gradient(135deg, rgba(253, 198, 25, 0.13), rgba(229, 172, 8, 0.06));
  box-shadow: inset 0 0 0 1px var(--form-gold-end), 0 7px 16px rgba(229, 172, 8, 0.12);
  color: #111111;
}

.trait-option input:checked + .trait-option__surface .trait-option__check {
  border-color: var(--form-gold-end);
  background: var(--form-gold-end);
  color: #111111;
}

.trait-picker.is-at-limit .trait-option input:not(:checked):disabled + .trait-option__surface {
  cursor: not-allowed;
  opacity: 0.42;
}

.trait-status {
  min-height: 15px;
  margin: 8px 2px 0;
  color: #708891;
  font-size: 10px;
  font-weight: 600;
}

.review-list {
  display: grid;
  gap: 8px;
}

.review-list:empty {
  display: none;
}

.review-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(229, 172, 8, 0.34);
  border-radius: 12px;
  background: var(--form-gold-tint);
}

.review-card__check {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--form-gold-end);
  color: #111111;
  font-size: 13px;
  font-weight: 900;
}

.review-card__copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.review-card__copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-card__copy small {
  overflow: hidden;
  color: #617a84;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-card__actions {
  display: flex;
  gap: 3px;
}

.review-card__actions button,
.review-composer__head button {
  min-width: 34px;
  min-height: 34px;
  padding: 5px 7px;
  border: 0;
  border-radius: 8px;
  outline: none;
  background: transparent;
  color: #617a84;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.review-card__actions button:hover,
.review-composer__head button:hover {
  background: rgba(229, 172, 8, 0.14);
  color: #111111;
}

.review-card__actions button:focus-visible,
.review-composer__head button:focus-visible {
  box-shadow: 0 0 0 3px rgba(229, 172, 8, 0.18);
}

.review-generate-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  min-height: 40px;
  margin: 6px 0 8px;
  padding: 7px 10px;
  border: 1px solid rgba(229, 172, 8, 0.45);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 249, 230, 0.7);
  color: #594500;
  cursor: pointer;
  font: 700 clamp(10.5px, 3.4vw, 12px) / 1 "Exo 2", sans-serif;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.review-generate-button:hover {
  border-color: rgba(229, 172, 8, 0.72);
  background: rgba(255, 249, 230, 0.96);
}

.review-generate-button:focus-visible {
  box-shadow: 0 0 0 4px rgba(229, 172, 8, 0.16);
}

.review-add-trigger {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 9px;
  border: 1px dashed rgba(229, 172, 8, 0.62);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 249, 230, 0.55);
  color: #594500;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.review-add-trigger:hover {
  border-style: solid;
  background: var(--form-gold-tint);
}

.review-add-trigger:focus-visible {
  box-shadow: 0 0 0 4px rgba(229, 172, 8, 0.16);
}

.review-generate-button[hidden],
.review-add-trigger[hidden],
.review-composer[hidden] {
  display: none;
}

.review-composer {
  margin-top: 9px;
  padding: 13px;
  border: 1px solid rgba(229, 172, 8, 0.4);
  border-radius: 13px;
  background: #ffffff;
  animation: reviewEditorIn 280ms var(--ease) both;
}

.review-composer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review-composer__head strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.review-composer__head button {
  font-size: 20px;
  line-height: 1;
}

.review-fields {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: 10px;
}

.review-fields textarea {
  min-height: 82px;
}

.review-composer__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 9px;
}

.quiet-button {
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid #d9e6ea;
  border-radius: 10px;
  outline: none;
  background: #f8fbfc;
  color: #526e78;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.quiet-button:hover {
  background: #eef5f7;
}

.quiet-button:focus-visible {
  box-shadow: 0 0 0 4px rgba(0, 84, 117, 0.1);
}

.review-composer__actions .gold-small-button {
  min-height: 42px;
}

.logo-methods {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.logo-methods > legend {
  margin-bottom: 9px;
  padding: 0;
}

.logo-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.logo-method {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.logo-method > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.logo-method__surface {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid #d9e6ea;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(0, 58, 80, 0.045);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms var(--spring);
}

.logo-method__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f2f7f8;
  color: #42616c;
  font-size: 21px;
  font-weight: 800;
}

.logo-method__surface > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.logo-method__surface strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.logo-method__surface small {
  color: #748b94;
  font-size: 10px;
  font-weight: 500;
}

.logo-method__surface > i {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border-radius: 50%;
  background: var(--form-gold-end);
  color: #111111;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.5) rotate(-18deg);
  transition: opacity 170ms ease, transform 280ms var(--spring);
}

.logo-method:hover .logo-method__surface {
  border-color: var(--form-gold-end);
  transform: translateY(-2px);
}

.logo-method > input:focus-visible + .logo-method__surface {
  border-color: var(--form-gold-end);
  box-shadow: 0 0 0 4px rgba(229, 172, 8, 0.16);
}

.logo-method > input:checked + .logo-method__surface {
  border-color: var(--form-gold-end);
  background: linear-gradient(135deg, rgba(253, 198, 25, 0.13), rgba(229, 172, 8, 0.06));
  box-shadow: inset 0 0 0 1px var(--form-gold-end), 0 10px 24px rgba(229, 172, 8, 0.14);
}

.logo-method > input:checked + .logo-method__surface .logo-method__icon {
  background: var(--form-gold-end);
  color: #111111;
}

.logo-method > input:checked + .logo-method__surface > i {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.logo-panel {
  padding: 14px;
  border: 1px solid #d9e6ea;
  border-radius: 15px;
  background: #fbfdfe;
  animation: reviewEditorIn 280ms var(--ease) both;
}

.logo-panel[hidden] {
  display: none;
}

.logo-dropzone {
  min-height: 136px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 2px dashed #cbdcdf;
  border-radius: 13px;
  background: #ffffff;
  cursor: pointer;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.logo-dropzone:hover,
.logo-dropzone.is-dragging {
  border-color: var(--form-gold-end);
  background: var(--form-gold-tint);
}

.logo-dropzone:focus-within {
  border-color: var(--form-gold-end);
  box-shadow: 0 0 0 4px rgba(229, 172, 8, 0.15);
}

.logo-dropzone > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.logo-dropzone__prompt {
  display: grid;
  gap: 4px;
}

.logo-dropzone__prompt strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.logo-dropzone__prompt small {
  color: #7b9199;
  font-size: 11px;
}

.logo-preview {
  width: 100%;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  text-align: left;
}

.logo-preview[hidden] {
  display: none;
}

.logo-preview img {
  width: 92px;
  height: 82px;
  display: block;
  object-fit: contain;
  border: 1px solid #e0eaed;
  border-radius: 10px;
  background:
    linear-gradient(45deg, #f1f5f6 25%, transparent 25%, transparent 75%, #f1f5f6 75%),
    linear-gradient(45deg, #f1f5f6 25%, #ffffff 25%, #ffffff 75%, #f1f5f6 75%);
  background-position: 0 0, 8px 8px;
  background-size: 16px 16px;
}

.logo-preview > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.logo-preview strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo-preview small {
  color: #728991;
  font-size: 10px;
}

.text-counter {
  display: block;
  margin-top: 4px;
  color: #82979f;
  font-size: 10px;
  font-weight: 600;
  text-align: right;
}

.color-builder {
  padding-bottom: 15px;
}

.color-control {
  display: grid;
  grid-template-columns: 58px 132px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.color-well {
  position: relative;
  width: 58px;
  height: 52px;
  display: block;
  overflow: hidden;
  border: 1px solid #ccdce0;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
}

.color-well input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.color-well span {
  position: absolute;
  inset: 5px;
  border-radius: 8px;
  background: #005475;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.color-well:focus-within {
  box-shadow: 0 0 0 4px rgba(229, 172, 8, 0.16);
}

.color-hex-shell {
  min-height: 52px;
}

.color-hex-shell > span {
  padding-left: 13px;
  color: #6b828b;
  font-size: 16px;
  font-weight: 700;
}

.color-hex-shell input {
  height: 50px;
  padding: 0 10px 0 2px;
  text-transform: uppercase;
}

.color-presets {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-presets button {
  width: 38px;
  height: 38px;
  padding: 4px;
  border: 1px solid #d5e1e4;
  border-radius: 50%;
  outline: none;
  background: var(--preset-color);
  box-shadow: inset 0 0 0 3px #ffffff, 0 4px 10px rgba(0, 58, 80, 0.09);
  cursor: pointer;
  transition: box-shadow 170ms ease, transform 170ms var(--spring);
}

.color-presets button:hover {
  transform: translateY(-2px);
}

.color-presets button[aria-pressed="true"] {
  box-shadow: inset 0 0 0 3px #ffffff, 0 0 0 3px var(--form-gold-end), 0 6px 14px rgba(229, 172, 8, 0.2);
}

.color-presets button:focus-visible {
  box-shadow: inset 0 0 0 3px #ffffff, 0 0 0 4px rgba(229, 172, 8, 0.2);
}

.brand-form-error {
  margin-top: -7px;
  text-align: center;
}

@keyframes reviewEditorIn {
  from { opacity: 0; transform: translateY(7px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 700px) {
  body[data-quiz-step="2"] .app-shell,
  body[data-quiz-step="3"] .app-shell,
  body[data-quiz-step="4"] .app-shell,
  body[data-quiz-step="5"] .app-shell {
    place-items: start center;
  }

  .builder-card--quiz {
    padding: 20px;
  }

  .step-back {
    margin: -3px 0 9px -3px;
  }

  .quiz-form-header {
    margin-bottom: 17px;
  }

  .quiz-step--form .quiz-form-header h1 {
    font-size: 29px;
  }

  .quiz-step--form .quiz-form-header p {
    font-size: 12px;
  }

  .step-form {
    gap: 13px;
  }

  .step-block {
    padding: 13px;
    border-radius: 14px;
  }

  .details-grid,
  .review-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .custom-hours__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .custom-hours__row {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas:
      "day day closed"
      "open to close";
  }

  .custom-hours__row > strong { grid-area: day; }
  .custom-hours__row select:first-of-type { grid-area: open; }
  .custom-hours__to { grid-area: to; }
  .custom-hours__row select:last-of-type { grid-area: close; }
  .custom-hours__closed { grid-area: closed; }

  .compact-field--wide {
    grid-column: auto;
  }

  .compact-input-shell,
  .compact-add-button {
    min-height: 50px;
  }

  .compact-input-shell input {
    height: 48px;
    font-size: 16px;
  }

  .choice-chip {
    min-height: 42px;
    font-size: 13px;
  }

  .trait-toolbar {
    grid-template-columns: 1fr;
  }

  .trait-toolbar > input {
    min-height: 46px;
    font-size: 16px;
  }

  .trait-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 340px;
  }

  .trait-option__surface {
    min-height: 48px;
    font-size: 12px;
  }

  .logo-method__surface {
    min-height: 76px;
  }

  .color-control {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .color-presets {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .service-entry {
    grid-template-columns: minmax(0, 1fr) 66px;
  }

  .choice-chip-row {
    gap: 6px;
  }

  .trait-grid {
    grid-template-columns: 1fr;
  }

  .logo-method-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .review-card__actions {
    grid-column: 2;
    justify-content: flex-end;
  }

  .step-continue {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .step-back,
  .choice-chip,
  .compact-input-check,
  .trait-option__surface,
  .logo-method__surface,
  .logo-method__surface > i,
  .review-composer,
  .custom-hours,
  .logo-panel,
  .color-presets button {
    animation: none !important;
    transition: none !important;
  }
}

/* ── Theme: white page, teal-gradient quiz container ───────────────────────
   Page is flat #FFFFFF. The quiz container carries a 135° #00719E → #005475
   gradient, and every piece of text that sits DIRECTLY on that gradient is
   #FFFFFF. Inner panels (traits, reviews, colour, custom hours, inputs, chips)
   keep their own light surfaces and dark text.                              */
html,
body,
.ambient {
  background: #ffffff !important;
}

.ambient::before,
.ambient::after,
.ambient__glow {
  display: none !important;
}

.builder-card {
  background: linear-gradient(135deg, #00719e 0%, #005475 100%);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 32px 85px rgba(0, 58, 80, 0.24),
    0 8px 24px rgba(0, 58, 80, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.builder-card::before {
  background: none;
}

.builder-card__spotlight {
  background: radial-gradient(330px circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.1), transparent 68%);
}

/* text directly on the gradient */
.builder-card .style-header h1,
.builder-card .style-header p,
.builder-card > .step-form > .compact-field > label,
.builder-card > .step-form > .logo-methods > legend,
.details-grid > .compact-field > label,
.details-grid > .hours-picker > legend {
  color: #ffffff;
}

/* inline errors that sit on the gradient — light coral so they still read as errors */
#businessNameField > .inline-error,
.brand-form-error,
.details-grid > .compact-field > .inline-error,
.details-grid > .hours-picker > .inline-error {
  color: #ffd0c7;
}

/* keyboard focus on the style cards was teal-on-teal */
.style-option__input:focus-visible + .style-option__surface {
  outline-color: #ffffff;
}

/* translucent gold tints were designed over white; on the teal card they go
   muddy, so paint them over an opaque white base */
.choice-chip.is-selected,
.choice-chip[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(253, 198, 25, 0.14), rgba(229, 172, 8, 0.07)), #ffffff;
}

.logo-method > input:checked + .logo-method__surface {
  background: linear-gradient(135deg, rgba(253, 198, 25, 0.14), rgba(229, 172, 8, 0.07)), #ffffff;
}

/* disabled continue buttons: opaque pale gold instead of see-through gold */
.step-continue:disabled,
.step-continue:disabled:hover,
#styleStep .style-continue:disabled,
#styleStep .style-continue:disabled:hover {
  background: linear-gradient(135deg, #f8e7a9, #f0d67f);
  color: rgba(17, 17, 17, 0.55);
  box-shadow: none;
  opacity: 1;
  filter: none;
}

/* ── Trust strip: centered directly above the quiz card ─────────────────── */
.trust-strip {
  width: min(900px, 100%);
  display: grid;
  justify-items: center;
  gap: 7px;
  margin: 0 0 16px;
  text-align: center;
  font-family: "Exo 2", sans-serif;
  color: #0b2a38;
}

.trust-strip__rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.trust-strip__stars {
  display: inline-flex;
  gap: 2px;
}

.trust-strip__stars svg {
  width: 20px;
  height: 20px;
  display: block;
}

.trust-strip__divider {
  font-weight: 400;
  color: rgba(11, 42, 56, 0.35);
}

.trust-strip__google {
  height: 22px;
  width: auto;
  display: block;
}

.trust-strip__free {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #2a4652;
}

.trust-strip__nocard {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
}

@media (max-width: 420px) {
  .trust-strip__rating { font-size: 15px; gap: 8px; }
  .trust-strip__stars svg { width: 17px; height: 17px; }
  .trust-strip__google { height: 19px; }
  .trust-strip__free { font-size: 13px; }
}

/* ── Headlines live above the card now; badge removed ────────────────────── */
.brand-layer {
  justify-content: flex-start;
}

.quiz-headline {
  width: 100%;
  margin-top: 8px;
}

.quiz-headline h1 {
  margin: 0;
  color: #111111;
  font-family: "Exo 2", sans-serif;
  font-weight: 800;
  font-size: clamp(31px, 3.2vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-align: center;
  text-wrap: balance;
}

.quiz-headline h1:focus {
  outline: none;
}

.quiz-headline h1[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .quiz-headline h1 {
    font-size: 29px;
  }
}

/* continue buttons: white text with a black outline (the old badge treatment) */
.step-continue,
.step-continue:disabled,
.step-continue:disabled:hover,
#styleStep .style-continue,
#styleStep .style-continue:not(:disabled),
#styleStep .style-continue:disabled,
#styleStep .style-continue:disabled:hover {
  color: #ffffff;
  -webkit-text-stroke: 1px #101010;
  paint-order: stroke fill;
  text-shadow: 0 1px 0 rgba(16, 16, 16, 0.9), 0 2px 4px rgba(16, 16, 16, 0.3);
}

/* ── Tuning: rating line matches the free line; tighter desktop top; bigger headlines; black button text ── */
.trust-strip__rating {
  font-size: 14px;
  gap: 8px;
}

.trust-strip__stars svg {
  width: 16px;
  height: 16px;
}

.trust-strip__google {
  height: 16px;
}

@media (max-width: 420px) {
  .trust-strip__rating { font-size: 13px; gap: 7px; }
  .trust-strip__stars svg { width: 15px; height: 15px; }
  .trust-strip__google { height: 15px; }
}

/* desktop: halve the space between the logo row and the content, and pin the
   content to the top instead of centring it in the viewport */
@media (min-width: 601px) {
  .brand-layer {
    padding-top: calc(var(--quiz-progress-height) + env(safe-area-inset-top, 0px) + 8px);
  }

  .app-shell {
    padding-top: 14px;
    align-items: start;
  }
}

.quiz-headline h1 {
  font-size: clamp(34px, 3.5vw, 44px);
}

@media (max-width: 720px) {
  .quiz-headline h1 {
    font-size: 32px;
  }
}

/* continue buttons: black text again, no outline */
.step-continue,
.step-continue:disabled,
.step-continue:disabled:hover,
#styleStep .style-continue,
#styleStep .style-continue:not(:disabled),
#styleStep .style-continue:disabled,
#styleStep .style-continue:disabled:hover {
  color: #111111;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.step-continue:disabled,
.step-continue:disabled:hover,
#styleStep .style-continue:disabled,
#styleStep .style-continue:disabled:hover {
  color: rgba(17, 17, 17, 0.55);
}

/* mobile: the button text was far smaller than the button */
@media (max-width: 600px) {
  .step-continue {
    font-size: 18px;
  }

  #styleStep .style-continue .continue-button__label {
    font-size: 18px;
  }
}

/* ── Green "free" pill · Quick Add removed · live-site hint ─────────────── */
.trust-strip__free {
  gap: 7px;
  padding: 6px 11px 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1fa955 0%, #15803d 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.28);
}

.trust-strip__nocard {
  width: 18px;
  height: 18px;
}

/* the hint sits at the header's right edge; the endpoint dot shares the same inset so the
   tether from the pill lands exactly on it */
:root {
  --hint-inset: clamp(24px, 3vw, 46px);
  --hint-gap: 8px;
}

.brand-layer {
  justify-content: space-between;
}

.quiz-progress-end {
  position: fixed;
  z-index: 121;
  top: calc(env(safe-area-inset-top, 0px) + var(--quiz-progress-height) / 2);
  right: calc(var(--hint-inset) + 13px);
  width: 10px;
  height: 10px;
  margin: -5px -5px 0 0;
  border-radius: 50%;
  background: #fdc619;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 0 0 0 rgba(253, 198, 25, 0.85);
  animation: liveDotPulse 1.6s ease-out infinite;
  pointer-events: none;
}

.live-hint {
  position: relative;
  flex: 0 0 auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00719e 0%, #005475 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 6px 14px rgba(0, 84, 117, 0.28);
}

.live-hint::before {
  /* dashed tether running from the pill up to the glowing endpoint */
  content: "";
  position: absolute;
  right: 12px;
  bottom: 100%;
  width: 2px;
  height: var(--hint-gap);
  background: repeating-linear-gradient(180deg, #fdc619 0 3px, transparent 3px 6px);
  animation: liveHintFlow 900ms linear infinite;
}

.live-hint__eye {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transform-origin: 50% 50%;
  animation: liveHintBlink 4.2s ease-in-out infinite;
}

@keyframes liveDotPulse {
  0%   { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 0 0 0 rgba(253, 198, 25, 0.85); }
  70%  { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 0 0 10px rgba(253, 198, 25, 0); }
  100% { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 0 0 0 rgba(253, 198, 25, 0); }
}

@keyframes liveHintBlink {
  0%, 90%, 100% { transform: scaleY(1); }
  95%           { transform: scaleY(0.12); }
}

@keyframes liveHintFlow {
  to { background-position: 0 -6px; }
}

@media (max-width: 600px) {
  :root {
    --hint-inset: 12px;
    --hint-gap: 10px;
  }

  .live-hint {
    height: 28px;
    padding: 0 10px 0 9px;
    font-size: 11px;
  }

  .live-hint__eye {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 420px) {
  .trust-strip__free {
    padding: 5px 10px;
  }
}

@media (max-width: 380px) {
  :root {
    --hint-inset: 8px;
  }

  /* keep the logo and the hint on one row so the header never grows */
  .brand-layer {
    flex-wrap: nowrap;
  }

  .brand-cluster {
    flex: 0 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-progress-end,
  .live-hint__eye,
  .live-hint::before {
    animation: none;
  }
}

/* ── Live hint v2: button gold, outlined white text, real eye emoji; endpoint dot in the
      true top-right corner with an elbow tether (right, then up) and a stronger flash ─── */
.live-hint {
  gap: 5px;
  padding: 0 12px 0 9px;
  background: linear-gradient(135deg, #fdc619 0%, #e5ac08 100%);
  color: #ffffff;
  font-weight: 800;
  text-shadow:
    -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000,
    0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000, 1px 0 0 #000;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16), 0 6px 14px rgba(229, 172, 8, 0.38);
}

.live-hint__eye {
  width: auto;
  height: auto;
  font-size: 15px;
  line-height: 1;
  text-shadow: none;
}

/* elbow: out of the pill's right edge at mid-height, then straight up into the dot column */
.live-hint::before {
  right: auto;
  left: 100%;
  bottom: 50%;
  width: max(2px, calc(var(--hint-inset) - 7px));
  height: calc(50% + var(--hint-gap));
  background: none;
  border-right: 2px dashed #fdc619;
  border-bottom: 2px dashed #fdc619;
  border-bottom-right-radius: 10px;
  animation: none;
}

.quiz-progress-end {
  right: 2px;                       /* dot centre 8px from the screen edge */
  width: 12px;
  height: 12px;
  margin: -6px 0 0 0;
  animation: liveDotFlash 1.2s ease-out infinite;
}

@keyframes liveDotFlash {
  0% {
    background: #fdc619;
    box-shadow: 0 0 0 2px #ffffff, 0 0 10px 3px rgba(253, 198, 25, 0.95), 0 0 0 0 rgba(253, 198, 25, 0.9);
  }
  45% {
    background: #fff4b8;
    box-shadow: 0 0 0 2px #ffffff, 0 0 16px 6px rgba(253, 198, 25, 1), 0 0 0 14px rgba(253, 198, 25, 0);
  }
  100% {
    background: #fdc619;
    box-shadow: 0 0 0 2px #ffffff, 0 0 10px 3px rgba(253, 198, 25, 0.95), 0 0 0 0 rgba(253, 198, 25, 0);
  }
}

@media (max-width: 600px) {
  .live-hint {
    padding: 0 10px 0 8px;
  }

  .live-hint__eye {
    font-size: 14px;
  }
}

/* ── Site footer: replica of the coach.erio.ai footer (#container-widget-1752263698607).
      Markup is the original builder output; these rules reproduce the theme CSS it relied on. ── */
@font-face {
  font-family: "Basiersquare";
  src: url("./assets/basiersquare-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Basiersquare Bold";
  src: url("./assets/basiersquare-bold.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("./assets/opensans-regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 0;
}

.site-footer .grid-row {
  display: flow-root;
  width: 100%;
  padding-right: 0;
  font: 400 16px/16px HelveticaNeue, Arial, "Open Sans", "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #222222;
  text-align: left;
}

.site-footer .grid-content {
  display: flex;
  flex-wrap: nowrap;
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
}

.site-footer .grid-column {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-width: 0;
}

.site-footer .widget-row {
  display: flow-root;
  width: 100%;
}

.site-footer .widget {
  display: flow-root;
  width: 100%;
}

.site-footer .textWidget {
  padding: 5px 0;
}

.site-footer .widget-row.erio-footer-phone {
  display: none;
}

.site-footer .col13 { width: 65%; }
.site-footer .col16 { width: 80%; }
.site-footer .col20 { width: 100%; }

.site-footer .text-widget-content {
  font: 400 14px/14px "Open Sans", Arial, sans-serif;
  color: #222222;
  text-align: left;
}

.site-footer .text-widget-content h3 {
  margin: 0;
  font: 400 32px/1em "Basiersquare Bold", arial, sans-serif;
  color: #000000;
  letter-spacing: normal;
}

.site-footer .text-widget-content h4 {
  margin: 0;
  font: 400 24px/1em Basiersquare, arial, sans-serif;
  color: rgb(47, 47, 47);
  letter-spacing: normal;
}

.site-footer .text-widget-content p {
  margin: 0;
  font: 400 15px/1.6em "Open Sans", arial, sans-serif;
  color: #3e3e3e;
  letter-spacing: normal;
}

.site-footer .text-widget-content a {
  color: rgba(0, 45, 65, 1);
  text-decoration: underline;
}

.site-footer .text-widget-content img {
  max-width: 100%;
}

.site-footer .hr-title {
  height: 10px;
  margin: 15px 0;
  font-size: 16px;
  line-height: 20px;
  text-align: left;
}

.site-footer .hr-title span {
  display: inline-block;
  vertical-align: baseline;
  box-sizing: content-box;
  width: 100%;
  height: 0;
  padding: 4px 0;
  border-top: 2px solid rgb(0, 84, 117);
  font-size: 16px;
  line-height: 20px;
}

.site-footer .spacer .widget-preserving-ratio-outer {
  position: relative;
  width: 100%;
}

.site-footer .spacer .widget-preserving-ratio-inner {
  position: absolute;
  inset: 0;
}

@media (max-width: 1024px) {
  .site-footer .grid-content {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .site-footer .grid-content {
    flex-direction: column;
  }

  .site-footer .grid-column {
    width: 100% !important;
  }

  .site-footer .widget-row.erio-footer-phone {
    display: flow-root;
  }

  .site-footer .text-widget-content h3 {
    font-family: "Open Sans", arial, sans-serif;
    font-size: 26px !important;
    color: #3e3e3e;
  }

  .site-footer .text-widget-content h4 {
    font-family: "Open Sans", arial, sans-serif;
    font-size: 22px !important;
    color: #3e3e3e;
  }

  .site-footer .text-widget-content h3 span,
  .site-footer .text-widget-content h4 span {
    font-size: inherit !important;
  }

  .site-footer .text-widget-content p {
    font-family: "Open Sans", arial, sans-serif;
    font-size: 14px !important;
    color: #3e3e3e;
  }

  .site-footer .spacer {
    height: 35px;
    max-height: 720px;
  }

  .site-footer .col13,
  .site-footer .col16 {
    width: 100%;
  }
}

/* ── Flash reviews: one Google review card at a time, bottom-left ───────────────── */
.flash-review {
  position: fixed;
  z-index: 100;
  left: 16px;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  max-width: calc(100vw - 32px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 320ms ease, transform 380ms var(--spring);
  pointer-events: none;   /* never blocks the buttons underneath */
}

.flash-review.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* stepping aside from a button, field or footer text it would otherwise cover */
.flash-review.is-dodging {
  opacity: 0;
  transform: translateY(14px);
}

/* stay out of the way while the quiz's own toast is up */
body:has(.toast.is-visible) .flash-review {
  opacity: 0;
}

.flash-review__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 18px 11px 14px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(11, 42, 56, 0.16), 0 1px 3px rgba(11, 42, 56, 0.08);
  color: #1f2a30;
  font-family: "Exo 2", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  white-space: nowrap;
}

.flash-review__g {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.flash-review__rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #f2b01e;
}

.flash-review__number {
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.flash-review__stars {
  display: inline-flex;
  gap: 1px;
}

.flash-review__star {
  width: 15px;
  height: 15px;
}

.flash-review__person {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-left: 14px;
  border-left: 1px solid #e6ecef;
}

.flash-review__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: #e9eef1;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.flash-review__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flash-review__name {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  color: #1f2a30;
}

@media (max-width: 600px) {
  .flash-review {
    left: 12px;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    max-width: calc(100vw - 24px);
  }

  .flash-review__card {
    gap: 11px;
    padding: 10px 14px 10px 12px;
  }

  .flash-review__person {
    padding-left: 11px;
  }

  .flash-review__name {
    font-size: 13px;
  }
}

/* narrow phones: tighter card so the longest name still fits in full */
.flash-review__card {
  min-width: 0;
  max-width: 100%;
}

.flash-review__person {
  min-width: 0;
}

.flash-review__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;   /* room for descenders inside the clipped box; the avatar still sets the row height */
}

@media (max-width: 360px) {
  .flash-review__card {
    gap: 8px;
    padding: 9px 10px 9px 10px;
  }

  .flash-review__g {
    width: 18px;
    height: 18px;
  }

  .flash-review__number {
    font-size: 13px;
  }

  .flash-review__star {
    width: 12px;
    height: 12px;
  }

  .flash-review__person {
    gap: 7px;
    padding-left: 8px;
  }

  .flash-review__avatar {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .flash-review__name {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flash-review {
    transform: none;
    transition: opacity 200ms ease;
  }

  .flash-review.is-visible,
  .flash-review.is-dodging {
    transform: none;
  }
}

/* ── Continue buttons: the same text treatment as the "See Website" pill ─────────── */
.continue-button,
.continue-button:disabled,
.continue-button:disabled:hover,
.step-continue,
.step-continue:disabled,
.step-continue:disabled:hover,
#styleStep .style-continue,
#styleStep .style-continue:not(:disabled),
#styleStep .style-continue:disabled,
#styleStep .style-continue:disabled:hover {
  color: #ffffff;
  -webkit-text-stroke: 0;
  text-shadow:
    -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000,
    0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000, 1px 0 0 #000;
}

.continue-button__label,
.continue-button__arrow {
  color: inherit;
  text-shadow: inherit;
}

.continue-button__arrow {
  font-weight: 700;
}

/* ── Phones: step 1 is a one-style-per-view carousel with dots and a hint ─────────── */
.style-pager {
  display: none;
}

@media (max-width: 600px) {
  .style-grid {
    display: flex;
    width: calc(100% + 8px);
    min-width: 0;             /* fieldsets default to min-content width, which would let the row grow past the card */
    min-inline-size: 0;
    gap: 12px;
    margin: 0 -4px;
    padding: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .style-grid::-webkit-scrollbar {
    display: none;
  }

  .style-option {
    flex: 0 0 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .style-pager {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    margin: 12px 0 2px;
  }

  .style-pager[hidden] {
    display: none;
  }

  .style-pager__dots {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .style-pager__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 220ms var(--ease), background-color 220ms ease;
  }

  .style-pager__dot[aria-current="true"] {
    width: 20px;
    background: #ffffff;
  }

  .style-pager__dot:focus-visible {
    outline: 2px solid #fdc619;
    outline-offset: 3px;
  }

  .style-pager__hint {
    margin: 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    opacity: 0.92;
  }
}

/* short phones: shrink the style preview before the Next button drops below the fold */
@media (max-width: 600px) {
  .style-option__image {
    max-height: clamp(120px, calc(100vh - 547px), 400px);
    max-height: clamp(120px, calc(100svh - 547px), 400px);
  }
}

/* phone carousel refinements: room for the focus ring, no clipped shadows/entrance, later and
   crop-based short-phone cap, tappable dots */
@media (max-width: 600px) {
  .style-grid {
    width: calc(100% + 16px);
    margin: 0 -8px;
    padding: 8px;
  }

  .style-option {
    animation: none;
  }

  .style-option__input:checked + .style-option__surface,
  #styleStep .style-option__input:checked + .style-option__surface {
    box-shadow: 0 0 0 2px var(--style-gold-end, #e5ac08);
  }

  .style-option__image {
    max-height: clamp(110px, calc(100vh - 440px), 400px);
    max-height: clamp(110px, calc(100svh - 440px), 400px);
  }

  .style-pager__dots {
    gap: 0;
  }

  .style-pager__dot {
    width: 24px;
    height: 24px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.7);
    background-clip: content-box;
  }

  .style-pager__dot[aria-current="true"] {
    width: 36px;
    background-color: #ffffff;
    background-clip: content-box;
  }
}

@media (max-width: 600px) and (max-height: 600px) {
  .style-option__image img {
    object-fit: cover;   /* when the preview must shrink, crop a little rather than letterbox */
  }
}

/* ── Mobile fixes: thicker button outline (scales with the 18px text), rigid check circle,
      and the See Website tether now animates toward the end dot ───────────────────────── */
@media (max-width: 600px) {
  .continue-button,
  .continue-button:disabled,
  .continue-button:disabled:hover,
  .step-continue,
  .step-continue:disabled,
  .step-continue:disabled:hover,
  #styleStep .style-continue,
  #styleStep .style-continue:not(:disabled),
  #styleStep .style-continue:disabled,
  #styleStep .style-continue:disabled:hover {
    text-shadow:
      -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000, 1.5px 1.5px 0 #000,
      0 -1.5px 0 #000, 0 1.5px 0 #000, -1.5px 0 0 #000, 1.5px 0 0 #000;
  }
}

.logo-method__surface > i {
  flex: 0 0 23px;
  min-width: 23px;
  aspect-ratio: 1;
  line-height: 1;
}

:root {
  --hint-shift: 0px;   /* how far the pill is pulled left of its inset so the tether's horizontal run shows */
}

.live-hint {
  margin-right: var(--hint-shift);
}

/* horizontal run: from the pill's right edge to the dot's column, dashes travelling right */
.live-hint::before {
  left: 100%;
  right: auto;
  top: auto;
  bottom: calc(50% - 1px);
  width: calc(var(--hint-inset) + var(--hint-shift) - 7px);
  height: 2px;
  border: 0;
  border-radius: 0;
  background: repeating-linear-gradient(90deg, #fdc619 0 4px, transparent 4px 8px);
  background-size: 8px 2px;
  animation: liveTetherRun 700ms linear infinite;
}

/* vertical run: from the corner up to the progress bar, dashes travelling up into the dot */
.live-hint::after {
  content: "";
  position: absolute;
  left: calc(100% + var(--hint-inset) + var(--hint-shift) - 9px);
  bottom: 50%;
  width: 2px;
  height: calc(50% + var(--hint-gap));
  background: repeating-linear-gradient(0deg, #fdc619 0 4px, transparent 4px 8px);
  background-size: 2px 8px;
  animation: liveTetherRise 700ms linear infinite;
}

@keyframes liveTetherRun {
  to { background-position: 8px 0; }
}

@keyframes liveTetherRise {
  to { background-position: 0 -8px; }
}

@media (max-width: 600px) {
  :root {
    --hint-shift: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-hint::before,
  .live-hint::after {
    animation: none;
  }
}

/* very narrow phones (≤340px): the headline wraps to three lines, so trim it and the preview a little */
@media (max-width: 340px) {
  .quiz-headline h1 {
    font-size: 26px;
  }

  .style-option__image {
    max-height: clamp(100px, calc(100vh - 440px), 400px);
    max-height: clamp(100px, calc(100svh - 440px), 400px);
  }

  .style-pager {
    margin: 8px 0 0;
  }
}

/* ── No forced full-screen height: the footer follows the container after a small margin ── */
.app-shell {
  min-height: 0;
  padding-bottom: 48px;   /* same distance to the footer as the generating page */
}

/* ── Safari/WebKit: a leftover paint-order:stroke made WebKit skip the text outline on buttons ── */
.continue-button,
.continue-button *,
.step-continue,
.step-continue *,
#styleStep .style-continue,
#styleStep .style-continue * {
  paint-order: normal;
}


/* flash review card: the rating number in black, stars stay gold */
.flash-review__number {
  color: #111111;
}
