:root {
  --orange: #ff5a12;
  --orange-dark: #df4300;
  --orange-soft: #fff1e9;
  --navy: #082b67;
  --navy-deep: #031c49;
  --cyan: #28aaf2;
  --cyan-soft: #e9f7ff;
  --text: #0c1d3d;
  --muted: #66728a;
  --line: #e5eaf2;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --success: #178a57;
  --success-soft: #e8f8f0;
  --shadow-sm: 0 8px 22px rgba(8, 43, 103, 0.07);
  --shadow-md: 0 18px 48px rgba(8, 43, 103, 0.11);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --max-width: 500px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 4%, rgba(40, 170, 242, 0.10), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(255, 90, 18, 0.08), transparent 24rem),
    #f4f7fb;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, a { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

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

.app-shell {
  position: relative;
  width: min(100%, var(--max-width));
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 0 0 1px rgba(8, 43, 103, 0.04), 0 30px 80px rgba(8, 43, 103, 0.13);
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  min-height: 74px;
  padding: 10px 16px 8px;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(229,234,242,0.72);
  backdrop-filter: blur(18px);
}

.logo-link { justify-self: center; }
.logo-link img {
  width: 124px;
  height: 39px;
  object-fit: contain;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 15px;
  background: transparent;
  cursor: pointer;
}
.icon-button:hover { background: var(--surface-soft); }
.icon-button:focus-visible,
.primary-button:focus-visible,
.secondary-button:focus-visible,
.service-card:focus-visible,
.need-option:focus-visible,
.current-location-button:focus-visible,
.saved-location-button:focus-visible,
.location-input-wrap:focus-within,
.contact-card:focus-visible,
.text-button:focus-visible,
.back-link:focus-visible,
.carousel-arrow:focus-visible {
  outline: 3px solid rgba(40, 170, 242, 0.35);
  outline-offset: 2px;
}
.header-icon { width: 23px; height: 23px; stroke: var(--navy); stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.header-action { position: relative; }
.header-action::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px #fff;
}

.page { padding: 24px 18px 132px; }
.compact-page { padding-top: 14px; }
.auth-page { min-height: calc(100dvh - 74px); }

.hero { padding: 8px 4px 18px; text-align: center; }
.eyebrow,
.step-label {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1,
.page-intro h1,
.auth-card h1,
.success-hero h1 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(2rem, 9vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.hero h1 span,
.success-hero h1 span { color: var(--orange); }
.hero > p:last-child,
.page-intro > p,
.auth-card > p,
.success-hero > p {
  margin: 14px auto 0;
  max-width: 390px;
  color: var(--muted);
  font-size: 0.99rem;
}

.brand-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 4px 0 26px;
  padding: 22px;
  border: 1px solid rgba(40, 170, 242, 0.24);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(233,247,255,0.94), rgba(255,255,255,0.98) 62%),
    var(--surface);
  box-shadow: var(--shadow-sm);
}
.brand-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 220px;
  height: 220px;
  right: -110px;
  top: -112px;
  border: 30px solid rgba(8, 43, 103, 0.035);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(40, 170, 242, 0.026), 0 0 0 55px rgba(255, 90, 18, 0.018);
}
.brand-panel__line {
  width: 52px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}
.brand-panel h2 { margin: 0; max-width: 340px; color: var(--navy-deep); font-size: 1.24rem; line-height: 1.32; letter-spacing: -0.02em; }
.brand-panel > p { margin: 10px 0 18px; max-width: 390px; color: var(--muted); font-size: 0.92rem; }
.brand-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.brand-values span {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid rgba(8, 43, 103, 0.08);
  border-radius: 13px;
  background: rgba(255,255,255,0.82);
  color: var(--muted);
  font-size: 0.73rem;
  text-align: center;
}
.brand-values b { display: block; color: var(--navy); font-size: 0.78rem; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 0 2px 14px; }
.section-heading h2,
.page-intro h2,
.what-next h2,
.faq-section h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}
.section-heading .step-label { margin-bottom: 2px; }
.swipe-hint { flex: 0 0 auto; color: var(--muted); font-size: 0.77rem; }
.carousel-wrap { position: relative; }
.service-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 132px;
  gap: 12px;
  overflow-x: auto;
  padding: 3px 22px 14px 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.service-carousel::-webkit-scrollbar { display: none; }
.service-card {
  position: relative;
  min-height: 142px;
  padding: 16px 12px 13px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(8,43,103,0.055);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.service-card:hover { transform: translateY(-2px); border-color: rgba(8,43,103,0.18); }
.service-card[aria-selected="true"] {
  border-color: var(--orange);
  background: linear-gradient(160deg, #fff 34%, var(--orange-soft));
  box-shadow: 0 13px 30px rgba(255,90,18,0.14);
}
.service-card[aria-selected="true"]::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}
.service-icon-wrap {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--navy);
  border-radius: 15px;
  background: var(--cyan-soft);
  transition: color 180ms ease, background 180ms ease;
}
.service-card:nth-child(3n+2) .service-icon-wrap { background: var(--orange-soft); }
.service-card:nth-child(3n) .service-icon-wrap { background: #f1efff; }
.service-card[aria-selected="true"] .service-icon-wrap { color: var(--orange); background: #fff; }
.service-icon { width: 27px; height: 27px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.service-card strong { color: var(--navy-deep); font-size: 0.93rem; line-height: 1.2; text-align: left; }
.service-card small { color: var(--muted); font-size: 0.69rem; }
.selection-feedback { margin: 2px 4px 0; min-height: 22px; color: var(--muted); font-size: 0.82rem; }
.carousel-arrow { display: none; }

.sticky-action {
  position: fixed;
  z-index: 24;
  bottom: 0;
  left: 50%;
  width: min(100%, var(--max-width));
  transform: translateX(-50%);
  padding: 14px 18px calc(12px + var(--safe-bottom));
  border-top: 1px solid rgba(229,234,242,0.85);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(18px);
}
.sticky-action > p { margin: 8px 2px 0; color: var(--muted); font-size: 0.72rem; text-align: center; }
.primary-button,
.secondary-button {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.primary-button {
  border: 0;
  color: #fff;
  background: linear-gradient(110deg, var(--navy-deep), var(--navy));
  box-shadow: 0 14px 30px rgba(8,43,103,0.22);
}
.primary-button:hover:not(:disabled) { filter: brightness(1.08); }
.primary-button:active:not(:disabled) { transform: translateY(1px); }
.primary-button:disabled { cursor: not-allowed; opacity: 0.44; box-shadow: none; }
.button-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  font-size: 1.2rem;
}
.primary-button > span:first-child { margin-left: auto; }
.secondary-button {
  border: 1px solid rgba(8,43,103,0.18);
  color: var(--navy);
  background: #fff;
}
.text-button { border: 0; padding: 4px; color: var(--orange); background: transparent; font-weight: 800; cursor: pointer; }
.text-button:disabled { color: #a4adbd; cursor: not-allowed; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 7px 4px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}
.page-intro h1 { font-size: 2.1rem; }
.page-intro h2 { margin-top: 24px; }
.selected-service-title {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-soft);
}
.selected-service-title p { margin: 0 0 3px; color: var(--muted); font-size: 0.76rem; }
.selected-service-title h1 { font-size: 1.35rem; }
.service-icon-badge { display: grid; place-items: center; width: 48px; height: 48px; color: var(--navy); border-radius: 15px; background: var(--cyan-soft); }
.service-icon-badge .service-icon { width: 26px; height: 26px; }

.need-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.need-option {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--navy-deep);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(8,43,103,0.05);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.need-option:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(8,43,103,0.09); }
.need-option:active { transform: scale(0.985); }
.need-option[aria-checked="true"] {
  border-color: var(--orange);
  background: #fff9f5;
  box-shadow: 0 10px 22px rgba(255,90,18,0.13), inset 0 0 0 1px rgba(255,90,18,0.15);
}
.need-option__visual {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  background: var(--surface-soft);
}
.need-option__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(3,28,73,0.06));
}
.need-option__visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}
.need-option:hover .need-option__visual img { transform: scale(1.035); }
.need-option[aria-checked="true"] .need-option__visual img { filter: saturate(1.06) contrast(1.02); }
.need-option strong {
  display: -webkit-box;
  min-height: 39px;
  padding: 7px 7px 8px;
  overflow: hidden;
  color: var(--navy-deep);
  font-size: 0.72rem;
  line-height: 1.18;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.need-option__check {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 7px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  color: transparent;
  background: rgba(3,28,73,0.42);
  box-shadow: 0 3px 9px rgba(3,28,73,0.16);
  font-size: 0.64rem;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.78);
  transition: opacity 160ms ease, transform 160ms ease, color 160ms ease, background 160ms ease;
}
.need-option[aria-checked="true"] .need-option__check {
  border-color: #fff;
  color: #fff;
  background: var(--orange);
  opacity: 1;
  transform: scale(1);
}
body[data-page="need"] .compact-page { padding-top: 10px; padding-bottom: 142px; }
body[data-page="need"] .back-link { margin-bottom: 12px; }
body[data-page="need"] .selected-service-title { padding: 11px 12px; border-radius: 17px; }
body[data-page="need"] .selected-service-title h1 { font-size: 1.14rem; }
body[data-page="need"] .selected-service-title .service-icon-badge { width: 40px; height: 40px; border-radius: 12px; }
body[data-page="need"] .selected-service-title .service-icon { width: 22px; height: 22px; }
body[data-page="need"] .page-intro h2 { margin-top: 17px; font-size: 1.33rem; }
body[data-page="need"] .page-intro > p { margin-top: 7px; font-size: 0.87rem; }

