:root {
  --orange: #FC6F13;
  --black: #111111;
  --charcoal: #242424;
  --gray: #666666;
  --light-gray: #F3F3F3;
  --pale-orange: #FFF4EC;
  --white: #FFFFFF;
  --border: #DEDEDE;
  --shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--light-gray); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--light-gray);
  color: var(--charcoal);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { max-width: 100%; display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 12px;
  top: -80px;
  padding: 10px 14px;
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
}
.skip-link:focus { top: calc(12px + var(--safe-top)); }

.app-shell {
  width: min(100%, 680px);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--white);
  box-shadow: 0 0 36px rgba(17, 17, 17, 0.10);
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: calc(66px + var(--safe-top));
  padding: calc(8px + var(--safe-top)) 14px 8px;
  background: var(--black);
  border-bottom: 3px solid var(--orange);
}
.brand-link { justify-self: center; width: min(210px, 56vw); }
.brand-link img { width: 100%; max-height: 48px; object-fit: contain; }
.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}
.icon-button svg { width: 22px; height: 22px; }
.header-back[hidden] { visibility: hidden; display: grid !important; }

main { padding: 0 18px calc(100px + var(--safe-bottom)); }
.view { display: none; animation: view-in 170ms ease-out; }
.view.active { display: block; }
@keyframes view-in { from { opacity: .2; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.hero { padding: 34px 4px 20px; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 10px; color: var(--black); font-size: clamp(2rem, 8vw, 3rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { margin-bottom: 6px; color: var(--black); font-size: 1.35rem; line-height: 1.15; }
.hero p:last-child, .page-heading > p:last-child { max-width: 580px; margin-bottom: 0; color: var(--gray); font-size: 1.02rem; }

.urgent-card {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(252, 111, 19, 0.26);
  border-radius: 16px;
  background: var(--pale-orange);
}
.urgent-card p { margin: 0 0 2px; }
.urgent-label { color: var(--orange); font-size: 0.7rem; font-weight: 800; letter-spacing: .08em; }
.urgent-card strong { color: var(--black); font-size: .95rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 17px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease;
}
.button:active { transform: scale(.985); }
.button svg { width: 20px; height: 20px; }
.button-primary { background: var(--orange); color: var(--black); }
.button-dark { background: var(--black); color: var(--white); }
.button-light { border: 1px solid var(--border); background: var(--white); color: var(--black); }
.button.compact { min-height: 42px; padding: 9px 13px; white-space: nowrap; font-size: .9rem; }
.full-width { width: 100%; }

.action-grid { display: grid; gap: 12px; }
.action-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 22px;
  gap: 13px;
  align-items: center;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(17, 17, 17, .04);
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}
.action-card:active { transform: scale(.988); }
.action-card.featured { border-color: rgba(252,111,19,.48); background: linear-gradient(135deg, var(--white), var(--pale-orange)); }
.action-icon, .settings-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--light-gray);
  color: var(--black);
}
.featured .action-icon { background: var(--orange); }
.action-icon svg { width: 26px; height: 26px; }
.action-card strong { display: block; color: var(--black); font-size: 1rem; }
.action-card small { display: block; margin-top: 2px; color: var(--gray); font-size: .82rem; }
.chevron { width: 20px; height: 20px; color: var(--gray); }

.install-strip {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 22px;
  gap: 11px;
  align-items: center;
  width: 100%;
  margin: 18px 0 0;
  padding: 12px;
  border: 1px solid rgba(252,111,19,.42);
  border-radius: 14px;
  background: var(--pale-orange);
  color: var(--black);
  text-align: left;
  cursor: pointer;
}
.install-strip[hidden] { display: none; }
.install-strip-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--orange); }
.install-strip-icon svg { width: 24px; height: 24px; }
.install-strip strong { display: block; font-size: .92rem; }
.install-strip small { display: block; margin-top: 2px; color: var(--gray); font-size: .74rem; }

.website-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  margin: 20px 0 12px;
  padding: 15px 16px;
  border-radius: 14px;
  background: var(--black);
  color: var(--white);
}
.website-strip span, .website-strip strong { grid-column: 1; }
.website-strip span { font-size: .77rem; color: #d5d5d5; }
.website-strip strong { font-size: .95rem; }
.website-strip svg { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--orange); }

.page-heading { padding: 30px 3px 20px; }
.page-heading h1 { font-size: clamp(1.9rem, 7vw, 2.7rem); }

.segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 14px;
  background: var(--light-gray);
}
.segmented-control button {
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--gray);
  font-weight: 800;
  cursor: pointer;
}
.segmented-control button[aria-selected="true"] { background: var(--black); color: var(--white); box-shadow: 0 3px 12px rgba(17,17,17,.12); }