/* Location selection */
.location-page { padding-bottom: 148px; }
.location-intro h1 { font-size: clamp(2rem, 8.7vw, 2.45rem); }
.location-request-summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  margin-top: 20px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}
.location-request-summary .service-icon-badge { width: 46px; height: 46px; border-radius: 14px; }
.location-request-summary strong,
.location-request-summary span { display: block; }
.location-request-summary strong { color: var(--navy-deep); font-size: 0.91rem; }
.location-request-summary span { margin-top: 2px; color: var(--muted); font-size: 0.76rem; }
.location-card {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.location-card h2 { margin: 0 0 14px; color: var(--navy-deep); font-size: 1.08rem; }
.current-location-button {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 13px;
  border: 1px solid rgba(40,170,242,0.22);
  border-radius: 18px;
  color: var(--navy-deep);
  background: linear-gradient(135deg, var(--cyan-soft), #fff 72%);
  text-align: left;
  cursor: pointer;
}
.current-location-button:disabled { cursor: wait; opacity: 0.75; }
.location-action-icon,
.location-input-wrap > span {
  display: grid;
  place-items: center;
  color: var(--cyan);
}
.location-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(8,43,103,0.07);
}
.location-inline-icon { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.current-location-button strong,
.current-location-button small { display: block; }
.current-location-button strong { font-size: 0.9rem; }
.current-location-button small { margin-top: 3px; color: var(--muted); font-size: 0.72rem; }
.location-action-arrow { justify-self: end; color: var(--navy); font-size: 1.18rem; }
.current-location-button.is-loading .location-action-icon { animation: locationPulse 1s ease-in-out infinite alternate; }
.location-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 17px 0;
  color: #99a3b4;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.location-divider::before,
.location-divider::after { content: ""; height: 1px; background: var(--line); }
#manual-location-form label { display: block; margin-bottom: 8px; color: var(--navy); font-size: 0.8rem; font-weight: 800; }
.location-input-wrap {
  min-height: 56px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.location-input-wrap:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(40,170,242,0.10); outline: 0; }
.location-input-wrap > span { height: 100%; border-right: 1px solid var(--line); color: var(--navy); }
.location-input-wrap input { width: 100%; min-width: 0; height: 54px; padding: 0 13px; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 0.93rem; }
.saved-location-button {
  width: 100%;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  margin-top: 5px;
  padding: 11px 12px;
  border: 1px dashed #cbd3df;
  border-radius: 15px;
  color: var(--navy-deep);
  background: var(--surface-soft);
  text-align: left;
  cursor: pointer;
}
.saved-location-button > span:first-child { color: var(--orange); font-size: 1.15rem; font-weight: 900; }
.saved-location-button small,
.saved-location-button strong { display: block; }
.saved-location-button small { color: var(--muted); font-size: 0.67rem; }
.saved-location-button strong { margin-top: 1px; overflow: hidden; font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
.selected-location {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 13px;
  padding: 13px;
  border: 1px solid rgba(23,138,87,0.18);
  border-radius: 16px;
  background: var(--success-soft);
}
.selected-location__check { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--success); font-size: 0.75rem; font-weight: 900; }
.selected-location small,
.selected-location strong,
.selected-location em { display: block; }
.selected-location small { color: var(--success); font-size: 0.67rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.selected-location strong { margin-top: 2px; color: var(--navy-deep); font-size: 0.86rem; }
.selected-location em { margin-top: 3px; color: var(--muted); font-size: 0.7rem; font-style: normal; line-height: 1.35; }
@keyframes locationPulse { from { transform: scale(0.92); opacity: 0.66; } to { transform: scale(1.04); opacity: 1; } }

.auth-shell { background: linear-gradient(180deg, #fff, #f7f9fc); }
.auth-card {
  margin-top: 8px;
  padding: 26px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.auth-card h1 { font-size: 2rem; }
.auth-card form { margin-top: 26px; text-align: left; }
.auth-card label { display: block; margin-bottom: 8px; color: var(--navy); font-size: 0.82rem; font-weight: 800; }
.auth-mark { position: relative; display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 24px; background: var(--cyan-soft); }
.auth-mark::before { content: ""; width: 23px; height: 34px; border: 2px solid var(--navy); border-radius: 6px; }
.auth-mark::after { content: ""; position: absolute; bottom: 25px; width: 6px; height: 2px; border-radius: 2px; background: var(--orange); }
.auth-mark--secure::before { width: 28px; height: 23px; border-radius: 7px; }
.auth-mark--secure::after { bottom: 32px; width: 13px; height: 10px; border: 2px solid var(--navy); border-bottom: 0; background: transparent; border-radius: 9px 9px 0 0; }
.phone-input {
  display: grid;
  grid-template-columns: 66px 1fr;
  min-height: 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.phone-input:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(40,170,242,0.10); }
.phone-input span { display: grid; place-items: center; border-right: 1px solid var(--line); color: var(--navy); font-weight: 800; }
.phone-input input { width: 100%; border: 0; outline: 0; padding: 0 14px; color: var(--text); background: transparent; font-size: 1rem; }
.field-error { min-height: 22px; margin: 7px 2px; color: #c8322a; font-size: 0.78rem; }
.privacy-note { margin-top: 18px !important; color: var(--muted); font-size: 0.76rem !important; }
.demo-note { padding-top: 14px; border-top: 1px dashed var(--line); }
.otp-fieldset { padding: 0; border: 0; }
.otp-inputs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.otp-inputs input {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  color: var(--navy-deep);
  background: var(--surface-soft);
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
}
.otp-inputs input:focus { border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 3px rgba(40,170,242,0.10); }
.resend-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; margin: 0 2px 14px; color: var(--muted); font-size: 0.76rem; }

.success-page { padding-bottom: 50px; }
.success-hero { padding: 24px 4px 18px; text-align: center; }
.success-check {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--cyan), #53c7ff);
  box-shadow: 0 16px 36px rgba(40,170,242,0.24);
  font-size: 2.6rem;
  font-weight: 900;
}
.success-hero h1 { font-size: 2.2rem; }
.summary-card,
.what-next,
.support-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.summary-card { display: grid; gap: 0; }
.summary-card > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary-card > div:last-child { border-bottom: 0; }
.summary-card span { color: var(--muted); font-size: 0.8rem; }
.summary-card strong { color: var(--navy-deep); font-size: 0.85rem; text-align: right; }
.status-pill { padding: 4px 9px; border-radius: 999px; color: var(--success) !important; background: var(--success-soft); }
.what-next ol { list-style: none; margin: 15px 0 0; padding: 0; display: grid; gap: 12px; }
.what-next li { display: grid; grid-template-columns: 30px 1fr; gap: 11px; align-items: start; }
.what-next li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--navy); background: var(--cyan-soft); font-size: 0.75rem; font-weight: 900; }
.what-next p { margin: 3px 0 0; color: var(--muted); font-size: 0.86rem; }
.stacked-actions { display: grid; gap: 10px; margin-top: 20px; }

.requests-page { padding-bottom: 50px; }
.request-list { display: grid; gap: 12px; margin-top: 22px; }
.request-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.request-card .service-icon-badge { width: 44px; height: 44px; border-radius: 14px; }
.request-card h2 { margin: 0; color: var(--navy-deep); font-size: 0.98rem; }
.request-card p { margin: 3px 0 0; color: var(--muted); font-size: 0.73rem; }
.request-card .request-status { align-self: start; padding: 5px 8px; border-radius: 999px; color: var(--navy); background: var(--cyan-soft); font-size: 0.65rem; font-weight: 900; }
.empty-state { padding: 32px 18px; border: 1px dashed #cfd6e2; border-radius: 22px; text-align: center; }
.empty-state h2 { margin: 0; color: var(--navy-deep); font-size: 1.1rem; }
.empty-state p { margin: 8px 0 18px; color: var(--muted); font-size: 0.84rem; }
.support-card { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.support-card h2 { margin: 0; color: var(--navy-deep); font-size: 1.08rem; }
.support-card p { margin: 7px 0 0; color: var(--muted); font-size: 0.8rem; }
.support-card .secondary-button { width: auto; min-width: 112px; min-height: 44px; padding: 0 14px; }

.help-page { padding-bottom: 50px; }
.contact-options { display: grid; gap: 12px; margin-top: 22px; }
.contact-card {
  width: 100%;
  display: grid;
  grid-template-columns: 46px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--navy-deep);
  background: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.contact-symbol { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: var(--navy); background: var(--cyan-soft); font-weight: 900; }
.contact-card strong, .contact-card small { display: block; }
.contact-card strong { font-size: 0.92rem; }
.contact-card small { margin-top: 3px; color: var(--muted); font-size: 0.72rem; }
.contact-card > b { color: var(--orange); font-size: 1.15rem; }
.faq-section { margin-top: 28px; }
.faq-section details { border-bottom: 1px solid var(--line); }
.faq-section summary { padding: 17px 2px; color: var(--navy-deep); font-weight: 800; cursor: pointer; }
.faq-section details p { margin: -4px 2px 18px; color: var(--muted); font-size: 0.84rem; }

.menu-overlay { position: fixed; inset: 0; z-index: 60; visibility: hidden; opacity: 0; background: rgba(3,28,73,0.34); transition: opacity 180ms ease, visibility 180ms ease; }
.menu-overlay.is-open { visibility: visible; opacity: 1; }
.menu-sheet {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(86%, 340px);
  padding: 24px;
  transform: translateX(-104%);
  background: #fff;
  box-shadow: 30px 0 70px rgba(3,28,73,0.20);
  transition: transform 220ms ease;
}
.menu-overlay.is-open .menu-sheet { transform: translateX(0); }
.menu-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.menu-head img { width: 118px; height: auto; }
.menu-nav { display: grid; gap: 6px; margin-top: 22px; }
.menu-nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px; border-radius: 14px; color: var(--navy-deep); font-weight: 800; }
.menu-nav a:hover, .menu-nav a[aria-current="page"] { color: var(--navy); background: var(--cyan-soft); }
.menu-copy { position: absolute; left: 24px; right: 24px; bottom: 24px; color: var(--muted); font-size: 0.74rem; }

.toast-region { position: fixed; z-index: 90; left: 50%; bottom: calc(92px + var(--safe-bottom)); width: min(calc(100% - 30px), 450px); transform: translateX(-50%); pointer-events: none; }
.toast { margin-top: 8px; padding: 12px 14px; border-radius: 14px; color: #fff; background: var(--navy-deep); box-shadow: var(--shadow-md); font-size: 0.82rem; animation: toast-in 180ms ease; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }

@media (min-width: 700px) {
  body { padding: 28px 0; }
  .app-shell { min-height: calc(100dvh - 56px); border-radius: 34px; }
  .sticky-action { bottom: 28px; border-radius: 0 0 34px 34px; }
  .carousel-arrow {
    position: absolute;
    z-index: 4;
    top: 48px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--navy);
    background: #fff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
  }
  .carousel-arrow::before { font-size: 1.15rem; }
  .carousel-arrow--left { left: -12px; }
  .carousel-arrow--left::before { content: "‹"; }
  .carousel-arrow--right { right: -12px; }
  .carousel-arrow--right::before { content: "›"; }
}

@media (max-width: 380px) {
  .page { padding-left: 14px; padding-right: 14px; }
  .brand-panel { padding: 18px; }
  .brand-values { grid-template-columns: 1fr; }
  .service-carousel { grid-auto-columns: 122px; }
  .otp-inputs { gap: 5px; }
  .otp-inputs input { height: 48px; }
  .support-card { align-items: stretch; flex-direction: column; }
}

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

/* Mobile-first density refinements: keep the first service choices visible without making the page feel crowded. */
@media (max-width: 699px) {
  .app-header { min-height: 68px; padding-top: 7px; padding-bottom: 6px; }
  .logo-link img { width: 116px; height: 36px; }
  .page { padding-top: 18px; }
  .hero { padding-top: 2px; padding-bottom: 14px; }
  .hero h1 { font-size: clamp(2rem, 8.8vw, 2.35rem); }
  .hero > p:last-child { margin-top: 10px; font-size: 0.92rem; }
  .brand-panel { margin-bottom: 20px; padding: 17px 18px 16px; border-radius: 23px; }
  .brand-panel__line { margin-bottom: 11px; }
  .brand-panel h2 { font-size: 1.08rem; }
  .brand-panel > p { margin: 7px 0 12px; font-size: 0.83rem; }
  .brand-values { display: flex; flex-wrap: wrap; gap: 6px 14px; }
  .brand-values span { position: relative; padding: 0 0 0 10px; border: 0; background: transparent; text-align: left; font-size: 0.72rem; }
  .brand-values span::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
  .brand-values b { display: inline; font-size: inherit; }
  .service-carousel { grid-auto-columns: 126px; }
  .service-card { min-height: 132px; padding: 14px 11px 12px; }
}
.service-card > span:last-child { display: block; width: 100%; }
.service-card strong,
.service-card small { display: block; }
.service-card small { margin-top: 5px; line-height: 1.35; }

/* Homepage welcome experience and vertical service discovery. */
.app-header--home {
  position: relative;
  grid-template-columns: 1fr 48px;
  min-height: 82px;
  padding: 18px 22px 8px;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
}
.logo-link--home { justify-self: start; }
.logo-link--home img { width: 136px; height: 43px; }
.home-profile-link {
  justify-self: end;
  border: 1px solid rgba(8,43,103,0.08);
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 10px 26px rgba(8,43,103,0.10);
}
.home-shell {
  background:
    radial-gradient(circle at 88% 10%, rgba(255,90,18,0.05), transparent 18rem),
    radial-gradient(circle at 10% 72%, rgba(40,170,242,0.055), transparent 21rem),
    #fff;
}
.home-page {
  min-height: calc(100dvh - 82px);
  padding: 0 24px 34px;
}
.welcome-screen {
  min-height: calc(100dvh - 112px - var(--safe-bottom));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 4px 0 calc(20px + var(--safe-bottom));
  opacity: 1;
  transform: translateY(0);
  transition: opacity 210ms ease, transform 210ms ease;
}
.welcome-screen.is-exiting {
  opacity: 0;
  transform: translateY(-18px);
}
.connection-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: min(82vw, 360px);
  min-height: 285px;
  margin: 0 auto 4px;
  isolation: isolate;
}
.connection-visual__halo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.connection-visual__halo--one {
  width: 235px;
  height: 235px;
  background: radial-gradient(circle, rgba(40,170,242,0.11), rgba(40,170,242,0.035) 54%, transparent 72%);
}
.connection-visual__halo--two {
  width: 285px;
  height: 285px;
  border: 1px solid rgba(8,43,103,0.045);
  box-shadow: 0 0 0 26px rgba(255,90,18,0.018);
}
.connection-visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
}
.welcome-copy {
  margin-top: auto;
  padding: 0 4px;
}
.welcome-copy h1 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(2.35rem, 10.5vw, 3.25rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}
.welcome-copy p {
  margin: 15px 0 0;
  max-width: 370px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}
.welcome-cta {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  margin-top: 28px;
  padding: 0 22px 0 26px;
  border: 1px solid rgba(8,43,103,0.055);
  border-radius: 999px;
  color: var(--navy-deep);
  background: rgba(255,255,255,0.97);
  box-shadow: 0 15px 38px rgba(8,43,103,0.12), 0 8px 24px rgba(255,90,18,0.07);
  font-size: 1rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.welcome-cta > span:first-child { justify-self: center; padding-left: 34px; }
.welcome-cta > span:last-child { font-size: 1.55rem; line-height: 1; }
.welcome-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(8,43,103,0.15), 0 9px 28px rgba(255,90,18,0.09); }
.welcome-cta:active { transform: translateY(0); }
.welcome-cta:focus-visible,
.selection-back:focus-visible,
.service-list-card:focus-visible {
  outline: 3px solid rgba(40,170,242,0.35);
  outline-offset: 3px;
}
.welcome-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
  color: var(--navy-deep);
}
.welcome-trust > div {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 2px 8px;
  border-right: 1px solid var(--line);
}
.welcome-trust > div:last-child { border-right: 0; }
.welcome-trust svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.welcome-trust > div:nth-child(2) svg { stroke: var(--cyan); }
.welcome-trust > div:nth-child(3) svg { stroke: var(--navy); }
.welcome-trust span { font-size: 0.82rem; font-weight: 800; }

.service-selection-screen {
  padding: 8px 0 36px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 220ms ease, transform 220ms ease;
}
.service-selection-screen.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.selection-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 8px 2px;
  border: 0;
  color: var(--navy);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}
.selection-back > span:first-child { font-size: 1.25rem; }
.selection-intro { margin-bottom: 28px; }
.selection-intro .step-label { margin-bottom: 9px; color: var(--orange); }
.selection-intro h1 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(2.1rem, 9vw, 2.75rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}
.selection-intro > p:last-child {
  margin: 13px 0 0;
  max-width: 390px;
  color: var(--muted);
  font-size: 0.96rem;
}
.service-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 2px 13px;
}
.service-list-heading h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}
.service-list-heading span { color: var(--muted); font-size: 0.75rem; }
.service-list {
  display: grid;
  gap: 11px;
  padding: 2px 1px 4px;
}
.service-list-card {
  --card-accent: var(--cyan);
  --card-soft: var(--cyan-soft);
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 15px;
  border: 1px solid rgba(8,43,103,0.09);
  border-radius: 21px;
  color: var(--navy-deep);
  background: rgba(255,255,255,0.97);
  box-shadow: 0 8px 22px rgba(8,43,103,0.055);
  text-align: left;
  cursor: pointer;
  scroll-margin-top: 90px;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
  animation: serviceCardIn 320ms both;
  animation-delay: 0ms;
}
.service-list-card:nth-child(4n+2) { --card-accent: var(--orange); --card-soft: var(--orange-soft); }
.service-list-card:nth-child(4n+3) { --card-accent: #6c63d9; --card-soft: #f1efff; }
.service-list-card:nth-child(4n) { --card-accent: #16895d; --card-soft: #eaf7f2; }
.service-list-card:active { transform: scale(0.99); }
.service-list-card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  color: var(--card-accent);
  background: var(--card-soft);
}
.service-list-card__icon .service-icon { width: 27px; height: 27px; }
.service-list-card__copy { min-width: 0; display: block; }
.service-list-card__copy strong,
.service-list-card__copy small { display: block; }
.service-list-card__copy strong {
  color: var(--navy-deep);
  font-size: 0.98rem;
  line-height: 1.22;
}
.service-list-card__copy small {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-list-card__arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--surface-soft);
  font-size: 1.08rem;
  transition: transform 170ms ease, color 170ms ease, background 170ms ease;
}
@media (hover: hover) {
  .service-list-card:hover {
    transform: translateY(-2px);
    border-color: rgba(8,43,103,0.17);
    box-shadow: 0 13px 29px rgba(8,43,103,0.085);
  }
  .service-list-card:hover .service-list-card__arrow {
    transform: translateX(2px);
    color: white;
    background: var(--card-accent);
  }
}
.selection-note {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(40,170,242,0.18);
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(233,247,255,0.78), rgba(255,255,255,0.98));
}
.selection-note__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: var(--cyan);
  font-weight: 900;
}
.selection-note p { margin: 0; color: var(--muted); font-size: 0.78rem; }
.selection-note strong { color: var(--navy-deep); }

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

@media (max-height: 760px) and (max-width: 699px) {
  .connection-visual { width: min(72vw, 290px); min-height: 220px; }
  .connection-visual__halo--one { width: 190px; height: 190px; }
  .connection-visual__halo--two { width: 225px; height: 225px; }
  .welcome-copy h1 { font-size: clamp(2.05rem, 9.3vw, 2.55rem); }
  .welcome-copy p { margin-top: 10px; font-size: 0.92rem; }
  .welcome-cta { min-height: 56px; margin-top: 20px; }
  .welcome-trust { margin-top: 21px; }
}

@media (max-width: 380px) {
  .app-header--home { padding-left: 18px; padding-right: 18px; }
  .home-page { padding-left: 18px; padding-right: 18px; }
  .connection-visual { width: min(84vw, 315px); min-height: 245px; }
  .welcome-copy h1 { font-size: 2.25rem; }
  .welcome-trust > div { padding-left: 4px; padding-right: 4px; }
  .welcome-trust span { font-size: 0.76rem; }
  .service-list-card { grid-template-columns: 46px minmax(0, 1fr) 32px; gap: 11px; padding-left: 12px; padding-right: 12px; }
  .service-list-card__icon { width: 46px; height: 46px; border-radius: 14px; }
}

@media (min-width: 700px) {
  .home-page { padding-left: 32px; padding-right: 32px; }
  .welcome-screen { min-height: calc(100dvh - 156px); }
  .connection-visual { width: 330px; min-height: 280px; }
  .welcome-copy { text-align: center; }
  .welcome-copy p { margin-left: auto; margin-right: auto; }
  .welcome-cta { max-width: 390px; margin-left: auto; margin-right: auto; }
  .welcome-trust { max-width: 390px; width: 100%; margin-left: auto; margin-right: auto; }
  .service-selection-screen { max-width: 430px; margin-left: auto; margin-right: auto; }
}

.welcome-screen[hidden],
.service-selection-screen[hidden] {
  display: none !important;
}

@media (max-width: 339px) {
  .need-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .need-option strong { font-size: 0.76rem; }
  .location-card { padding: 15px; }
}