.search-field {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 50px;
  margin-bottom: 12px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--white);
}
.search-field:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252,111,19,.14); }
.search-field svg { width: 21px; height: 21px; color: var(--gray); }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--black); font-size: 16px; }

.tip-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 12px 13px;
  border-radius: 12px;
  background: var(--pale-orange);
  color: var(--charcoal);
  font-size: .84rem;
}
.tip-card svg { flex: 0 0 19px; width: 19px; height: 19px; color: var(--orange); }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.brand-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
}
.brand-card:active { transform: scale(.985); }
.brand-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--black);
  color: var(--orange);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .02em;
}
.brand-card strong { display: block; color: var(--black); font-size: .91rem; line-height: 1.15; }
.brand-card small { display: block; margin-top: 3px; color: var(--gray); font-size: .72rem; line-height: 1.2; }
.brand-help-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 22px;
  gap: 10px;
  align-items: center;
  min-height: 74px;
  margin-top: 12px;
  padding: 11px;
  border: 1px solid rgba(252,111,19,.42);
  border-radius: 14px;
  background: var(--pale-orange);
}
.brand-badge.help { background: var(--orange); color: var(--black); font-size: 1.15rem; }
.brand-help-card strong { display: block; color: var(--black); font-size: .91rem; }
.brand-help-card small { display: block; margin-top: 3px; color: var(--gray); font-size: .72rem; }

.no-results { padding: 20px; border-radius: 14px; background: var(--light-gray); color: var(--gray); text-align: center; }
.external-disclaimer, .fine-print {
  margin: 18px 2px 0;
  color: var(--gray);
  font-size: .73rem;
  line-height: 1.45;
}

.service-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.service-choice-button {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
  min-height: 126px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
}
.service-choice-button[aria-checked="true"] { border: 2px solid var(--orange); background: var(--pale-orange); padding: 14px; }
.service-choice-button svg { width: 29px; height: 29px; color: var(--black); }
.service-choice-button strong { display: block; color: var(--black); font-size: 1.02rem; }
.service-choice-button small { display: block; margin-top: 3px; color: var(--gray); font-size: .75rem; line-height: 1.3; }

.pricing-panel {
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid rgba(252,111,19,.28);
  border-radius: 16px;
  background: var(--pale-orange);
}
.section-title-row { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.section-title-row .eyebrow { margin-bottom: 4px; font-size: .65rem; }
.section-title-row h2 { margin: 0; }
.section-title-row a { flex: 0 0 auto; color: var(--black); font-size: .82rem; font-weight: 800; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
.price-card { width: 100%; padding: 10px 8px; border: 1px solid rgba(17,17,17,.10); border-radius: 10px; background: var(--white); color: inherit; font: inherit; text-align: center; cursor: pointer; -webkit-appearance: none; appearance: none; }
.price-card strong { display: block; color: var(--black); font-size: .93rem; }
.price-card span { display: block; margin-top: 2px; color: var(--gray); font-size: .68rem; line-height: 1.25; }
.price-card b { display: block; margin-top: 5px; color: var(--orange); font-size: .98rem; }
.price-card em { display: block; margin-top: 7px; color: var(--black); font-size: .66rem; font-style: normal; font-weight: 800; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 2px; }
.price-card:hover, .price-card:focus-visible { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252,111,19,.13); outline: none; }
.price-card[aria-pressed="true"] { border: 2px solid var(--orange); background: var(--pale-orange); padding: 9px 7px; }
.price-card[aria-pressed="true"] em { text-decoration: none; }
.pricing-panel .fine-print { margin-top: 10px; }

.service-path-card { margin: 15px 0 18px; padding: 16px; border: 1px solid rgba(17,17,17,.11); border-radius: 16px; background: linear-gradient(145deg,var(--white),var(--light-gray)); box-shadow: 0 8px 24px rgba(17,17,17,.06); }
.service-path-copy h2 { margin: 2px 0 5px; font-size: 1.13rem; line-height: 1.2; }
.service-path-copy > p:last-child { margin: 0 0 12px; color: var(--gray); font-size: .81rem; line-height: 1.45; }
.service-path-card .button { margin-top: 2px; }
.service-path-note { margin: 9px 3px 0; color: var(--gray); font-size: .69rem; line-height: 1.35; text-align: center; }
.selected-replacement { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 15px; padding: 12px 13px; border: 1px solid rgba(252,111,19,.32); border-radius: 12px; background: var(--pale-orange); }
.selected-replacement[hidden] { display: none; }
.selected-replacement span { display: block; color: var(--gray); font-size: .67rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.selected-replacement strong { display: block; margin-top: 2px; color: var(--black); font-size: .9rem; }
.selected-replacement .text-button { flex: 0 0 auto; margin: 0; }


.membership-callout {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 15px;
  border: 1px solid rgba(252,111,19,.34);
  border-radius: 15px;
  background: var(--pale-orange);
}
.membership-callout-icon {
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--orange);
  color: var(--black);
}
.membership-callout-icon svg { width: 26px; height: 26px; }
.membership-callout strong { display: block; margin-bottom: 3px; color: var(--black); font-size: .96rem; }
.membership-callout span:not(.membership-callout-icon) { display: block; color: var(--gray); font-size: .79rem; line-height: 1.4; }

.plan-grid { display: grid; gap: 14px; }
.plan-card {
  display: flex;
  flex-direction: column;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 5px 18px rgba(17,17,17,.045);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.plan-card.selected {
  border: 2px solid var(--orange);
  padding: 16px;
  background: linear-gradient(180deg, var(--white), var(--pale-orange));
  box-shadow: 0 8px 24px rgba(252,111,19,.10);
}
.plan-card-heading { margin-bottom: 10px; }
.plan-status {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .075em;
}
.plan-status.available { background: var(--black); color: var(--white); }
.plan-status.inquiry { background: var(--light-gray); color: var(--charcoal); }
.plan-card h2 { margin-bottom: 7px; font-size: 1.22rem; }
.plan-price { color: var(--orange); font-size: 1.45rem; font-weight: 900; line-height: 1.05; }
.plan-billing-note { margin: 4px 0 0; color: var(--gray); font-size: .72rem; }
.plan-description { margin-bottom: 11px; color: var(--charcoal); font-size: .86rem; }
.plan-benefits { display: grid; gap: 8px; margin: 0 0 13px; padding: 0; list-style: none; }
.plan-benefits li { display: grid; grid-template-columns: 19px minmax(0,1fr); gap: 8px; align-items: flex-start; color: var(--charcoal); font-size: .78rem; line-height: 1.38; }
.plan-benefits svg { width: 18px; height: 18px; color: var(--orange); stroke-width: 2.5; }
.plan-terms-note { margin: auto 0 13px; padding-top: 3px; color: var(--gray); font-size: .67rem; line-height: 1.4; }
.plan-primary-action { margin: 2px 0 0; }
.plan-primary-action .button { min-height: 48px; }
.plan-help-link { width: 100%; margin: 2px 0 12px; padding: 7px 4px; font-size: .76rem; }
.plan-card .button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--black); }

.plan-form {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 2px solid var(--orange);
}
.plan-form[hidden] { display: none; }
.selected-plan-panel {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 15px;
  border-radius: 15px;
  background: var(--black);
  color: var(--white);
  scroll-margin-top: calc(88px + var(--safe-top));
}
.selected-plan-panel .eyebrow { margin-bottom: 4px; }
.selected-plan-panel h2 { margin: 0 0 4px; color: var(--white); font-size: 1.16rem; }
.selected-plan-panel p:last-child { margin: 0; color: #d4d4d4; font-size: .75rem; }
.compact-text-button { flex: 0 0 auto; margin: 0; padding: 4px 2px; color: var(--white); font-size: .75rem; }
#planGrid { scroll-margin-top: calc(88px + var(--safe-top)); }

form { margin-bottom: 18px; }
fieldset { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
legend { width: 100%; margin-bottom: 10px; padding: 0 0 7px; border-bottom: 1px solid var(--border); color: var(--black); font-size: 1rem; font-weight: 800; }
label { display: block; margin-bottom: 12px; color: var(--charcoal); font-size: .82rem; font-weight: 700; }
input, select, textarea {
  width: 100%;
  margin-top: 5px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--white);
  color: var(--black);
  outline: 0;
}
input, select { min-height: 48px; padding: 10px 12px; font-size: 16px; }
textarea { min-height: 92px; padding: 11px 12px; resize: vertical; font-size: 16px; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252,111,19,.13); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252,111,19,.13); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) 78px 94px; gap: 9px; }
.field-row.two-column { grid-template-columns: 1fr 1fr; }
.optional { color: var(--gray); font-weight: 400; }
.consent-line { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 9px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--light-gray); font-size: .76rem; font-weight: 400; }
.consent-line input { width: 20px; min-height: 20px; margin: 0; accent-color: var(--orange); }
.form-error { margin: 0 0 12px; padding: 10px 12px; border: 1px solid rgba(252,111,19,.35); border-radius: 10px; background: var(--pale-orange); color: var(--black); font-size: .82rem; font-weight: 700; }
.secure-note { display: flex; gap: 7px; justify-content: center; align-items: flex-start; margin: 10px 6px 0; color: var(--gray); font-size: .69rem; text-align: center; }
.secure-note svg { flex: 0 0 16px; width: 16px; height: 16px; }