@media (min-width: 700px) {
  .need-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.selected-location[hidden],
.saved-location-button[hidden] { display: none !important; }

/* Visual fallback remains hidden unless a thumbnail cannot be loaded. */
.need-option__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: linear-gradient(145deg, var(--cyan-soft), #fff7f1);
}
.need-option__fallback .service-icon { width: 34px; height: 34px; }
.need-option__visual img { position: relative; z-index: 1; }
.need-option.image-unavailable .need-option__visual img { display: none; }

/* Multi-select service types */
.multi-select-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
}
.multi-select-heading__label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}
.multi-select-heading h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 1.28rem;
  line-height: 1.2;
}
.multi-select-heading h2 span { color: #dc3d3d; }
.multi-select-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.89rem;
}
.multi-select-heading > strong {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}
.need-multi-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.need-choice {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--navy-deep);
  background: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(8,43,103,0.045);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease, transform 150ms ease;
}
.need-choice:hover { transform: translateY(-1px); box-shadow: 0 9px 20px rgba(8,43,103,0.08); }
.need-choice:active { transform: scale(0.99); }
.need-choice:focus-visible {
  outline: 3px solid rgba(40,170,242,0.25);
  outline-offset: 2px;
}
.need-choice[aria-checked="true"] {
  border-color: var(--navy);
  background: linear-gradient(135deg, rgba(40,170,242,0.045), #fff 62%);
  box-shadow: 0 0 0 5px rgba(40,170,242,0.13), 0 8px 20px rgba(8,43,103,0.08);
}
.need-choice__checkbox {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 3px solid #2f8ef6;
  border-radius: 7px;
  color: transparent;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(47,142,246,0.12);
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}
.need-choice__checkbox span {
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
}
.need-choice[aria-checked="true"] .need-choice__checkbox {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
}
.need-choice strong {
  min-width: 0;
  color: var(--navy-deep);
  font-size: 1rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.need-selection-error {
  min-height: 20px;
  margin: 10px 2px 0;
}
body[data-page="need"] .compact-page { padding-bottom: 154px; }
body[data-page="need"] .page-intro h2 { margin-top: 0; }

.location-needs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.location-needs-list li {
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--cyan-soft);
  font-size: 0.67rem;
  font-weight: 800;
  line-height: 1.25;
}
.location-request-summary {
  align-items: start;
}
.location-request-summary > div { min-width: 0; }

.summary-need-list {
  max-width: 64%;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.request-card > div { min-width: 0; }
.request-card__needs {
  display: -webkit-box;
  overflow: hidden;
  color: var(--navy-deep) !important;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (max-width: 360px) {
  .multi-select-heading { align-items: flex-start; }
  .multi-select-heading__label { display: block; }
  .multi-select-heading__label p { margin-top: 3px; }
  .need-choice { min-height: 61px; padding: 11px 13px; }
  .need-choice strong { font-size: 0.94rem; }
  .request-card { grid-template-columns: 46px minmax(0, 1fr); }
  .request-card .request-status { grid-column: 2; justify-self: start; }
}

/* =========================================================
   Enhanced multi-step flow and mobile scroll safety
   ========================================================= */
:root {
  --sticky-action-height: 124px;
  --visual-viewport-height: 100dvh;
}

html {
  min-height: 100%;
  scroll-padding-bottom: calc(var(--sticky-action-height) + 28px + var(--safe-bottom));
}

body { min-height: 100%; }

/* The page itself owns the single vertical scroll. Clipping here caused
   content to become unreachable behind the fixed action area. */
.app-shell { overflow: visible; }

.flow-progress {
  --flow-ratio: 0%;
  position: relative;
  margin: -2px 0 20px;
  padding: 2px 4px 0;
}

.flow-progress__rail {
  position: absolute;
  top: 16px;
  left: 12%;
  right: 12%;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9edf4;
}

.flow-progress__rail span {
  display: block;
  width: var(--flow-ratio);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy), var(--orange));
  transition: width 320ms ease;
}

.flow-progress__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-progress__step {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  color: #8a94a7;
}

.flow-progress__marker {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 2px solid #e0e6ef;
  border-radius: 50%;
  color: #7b879b;
  background: #fff;
  box-shadow: 0 4px 12px rgba(8,43,103,0.06);
  font-size: 0.72rem;
  font-weight: 900;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.flow-progress__label {
  overflow: hidden;
  max-width: 100%;
  font-size: 0.67rem;
  font-weight: 800;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flow-progress__step.is-complete { color: var(--navy); }
.flow-progress__step.is-complete .flow-progress__marker {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
}
.flow-progress__step.is-current { color: var(--orange); }
.flow-progress__step.is-current .flow-progress__marker {
  border-color: var(--orange);
  color: #fff;
  background: var(--orange);
  box-shadow: 0 0 0 5px var(--orange-soft), 0 8px 18px rgba(255,90,18,0.18);
  transform: scale(1.04);
}

body.has-sticky-action .page,
body[data-page="need"] .compact-page,
body[data-page="location"] .location-page {
  padding-bottom: calc(var(--sticky-action-height) + 30px + var(--safe-bottom)) !important;
}

.sticky-action {
  bottom: 0 !important;
  padding-top: 10px;
  transition: opacity 180ms ease, transform 220ms ease;
  box-shadow: 0 -12px 32px rgba(8,43,103,0.07);
}

.sticky-action::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -34px;
  height: 34px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.96));
  transition: opacity 160ms ease;
}

body.has-more-content .sticky-action::before { opacity: 1; }

.sticky-action__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 24px;
  margin: 0 3px 8px;
}

.sticky-action__summary span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.sticky-action__summary strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.keyboard-visible .sticky-action {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(100% + 24px));
}

.primary-button.is-loading { cursor: wait; }
.primary-button.is-loading .button-arrow {
  color: transparent;
  font-size: 0;
}
.primary-button.is-loading .button-arrow::after {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid rgba(8,43,103,0.24);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: findoly-spin 700ms linear infinite;
}

@keyframes findoly-spin { to { transform: rotate(360deg); } }

.selection-meter {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  width: min(164px, 48%);
  margin: 11px 0 0 auto;
}

.selection-meter span {
  height: 4px;
  border-radius: 999px;
  background: #e5eaf2;
  transition: background 170ms ease, transform 170ms ease;
}

.selection-meter span.is-filled {
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  transform: scaleY(1.35);
}

.need-multi-list.is-limit-hit { animation: findoly-limit-shake 320ms ease; }
@keyframes findoly-limit-shake {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-5px); }
  60% { transform: translateX(5px); }
}

.need-choice:last-child,
.location-card,
.phone-input,
.otp-inputs {
  scroll-margin-bottom: calc(var(--sticky-action-height) + 42px);
}

.auth-page .flow-progress { width: 100%; margin-bottom: 14px; }
.auth-card { margin-top: 0; }

/* A compact, recognisable status line after submission. */
.match-journey {
  position: relative;
  margin-top: 16px;
  padding: 20px 14px 16px;
  overflow: hidden;
  border: 1px solid rgba(40,170,242,0.18);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(233,247,255,0.78), #fff 58%);
  box-shadow: var(--shadow-sm);
}

.match-journey__track {
  position: absolute;
  top: 37px;
  left: 16.5%;
  right: 16.5%;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe6ef;
}

.match-journey__track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: width 900ms cubic-bezier(.2,.8,.2,1);
}

.match-journey.is-running .match-journey__track span { width: 50%; }

.match-journey__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.match-journey__step {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  min-width: 0;
  text-align: center;
}

.match-journey__dot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid #dde5ef;
  border-radius: 50%;
  color: #8190a5;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 5px 14px rgba(8,43,103,0.07);
}

.match-journey__step.is-complete .match-journey__dot {
  border-color: var(--cyan);
  color: #fff;
  background: var(--cyan);
}

.match-journey__step.is-active .match-journey__dot {
  border-color: var(--orange);
  color: #fff;
  background: var(--orange);
  animation: findoly-pulse 1.8s ease-in-out infinite;
}

@keyframes findoly-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,90,18,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(255,90,18,0); }
}

.match-journey__step strong {
  color: var(--navy-deep);
  font-size: 0.72rem;
  line-height: 1.2;
}

.match-journey__step small {
  color: var(--muted);
  font-size: 0.61rem;
  line-height: 1.3;
}

@media (max-width: 360px) {
  .flow-progress { margin-bottom: 16px; padding-inline: 0; }
  .flow-progress__rail { left: 10%; right: 10%; }
  .flow-progress__label { font-size: 0.62rem; }
  .flow-progress__marker { width: 29px; height: 29px; }
  .sticky-action { padding-inline: 13px; }
  .sticky-action__summary { margin-inline: 2px; }
  .match-journey { padding-inline: 10px; }
  .match-journey__step strong { font-size: 0.67rem; }
  .match-journey__step small { display: none; }
}

@media (max-height: 700px) {
  .page { padding-top: 14px; }
  .back-link { margin-bottom: 12px; }
  .flow-progress { margin-bottom: 13px; }
  .selected-service-title { padding-block: 10px; }
  .multi-select-heading { margin-top: 14px; }
  .need-multi-list { margin-top: 10px; gap: 8px; }
  .need-choice { min-height: 58px; padding-block: 10px; }
  .location-intro > p { margin-top: 8px; }
  .location-card { margin-top: 14px; }
}