.result-card { padding: 36px 3px 20px; text-align: center; }
.result-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--pale-orange); color: var(--orange); }
.result-icon svg { width: 38px; height: 38px; }
.result-card h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
.result-card > p:not(.eyebrow) { color: var(--gray); }
.request-summary { margin: 22px 0; padding: 4px 15px; border: 1px solid var(--border); border-radius: 15px; background: var(--white); text-align: left; }
.request-summary div { display: grid; grid-template-columns: 108px minmax(0,1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.request-summary div:last-child { border-bottom: 0; }
.request-summary dt { color: var(--gray); font-size: .75rem; }
.request-summary dd { margin: 0; color: var(--black); font-size: .82rem; font-weight: 700; overflow-wrap: anywhere; }
.result-actions { display: grid; gap: 10px; }
.text-button { margin-top: 14px; padding: 9px; border: 0; background: transparent; color: var(--gray); font-weight: 800; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; cursor: pointer; }

.settings-list { display: grid; gap: 9px; }
.settings-list > a, .settings-list > button {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 22px;
  gap: 11px;
  align-items: center;
  width: 100%;
  min-height: 70px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
}
.settings-icon { width: 46px; height: 46px; border-radius: 12px; }
.settings-icon svg { width: 23px; height: 23px; }
.settings-list strong { display: block; color: var(--black); font-size: .92rem; }
.settings-list small { display: block; margin-top: 2px; color: var(--gray); font-size: .74rem; }
.about-card { margin: 22px 0 5px; padding: 16px; border-radius: 15px; background: var(--black); color: var(--white); text-align: center; }
.about-card img { width: min(260px, 78%); margin: 0 auto 12px; }
.about-card p { margin: 0 0 10px; font-size: .85rem; }
.about-card small { display: block; color: #bcbcbc; font-size: .68rem; }
.about-card small + small { margin-top: 3px; }

.bottom-nav {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, 680px);
  min-height: calc(68px + var(--safe-bottom));
  padding: 7px 8px calc(7px + var(--safe-bottom));
  transform: translateX(-50%);
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.bottom-nav a { display: flex; flex-direction: column; gap: 3px; align-items: center; justify-content: center; min-width: 0; border-radius: 10px; color: var(--gray); font-size: .61rem; font-weight: 700; }
.bottom-nav a svg { width: 22px; height: 22px; }
.bottom-nav a.active { color: var(--black); background: var(--pale-orange); }
.bottom-nav a.active svg { color: var(--orange); }

.toast {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: calc(88px + var(--safe-bottom));
  max-width: min(88vw, 520px);
  padding: 10px 14px;
  transform: translate(-50%, 20px);
  border-radius: 10px;
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: .82rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.install-dialog { width: min(92vw, 480px); padding: 26px 20px 20px; border: 0; border-radius: 18px; box-shadow: 0 20px 80px rgba(0,0,0,.28); }
.install-dialog::backdrop { background: rgba(17,17,17,.64); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: 10px; top: 8px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--gray); font-size: 1.7rem; cursor: pointer; }
.install-dialog h2 { font-size: 1.45rem; }
.install-dialog ol { margin: 0 0 20px; padding-left: 22px; color: var(--charcoal); }
.install-dialog li { margin-bottom: 9px; }

@media (min-width: 560px) {
  main { padding-left: 28px; padding-right: 28px; }
  .action-grid { grid-template-columns: 1fr 1fr; }
  .action-card { min-height: 104px; }
  .plans-action { grid-column: 1 / -1; }
  .brand-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .plan-grid { grid-template-columns: repeat(2, minmax(0,1fr)); align-items: stretch; }
}

@media (max-width: 420px) {
  main { padding-left: 14px; padding-right: 14px; }
  .urgent-card { align-items: stretch; flex-direction: column; }
  .urgent-card .button { width: 100%; }
  .field-row { grid-template-columns: minmax(0,1fr) 72px; }
  .field-row .zip-field { grid-column: 1 / -1; }
  .field-row.two-column { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .bottom-nav { padding-left: 4px; padding-right: 4px; }
  .bottom-nav a { font-size: .58rem; }
  .bottom-nav a svg { width: 21px; height: 21px; }
  .price-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 5px 12px; text-align: left; }
  .price-card span { grid-column: 1; }
  .price-card b { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}

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

/* v1.3.0 — office registration delivery, scheduling fixes, technician access */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.primary-equipment-action {
  border-width: 2px;
  padding: 13px;
}

.equipment-empty {
  margin-bottom: 18px;
  padding: 24px 18px;
  border: 1px solid rgba(252,111,19,.34);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--white), var(--pale-orange));
  text-align: center;
}
.equipment-empty-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 15px;
  border-radius: 20px;
  background: var(--orange);
  color: var(--black);
}
.equipment-empty-icon svg { width: 38px; height: 38px; }
.equipment-empty h2 { margin-bottom: 7px; }
.equipment-empty p { margin: 0 0 17px; color: var(--gray); font-size: .88rem; }

.equipment-list { display: grid; gap: 14px; margin-bottom: 14px; }
.equipment-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 6px 20px rgba(17,17,17,.06);
}
.equipment-card-header {
  display: grid;
  grid-template-columns: 66px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 15px;
  background: var(--black);
  color: var(--white);
}
.equipment-card-photo,
.equipment-card-placeholder {
  width: 66px;
  height: 66px;
  border-radius: 13px;
  object-fit: cover;
  background: var(--charcoal);
}
.equipment-card-placeholder { display: grid; place-items: center; color: var(--orange); }
.equipment-card-placeholder svg { width: 32px; height: 32px; }
.equipment-card-header h2 { margin: 0 0 4px; color: var(--white); font-size: 1.12rem; }
.equipment-card-header p { margin: 0; color: #d3d3d3; font-size: .74rem; }
.equipment-menu-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 11px;
  background: rgba(255,255,255,.08);
  color: var(--white);
  cursor: pointer;
}
.equipment-menu-button svg { width: 20px; height: 20px; }
.equipment-details {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}
.equipment-detail { padding: 12px 14px; background: var(--white); }
.equipment-detail span { display: block; margin-bottom: 2px; color: var(--gray); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.equipment-detail strong { display: block; color: var(--black); font-size: .84rem; overflow-wrap: anywhere; }
.equipment-recommendation { padding: 15px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.status-pill.urgent { background: var(--orange); color: var(--black); }
.status-pill.due { background: var(--pale-orange); color: var(--black); border: 1px solid rgba(252,111,19,.38); }
.status-pill.current { background: var(--black); color: var(--white); }
.status-pill.unknown { background: var(--light-gray); color: var(--charcoal); }
.equipment-recommendation h3 { margin: 0 0 5px; color: var(--black); font-size: 1rem; }
.equipment-recommendation p { margin: 0 0 13px; color: var(--gray); font-size: .79rem; }
.equipment-recommendation-actions { display: grid; gap: 8px; }
.equipment-secondary-actions { display: grid; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); gap: 8px; margin-top: 8px; }
.equipment-secondary-actions .button { min-height: 43px; padding: 8px; font-size: .74rem; }
.equipment-card-footer { display: flex; gap: 8px; justify-content: space-between; padding: 10px 14px 13px; border-top: 1px solid var(--border); }
.equipment-card-footer button { margin: 0; padding: 5px 0; font-size: .72rem; }

.equipment-form {
  padding-top: 3px;
  scroll-margin-top: calc(82px + var(--safe-top));
}
.equipment-form[hidden] { display: none; }
.rating-photo-panel {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--light-gray);
}
.photo-capture {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 13px;
  align-items: center;
  min-height: 90px;
  margin: 0;
  padding: 14px;
  border: 2px dashed rgba(252,111,19,.62);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
}
.photo-capture-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 15px;
  background: var(--orange);
  color: var(--black);
}
.photo-capture-icon svg { width: 30px; height: 30px; }
.photo-capture strong { display: block; color: var(--black); font-size: .95rem; }
.photo-capture small { display: block; margin-top: 3px; color: var(--gray); font-size: .75rem; line-height: 1.35; }
.rating-preview { display: grid; gap: 12px; }
.rating-preview img {
  width: 100%;
  max-height: 330px;
  border-radius: 13px;
  object-fit: contain;
  background: var(--black);
}
.rating-preview-actions { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.rating-preview-actions .button { min-height: 46px; font-size: .8rem; }
.ocr-status {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--white);
}
.ocr-progress { height: 7px; margin-bottom: 9px; overflow: hidden; border-radius: 99px; background: var(--light-gray); }
.ocr-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--orange); transition: width 180ms ease; }
.ocr-status strong { display: block; color: var(--black); font-size: .84rem; }
.ocr-status small { display: block; margin-top: 2px; color: var(--gray); font-size: .72rem; }
.ocr-raw { margin-top: 10px; border-radius: 10px; background: var(--white); }
.ocr-raw summary { padding: 9px 11px; color: var(--black); font-size: .74rem; font-weight: 800; cursor: pointer; }
.ocr-raw pre { max-height: 190px; margin: 0; padding: 0 11px 11px; overflow: auto; white-space: pre-wrap; color: var(--gray); font: 11px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; }

.history-question { margin-bottom: 17px; }
.question-label { display: block; margin-bottom: 8px; color: var(--charcoal); font-size: .82rem; font-weight: 800; }
.choice-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 10px; }
.choice-chips.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.choice-chips label { margin: 0; }
.choice-chips input { position: absolute; opacity: 0; pointer-events: none; }
.choice-chips span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--white);
  color: var(--gray);
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}
.choice-chips input:checked + span { border: 2px solid var(--orange); padding: 7px; background: var(--pale-orange); color: var(--black); }
.review-confirmation { margin-top: 2px; }

.video-callout {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 15px;
  border: 1px solid rgba(252,111,19,.34);
  border-radius: 15px;
  background: var(--pale-orange);
}
.video-callout-icon {
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--orange);
  color: var(--black);
}
.video-callout-icon svg { width: 26px; height: 26px; }
.video-callout strong { display: block; margin-bottom: 3px; color: var(--black); font-size: .94rem; }
.video-callout span:not(.video-callout-icon) { display: block; color: var(--gray); font-size: .77rem; }
.video-grid { display: grid; gap: 13px; }
.video-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 5px 18px rgba(17,17,17,.045);
}
.video-poster {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 168px;
  background: linear-gradient(135deg, var(--black), var(--charcoal));
  color: var(--white);
}
.video-poster.has-image { background-size: cover; background-position: center; }
.video-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,17,17,.55), rgba(17,17,17,.05)); }
.video-play {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: var(--orange);
  color: var(--black);
}
.video-play svg { width: 30px; height: 30px; margin-left: 3px; fill: currentColor; stroke-width: 1.4; }
.video-coming-soon {
  position: absolute;
  z-index: 2;
  right: 10px;
  top: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .06em;
}
.video-card-content { padding: 14px 15px 16px; }
.video-category { margin: 0 0 5px; color: var(--orange); font-size: .65rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.video-card h2 { margin-bottom: 6px; font-size: 1.08rem; }
.video-card p { margin: 0; color: var(--gray); font-size: .78rem; }
.video-card-action { width: 100%; margin-top: 12px; }
.video-card-action[disabled] { opacity: .65; cursor: default; }
.learn-service-card { margin-top: 20px; padding: 17px; border-radius: 17px; background: var(--black); color: var(--white); }
.learn-service-card h2 { color: var(--white); font-size: 1.16rem; }
.learn-service-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.reward-dialog {
  width: min(94vw, 500px);
  padding: 27px 20px 20px;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 24px 90px rgba(0,0,0,.34);
  text-align: center;
}
.reward-dialog::backdrop { background: rgba(17,17,17,.72); backdrop-filter: blur(5px); }
.reward-dialog h2 { margin-bottom: 7px; font-size: 1.55rem; }
.reward-intro { margin: 0 auto 16px; color: var(--gray); font-size: .82rem; }
.reward-preview-label { margin: 0 0 13px; padding: 7px 9px; border-radius: 8px; background: var(--black); color: var(--white); font-size: .64rem; font-weight: 900; letter-spacing: .05em; }
.wheel-stage { position: relative; width: min(74vw, 310px); aspect-ratio: 1; margin: 10px auto 19px; }
.reward-wheel {
  width: 100%;
  height: 100%;
  border: 8px solid var(--black);
  border-radius: 50%;
  box-shadow: 0 9px 30px rgba(17,17,17,.20), inset 0 0 0 4px var(--white);
  transition: transform 4.2s cubic-bezier(.12,.68,.12,1);
}
.wheel-pointer {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: -3px;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid var(--black);
  filter: drop-shadow(0 3px 2px rgba(0,0,0,.22));
}
.wheel-center {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  transform: translate(-50%,-50%);
  border: 5px solid var(--white);
  border-radius: 50%;
  background: var(--black);
  color: var(--orange);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .04em;
}
.reward-result { margin-top: 14px; padding: 15px; border-radius: 14px; background: var(--pale-orange); }
.reward-result h3 { margin: 0 0 5px; color: var(--black); font-size: 1.18rem; }
.reward-result p:not(.eyebrow) { margin: 0 0 12px; color: var(--gray); font-size: .78rem; }
.reward-terms-note { margin: 14px 3px 0; color: var(--gray); font-size: .65rem; line-height: 1.4; }
.reward-terms-note a { text-decoration: underline; text-decoration-color: var(--orange); }

@media (min-width: 560px) {
  .primary-equipment-action { grid-column: 1 / -1; }
  .video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 420px) {
  .choice-chips.three { grid-template-columns: 1fr; }
  .equipment-secondary-actions,
  .learn-service-actions { grid-template-columns: 1fr; }
  .rating-preview-actions { grid-template-columns: 1fr; }
  .equipment-card-header { grid-template-columns: 58px minmax(0,1fr) auto; }
  .equipment-card-photo,
  .equipment-card-placeholder { width: 58px; height: 58px; }
}
.reward-wheel { position: relative; }
.reward-wheel span {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 86px;
  margin-left: -43px;
  transform: rotate(var(--wheel-angle)) translateY(-105px) rotate(var(--wheel-counter-angle));
  transform-origin: 50% 50%;
  font-size: .57rem;
  font-weight: 900;
  letter-spacing: .035em;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255,255,255,.18);
}
@media (max-width: 360px) {
  .reward-wheel span { transform: rotate(var(--wheel-angle)) translateY(-92px) rotate(var(--wheel-counter-angle)); transform-origin: 50% 50%; font-size: .52rem; }
}