@media (min-width: 700px) {
  .sticky-action { bottom: 28px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .flow-progress__rail span,
  .match-journey__track span,
  .sticky-action,
  .selection-meter span { transition: none; }
  .match-journey__step.is-active .match-journey__dot,
  .primary-button.is-loading .button-arrow::after,
  .need-multi-list.is-limit-hit { animation: none; }
}

/* Extra breathing room for browser home indicators and short mobile viewports. */
.sticky-action { padding-bottom: calc(17px + var(--safe-bottom)); }

/* Radical simplicity flow */
body.radical-home,body.radical-flow{background:#fff}.radical-shell{max-width:500px;overflow:visible;box-shadow:none;background:#fff}.radical-shell .app-header{position:relative;min-height:66px;border:0;background:#fff;padding:12px 18px}.radical-shell .app-header:not(.app-header--home){grid-template-columns:1fr}.radical-shell .app-header:not(.app-header--home) .icon-button,.radical-shell .app-header:not(.app-header--home) .header-action{display:none}.radical-shell .logo-link{justify-self:start}.radical-shell .logo-link img,.radical-shell .logo-link--home img{width:108px;height:34px}.radical-main{min-height:calc(100dvh - 66px);padding:32px 22px max(28px,var(--safe-bottom));display:flex;flex-direction:column}.radical-hero{min-height:calc(100dvh - 120px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.radical-kicker,.radical-step-count{font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--orange)}.radical-hero h1,.radical-service-step h1,.radical-question h1,.radical-success h1{font-size:clamp(2.5rem,12vw,4.5rem);line-height:.95;letter-spacing:-.06em;color:#07162e;margin:18px 0}.radical-hero p,.radical-service-step>p,.radical-question>p,.radical-success>p{font-size:1.08rem;line-height:1.55;color:#68748a;max-width:360px;margin:0 0 34px}.radical-cta,.radical-wide-button{width:100%;min-height:58px;border:0;border-radius:999px;background:#07162e;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 22px;font-weight:800;cursor:pointer}.radical-secondary{display:inline-block;margin-top:20px;color:#68748a;font-weight:700;text-decoration:underline;text-underline-offset:4px}.radical-service-step{padding-top:8px}.radical-back{border:0;background:none;padding:0;margin:0 0 28px;color:#68748a;font-weight:700;cursor:pointer}.radical-service-step .radical-step-count,.radical-step-page>.radical-step-count{margin-bottom:8px}.radical-service-list{display:flex;flex-direction:column;gap:0;margin-top:24px;border-top:1px solid #e9edf3}.radical-service-list .service-list-card{width:100%;min-height:78px;border:0;border-bottom:1px solid #e9edf3;border-radius:0;background:#fff;box-shadow:none;padding:16px 2px;display:grid;grid-template-columns:42px 1fr 30px;align-items:center;text-align:left}.radical-service-list .service-list-card:hover{transform:none;background:#fafbfc}.radical-service-list .service-list-card__icon{width:38px;height:38px;border-radius:50%;background:#f3f7fb;display:grid;place-items:center}.radical-service-list .service-list-card__copy strong{display:block;font-size:1.08rem;color:#07162e}.radical-service-list .service-list-card__copy small{display:block;margin-top:2px;color:#7b8598}.radical-service-list .service-list-card__arrow{justify-self:end;color:var(--orange);font-size:1.2rem}.radical-step-page{padding:22px 20px 130px;min-height:calc(100dvh - 66px)}.radical-question{margin:0 0 24px}.radical-question .selected-service-title{margin:0 0 26px;padding:0;border:0;background:none;box-shadow:none}.radical-question .selected-service-title h1{font-size:2rem;margin:2px 0 0}.radical-question .selected-service-title p{margin:0;color:#7b8598}.radical-question .multi-select-heading{align-items:end;margin-top:18px}.radical-question .multi-select-heading h2{font-size:2rem;line-height:1.02;letter-spacing:-.045em;margin:0}.radical-question .multi-select-heading p{margin:7px 0 0}.radical-choice-list{border-top:1px solid #e9edf3}.radical-choice-list .need-choice{min-height:64px;border:0;border-bottom:1px solid #e9edf3;border-radius:0;box-shadow:none;padding:13px 2px;background:#fff}.radical-choice-list .need-choice[aria-checked="true"]{background:#fff8f4}.radical-choice-list .need-choice__checkbox{border-radius:8px}.radical-action{position:fixed;z-index:40;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,500px);padding:14px 18px max(14px,var(--safe-bottom));background:rgba(255,255,255,.96);border-top:1px solid #e9edf3;display:grid;grid-template-columns:1fr 54px;gap:12px;align-items:center;backdrop-filter:blur(14px)}.radical-action>div{min-width:0}.radical-action strong,.radical-action small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.radical-action small{color:#7b8598}.radical-next{width:54px;height:54px;border-radius:50%;border:0;background:#07162e;color:#fff;font-size:1.5rem;cursor:pointer}.radical-next:disabled{opacity:.3}.radical-location-box{border-top:1px solid #e9edf3;padding-top:8px}.radical-location-box .current-location-button,.radical-location-box .saved-location-button{border:0;border-bottom:1px solid #e9edf3;border-radius:0;box-shadow:none;padding:16px 2px;background:#fff}.radical-location-box .location-divider{margin:18px 0}.radical-location-box .location-input-wrap{border-radius:16px}.radical-auth{display:flex;flex-direction:column}.radical-form{margin-top:12px}.radical-form>label{display:block;margin-bottom:10px;font-weight:800}.radical-form .phone-input,.radical-form .otp-inputs input{border-color:#dbe2eb}.radical-form .radical-wide-button{margin-top:24px}.radical-success{min-height:calc(100dvh - 66px);padding:46px 22px max(30px,var(--safe-bottom));display:flex;flex-direction:column;justify-content:center}.radical-success-mark{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#e8f8f0;color:#178a57;font-size:1.7rem;font-weight:900}.radical-success h1{margin-bottom:10px}.radical-summary{margin:14px 0 24px;border-radius:18px;box-shadow:none;border:1px solid #e9edf3}.radical-journey{display:grid;gap:10px;margin:0 0 28px}.radical-journey span{position:relative;padding-left:26px;color:#7b8598}.radical-journey span:before{content:"";position:absolute;left:2px;top:.5em;width:8px;height:8px;border-radius:50%;background:#d7dde6}.radical-journey span.is-done{color:#07162e;font-weight:800}.radical-journey span.is-done:before{background:var(--orange)}
@media(max-height:700px){.radical-hero{justify-content:flex-start;padding-top:36px}.radical-hero h1{font-size:2.8rem}.radical-main{padding-top:16px}}

/* =========================================================
   Balanced premium simplicity
   ========================================================= */
body.balanced-home,
body.balanced-flow {
  background:
    radial-gradient(circle at 12% 0%, rgba(40,170,242,0.10), transparent 28rem),
    radial-gradient(circle at 100% 16%, rgba(255,90,18,0.08), transparent 24rem),
    #f3f6fa;
}

.balanced-shell {
  max-width: 520px;
  overflow: visible;
  background: #fff;
}

.balanced-shell .app-header {
  min-height: 70px;
  padding: 10px 18px;
  border-bottom-color: rgba(229,234,242,0.62);
}

.balanced-shell .app-header--home {
  grid-template-columns: minmax(112px, 1fr) auto 44px;
  gap: 8px;
}

.balanced-shell .app-header--home .logo-link {
  justify-self: start;
}

.balanced-shell .app-header--home .logo-link img {
  width: 112px;
  height: 35px;
}

.home-location-chip {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: 0 5px 15px rgba(8,43,103,0.05);
}

.home-location-chip .header-icon {
  width: 15px;
  height: 15px;
}

.balanced-home-main {
  min-height: calc(100dvh - 70px);
  padding: 25px 20px calc(32px + var(--safe-bottom));
}

.balanced-welcome {
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 126px);
  transition: opacity 200ms ease, transform 230ms ease;
}

.balanced-welcome.is-exiting {
  opacity: 0;
  transform: translateY(-16px);
}

.balanced-eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.balanced-hero-copy h1,
.balanced-service-step__intro h1,
.balanced-question h1,
.balanced-question h2,
.balanced-success h1 {
  margin: 10px 0 0;
  color: var(--navy-deep);
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.balanced-hero-copy h1 {
  max-width: 430px;
  font-size: clamp(2.55rem, 11.5vw, 4rem);
}

.balanced-hero-copy h1 span { color: var(--orange); }

.balanced-hero-copy p,
.balanced-service-step__intro p,
.balanced-question > p,
.balanced-success > p {
  margin: 14px 0 0;
  max-width: 410px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.requirement-preview {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 142px;
  margin-top: 26px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(40,170,242,0.18);
  border-radius: 25px;
  color: var(--navy-deep);
  background:
    radial-gradient(circle at 88% 85%, rgba(40,170,242,0.20), transparent 32%),
    radial-gradient(circle at 14% 0%, rgba(255,90,18,0.14), transparent 34%),
    linear-gradient(145deg, #fff, #f8fbff);
  text-align: left;
  box-shadow: 0 18px 48px rgba(8,43,103,0.10);
  cursor: pointer;
}

.requirement-preview::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -52px;
  bottom: -66px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(8,43,103,0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(40,170,242,0.035), 0 0 0 50px rgba(255,90,18,0.025);
}

.requirement-preview__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.requirement-preview__topline small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.requirement-preview__topline > span {
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
}

.requirement-preview__topline b { margin-left: 4px; color: var(--orange); }

.requirement-preview > strong {
  display: block;
  margin-top: 18px;
  color: var(--navy-deep);
  font-size: clamp(1.75rem, 7vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
  transition: opacity 140ms ease, transform 140ms ease;
}

.requirement-preview > strong.is-changing {
  opacity: 0;
  transform: translateY(5px);
}

.requirement-preview__signal {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.requirement-preview__signal i {
  display: block;
  width: 5px;
  border-radius: 999px;
  background: var(--cyan);
  animation: findoly-signal 1.4s ease-in-out infinite;
}
.requirement-preview__signal i:nth-child(1) { height: 10px; opacity: 0.45; }
.requirement-preview__signal i:nth-child(2) { height: 18px; animation-delay: 120ms; opacity: 0.7; }
.requirement-preview__signal i:nth-child(3) { height: 27px; animation-delay: 240ms; }

@keyframes findoly-signal {
  0%, 100% { transform: scaleY(0.82); }
  50% { transform: scaleY(1.08); }
}

.balanced-primary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 0 12px 0 22px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(115deg, var(--navy-deep), var(--navy));
  box-shadow: 0 14px 32px rgba(8,43,103,0.21);
  font-weight: 900;
  cursor: pointer;
}

.balanced-primary:hover { filter: brightness(1.06); }
.balanced-primary:active { transform: translateY(1px); }

.balanced-primary__arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: var(--navy);
  background: #fff;
  font-size: 1.15rem;
}

.balanced-primary--wide { width: 100%; }

.popular-services {
  margin-top: 30px;
}

.balanced-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.balanced-section-head span {
  color: var(--orange);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.balanced-section-head h2 {
  margin: 3px 0 0;
  color: var(--navy-deep);
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.balanced-section-head button {
  flex: 0 0 auto;
  padding: 6px 0;
  border: 0;
  color: var(--navy);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.popular-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.popular-service-card {
  min-width: 0;
  min-height: 118px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--navy-deep);
  background: #fff;
  text-align: left;
  box-shadow: 0 7px 20px rgba(8,43,103,0.055);
  cursor: pointer;
}

.popular-service-card > span {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 12px;
  color: var(--navy);
  background: var(--cyan-soft);
}
.popular-service-card:nth-child(2n) > span { color: var(--orange); background: var(--orange-soft); }
.popular-service-card .service-icon { width: 21px; height: 21px; }
.popular-service-card strong { align-self: end; min-width: 0; font-size: 0.9rem; }
.popular-service-card small {
  align-self: start;
  min-width: 0;
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.balanced-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 22px;
  padding: 15px 16px;
  border: 1px solid rgba(8,43,103,0.06);
  border-radius: 18px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.69rem;
  font-weight: 800;
}

.balanced-trust b { color: var(--success); }

.balanced-my-requests {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 18px;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 900;
}

.balanced-service-step {
  padding: 2px 0 26px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 220ms ease, transform 240ms ease;
}
.balanced-service-step.is-visible { opacity: 1; transform: translateY(0); }

.balanced-service-step__top,
.balanced-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.balanced-back {
  min-height: 34px;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
}

.balanced-step-pill {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--cyan-soft);
  font-size: 0.68rem;
  font-weight: 900;
}

.balanced-service-step__intro h1 {
  max-width: 390px;
  font-size: clamp(2.15rem, 9vw, 3.1rem);
}

.service-search {
  min-height: 52px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-soft);
}

.service-search > span { color: var(--navy); font-size: 1.4rem; line-height: 1; transform: rotate(-15deg); }
.service-search input { min-width: 0; border: 0; outline: 0; color: var(--navy-deep); background: transparent; font-size: 0.93rem; }
.service-search input::placeholder { color: #929bad; }
.service-search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(40,170,242,0.12); }

.balanced-service-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.balanced-service-list .balanced-service-card {
  --card-accent: var(--cyan);
  --card-soft: var(--cyan-soft);
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 19px;
  color: var(--navy-deep);
  background: #fff;
  text-align: left;
  box-shadow: 0 6px 18px rgba(8,43,103,0.05);
}
.balanced-service-list .balanced-service-card:nth-child(4n+2) { --card-accent: var(--orange); --card-soft: var(--orange-soft); }
.balanced-service-list .balanced-service-card:nth-child(4n+3) { --card-accent: #6c63d9; --card-soft: #f1efff; }
.balanced-service-list .balanced-service-card:nth-child(4n) { --card-accent: #16895d; --card-soft: #eaf7f2; }
.balanced-service-list .balanced-service-card[hidden] { display: none; }
.balanced-service-list .service-list-card__icon { width: 46px; height: 46px; border-radius: 14px; color: var(--card-accent); background: var(--card-soft); }
.balanced-service-list .service-list-card__copy strong { font-size: 1rem; }
.balanced-service-list .service-list-card__copy small { margin-top: 3px; font-size: 0.73rem; }
.balanced-service-list .service-list-card__arrow { width: 30px; height: 30px; border-radius: 10px; color: var(--card-accent); background: var(--card-soft); }

.service-empty-state {
  margin: 28px 0;
  color: var(--muted);
  text-align: center;
}

.balanced-step-page {
  min-height: calc(100dvh - 74px);
  padding: 18px 20px calc(var(--sticky-action-height) + 36px + var(--safe-bottom));
}

.balanced-question h1 { font-size: clamp(2.2rem, 9.5vw, 3.25rem); }
.balanced-question h2 { font-size: clamp(1.9rem, 8vw, 2.6rem); }

.selected-service-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: linear-gradient(135deg, var(--surface-soft), #fff);
  box-shadow: 0 7px 20px rgba(8,43,103,0.055);
}
.selected-service-card small { display: block; color: var(--muted); font-size: 0.68rem; font-weight: 800; }
.selected-service-card h1 { margin: 2px 0 0; font-size: 1.15rem; letter-spacing: -0.025em; }
.selected-service-card a { color: var(--orange); font-size: 0.72rem; font-weight: 900; }

.balanced-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 27px;
}
.balanced-title-row > div { min-width: 0; }
.balanced-title-row p { margin: 7px 0 0; color: var(--muted); font-size: 0.83rem; }
.balanced-title-row > strong { flex: 0 0 auto; color: var(--navy); font-size: 0.8rem; }

.balanced-question .selection-meter {
  width: 100%;
  margin: 14px 0 0;
}

.selected-types-preview {
  min-height: 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.selected-types-preview span {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--cyan-soft);
  font-size: 0.68rem;
  font-weight: 900;
}
.selected-types-preview small { align-self: center; color: #9099a9; font-size: 0.72rem; }

.balanced-choice-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.balanced-choice-list .need-choice {
  min-height: 64px;
  border-radius: 17px;
  box-shadow: 0 5px 16px rgba(8,43,103,0.045);
}
.balanced-choice-list .need-choice[aria-checked="true"] {
  border-color: var(--orange);
  background: linear-gradient(135deg, var(--orange-soft), #fff 68%);
  box-shadow: 0 0 0 4px rgba(255,90,18,0.09), 0 7px 20px rgba(255,90,18,0.10);
}
.balanced-choice-list .need-choice__checkbox { border-color: #b9c5d6; box-shadow: none; }
.balanced-choice-list .need-choice[aria-checked="true"] .need-choice__checkbox { border-color: var(--orange); background: var(--orange); }

.balanced-action {
  position: fixed;
  z-index: 42;
  left: 50%;
  bottom: 0;
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  align-items: center;
  gap: 12px;
  padding: 12px 18px max(14px, var(--safe-bottom));
  border-top: 1px solid rgba(229,234,242,0.86);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 -14px 36px rgba(8,43,103,0.08);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}
.balanced-action > div { min-width: 0; }
.balanced-action strong,
.balanced-action small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.balanced-action strong { color: var(--navy-deep); font-size: 0.82rem; }
.balanced-action small { margin-top: 2px; color: var(--muted); font-size: 0.69rem; }

.balanced-next {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  box-shadow: 0 10px 24px rgba(8,43,103,0.22);
  font-size: 1.35rem;
  cursor: pointer;
}
.balanced-next:disabled { opacity: 0.34; box-shadow: none; cursor: not-allowed; }
body.keyboard-visible .balanced-action { opacity: 0; pointer-events: none; transform: translate(-50%, calc(100% + 22px)); }

.balanced-request-summary {
  margin-top: 22px;
  border-radius: 19px;
  background: linear-gradient(135deg, var(--surface-soft), #fff);
  box-shadow: 0 7px 20px rgba(8,43,103,0.055);
}

.balanced-location-panel {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(8,43,103,0.075);
}

.balanced-location-option {
  border: 1px solid rgba(40,170,242,0.20);
  border-radius: 17px;
  background: linear-gradient(135deg, var(--cyan-soft), #fff 72%);
}

.balanced-location-input {
  min-height: 56px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.balanced-saved-location {
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.location-privacy {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 16px 2px 0;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.45;
}
.location-privacy span { color: var(--success); }

.balanced-auth-page { padding-bottom: calc(36px + var(--safe-bottom)); }
.balanced-form { margin-top: 26px; }
.balanced-form > label { display: block; margin-bottom: 9px; color: var(--navy-deep); font-size: 0.79rem; font-weight: 900; }

.balanced-phone-input {
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}
.balanced-phone-input:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(40,170,242,0.12); }

.balanced-otp-inputs { gap: 8px; }
.balanced-otp-inputs input {
  min-width: 0;
  height: 58px;
  border-radius: 15px;
  background: var(--surface-soft);
}
.balanced-otp-inputs input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,90,18,0.10); }
.balanced-resend-row { margin-top: 14px; }

.security-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  margin-top: 22px;
  padding: 14px;
  border-radius: 17px;
  color: var(--muted);
  background: var(--surface-soft);
}
.security-note > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--success); background: var(--success-soft); font-weight: 900; }
.security-note p { margin: 0; font-size: 0.73rem; line-height: 1.5; }
.security-note strong { color: var(--navy-deep); }
.prototype-note { margin: 12px 0 0; color: #9aa3b2; font-size: 0.67rem; text-align: center; }

.balanced-success {
  min-height: calc(100dvh - 74px);
  padding: 34px 20px calc(34px + var(--safe-bottom));
}

.balanced-success__mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 21px;
  color: #fff;
  background: linear-gradient(135deg, var(--success), #26ad75);
  box-shadow: 0 14px 30px rgba(23,138,87,0.20);
  font-size: 1.6rem;
  font-weight: 900;
}

.balanced-success h1 { max-width: 430px; font-size: clamp(2.3rem, 10vw, 3.45rem); }

.balanced-summary-card {
  margin: 24px 0 22px;
  border: 1px solid var(--line);
  border-radius: 21px;
  box-shadow: 0 10px 28px rgba(8,43,103,0.065);
}

.match-journey {
  position: relative;
  display: grid;
  gap: 17px;
  margin: 0 0 25px;
  padding: 4px 0;
}
.match-journey__line {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 17px;
  width: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4e9f0;
}
.match-journey__line span { display: block; width: 100%; height: 0; border-radius: inherit; background: linear-gradient(var(--orange), var(--cyan)); transition: height 1.2s ease; }
.match-journey.is-running .match-journey__line span { height: 100%; }
.match-journey__step { position: relative; z-index: 1; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; }
.match-journey__step b { width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid #dfe5ed; border-radius: 50%; color: #8a94a7; background: #fff; font-size: 0.72rem; }
.match-journey__step.is-active b { border-color: var(--orange); color: #fff; background: var(--orange); box-shadow: 0 0 0 5px var(--orange-soft); }
.match-journey__step strong,
.match-journey__step small { display: block; }
.match-journey__step strong { color: var(--navy-deep); font-size: 0.86rem; }
.match-journey__step small { margin-top: 2px; color: var(--muted); font-size: 0.7rem; }

.balanced-my-requests--center { display: flex; justify-content: center; margin-top: 17px; }

.balanced-welcome[hidden],
.balanced-service-step[hidden] { display: none !important; }

@media (max-width: 359px) {
  .balanced-home-main,
  .balanced-step-page,
  .balanced-success { padding-left: 16px; padding-right: 16px; }
  .balanced-shell .app-header { padding-left: 14px; padding-right: 14px; }
  .home-location-chip { padding-inline: 8px; }
  .balanced-hero-copy h1 { font-size: 2.35rem; }
  .popular-services__grid { grid-template-columns: 1fr; }
  .popular-service-card { min-height: 82px; }
  .balanced-title-row { align-items: flex-start; }
  .balanced-otp-inputs { gap: 5px; }
  .balanced-otp-inputs input { height: 52px; border-radius: 12px; }
}

@media (max-height: 700px) {
  .balanced-home-main { padding-top: 16px; }
  .balanced-hero-copy h1 { font-size: 2.45rem; }
  .requirement-preview { min-height: 124px; margin-top: 18px; }
  .popular-services { margin-top: 22px; }
}

@media (min-width: 700px) {
  .balanced-home-main,
  .balanced-step-page,
  .balanced-success { padding-left: 30px; padding-right: 30px; }
}

/* =========================================================
   Any-requirement positioning + mobile viewport hardening
   ========================================================= */
:root {
  --app-height: 100dvh;
  --visual-viewport-top: 0px;
  --keyboard-gap: 0px;
}

html {
  width: 100%;
  min-height: 100%;
  overflow-x: clip;
  background: #f3f6fa;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 0;
  min-height: 100svh;
  min-height: var(--app-height, 100dvh);
  overflow-x: clip;
  overscroll-behavior-x: none;
}

.app-shell,
.balanced-shell,
.any-shell {
  width: min(100%, 520px);
  max-width: 520px;
  min-height: 100svh;
  min-height: var(--app-height, 100dvh);
  overflow-x: clip;
  overflow-y: visible;
}

input,
textarea,
select {
  min-width: 0;
  font-size: 16px;
}

.any-home-main {
  min-height: calc(var(--app-height, 100dvh) - 70px);
  padding-top: clamp(20px, 4.2vh, 34px);
}

.any-welcome {
  min-height: auto;
  padding-bottom: 10px;
}

.any-hero-copy h1 {
  max-width: 470px;
  margin: 10px 0 0;
  color: var(--navy-deep);
  font-size: clamp(2.55rem, 11vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.any-hero-copy h1 span { color: var(--orange); }

.any-hero-copy p {
  max-width: 440px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.need-deck {
  position: relative;
  isolation: isolate;
  margin: 28px 0 30px;
  padding: 0 7px 18px;
}

.need-deck__back {
  position: absolute;
  left: 50%;
  width: calc(100% - 32px);
  height: 100%;
  border: 1px solid rgba(8,43,103,0.08);
  border-radius: 26px;
  transform: translateX(-50%);
  pointer-events: none;
}

.need-deck__back--one {
  z-index: -1;
  top: 9px;
  background: #eef7fc;
  transform: translateX(-50%) rotate(-1.3deg);
}

.need-deck__back--two {
  z-index: -2;
  top: 17px;
  width: calc(100% - 52px);
  background: #fff1e9;
  transform: translateX(-50%) rotate(1.4deg);
}

.need-deck__card {
  position: relative;
  width: 100%;
  min-height: 164px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  padding: 21px;
  overflow: hidden;
  border: 1px solid rgba(40,170,242,0.20);
  border-radius: 26px;
  color: var(--navy-deep);
  background:
    radial-gradient(circle at 94% 8%, rgba(40,170,242,0.18), transparent 34%),
    radial-gradient(circle at 4% 96%, rgba(255,90,18,0.12), transparent 35%),
    linear-gradient(145deg, #ffffff 18%, #f9fcff 100%);
  box-shadow: 0 21px 50px rgba(8,43,103,0.12);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 140ms ease;
}

.need-deck__card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(8,43,103,0.06);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(40,170,242,0.025), 0 0 0 50px rgba(255,90,18,0.02);
  pointer-events: none;
}

.need-deck__card:active { transform: scale(0.985); }
.need-deck__card.is-changing { opacity: 0.72; transform: translateY(4px) scale(0.99); }

.need-deck__meta,
.need-deck__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.need-deck__meta small {
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.need-deck__meta > span {
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
}

.need-deck__meta b { margin-left: 3px; color: var(--orange); }

.need-deck__card > strong {
  position: relative;
  z-index: 1;
  max-width: 355px;
  color: var(--navy-deep);
  font-size: clamp(1.45rem, 6.2vw, 2rem);
  line-height: 1.13;
  letter-spacing: -0.038em;
}

.need-deck__footer {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.need-deck__footer i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px var(--success-soft);
  animation: any-pulse 2.2s ease-in-out infinite;
}

.need-deck__dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  gap: 5px;
  transform: translateX(-50%);
}

.need-deck__dots span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #d5dce7;
  transition: width 180ms ease, background 180ms ease;
}

.need-deck__dots span.is-active {
  width: 18px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.intent-section { margin-top: 6px; }
.intent-section__head { margin-bottom: 14px; }
.intent-section__head h2 { font-size: 1.25rem; }

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

.intent-card {
  --intent-accent: var(--orange);
  --intent-soft: var(--orange-soft);
  position: relative;
  min-width: 0;
  min-height: 142px;
  display: grid;
  grid-template-rows: 42px 1fr;
  align-content: start;
  gap: 14px;
  padding: 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(150deg, #fff 42%, var(--intent-soft));
  box-shadow: 0 10px 26px rgba(8,43,103,0.065);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.intent-card--buy { --intent-accent: #087bb8; --intent-soft: #e9f7ff; }
.intent-card--plan { --intent-accent: #6c55c8; --intent-soft: #f1efff; }
.intent-card--other { --intent-accent: #16895d; --intent-soft: #eaf7f2; }

.intent-card:hover,
.intent-card:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--intent-accent) 35%, white);
  box-shadow: 0 16px 34px rgba(8,43,103,0.10);
}

.intent-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--intent-accent);
  background: rgba(255,255,255,0.82);
  box-shadow: inset 0 0 0 1px rgba(8,43,103,0.055);
}

.intent-card__icon .service-icon { width: 24px; height: 24px; }
.intent-card__copy { min-width: 0; padding-right: 20px; }
.intent-card__copy strong,
.intent-card__copy small { display: block; }
.intent-card__copy strong {
  color: var(--navy-deep);
  font-size: 0.94rem;
  line-height: 1.15;
}
.intent-card__copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.38;
}

.intent-card__arrow {
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--intent-accent);
  background: rgba(255,255,255,0.82);
  font-size: 0.82rem;
  font-weight: 900;
}

.any-promise {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 22px 1px 0;
  padding: 14px 15px;
  border: 1px solid rgba(8,43,103,0.07);
  border-radius: 17px;
  background: var(--surface-soft);
}

.any-promise__pulse {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px var(--orange-soft);
}

.any-promise p {
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.5;
}
.any-promise strong { color: var(--navy-deep); }

/* Custom product, event and open requirement step */
.custom-step-page { padding-top: 18px; }

.custom-intent-badge {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--surface-soft), #fff);
}

.custom-intent-badge > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--orange);
  background: var(--orange-soft);
}

.custom-intent-badge .service-icon { width: 25px; height: 25px; }
.custom-intent-badge small,
.custom-intent-badge strong { display: block; }
.custom-intent-badge small { color: var(--muted); font-size: 0.66rem; font-weight: 800; }
.custom-intent-badge strong { margin-top: 2px; color: var(--navy-deep); font-size: 0.91rem; }

.custom-question h1 { font-size: clamp(2.25rem, 9.5vw, 3.25rem); }

.custom-requirement-panel {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(8,43,103,0.075);
}

.custom-requirement-panel > label {
  display: block;
  margin-bottom: 9px;
  color: var(--navy-deep);
  font-size: 0.78rem;
  font-weight: 900;
}

.custom-requirement-panel textarea {
  width: 100%;
  min-height: 126px;
  resize: vertical;
  padding: 15px;
  border: 1px solid #dbe3ed;
  border-radius: 17px;
  outline: none;
  color: var(--navy-deep);
  background: var(--surface-soft);
  line-height: 1.5;
}

.custom-requirement-panel textarea:focus {
  border-color: var(--cyan);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(40,170,242,0.12);
}

.custom-input-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: 0.66rem;
}

.custom-input-meta span:first-child { max-width: 75%; }
.custom-input-meta span:last-child { flex: 0 0 auto; }

.custom-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}

.custom-suggestion-chip {
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(8,43,103,0.10);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-size: 0.69rem;
  font-weight: 800;
  cursor: pointer;
}

.custom-suggestion-chip:active,
.custom-suggestion-chip:focus-visible {
  border-color: var(--orange);
  color: var(--orange-dark);
  background: var(--orange-soft);
}

/* Viewport and sticky-action fixes */
.balanced-step-page {
  min-height: calc(var(--app-height, 100dvh) - 70px);
  padding-bottom: calc(var(--sticky-action-height, 86px) + 30px + var(--safe-bottom));
}

.balanced-success {
  min-height: calc(var(--app-height, 100dvh) - 70px);
}

.balanced-action {
  bottom: max(0px, var(--visual-viewport-top));
  width: min(100%, 520px);
  padding-bottom: calc(12px + max(var(--safe-bottom), 2px));
}

body.keyboard-visible .balanced-step-page,
body.keyboard-visible .custom-step-page {
  padding-bottom: 30px;
}

body.keyboard-visible .balanced-action {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, calc(100% + 24px));
}

.service-search input,
.balanced-phone-input input,
.balanced-otp-inputs input,
.location-input-wrap input {
  font-size: 16px;
}

@keyframes any-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.82); opacity: 0.65; }
}

@media (max-width: 359px) {
  .any-home-main,
  .custom-step-page { padding-left: 15px; padding-right: 15px; }
  .any-hero-copy h1 { font-size: 2.35rem; }
  .need-deck { padding-inline: 4px; }
  .need-deck__card { min-height: 151px; padding: 18px; }
  .intent-grid { gap: 8px; }
  .intent-card { min-height: 132px; padding: 13px; }
  .intent-card__copy strong { font-size: 0.87rem; }
  .intent-card__copy small { font-size: 0.64rem; }
}

@media (max-height: 700px) and (max-width: 699px) {
  .any-home-main { padding-top: 16px; }
  .any-hero-copy h1 { font-size: 2.45rem; }
  .any-hero-copy p { margin-top: 11px; }
  .need-deck { margin-top: 20px; margin-bottom: 25px; }
  .need-deck__card { min-height: 146px; }
  .intent-card { min-height: 132px; }
}

@media (min-width: 700px) {
  .need-deck__card { min-height: 176px; }
  .intent-card { min-height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .need-deck__footer i,
  .need-deck__card { animation: none; transition: none; }
}

.request-card__intent {
  display: inline-block;
  margin-top: 6px;
  color: var(--orange-dark);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Universal Findoly Prompt */
.findoly-prompt {
  margin: 26px 0 30px;
  padding: 17px;
  border: 1px solid rgba(8, 43, 103, 0.10);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(40,170,242,0.14), transparent 42%),
    linear-gradient(145deg, #ffffff, #fbfdff);
  box-shadow: 0 18px 42px rgba(8,43,103,0.09);
}

.findoly-prompt__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
}

.findoly-prompt__head span:first-child {
  display: block;
  color: var(--orange);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.findoly-prompt__head h2 {
  margin: 3px 0 0;
  color: var(--navy-deep);
  font-size: 1.22rem;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.findoly-prompt__badge {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--cyan-soft);
  font-size: 0.62rem;
  font-weight: 900;
}

.findoly-prompt__form textarea {
  width: 100%;
  min-height: 82px;
  resize: none;
  padding: 14px 15px;
  border: 1px solid #dce4ee;
  border-radius: 18px;
  outline: none;
  color: var(--navy-deep);
  background: var(--surface-soft);
  font-size: 16px;
  line-height: 1.45;
}

.findoly-prompt__form textarea:focus {
  border-color: var(--cyan);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(40,170,242,0.12);
}

.findoly-prompt__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.65rem;
}

.prompt-photo-button,
.requirement-photo-add {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid rgba(8,43,103,0.11);
  border-radius: 12px;
  color: var(--navy);
  background: #fff;
  font-size: 0.69rem;
  font-weight: 900;
  cursor: pointer;
}

.prompt-photo-button:hover,
.prompt-photo-button:focus-within,
.requirement-photo-add:hover,
.requirement-photo-add:focus-within {
  border-color: var(--orange);
  color: var(--orange-dark);
  background: var(--orange-soft);
}

.prompt-photo-button input,
.requirement-photo-add input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.prompt-photo-button svg,
.requirement-photo-add svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prompt-photo-preview {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 8px;
  border: 1px solid rgba(23,138,87,0.20);
  border-radius: 16px;
  background: var(--success-soft);
}

.prompt-photo-preview[hidden] { display: none; }
.prompt-photo-preview img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
}
.prompt-photo-preview strong,
.prompt-photo-preview small { display: block; }
.prompt-photo-preview strong { color: var(--navy-deep); font-size: 0.76rem; }
.prompt-photo-preview small {
  max-width: 170px;
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prompt-photo-preview button {
  padding: 6px 7px;
  border: 0;
  color: var(--orange-dark);
  background: transparent;
  font-size: 0.64rem;
  font-weight: 900;
  cursor: pointer;
}

.prompt-interpretation {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 11px;
  border: 1px solid rgba(40,170,242,0.18);
  border-radius: 16px;
  background: var(--cyan-soft);
}
.prompt-interpretation[hidden] { display: none; }
.prompt-interpretation__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--navy);
  background: rgba(255,255,255,0.8);
}
.prompt-interpretation__icon svg { width: 21px; height: 21px; }
.prompt-interpretation small,
.prompt-interpretation strong { display: block; }
.prompt-interpretation small { color: var(--muted); font-size: 0.61rem; font-weight: 800; }
.prompt-interpretation strong { margin-top: 1px; color: var(--navy-deep); font-size: 0.78rem; }
.prompt-interpretation em {
  grid-column: 2;
  margin-top: -5px;
  color: var(--muted);
  font-size: 0.6rem;
  font-style: normal;
}
.prompt-submit { margin-top: 13px; }

/* Optional requirement photo */
.requirement-photo-field {
  margin-top: 17px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.requirement-photo-field__copy { margin-bottom: 10px; }
.requirement-photo-field__copy strong,
.requirement-photo-field__copy small { display: block; }
.requirement-photo-field__copy strong { color: var(--navy-deep); font-size: 0.79rem; }
.requirement-photo-field__copy small { margin-top: 3px; color: var(--muted); font-size: 0.66rem; line-height: 1.45; }
.requirement-photo-add { width: 100%; justify-content: center; min-height: 44px; }

.location-photo-summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding: 7px;
  border: 1px solid rgba(40,170,242,0.16);
  border-radius: 14px;
  background: var(--cyan-soft);
}
.location-photo-summary[hidden] { display: none; }
.location-photo-summary img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.location-photo-summary strong,
.location-photo-summary small { display: block; }
.location-photo-summary strong { color: var(--navy-deep); font-size: 0.7rem; }
.location-photo-summary small { margin-top: 2px; color: var(--muted); font-size: 0.6rem; }

/* Request receipt */
.receipt-success { padding-top: 28px; }
.request-receipt {
  width: 100%;
  margin: 28px 0 22px;
  overflow: hidden;
  border: 1px solid rgba(8,43,103,0.10);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(8,43,103,0.11);
}
.request-receipt__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 17px;
  color: #fff;
  background: linear-gradient(120deg, var(--navy-deep), var(--navy));
}
.request-receipt__header span,
.request-receipt__header small { display: block; }
.request-receipt__header span { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.11em; }
.request-receipt__header small { margin-top: 3px; color: rgba(255,255,255,0.68); font-size: 0.6rem; }
.request-receipt__header > strong {
  max-width: 47%;
  color: #fff;
  font-size: 0.68rem;
  line-height: 1.35;
  text-align: right;
  word-break: break-word;
}
.request-receipt__requirement { padding: 20px 17px 16px; }
.request-receipt__requirement > span {
  color: var(--orange);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.request-receipt__requirement h2 {
  margin: 7px 0 0;
  color: var(--navy-deep);
  font-size: clamp(1.45rem, 6.4vw, 2rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
}
.request-receipt__requirement p { margin: 8px 0 0; color: var(--muted); font-size: 0.75rem; }
.request-receipt__photo { margin: 0 17px 16px; }
.request-receipt__photo[hidden] { display: none; }
.request-receipt__photo img {
  width: 100%;
  max-height: 210px;
  border-radius: 17px;
  object-fit: cover;
  background: var(--surface-soft);
}
.request-receipt__photo figcaption { margin-top: 6px; color: var(--muted); font-size: 0.62rem; }
.request-receipt__details { margin: 0; padding: 0 17px 17px; }
.request-receipt__details > div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 1px dashed #dfe5ee;
}
.request-receipt__details dt { color: var(--muted); font-size: 0.68rem; }
.request-receipt__details dd { margin: 0; color: var(--navy-deep); font-size: 0.74rem; font-weight: 850; text-align: right; }
.request-receipt__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 14px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.61rem;
  font-weight: 800;
}
.request-receipt__footer i { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }

.request-card__visual.has-photo { overflow: hidden; padding: 0; background: var(--surface-soft); }
.request-card__visual.has-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 359px) {
  .findoly-prompt { padding: 14px; border-radius: 22px; }
  .findoly-prompt__head { display: block; }
  .findoly-prompt__badge { display: inline-block; margin-top: 8px; }
  .prompt-photo-preview { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .prompt-photo-preview img { width: 44px; height: 44px; }
  .request-receipt__header { display: block; }
  .request-receipt__header > strong { display: block; max-width: none; margin-top: 9px; text-align: left; }
}

/* =========================================================
   Living Requirement Card + Requirement Passport
   ========================================================= */
:root {
  --intent-accent: var(--orange);
  --intent-soft: var(--orange-soft);
  --intent-ink: var(--navy-deep);
}

.intent-accent--buy { --intent-accent: var(--cyan); --intent-soft: var(--cyan-soft); }
.intent-accent--plan { --intent-accent: #ef6f83; --intent-soft: #fff0f3; }
.intent-accent--other { --intent-accent: #6657d9; --intent-soft: #f0eeff; }
.intent-accent--fix { --intent-accent: var(--orange); --intent-soft: var(--orange-soft); }

.living-editor-card,
.living-requirement-card,
.living-location-card,
.request-receipt {
  --card-intent: var(--intent-accent);
  --card-intent-soft: var(--intent-soft);
}

[data-intent="buy"] { --card-intent: var(--cyan); --card-intent-soft: var(--cyan-soft); }
[data-intent="plan"] { --card-intent: #ef6f83; --card-intent-soft: #fff0f3; }
[data-intent="other"] { --card-intent: #6657d9; --card-intent-soft: #f0eeff; }
[data-intent="fix"] { --card-intent: var(--orange); --card-intent-soft: var(--orange-soft); }

.living-editor-card,
.living-location-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.living-editor-card::before,
.living-location-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: inherit;
  background: var(--card-intent, var(--orange));
}
.living-editor-card::after,
.living-location-card::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: 160px;
  height: 160px;
  right: -92px;
  top: -96px;
  border-radius: 50%;
  background: var(--card-intent-soft, var(--orange-soft));
  filter: blur(2px);
  opacity: 0.72;
}

.living-editor-card__stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -2px 0 14px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 850;
}
.living-editor-card__stage span { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); }
.living-editor-card__stage i { width: 7px; height: 7px; border-radius: 50%; background: var(--card-intent, var(--orange)); box-shadow: 0 0 0 5px color-mix(in srgb, var(--card-intent, var(--orange)) 12%, transparent); }
.living-editor-card__stage em { font-style: normal; }
.living-prompt-card { transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.living-prompt-card[data-intent]:not([data-intent=""]) { border-color: color-mix(in srgb, var(--card-intent) 28%, #dce4ee); box-shadow: 0 20px 50px color-mix(in srgb, var(--card-intent) 12%, transparent); }

.confirm-step-page { padding-top: 16px; }
.confirm-question h1 { max-width: 410px; }
.living-requirement-card {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--card-intent) 24%, #dce4ee);
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 22px 52px rgba(8,43,103,0.11);
}
.living-requirement-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--card-intent) 14%, #e7ebf1);
  background: linear-gradient(120deg, var(--card-intent-soft), #fff 76%);
}
.living-stage { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-size: 0.67rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; }
.living-stage i { width: 7px; height: 7px; border-radius: 50%; background: var(--card-intent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--card-intent) 13%, transparent); }
.living-type { padding: 5px 8px; border-radius: 999px; color: var(--intent-ink); background: rgba(255,255,255,0.82); font-size: 0.61rem; font-weight: 900; }
.living-requirement-card__body { display: grid; grid-template-columns: 52px minmax(0,1fr); align-items: start; gap: 13px; padding: 20px 17px 17px; }
.living-requirement-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 17px; color: var(--card-intent); background: var(--card-intent-soft); }
.living-requirement-card__icon svg { width: 27px; height: 27px; }
.living-requirement-card__body small { display: block; color: var(--muted); font-size: 0.65rem; font-weight: 800; }
.living-requirement-card__body h2 { margin: 4px 0 0; color: var(--navy-deep); font-size: clamp(1.25rem, 5.8vw, 1.75rem); line-height: 1.16; letter-spacing: -0.035em; }
.living-requirement-card__body p { margin: 8px 0 0; color: var(--muted); font-size: 0.72rem; line-height: 1.48; }
.living-requirement-card__photo { margin: 0 17px 16px; }
.living-requirement-card__photo[hidden] { display: none; }
.living-requirement-card__photo img { width: 100%; max-height: 190px; border-radius: 17px; object-fit: cover; background: var(--surface-soft); }
.living-requirement-card__photo figcaption { margin-top: 6px; color: var(--muted); font-size: 0.61rem; }
.living-requirement-card__actions { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px dashed #dfe5ee; background: var(--surface-soft); }
.living-requirement-card__actions button { min-height: 34px; padding: 0 10px; border: 1px solid color-mix(in srgb, var(--card-intent) 25%, #cfd8e5); border-radius: 11px; color: var(--navy); background: #fff; font-size: 0.65rem; font-weight: 900; cursor: pointer; }
.living-requirement-card__actions span { color: var(--muted); font-size: 0.62rem; line-height: 1.4; text-align: right; }
.living-requirement-card__actions strong { color: var(--navy-deep); }

.context-question { margin-top: 24px; padding: 19px 17px 17px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 12px 30px rgba(8,43,103,0.065); }
.context-question__kicker { color: var(--card-intent, var(--orange)); font-size: 0.65rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; }
.context-question h2 { margin: 5px 0 0; color: var(--navy-deep); font-size: 1.25rem; letter-spacing: -0.03em; }
.context-question > p { margin: 7px 0 0; color: var(--muted); font-size: 0.72rem; }
.context-choice-grid { display: grid; gap: 8px; margin-top: 15px; }
.context-choice { width: 100%; min-height: 58px; display: grid; grid-template-columns: 22px minmax(0,1fr); align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 16px; color: var(--navy-deep); background: var(--surface-soft); text-align: left; cursor: pointer; }
.context-choice[aria-checked="true"] { border-color: var(--card-intent, var(--orange)); background: var(--card-intent-soft, var(--orange-soft)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--card-intent, var(--orange)) 9%, transparent); }
.context-choice__dot { width: 18px; height: 18px; border: 2px solid #b9c4d4; border-radius: 50%; background: #fff; }
.context-choice[aria-checked="true"] .context-choice__dot { border: 5px solid var(--card-intent, var(--orange)); }
.context-choice strong, .context-choice small { display: block; }
.context-choice strong { font-size: 0.79rem; }
.context-choice small { margin-top: 1px; color: var(--muted); font-size: 0.62rem; }
.context-skip { display: block; margin: 11px auto 0; padding: 5px 8px; border: 0; color: var(--muted); background: transparent; font-size: 0.64rem; font-weight: 850; cursor: pointer; }

.location-context-summary { margin-top: 10px; padding: 8px 10px; border-radius: 13px; background: var(--card-intent-soft, var(--cyan-soft)); }
.location-context-summary[hidden] { display: none; }
.location-context-summary small, .location-context-summary strong { display: block; }
.location-context-summary small { color: var(--muted); font-size: 0.58rem; }
.location-context-summary strong { margin-top: 1px; color: var(--navy-deep); font-size: 0.69rem; }

.request-receipt { border-color: color-mix(in srgb, var(--intent-accent) 22%, #dce4ee); }
.request-receipt__header { background: linear-gradient(120deg, var(--navy-deep), var(--navy) 70%, color-mix(in srgb, var(--intent-accent) 70%, var(--navy))); }
.request-receipt__requirement > span { color: var(--intent-accent); }
.passport-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; padding: 0 17px 17px; }
.passport-actions button { min-height: 42px; padding: 8px 10px; border: 1px solid color-mix(in srgb, var(--intent-accent) 25%, #dce4ee); border-radius: 13px; color: var(--navy); background: var(--intent-soft); font-size: 0.67rem; font-weight: 900; cursor: pointer; }
.passport-actions button span { margin-right: 5px; color: var(--intent-accent); }

.request-card--receipt { grid-template-columns: 48px minmax(0,1fr) auto; align-items: start; }
.request-card__content { min-width: 0; }
.request-card__preference { display: inline-flex; margin-top: 8px; padding: 4px 7px; border-radius: 999px; color: var(--navy); background: var(--surface-soft); font-size: 0.59rem; font-weight: 850; }
.request-card__actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; padding-top: 11px; border-top: 1px dashed #dfe5ee; }
.request-action { min-height: 38px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); background: #fff; font-size: 0.64rem; font-weight: 900; cursor: pointer; }
.request-action--primary { border-color: var(--card-accent, var(--orange)); color: #fff; background: var(--navy); }
.intent-card-surface { --card-accent: var(--orange); border-left: 3px solid var(--card-accent); }
.intent-card-surface--buy { --card-accent: var(--cyan); }
.intent-card-surface--plan { --card-accent: #ef6f83; }
.intent-card-surface--other { --card-accent: #6657d9; }

@media (max-width: 359px) {
  .living-requirement-card__actions { grid-template-columns: 1fr; }
  .living-requirement-card__actions span { text-align: left; }
  .passport-actions { grid-template-columns: 1fr; }
  .request-card--receipt { grid-template-columns: 44px minmax(0,1fr); }
  .intent-card-surface .request-status { grid-column: 2; justify-self: start; margin-top: 4px; }
  .request-card__actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .living-prompt-card { transition: none; }
}

/* =========================================
   Requirement follow-up helper
========================================= */
.ai-inline-status {
  margin: 10px 0 0;
  color: #536070;
  font-size: 12px;
  line-height: 1.5;
}

.findoly-prompt__badge {
  background: rgba(35, 188, 220, 0.12);
  border-color: rgba(35, 188, 220, 0.24);
  color: #075d73;
}

.ai-confirm-flow .confirm-step-page {
  padding-bottom: calc(var(--sticky-action-height, 110px) + env(safe-area-inset-bottom) + 28px);
}

.ai-extracted-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 18px;
}

.ai-extracted-details span {
  display: grid;
  gap: 2px;
  min-width: 96px;
  padding: 9px 11px;
  border: 1px solid rgba(17, 38, 65, 0.1);
  border-radius: 12px;
  background: rgba(247, 249, 252, 0.96);
}

.ai-extracted-details small {
  color: #718096;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ai-extracted-details strong {
  color: #12243c;
  font-size: 12px;
  line-height: 1.35;
}

.ai-context-question[hidden] {
  display: none !important;
}

.ai-answer-field {
  margin-top: 12px;
}

.ai-answer-input {
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  padding: 13px 15px;
  border: 1.5px solid rgba(17, 38, 65, 0.16);
  border-radius: 14px;
  background: #fff;
  color: #12243c;
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ai-answer-input:focus {
  border-color: #f58a2a;
  box-shadow: 0 0 0 4px rgba(245, 138, 42, 0.12);
}

.ai-context-question .context-choice[aria-checked="true"] {
  border-color: #f58a2a;
  background: rgba(245, 138, 42, 0.08);
  box-shadow: 0 8px 22px rgba(245, 138, 42, 0.1);
}

.ai-context-question .context-choice[aria-checked="true"] .context-choice__dot {
  border-color: #f58a2a;
  background: #f58a2a;
  box-shadow: inset 0 0 0 4px #fff;
}

@media (max-width: 360px) {
  .ai-extracted-details span {
    min-width: calc(50% - 4px);
    flex: 1 1 calc(50% - 4px);
  }
}

/* =========================================================
   Customer MVC + Alpine mobile flow additions
   ========================================================= */
:root {
  --findoly-navy: #0b2850;
  --findoly-orange: #f28a2e;
  --findoly-cyan: #3cc7d6;
  --findoly-ink: #14213d;
  --findoly-muted: #667085;
  --findoly-line: #e7eaf0;
  --findoly-soft: #f7f8fb;
}
html { min-height: 100%; background: #fff; overflow-x: hidden; }
body { overflow-x: hidden; }
body { min-height: 100svh; min-height: 100dvh; overscroll-behavior-y: none; }
.app-shell { width: min(100%, 780px); min-height: 100svh; min-height: 100dvh; margin: 0 auto; overflow: visible; background: #fff; }
.balanced-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: calc(10px + env(safe-area-inset-top)) 20px 10px; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(231,234,240,.75); }
.balanced-brand { display: inline-flex; align-items: center; text-decoration: none; }
.balanced-brand img { display: block; width: 104px; height: auto; }
.customer-header__actions { display: flex; align-items: center; gap: 10px; }
.balanced-header-link { color: var(--findoly-navy); font-weight: 700; font-size: .86rem; text-decoration: none; padding: 8px 10px; border-radius: 999px; background: #f7f8fb; }
.simple-flow-page { position: relative; min-height: calc(100svh - 68px); min-height: calc(100dvh - 68px); padding: 18px 20px calc(116px + env(safe-area-inset-bottom)); }
.flow-top { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:38px; margin-bottom:24px; }
.balanced-back { color:var(--findoly-navy); text-decoration:none; font-weight:750; font-size:.9rem; border:0; background:transparent; padding:8px 0; }
.balanced-step-pill { display:inline-flex; align-items:center; justify-content:center; min-height:30px; padding:5px 11px; border-radius:999px; background:#f5f6f8; color:#667085; font-weight:800; font-size:.73rem; letter-spacing:.02em; }
.simple-flow-heading { margin-bottom:20px; }
.simple-flow-heading h1 { margin:7px 0 9px; color:var(--findoly-navy); font-size:clamp(2rem,8.4vw,3.35rem); line-height:1.03; letter-spacing:-.045em; }
.simple-flow-heading p { margin:0; max-width:560px; color:var(--findoly-muted); font-size:.98rem; line-height:1.55; }
.selection-summary-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:0 2px 12px; color:#667085; font-size:.8rem; }
.selection-summary-bar strong { color:var(--findoly-navy); }
.simple-option-list { display:grid; gap:10px; }
.simple-check-row { width:100%; display:grid; grid-template-columns:30px minmax(0,1fr); gap:12px; align-items:center; text-align:left; padding:14px 15px; border:1px solid var(--findoly-line); border-radius:16px; background:#fff; color:var(--findoly-ink); transition:border-color .16s ease,background .16s ease,transform .16s ease; }
.simple-check-row:active { transform:scale(.992); }
.simple-check-row.is-selected { border-color:rgba(242,138,46,.7); background:#fff9f2; box-shadow:0 0 0 1px rgba(242,138,46,.12); }
.simple-check-row strong { display:block; font-size:.92rem; line-height:1.25; }
.simple-check-row small { display:block; color:#7a8495; font-size:.76rem; line-height:1.35; margin-top:3px; }
.simple-check-box { display:grid; place-items:center; width:25px; height:25px; border:1.5px solid #c8ced8; border-radius:7px; color:#fff; font-weight:900; font-size:.8rem; }
.simple-check-row.is-selected .simple-check-box { border-color:var(--findoly-orange); background:var(--findoly-orange); }
.sticky-action { position:sticky; bottom:0; z-index:30; width:calc(100% + 40px); margin:24px -20px calc(-116px - env(safe-area-inset-bottom)); padding:12px 20px calc(12px + env(safe-area-inset-bottom)); display:flex; align-items:center; justify-content:space-between; gap:14px; background:rgba(255,255,255,.96); backdrop-filter:blur(16px); border-top:1px solid var(--findoly-line); box-shadow:0 -10px 28px rgba(11,40,80,.06); }
.sticky-action > div { min-width:0; }
.sticky-action small { display:block; color:#7a8495; font-size:.7rem; margin-bottom:2px; }
.sticky-action strong { display:block; max-width:48vw; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:var(--findoly-navy); font-size:.84rem; }
.followup-card,.fallback-card,.location-confirm-card,.location-auto-card,.location-search-card,.recent-location-card,.requirement-passport,.request-journey,.help-card { border:1px solid var(--findoly-line); border-radius:20px; background:#fff; box-shadow:0 10px 28px rgba(11,40,80,.055); }
.living-requirement-card { padding:20px; margin-bottom:16px; border:1px solid rgba(60,199,214,.25); border-radius:22px; background:linear-gradient(145deg,#fff,#f8fdfe); box-shadow:0 12px 32px rgba(11,40,80,.06); }
.living-requirement-card__meta { display:flex; justify-content:space-between; gap:12px; color:#7a8495; font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.living-requirement-card > strong { display:block; color:var(--findoly-navy); font-size:1.28rem; margin:12px 0; }
.living-detail-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.living-detail-list > div { padding:10px; border-radius:12px; background:#f7f8fa; min-width:0; }
.living-detail-list small { display:block; color:#8a93a2; font-size:.66rem; }
.living-detail-list span { display:block; color:var(--findoly-ink); font-size:.8rem; font-weight:750; margin-top:3px; overflow-wrap:anywhere; }
.photo-attached-chip { display:inline-flex; margin-top:12px; padding:7px 9px; border-radius:999px; background:#eefafb; color:#17798a; font-size:.72rem; font-weight:800; }
.followup-card,.fallback-card { padding:20px; margin-top:15px; }
.followup-card h2,.fallback-card h2 { color:var(--findoly-navy); margin:6px 0 16px; font-size:1.35rem; }
.followup-card > input { width:100%; min-height:52px; border:1px solid #d7dce4; border-radius:14px; padding:12px 14px; font:inherit; font-size:16px; margin-bottom:12px; }
.followup-options { display:grid; gap:9px; margin-bottom:14px; }
.followup-options button { text-align:left; min-height:48px; padding:11px 13px; border:1px solid #dfe3e9; border-radius:13px; background:#fff; color:var(--findoly-navy); font-weight:750; }
.followup-options button.is-selected { background:#fff6ec; border-color:var(--findoly-orange); }
.fallback-actions { display:flex; gap:10px; flex-wrap:wrap; }
.location-auto-card { display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:12px; align-items:center; padding:15px; }
.location-auto-card__icon { display:grid; place-items:center; width:44px; height:44px; border-radius:15px; background:#eefafb; color:#16788a; }
.location-auto-card__icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.location-auto-card small { display:block; color:#7a8495; font-size:.69rem; margin-bottom:3px; }
.location-auto-card strong { display:block; color:var(--findoly-navy); font-size:.84rem; line-height:1.3; }
.location-auto-card button,.location-search-row button { border:0; border-radius:11px; background:#f4f6f8; color:var(--findoly-navy); font-weight:800; padding:9px 11px; }
.location-divider { display:flex; align-items:center; gap:10px; color:#98a0ae; font-size:.72rem; margin:16px 0; }
.location-divider::before,.location-divider::after { content:""; flex:1; height:1px; background:#eceef2; }
.location-search-card { padding:15px; }
.location-search-card label { display:block; color:var(--findoly-navy); font-weight:800; font-size:.8rem; margin-bottom:8px; }
.location-search-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.location-search-row input { min-width:0; min-height:48px; border:1px solid #d9dee6; border-radius:12px; padding:10px 12px; font:inherit; font-size:16px; }
.recent-location-card { width:100%; text-align:left; display:block; padding:14px 15px; margin-top:12px; color:var(--findoly-ink); }
.recent-location-card span,.recent-location-card small { display:block; color:#7a8495; font-size:.7rem; }
.recent-location-card strong { display:block; color:var(--findoly-navy); margin:4px 0; }
.location-confirm-card { padding:17px; margin-top:12px; background:#fffaf4; border-color:#f6dfc6; }
.location-confirm-card h2 { color:var(--findoly-navy); font-size:1rem; margin:5px 0; }
.location-confirm-card p { color:#6e7787; margin:0; font-size:.78rem; }
.auth-flow-page { max-width:560px; margin:0 auto; }
.auth-card { padding:20px; border:1px solid var(--findoly-line); border-radius:22px; background:#fff; box-shadow:0 12px 30px rgba(11,40,80,.055); }
.auth-card > label { display:block; color:var(--findoly-navy); font-weight:800; font-size:.8rem; margin-bottom:8px; }
.mobile-input-row { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; border:1px solid #d8dde5; border-radius:15px; min-height:54px; overflow:hidden; margin-bottom:14px; }
.mobile-input-row span { padding:0 13px; border-right:1px solid #e5e8ed; color:#667085; font-weight:800; }
.mobile-input-row input { width:100%; border:0; outline:0; min-height:52px; padding:10px 13px; font:inherit; font-size:16px; }
.otp-box-row { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:7px; margin-bottom:15px; }
.otp-box-row input { min-width:0; width:100%; aspect-ratio:1/1.05; border:1px solid #d8dde5; border-radius:12px; text-align:center; font-size:1.35rem; font-weight:800; color:var(--findoly-navy); }
.auth-link-button { display:block; margin:14px auto 0; border:0; background:transparent; color:var(--findoly-navy); font-weight:750; }
.success-flow-page { max-width:620px; margin:0 auto; }
.success-hero { text-align:center; padding:24px 0 18px; }
.success-check { display:grid; place-items:center; width:64px; height:64px; margin:0 auto 15px; border-radius:22px; background:#eafaf5; color:#087a5b; font-size:1.65rem; font-weight:900; }
.success-hero h1 { color:var(--findoly-navy); margin:8px 0 8px; font-size:clamp(2.2rem,9vw,3.3rem); letter-spacing:-.045em; }
.success-hero p { color:#667085; margin:0 auto; max-width:430px; line-height:1.55; }
.requirement-passport { overflow:hidden; margin-top:14px; }
.requirement-passport__top { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; background:var(--findoly-navy); color:#fff; font-size:.68rem; letter-spacing:.06em; }
.requirement-passport__top strong { color:#bcecf2; }
.requirement-passport h2 { color:var(--findoly-navy); font-size:1.25rem; margin:18px 16px 12px; }
.passport-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; background:#edf0f4; border-top:1px solid #edf0f4; border-bottom:1px solid #edf0f4; }
.passport-grid > div { background:#fff; padding:13px 16px; min-width:0; }
.passport-grid small { display:block; color:#8a93a2; font-size:.65rem; }
.passport-grid strong { display:block; color:#17243a; font-size:.78rem; margin-top:3px; overflow-wrap:anywhere; }
.passport-actions { display:flex; gap:8px; padding:12px 16px; }
.passport-actions button { flex:1; min-height:40px; border:1px solid #dfe3e9; border-radius:11px; background:#fff; color:var(--findoly-navy); font-weight:800; }
.request-journey { margin-top:14px; padding:8px 16px; }
.request-journey__item { display:grid; grid-template-columns:28px minmax(0,1fr); gap:11px; padding:13px 0; border-bottom:1px solid #eef0f3; }
.request-journey__item:last-child { border-bottom:0; }
.request-journey__item > span { display:grid; place-items:center; width:26px; height:26px; border-radius:999px; background:#f3f5f7; color:#667085; font-size:.72rem; font-weight:900; }
.request-journey__item.is-done > span { background:#fff0df; color:#ba5e0b; }
.request-journey__item strong { display:block; color:var(--findoly-navy); font-size:.82rem; }
.request-journey__item small { display:block; color:#7c8594; margin-top:3px; font-size:.72rem; }
.success-actions { display:grid; gap:9px; margin-top:18px; }
.requests-page { max-width:620px; margin:0 auto; }
.request-list { display:grid; gap:12px; }
.request-card { border:1px solid var(--findoly-line); border-radius:18px; padding:16px; background:#fff; box-shadow:0 8px 24px rgba(11,40,80,.045); }
.request-card__top { display:flex; align-items:center; justify-content:space-between; gap:12px; color:#7f8897; font-size:.7rem; }
.request-card__top span { color:#946018; background:#fff4e5; padding:5px 8px; border-radius:999px; font-weight:800; }
.request-card h2 { color:var(--findoly-navy); font-size:1rem; margin:12px 0 6px; }
.request-card p { color:#7a8493; font-size:.76rem; margin:0; }
.request-card__actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.request-card__actions a,.request-card__actions button { border:0; background:#f5f7f9; color:var(--findoly-navy); text-decoration:none; padding:8px 10px; border-radius:10px; font-weight:750; font-size:.72rem; }
.help-card { padding:18px; margin-bottom:12px; }
.help-card h2 { color:var(--findoly-navy); margin:0 0 7px; font-size:1rem; }
.help-card p { color:#667085; margin:0; line-height:1.55; font-size:.84rem; }
.empty-state { text-align:center; padding:30px 18px; border:1px dashed #d8dde5; border-radius:18px; }
.empty-state h2 { color:var(--findoly-navy); margin:0 0 6px; }
.empty-state p { color:#667085; margin:0 0 16px; }

@media (max-width: 420px) {
  .balanced-header { min-height:62px; padding-left:16px; padding-right:16px; }
  .balanced-brand img { width:94px; }
  .simple-flow-page { padding-left:16px; padding-right:16px; padding-bottom:calc(110px + env(safe-area-inset-bottom)); }
  .sticky-action { width:calc(100% + 32px); margin-left:-16px; margin-right:-16px; margin-bottom:calc(-110px - env(safe-area-inset-bottom)); padding-left:16px; padding-right:16px; }
  .living-detail-list,.passport-grid { grid-template-columns:1fr; }
  .otp-box-row { gap:5px; }
}
@media (max-height: 680px) {
  .simple-flow-page { padding-top:12px; }
  .flow-top { margin-bottom:14px; }
  .simple-flow-heading { margin-bottom:14px; }
  .simple-flow-heading h1 { font-size:1.95rem; }
}

/* =========================================================
   Responsive + viewport hardening (mobile / tablet / laptop)
   ========================================================= */
[x-cloak]{display:none!important}
html,body{max-width:100%;overflow-x:clip}
.mvc-loading{opacity:.58;pointer-events:none}
.mvc-error{color:#b42318;font-size:.86rem;margin:.65rem 0 0}
.mvc-muted{color:#667085}
.mvc-hidden{display:none!important}
.mvc-api-state{min-height:1.25rem}

body{min-width:0;min-height:100%;overscroll-behavior-y:auto}
.app-shell,.balanced-shell{
  width:100%;
  max-width:1280px;
  min-height:100svh;
  min-height:100dvh;
  overflow:visible;
  box-shadow:none;
}
.balanced-header{
  width:100%;
  max-width:1280px;
  margin:0 auto;
}
.simple-flow-page{
  --flow-pad-x:20px;
  --flow-pad-total:40px;
  --flow-pad-neg:-20px;
  width:100%;
  max-width:820px;
  margin:0 auto;
  min-height:calc(100svh - 68px);
  min-height:calc(100dvh - 68px);
  padding:18px var(--flow-pad-x) 24px;
}
.sticky-action{
  position:sticky;
  left:auto;
  bottom:0;
  width:calc(100% + var(--flow-pad-total));
  max-width:none;
  transform:none;
  margin:28px var(--flow-pad-neg) -24px;
  padding:12px var(--flow-pad-x) calc(12px + env(safe-area-inset-bottom));
}
.sticky-action strong{max-width:min(52vw,420px)}
.simple-option-list{padding-bottom:4px}
.simple-check-row{scroll-margin-bottom:110px}

.any-home-main{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:clamp(24px,4vw,54px) 20px 56px;
}
.any-welcome{display:grid;gap:22px}
.any-hero-copy{max-width:720px}
.findoly-prompt{max-width:760px}
.intent-section{max-width:920px}
.balanced-service-step{max-width:1100px;margin:0 auto}

@media (min-width:700px){
  .balanced-header{padding-left:28px;padding-right:28px}
  .simple-flow-page{--flow-pad-x:28px;--flow-pad-total:56px;--flow-pad-neg:-28px;max-width:900px;padding-top:28px;padding-bottom:30px}
  .flow-top{margin-bottom:30px}
  .simple-flow-heading h1{font-size:clamp(2.65rem,5vw,4rem)}
  .simple-flow-heading p{font-size:1rem;max-width:680px}
  .simple-option-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .simple-check-row{min-height:82px}
  .living-detail-list{grid-template-columns:repeat(3,minmax(0,1fr))}
  .auth-flow-page{max-width:660px}
  .success-flow-page{max-width:820px}
  .requests-page{max-width:980px}
  .request-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .request-card{height:100%;display:flex;flex-direction:column}
  .request-card__actions{margin-top:auto;padding-top:16px}
  .passport-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .intent-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .balanced-service-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .service-list-card__copy small{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
}

@media (min-width:900px){
  body[x-data="locationPage"] .simple-flow-page{
    max-width:1020px;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    column-gap:22px;
    align-content:start;
  }
  body[x-data="locationPage"] .flow-top,
  body[x-data="locationPage"] .simple-flow-heading,
  body[x-data="locationPage"] .recent-location-card,
  body[x-data="locationPage"] .location-confirm-card,
  body[x-data="locationPage"] .mvc-error,
  body[x-data="locationPage"] .sticky-action{grid-column:1/-1}
  body[x-data="locationPage"] .location-divider{display:none}
  body[x-data="locationPage"] .location-auto-card,
  body[x-data="locationPage"] .location-search-card{min-height:132px}
}

@media (min-width:1100px){
  body{background:linear-gradient(180deg,#f7f9fc 0,#fff 34%,#fff 100%)}
  .app-shell,.balanced-shell{background:transparent}
  .balanced-header{
    padding-left:40px;
    padding-right:40px;
    background:rgba(255,255,255,.9);
  }
  .any-home-main{padding:64px 40px 80px}
  .any-welcome{
    grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);
    grid-template-areas:
      "hero intent"
      "prompt intent"
      "promise intent";
    column-gap:56px;
    row-gap:22px;
    align-items:start;
  }
  .any-hero-copy{grid-area:hero;padding-top:18px}
  .findoly-prompt{grid-area:prompt;max-width:none}
  .intent-section{grid-area:intent;position:sticky;top:106px;max-width:none;padding:24px;border:1px solid rgba(8,43,103,.08);border-radius:28px;background:rgba(255,255,255,.86);box-shadow:0 24px 70px rgba(8,43,103,.08)}
  .any-promise{grid-area:promise;max-width:720px}
  .any-hero-copy h1{font-size:clamp(4rem,5.1vw,5.4rem);line-height:.96}
  .any-hero-copy p{max-width:650px;font-size:1.08rem}
  .findoly-prompt{border-radius:28px;box-shadow:0 22px 70px rgba(8,43,103,.10)}
  .intent-grid{grid-template-columns:1fr;gap:12px}
  .intent-card{min-height:92px}
  .balanced-service-step{padding:48px 40px 70px}
  .balanced-service-step__intro{max-width:720px}
  .balanced-service-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .simple-flow-page{max-width:1040px;--flow-pad-x:36px;--flow-pad-total:72px;--flow-pad-neg:-36px;padding-top:36px}
  body[x-data="serviceTypesPage"] .simple-flow-page{max-width:1120px}
  body[x-data="serviceTypesPage"] .simple-option-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  body[x-data="confirmPage"] .simple-flow-page,
  body[x-data="customPage"] .simple-flow-page{max-width:900px}
  .requests-page{max-width:1160px}
  .request-list{grid-template-columns:repeat(3,minmax(0,1fr))}
  .success-flow-page{max-width:900px}
}

@media (max-width:699px){
  .app-shell,.balanced-shell{background:#fff}
  .any-home-main{padding-left:16px;padding-right:16px}
  .sticky-action{box-shadow:0 -8px 24px rgba(11,40,80,.07)}
}

@media (max-width:420px){
  .simple-flow-page{--flow-pad-x:16px;--flow-pad-total:32px;--flow-pad-neg:-16px;padding-bottom:20px}
  .sticky-action{width:calc(100% + 32px);margin:24px -16px -20px;padding-left:16px;padding-right:16px}
  .any-home-main{padding-top:22px;padding-bottom:42px}
  .simple-flow-heading h1{font-size:clamp(2rem,9vw,2.65rem)}
  .location-auto-card{grid-template-columns:40px minmax(0,1fr) auto;padding:13px}
  .location-auto-card__icon{width:40px;height:40px}
}

@media (max-height:650px) and (max-width:699px){
  .balanced-header{min-height:58px;padding-top:8px;padding-bottom:8px}
  .simple-flow-page{padding-top:10px}
  .flow-top{margin-bottom:12px}
  .simple-flow-heading{margin-bottom:12px}
  .simple-flow-heading h1{font-size:1.9rem}
}
.balanced-header-link--secondary{display:none}
@media (min-width:700px){.balanced-header-link--secondary{display:inline-flex}}

/* =========================================================
   Responsive layout correction v2 — 2026-08-10
   Keeps one EJS tree for mobile, tablet, laptop and desktop.
   ========================================================= */
.prompt-suggestions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0 14px;
}
.prompt-suggestions button{
  appearance:none;
  max-width:100%;
  min-height:34px;
  padding:7px 10px;
  overflow:hidden;
  border:1px solid #e1e7ef;
  border-radius:999px;
  color:#40516b;
  background:#fff;
  box-shadow:0 3px 10px rgba(8,43,103,.035);
  font:inherit;
  font-size:.7rem;
  font-weight:750;
  line-height:1.2;
  text-align:left;
  text-overflow:ellipsis;
  white-space:nowrap;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease;
}
.prompt-suggestions button:hover,
.prompt-suggestions button:focus-visible{
  border-color:rgba(242,138,46,.5);
  color:var(--findoly-navy);
  background:#fff8f1;
  outline:none;
}
.prompt-suggestions button:active{transform:scale(.985)}

/* Prevent any historical phone-shell rule from constraining larger screens. */
.app-shell,.balanced-shell,.any-shell{
  width:100%!important;
  max-width:1360px!important;
  margin-inline:auto!important;
}
.balanced-header{
  width:100%;
  max-width:1360px!important;
  margin-inline:auto;
}

@media (min-width:700px){
  body{background:#f7f9fc}
  .app-shell,.balanced-shell,.any-shell{
    min-height:100dvh;
    background:#fff;
  }
  .balanced-header{
    min-height:76px;
    padding:14px clamp(26px,4vw,48px);
  }
  .balanced-brand img{width:116px}
  .balanced-header-link{padding:9px 13px;font-size:.88rem}
  .any-home-main{
    max-width:1240px;
    padding:clamp(38px,5vw,64px) clamp(28px,4vw,52px) 72px;
  }
  .findoly-prompt{margin:0;padding:22px}
  .findoly-prompt__form textarea{min-height:112px}
  .prompt-suggestions button{font-size:.74rem;min-height:36px;padding:8px 12px}
  .intent-card{min-height:126px;padding:18px}
  .simple-flow-page{padding-left:32px;padding-right:32px}
}

@media (min-width:960px){
  body{background:linear-gradient(180deg,#f5f8fc 0,#fff 46%)}
  .app-shell,.balanced-shell,.any-shell{background:transparent}
  .any-welcome{
    display:grid!important;
    grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);
    grid-template-areas:
      "hero intent"
      "prompt intent"
      "promise intent";
    column-gap:clamp(34px,4vw,64px);
    row-gap:22px;
    align-items:start;
  }
  .any-hero-copy{grid-area:hero;max-width:700px;padding-top:10px}
  .any-hero-copy h1{font-size:clamp(3.8rem,5.5vw,5.35rem);max-width:650px}
  .any-hero-copy p{max-width:620px;font-size:1.04rem}
  .findoly-prompt{grid-area:prompt;max-width:none}
  .intent-section{
    grid-area:intent;
    position:sticky;
    top:104px;
    max-width:none;
    margin:0;
    padding:22px;
    border:1px solid rgba(8,43,103,.08);
    border-radius:28px;
    background:rgba(255,255,255,.9);
    box-shadow:0 24px 70px rgba(8,43,103,.08);
    backdrop-filter:blur(16px);
  }
  .intent-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
  .intent-card{min-height:132px}
  .any-promise{grid-area:promise;max-width:720px;margin-top:0}
  .balanced-service-step{max-width:1180px;padding:42px 42px 72px}
  .balanced-service-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .simple-flow-page{max-width:1060px;padding-top:36px}
  body[x-data="serviceTypesPage"] .simple-flow-page{max-width:1160px}
  body[x-data="serviceTypesPage"] .simple-option-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .requests-page{max-width:1180px}
  .request-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
}

@media (min-width:1280px){
  .any-home-main{max-width:1280px;padding-top:68px}
  .any-welcome{grid-template-columns:minmax(0,1.12fr) minmax(440px,.88fr);column-gap:72px}
  .intent-section{padding:26px}
  .intent-card{min-height:138px}
  .findoly-prompt{padding:24px 25px}
}

@media (max-width:699px){
  body{background:#fff}
  .app-shell,.balanced-shell,.any-shell{max-width:100%!important;background:#fff}
  .balanced-header{max-width:100%!important}
  .prompt-suggestions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  .prompt-suggestions button{
    width:100%;
    min-width:0;
    white-space:normal;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
  }
}

@media (max-width:359px){
  .prompt-suggestions{grid-template-columns:1fr}
}

/* =========================================================
   Findoly brand lock — orange / navy / cyan, no gradients.
   ========================================================= */
:root {
  --findoly-navy: var(--navy);
  --findoly-orange: var(--orange);
  --findoly-cyan: var(--cyan);
  --findoly-ink: var(--text);
  --findoly-muted: var(--muted);
  --findoly-line: var(--line);
  --findoly-soft: var(--surface-soft);
}
*, *::before, *::after { background-image: none !important; }
html, body { background-color: #f6f8fb !important; }
.app-shell, .balanced-shell, .any-shell, .auth-shell { background-color: #fff !important; }
.balanced-header { background-color: rgba(255,255,255,.97) !important; }
.balanced-primary, .primary-button, .submit-button, .request-receipt__header {
  background-color: var(--navy) !important;
  color: #fff !important;
}
.balanced-primary:hover, .primary-button:hover { background-color: var(--navy-deep) !important; }
.balanced-primary__arrow { background-color: #fff !important; color: var(--navy) !important; }
.balanced-step-pill { background-color: var(--cyan-soft) !important; color: var(--navy) !important; }
.balanced-service-list .balanced-service-card {
  --card-accent: var(--navy) !important;
  --card-soft: var(--cyan-soft) !important;
  background-color: #fff !important;
}
.balanced-service-list .balanced-service-card:nth-child(n) {
  --card-accent: var(--navy) !important;
  --card-soft: var(--cyan-soft) !important;
}
.balanced-service-list .service-list-card__icon,
.balanced-service-list .service-list-card__arrow,
.location-auto-card__icon { color: var(--navy) !important; background-color: var(--cyan-soft) !important; }
.simple-check-row.is-selected, .followup-options button.is-selected, .location-confirm-card {
  border-color: rgba(255,90,18,.58) !important;
  background-color: var(--orange-soft) !important;
}
.simple-check-row.is-selected .simple-check-box { border-color: var(--orange) !important; background-color: var(--orange) !important; }
.living-requirement-card, .living-editor-card, .followup-card, .location-auto-card, .location-search-card,
.recent-location-card, .requirement-passport, .request-journey, .help-card, .auth-card, .intent-section {
  background-color: #fff !important;
}
.match-journey__line span, .flow-progress__fill, .brand-panel__line { background-color: var(--orange) !important; }
.service-search:focus-within, .location-input-wrap:focus-within, .mobile-input-row:focus-within {
  border-color: var(--cyan) !important;
}

.findoly-home-main {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 68px) clamp(18px, 4vw, 52px) 72px;
}
.findoly-home-hero { max-width: 690px; margin-bottom: 32px; }
.findoly-home-hero h1 {
  margin: 8px 0 0;
  color: var(--navy-deep);
  font-size: clamp(2.7rem, 8vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.findoly-home-hero h1 span { color: var(--orange); }
.findoly-home-hero p { max-width: 640px; margin: 16px 0 0; color: var(--muted); font-size: clamp(.96rem, 1.5vw, 1.08rem); line-height: 1.62; }
.findoly-category-section { min-width: 0; }
.findoly-category-heading { margin-bottom: 14px; }
.findoly-category-heading h2 { margin: 3px 0 0; color: var(--navy-deep); font-size: clamp(1.5rem, 2.2vw, 2rem); }
.findoly-category-heading small { color: var(--muted); font-size: .74rem; }
.findoly-category-search { margin-top: 0; background-color: var(--surface-soft) !important; }
.findoly-category-list { margin-top: 14px; }
.findoly-home-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 760px;
  margin-top: 24px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background-color: #fff;
}
.findoly-home-note__dot { width: 8px; height: 8px; flex: 0 0 auto; margin-top: 7px; border-radius: 50%; background: var(--cyan); }
.findoly-home-note p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.findoly-home-note strong { color: var(--navy); }
.requirement-selection-summary {
  margin-bottom: 16px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 16px;
  background-color: #fff;
}
.requirement-selection-summary small, .requirement-selection-summary strong, .requirement-selection-summary span { display:block; }
.requirement-selection-summary small { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.requirement-selection-summary strong { margin-top: 4px; color: var(--navy); font-size: 1rem; }
.requirement-selection-summary span { margin-top: 3px; color: var(--muted); font-size: .8rem; line-height: 1.45; }

@media (min-width: 960px) {
  body { background-color: #f6f8fb !important; }
  .app-shell, .balanced-shell, .any-shell { background-color: #fff !important; }
  .findoly-home-main {
    display: grid;
    grid-template-columns: minmax(300px,.78fr) minmax(520px,1.22fr);
    grid-template-areas: "hero categories" "note categories";
    column-gap: clamp(46px, 6vw, 86px);
    row-gap: 22px;
    align-items: start;
  }
  .findoly-home-hero { grid-area: hero; position: sticky; top: 116px; margin-bottom: 0; }
  .findoly-category-section { grid-area: categories; }
  .findoly-home-note { grid-area: note; margin-top: 0; align-self: start; }
  .findoly-category-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
}
@media (max-width: 699px) {
  html, body, .app-shell, .balanced-shell { background-color: #fff !important; }
  .findoly-home-main { padding-top: 28px; padding-bottom: 48px; }
  .findoly-home-hero h1 { font-size: clamp(2.65rem, 13vw, 3.65rem); }
  .findoly-category-heading { align-items: flex-start; }
  .findoly-category-heading small { max-width: 120px; text-align: right; }
  .findoly-category-list { grid-template-columns: 1fr !important; }
}

/* =========================================================
   Dual-path homepage: typed requirement + manual categories.
   Visual language follows the approved Findoly any-requirement UI.
   ========================================================= */
.any-home-main{max-width:1240px!important;padding:clamp(24px,4.5vw,64px) clamp(16px,4vw,52px) 72px!important}
.any-welcome{display:flex;flex-direction:column;gap:0;min-width:0}
.any-hero-copy{max-width:720px}
.findoly-prompt{width:100%;max-width:760px;margin:26px 0 30px!important;background-color:#fff!important;border-color:rgba(8,43,103,.10)!important}
.findoly-prompt__badge{background-color:var(--cyan-soft)!important;color:var(--navy)!important}
.findoly-prompt__form textarea{background-color:var(--surface-soft)!important}
.findoly-prompt__form textarea:focus{background-color:#fff!important}
.prompt-submit{margin-top:4px}
.need-deck{width:100%;max-width:760px}
.need-deck__card{background-color:#fff!important;border-color:rgba(40,170,242,.22)!important}
.need-deck__back--one{background-color:var(--cyan-soft)!important}
.need-deck__back--two{background-color:var(--orange-soft)!important}
.need-deck__dots span.is-active{background-color:var(--orange)!important}
.need-deck__footer i{background-color:var(--cyan)!important;box-shadow:0 0 0 5px var(--cyan-soft)!important}
.intent-section{width:100%;max-width:920px}
.intent-card,
.intent-card--fix,
.intent-card--buy,
.intent-card--plan,
.intent-card--other{
  --intent-accent:var(--navy)!important;
  --intent-soft:var(--cyan-soft)!important;
  background-color:#fff!important;
}
.intent-card__icon{color:var(--navy)!important;background-color:var(--cyan-soft)!important}
.intent-card__arrow{color:var(--orange)!important;background-color:var(--orange-soft)!important}
.intent-card:hover,.intent-card:focus-visible{border-color:rgba(255,90,18,.34)!important}
.any-promise{max-width:760px;background-color:var(--surface-soft)!important}
.balanced-service-step{width:100%;max-width:1180px;margin:0 auto;padding:clamp(28px,4vw,52px) clamp(16px,4vw,42px) 72px}
.balanced-service-step__intro{max-width:720px}

@media (min-width:960px){
  .any-welcome{
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(400px,.92fr);
    grid-template-areas:
      "hero intent"
      "prompt intent"
      "deck intent"
      "promise intent";
    column-gap:clamp(42px,5vw,72px);
    row-gap:22px;
    align-items:start;
  }
  .any-hero-copy{grid-area:hero;padding-top:10px}
  .findoly-prompt{grid-area:prompt;max-width:none;margin:0!important}
  .need-deck{grid-area:deck;max-width:none;margin:0!important}
  .intent-section{grid-area:intent;position:sticky;top:104px;max-width:none;margin:0;padding:24px;border:1px solid rgba(8,43,103,.08);border-radius:28px;background-color:#fff!important;box-shadow:0 24px 70px rgba(8,43,103,.08)}
  .intent-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
  .intent-card{min-height:132px}
  .any-promise{grid-area:promise;max-width:none;margin:0}
  .any-hero-copy h1{font-size:clamp(3.8rem,5.4vw,5.3rem)!important}
}
@media (max-width:699px){
  .any-home-main{padding-top:28px!important;padding-bottom:48px!important}
  .any-hero-copy h1{font-size:clamp(2.65rem,13vw,3.65rem)!important}
  .findoly-prompt{padding:16px!important}
  .need-deck{margin-top:0!important}
  .intent-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:359px){.intent-grid{grid-template-columns:1fr!important}}

/* =========================================================
   Requirement card multi-step states.
   Each generated step replaces the composer inside the same card.
   ========================================================= */
.requirement-guided-step{
  min-width:0;
  padding-top:2px;
}
.requirement-guided-step__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.requirement-guided-step__back{
  min-height:34px;
  padding:6px 9px;
  border:0;
  border-radius:10px;
  background-color:var(--surface-soft)!important;
  color:var(--navy);
  font-size:.72rem;
  font-weight:850;
  cursor:pointer;
}
.requirement-guided-step__back:disabled{opacity:.55;cursor:wait}
.requirement-guided-step__progress{display:flex;align-items:center;gap:6px}
.requirement-guided-step__progress span{
  width:22px;
  height:5px;
  border-radius:999px;
  background-color:var(--line)!important;
  transition:background-color .16s ease;
}
.requirement-guided-step__progress span.is-resolved{background-color:var(--orange)!important}
.requirement-guided-step__request{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-bottom:17px;
  padding:12px 13px;
  border:1px solid rgba(8,43,103,.09);
  border-left:3px solid var(--cyan);
  border-radius:14px;
  background-color:var(--surface-soft)!important;
}
.requirement-guided-step__request small{
  color:var(--muted);
  font-size:.63rem;
  font-weight:850;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.requirement-guided-step__request strong{
  color:var(--navy-deep);
  font-size:.88rem;
  line-height:1.4;
}
.requirement-guided-step__question>span{
  display:block;
  color:var(--orange);
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.requirement-guided-step__question h3{
  margin:6px 0 0;
  color:var(--navy-deep);
  font-size:clamp(1.18rem,2.2vw,1.5rem);
  line-height:1.22;
  letter-spacing:-.022em;
}
.requirement-guided-step__options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-top:15px;
}
.requirement-guided-step__option{
  width:100%;
  min-width:0;
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 13px;
  border:1px solid rgba(8,43,103,.13);
  border-radius:14px;
  background-color:#fff!important;
  color:var(--navy-deep);
  text-align:left;
  cursor:pointer;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.requirement-guided-step__option span{min-width:0;font-size:.85rem;font-weight:800;line-height:1.3}
.requirement-guided-step__option b{
  width:26px;
  height:26px;
  flex:0 0 26px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background-color:var(--orange-soft)!important;
  color:var(--orange);
  font-size:.75rem;
}
.requirement-guided-step__option:hover,
.requirement-guided-step__option:focus-visible{
  border-color:rgba(255,90,18,.45);
  box-shadow:0 8px 22px rgba(8,43,103,.07);
  outline:none;
}
.requirement-guided-step__option:active{transform:scale(.985)}
.requirement-guided-step__option.is-selected{
  border-color:var(--orange);
  box-shadow:0 0 0 2px var(--orange-soft);
}
.requirement-guided-step__option:disabled{opacity:.65;cursor:wait}
.requirement-guided-step__input{
  width:100%;
  min-height:50px;
  margin-top:15px;
  padding:12px 14px;
  border:1px solid #dce4ee;
  border-radius:14px;
  outline:none;
  background-color:var(--surface-soft)!important;
  color:var(--navy-deep);
  font-size:16px;
}
.requirement-guided-step__input:focus{
  border-color:var(--cyan);
  background-color:#fff!important;
  box-shadow:0 0 0 4px rgba(40,170,242,.12);
}
.requirement-guided-step__continue{margin-top:14px}
@media (max-width:479px){
  .requirement-guided-step__options{grid-template-columns:1fr}
  .requirement-guided-step__option{min-height:50px}
  .requirement-guided-step__progress span{width:18px}
}

/* Model-driven requirement UI: visual treatment only; business choices come from API JSON. */
.requirement-guided-step__helper{
  margin:7px 0 0;
  color:var(--muted);
  font-size:.82rem;
  line-height:1.45;
}
.requirement-guided-step__option-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.requirement-guided-step__option-copy strong{
  color:var(--navy-deep);
  font-size:.86rem;
  font-weight:850;
  line-height:1.3;
}
.requirement-guided-step__option-copy small{
  color:var(--muted);
  font-size:.72rem;
  font-weight:600;
  line-height:1.35;
}