/* Registration delivery status */
.registration-consent { margin-top: 12px; border: 1px solid rgba(252,111,19,.30); background: var(--pale-orange); }
.sms-consent { margin-top: 8px; }
.sms-consent strong { color: var(--black); }
#saveHeaterButton[aria-busy="true"] { opacity: .72; cursor: wait; }
.equipment-registration-status {
  padding: 13px 15px;
  border-bottom: 1px solid var(--border);
  background: var(--light-gray);
}
.equipment-registration-status.sent { background: #f7f7f7; }
.equipment-registration-status.pending,
.equipment-registration-status.local-only { background: var(--pale-orange); }
.equipment-registration-status > span {
  display: inline-flex;
  margin-bottom: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .065em;
}
.equipment-registration-status.pending > span,
.equipment-registration-status.local-only > span { background: var(--orange); color: var(--black); }
.equipment-registration-status p { margin: 0; color: var(--gray); font-size: .72rem; }
.equipment-registration-status .registration-retry { min-height: 40px; margin-top: 9px; padding: 7px 11px; font-size: .72rem; }
.technician-access-link { border-color: rgba(252,111,19,.45) !important; background: var(--pale-orange) !important; }

@media (max-width: 420px) {
  .price-card em { grid-column: 1 / -1; }
}

/* v1.3.1 — simplified customer homepage */
.home-hero {
  padding: 28px 2px 19px;
}
.home-hero h1 {
  max-width: 560px;
  margin-bottom: 8px;
  font-size: clamp(2rem, 8vw, 3rem);
}
.home-hero > p:last-child {
  max-width: 575px;
  margin-bottom: 0;
  color: var(--gray);
  font-size: 1rem;
}

.home-equipment-card {
  position: relative;
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) 34px;
  gap: 13px;
  align-items: center;
  min-height: 116px;
  margin-bottom: 20px;
  padding: 15px 15px 15px 17px;
  overflow: hidden;
  border-radius: 19px;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(17,17,17,.16);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.home-equipment-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--orange);
  content: "";
}
.home-equipment-card:active { transform: scale(.988); box-shadow: 0 8px 20px rgba(17,17,17,.15); }
.home-equipment-icon {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 15px;
  background: var(--orange);
  color: var(--black);
}
.home-equipment-icon svg { width: 28px; height: 28px; }
.home-equipment-copy { min-width: 0; }
.home-equipment-copy small:first-child {
  display: block;
  margin-bottom: 3px;
  color: var(--orange);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.home-equipment-copy strong {
  display: block;
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.15;
}
.home-equipment-copy > span {
  display: block;
  margin-top: 3px;
  color: #c9c9c9;
  font-size: .77rem;
  line-height: 1.28;
}
.home-equipment-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--orange);
}
.home-equipment-arrow svg { width: 19px; height: 19px; }

.home-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 10px;
}
.home-section-heading h2 {
  margin: 0;
  font-size: 1.08rem;
}
.home-section-heading > span {
  color: var(--gray);
  font-size: .72rem;
  text-align: right;
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.home-service-card {
  display: flex;
  min-height: 128px;
  padding: 14px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(17,17,17,.025);
  transition: transform 120ms ease, border-color 120ms ease;
}
.home-service-card:active { transform: scale(.985); border-color: rgba(252,111,19,.5); }
.home-service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 13px;
}
.home-service-icon.repair { background: var(--orange); color: var(--black); }
.home-service-icon.replacement { background: var(--black); color: var(--white); }
.home-service-icon svg { width: 24px; height: 24px; }
.home-service-card strong { color: var(--black); font-size: 1.02rem; line-height: 1.1; }
.home-service-card small { margin-top: 4px; color: var(--gray); font-size: .72rem; line-height: 1.25; }

.home-urgent-bar {
  display: grid;
  grid-template-columns: 43px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 11px 0 20px;
  padding: 10px 11px;
  border: 1px solid rgba(252,111,19,.42);
  border-radius: 14px;
  background: var(--pale-orange);
}
.home-urgent-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--black);
}
.home-urgent-icon svg { width: 22px; height: 22px; }
.home-urgent-copy { min-width: 0; }
.home-urgent-copy strong { display: block; color: var(--black); font-size: .79rem; line-height: 1.18; }
.home-urgent-copy small { display: block; margin-top: 2px; color: var(--gray); font-size: .66rem; }
.home-urgent-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--black);
  color: var(--white);
  font-size: .73rem;
  font-weight: 900;
  white-space: nowrap;
}

.home-tools-heading { margin-top: 0; }
.home-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.home-quick-card {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  gap: 9px;
  align-items: center;
  min-height: 82px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--white);
  transition: transform 120ms ease, border-color 120ms ease;
}
.home-quick-card:active { transform: scale(.985); border-color: rgba(252,111,19,.5); }
.home-quick-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--light-gray);
  color: var(--black);
}
.home-quick-icon svg { width: 21px; height: 21px; }
.home-quick-card strong {
  display: block;
  color: var(--black);
  font-size: .82rem;
  line-height: 1.08;
}
.home-quick-card small {
  display: block;
  margin-top: 3px;
  color: var(--gray);
  font-size: .62rem;
  line-height: 1.2;
}

@media (min-width: 560px) {
  .home-service-card { min-height: 142px; }
  .home-quick-card { min-height: 88px; }
}

@media (max-width: 380px) {
  .home-equipment-card { grid-template-columns: 50px minmax(0,1fr) 31px; gap: 10px; padding-left: 13px; }
  .home-equipment-icon { width: 50px; height: 50px; }
  .home-urgent-bar { grid-template-columns: 40px minmax(0,1fr); }
  .home-urgent-button { grid-column: 1 / -1; width: 100%; }
  .home-quick-card { grid-template-columns: 36px minmax(0,1fr); padding: 9px; }
  .home-quick-icon { width: 36px; height: 36px; }
}


/* v1.3.4 — franchise interest and contractor certification forms */
.settings-group-label {
  margin: 14px 3px 1px;
  color: var(--orange);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.settings-group-label.secondary { margin-top: 18px; color: var(--gray); }
.settings-list > .business-opportunity-link {
  border-color: rgba(252,111,19,.42);
  background: linear-gradient(135deg, var(--white), var(--pale-orange));
}
.settings-list > .business-opportunity-link:active { transform: scale(.988); }
.business-icon { background: var(--black); color: var(--orange); }

.business-dialog {
  width: min(94vw, 600px);
  max-height: min(92dvh, 900px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 24px 90px rgba(0,0,0,.32);
  overflow: hidden;
  position: relative;
}
.business-dialog::backdrop { background: rgba(17,17,17,.72); backdrop-filter: blur(5px); }
.business-dialog .dialog-close {
  z-index: 3;
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(243,243,243,.94);
  color: var(--black);
}
.business-dialog-scroll {
  max-height: min(92dvh, 900px);
  padding: 28px 20px calc(24px + var(--safe-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.business-dialog h2 { max-width: calc(100% - 38px); margin-bottom: 8px; font-size: 1.55rem; }
.business-dialog-intro { margin-bottom: 20px; color: var(--gray); font-size: .88rem; }
.business-dialog fieldset { margin-bottom: 19px; }
.business-dialog form { margin: 0; }
.business-location-row { grid-template-columns: minmax(0,1fr) 92px 104px; }
.business-consent { margin-bottom: 10px; }
.business-consent input:invalid { outline: 2px solid transparent; }
.business-legal-note {
  margin: 13px 2px;
  padding: 12px;
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  background: var(--pale-orange);
  color: var(--gray);
  font-size: .7rem;
  line-height: 1.45;
}
.checkbox-group {
  display: grid;
  gap: 7px;
  margin: 3px 0 16px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--light-gray);
}
.checkbox-group-label { margin-bottom: 2px; color: var(--black); font-size: .8rem; font-weight: 800; }
.checkbox-group label {
  display: grid;
  grid-template-columns: 20px minmax(0,1fr);
  gap: 8px;
  align-items: start;
  margin: 0;
  color: var(--charcoal);
  font-size: .76rem;
  font-weight: 400;
}
.checkbox-group input {
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--orange);
}
.business-fallback { margin: -2px 0 10px; text-align: center; }
.business-fallback .text-button { display: inline-block; margin: 0; color: var(--black); }
.business-success { padding: 28px 6px 8px; text-align: center; }
.business-success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--pale-orange);
  color: var(--orange);
}
.business-success-icon svg { width: 36px; height: 36px; stroke-width: 2.6; }
.business-success h3 { margin-bottom: 8px; color: var(--black); font-size: 1.35rem; }
.business-success > p:not(.eyebrow) { color: var(--gray); font-size: .86rem; }
.business-reference {
  margin: 18px 0;
  padding: 10px;
  border-radius: 10px;
  background: var(--light-gray);
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .business-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; border-radius: 0; }
  .business-dialog-scroll { max-height: 100dvh; padding: calc(24px + var(--safe-top)) 16px calc(24px + var(--safe-bottom)); }
  .business-location-row { grid-template-columns: minmax(0,1fr) 90px; }
  .business-location-row > label:last-child { grid-column: 1 / -1; }
}
