:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: #172033;
  background: #f5f6f2;
  --ink: #172033;
  --muted: #5d6678;
  --line: rgba(23, 32, 51, 0.12);
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --accent: #0f766e;
  --accent-2: #d97706;
  --accent-3: #2563eb;
  --dark: #111827;
  --shadow: 0 22px 70px rgba(17, 24, 39, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(245, 246, 242, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark strong,
.brand-mark small {
  display: block;
}

.brand-mark small {
  color: var(--muted);
  font-size: 12px;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.header-nav a {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  outline: none;
}

.hero {
  position: relative;
  min-height: min(790px, calc(100vh - 74px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(34px, 6vw, 82px) clamp(18px, 4vw, 54px);
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(245, 246, 242, 0.96) 0%, rgba(245, 246, 242, 0.84) 36%, rgba(245, 246, 242, 0.18) 72%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.panel-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  color: #111827;
  font-size: clamp(40px, 6.5vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-copy p {
  max-width: 610px;
  color: #3e4657;
  font-size: clamp(17px, 2vw, 21px);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  margin: 28px 0;
}

.metric {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  line-height: 1.18;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.primary-action,
.secondary-action,
.chip,
.send-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.primary-action,
.submit-button,
.send-button {
  padding: 10px 16px;
  color: #fff;
  background: var(--accent);
}

.secondary-action,
.chip {
  padding: 10px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.primary-action:hover,
.submit-button:hover,
.send-button:hover {
  filter: brightness(0.94);
}

.secondary-action:hover,
.chip:hover {
  border-color: rgba(23, 32, 51, 0.28);
  background: #fff;
}

.agent-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-height: 610px;
  max-height: 720px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.agent-top {
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.78)),
    linear-gradient(135deg, var(--accent), var(--accent-2));
}

.agent-top strong,
.agent-top small {
  display: block;
}

.agent-top small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.agent-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.agent-tabs span {
  padding: 12px 8px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.agent-tabs span:first-child {
  color: var(--accent);
  background: rgba(15, 118, 110, 0.08);
}

.chat-log {
  flex: 1 1 auto;
  min-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px;
  background: #f7f8f5;
}

.message {
  max-width: 92%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.message.assistant {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.message.user {
  margin-left: auto;
  color: #fff;
  background: var(--accent);
}

.quick-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  min-height: 60px;
  padding: 12px 16px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.chip {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 10px;
  font-size: 13px;
  white-space: nowrap;
}

.chat-compose {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 0 16px 16px;
}

.chat-compose input,
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
}

.lead-form {
  flex: 0 0 auto;
  display: grid;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid var(--line);
}

.lead-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.alert-preview {
  display: none;
  margin: 0 16px 16px;
  padding: 14px;
  border-left: 4px solid var(--accent-2);
  border-radius: 8px;
  color: var(--ink);
  background: #fff7ed;
  font-size: 14px;
}

.alert-preview.is-visible {
  display: block;
}

.content-band {
  padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 54px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.section-intro {
  max-width: 620px;
}

.section-intro p {
  color: var(--muted);
  font-size: 17px;
}

.feature-list,
.workflow-list,
.rank-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list li,
.workflow-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list strong,
.workflow-list strong {
  display: block;
  margin-bottom: 4px;
}

.feature-list span,
.workflow-list span,
.rank-list span {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.info-card {
  min-height: 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.info-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.info-card p {
  color: var(--muted);
}

.playbook {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  color: #fff;
  background: #111827;
}

.playbook p,
.playbook li span {
  color: rgba(255, 255, 255, 0.72);
}

.playbook .eyebrow {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

.playbook-panel {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.script-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  color: #172033;
  background: #fff;
}

.script-box p {
  color: #3e4657;
}

.portfolio-story {
  padding: clamp(34px, 6vw, 70px) clamp(18px, 4vw, 54px);
  background: #111827;
  color: #fff;
}

.portfolio-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.portfolio-heading p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.portfolio-story .eyebrow {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.story-card {
  min-height: 250px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.story-card-image {
  color: #111827;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.story-card-dark {
  background: color-mix(in srgb, var(--accent) 38%, #111827);
}

.story-card span {
  width: max-content;
  padding: 5px 8px;
  border-radius: 6px;
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.story-card-image span {
  background: rgba(17, 24, 39, 0.09);
}

.story-card p {
  margin-bottom: 0;
  color: inherit;
  opacity: 0.76;
}

.mini-flow {
  display: grid;
  gap: 8px;
}

.mini-flow strong {
  padding: 9px 10px;
  border-radius: 6px;
  color: #111827;
  background: #fff;
  font-size: 13px;
}

.journey-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 450px);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  min-height: min(720px, calc(100vh - 120px));
  padding: clamp(40px, 7vw, 94px) clamp(18px, 4vw, 54px);
  background-image:
    linear-gradient(90deg, rgba(245, 246, 242, 0.98) 0%, rgba(245, 246, 242, 0.88) 42%, rgba(245, 246, 242, 0.28) 78%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.journey-copy {
  max-width: 780px;
}

.journey-copy p {
  max-width: 660px;
  color: #3e4657;
  font-size: clamp(17px, 2vw, 21px);
}

.value-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 760px;
  margin-top: 28px;
}

.value-strip span {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  font-weight: 800;
}

.journey-signal {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.journey-signal strong {
  display: block;
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.18;
}

.journey-signal p {
  color: var(--muted);
}

.flow-workspace {
  padding: clamp(30px, 5vw, 60px) clamp(18px, 4vw, 54px) clamp(48px, 7vw, 84px);
  background: #f7f8f5;
  border-top: 1px solid var(--line);
}

.flow-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.flow-toolbar h2 {
  margin-bottom: 0;
}

.segmented-control {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.segmented-control button {
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.segmented-control button.is-active {
  color: #fff;
  background: var(--accent);
}

.flow-pane {
  display: none;
}

.flow-pane.is-active {
  display: block;
}

.customer-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: start;
}

.request-surface,
.flow-explainer,
.ops-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

.request-surface {
  overflow: hidden;
}

.surface-top {
  padding: 18px 20px;
  color: #fff;
  background: #111827;
}

.surface-top span,
.surface-top strong {
  display: block;
}

.surface-top span {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.surface-top strong {
  font-size: 20px;
}

.mini-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.mini-steps li {
  padding: 12px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-steps li.is-current {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, white);
}

.request-form {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.request-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  resize: vertical;
  text-transform: none;
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.full-width {
  width: 100%;
}

.customer-confirmation {
  margin: 0 20px 20px;
  padding: 14px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 9%, white);
}

.customer-confirmation strong {
  display: block;
  margin-bottom: 4px;
}

.customer-confirmation p {
  margin-bottom: 0;
  color: #3e4657;
}

.flow-explainer {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
}

.message-preview {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f5;
}

.message-preview strong {
  display: block;
  margin-bottom: 5px;
}

.message-preview p {
  margin-bottom: 0;
  color: var(--muted);
}

.owner-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 14px;
}

.ops-panel {
  min-height: 280px;
  padding: 18px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-heading strong {
  font-size: 13px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent-2);
}

.status-pill.scheduled,
.status-pill.acknowledged,
.status-pill.on-my-way {
  background: var(--accent);
}

.status-pill.delayed,
.status-pill.escalated {
  background: #b91c1c;
}

.status-pill.complete {
  background: #166534;
}

.lead-panel p,
.tech-card p,
.escalation-note {
  color: var(--muted);
}

.score-box {
  display: grid;
  gap: 6px;
  margin: 18px 0;
  padding: 14px;
  border-radius: 8px;
  background: #fff7ed;
}

.score-box span {
  color: #9a3412;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.calendar-list,
.message-log,
.event-log {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calendar-list {
  margin-bottom: 16px;
}

.calendar-list li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.calendar-list time {
  color: var(--muted);
  font-weight: 800;
}

.calendar-list span {
  min-width: 0;
}

.calendar-list strong {
  color: var(--accent);
  font-size: 12px;
}

.calendar-list li.calendar-open {
  padding-inline: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, white);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 8%, white);
}

.tech-card {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 8px;
  background: #f7f8f5;
}

.tech-card span,
.tech-card strong {
  display: block;
}

.tech-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.message-log li,
.event-log li {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f7f8f5;
  color: #3e4657;
}

.message-panel,
.event-panel {
  min-height: 250px;
}

.automation-stage {
  display: grid;
  gap: 24px;
}

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

.automation-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.automation-row > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
  font-weight: 900;
}

.automation-row h3 {
  margin-bottom: 10px;
}

.automation-row p {
  margin-bottom: 8px;
  color: var(--muted);
}

.visual-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  min-height: min(640px, calc(100vh - 150px));
  padding: clamp(38px, 7vw, 88px) clamp(18px, 4vw, 54px);
  background-image:
    linear-gradient(90deg, rgba(245, 246, 242, 0.98), rgba(245, 246, 242, 0.9) 42%, rgba(245, 246, 242, 0.22)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.visual-hero p {
  max-width: 680px;
  color: #3e4657;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-metric-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-metric-panel span {
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  font-weight: 900;
  background: #fff;
}

.hero-metric-panel small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-metric-panel strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  line-height: 1.16;
}

.visual-workspace {
  padding: clamp(30px, 5vw, 60px) clamp(18px, 4vw, 54px) clamp(52px, 7vw, 88px);
  background: #f7f8f5;
  border-top: 1px solid var(--line);
}

.customer-board {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
}

.customer-map-card,
.customer-intake-card,
.lead-queue-card,
.lead-detail-card,
.owner-map-card,
.dispatch-card,
.phone-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

.customer-map-card,
.lead-queue-card,
.lead-detail-card,
.owner-map-card,
.dispatch-card,
.phone-card {
  padding: 18px;
}

.customer-intake-card {
  padding: 18px;
}

.board-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.board-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.board-heading strong {
  min-width: 0;
  font-size: 14px;
}

.map-frame {
  width: 100%;
  height: 430px;
  border: 0;
  border-radius: 8px;
  background: #e5e7eb;
}

.inline-field {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.inline-field input,
.inline-field textarea,
.inline-field select {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-transform: none;
  font-weight: 700;
}

.inline-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.inline-field textarea {
  resize: vertical;
}

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

.problem-card {
  min-height: 145px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  background: #f7f8f5;
  cursor: pointer;
}

.problem-card.is-selected {
  border-color: color-mix(in srgb, var(--accent) 70%, white);
  background: color-mix(in srgb, var(--accent) 11%, white);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 50%, white);
}

.problem-card span,
.problem-card small,
.customer-summary-card span,
.tag-section span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.problem-card strong {
  display: block;
  margin: 12px 0 20px;
  font-size: 17px;
  line-height: 1.12;
}

.problem-card small.high,
.lead-badge.high {
  color: #b91c1c;
}

.problem-card small.medium,
.lead-badge.medium {
  color: #b45309;
}

.problem-card small.low,
.lead-badge.low {
  color: #166534;
}

.click-section {
  margin-top: 18px;
}

.click-section h3 {
  margin-bottom: 10px;
}

.chip-cloud,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-chip {
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.choice-chip.is-selected {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.customer-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
}

.customer-summary-card strong {
  display: block;
  margin: 4px 0;
  font-size: 20px;
}

.customer-summary-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.owner-command {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 14px;
  align-items: start;
}

.lead-queue-card {
  min-height: 620px;
}

.lead-list {
  display: grid;
  gap: 10px;
}

.lead-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 78px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.lead-row.is-selected {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, white);
}

.lead-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
  font-weight: 900;
}

.lead-main {
  min-width: 0;
}

.lead-main strong,
.lead-main small {
  display: block;
}

.lead-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-main small {
  color: var(--muted);
}

.lead-badge,
.priority-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 8px;
  background: #f7f8f5;
  font-weight: 900;
}

.lead-detail-card {
  min-height: 315px;
}

.lead-hero-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.lead-hero-row h3 {
  margin-bottom: 2px;
  font-size: 28px;
}

.lead-hero-row p {
  color: var(--muted);
}

.action-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.kpi-grid div {
  min-height: 78px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f5;
}

.kpi-grid span,
.kpi-grid strong {
  display: block;
}

.kpi-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.kpi-grid strong {
  margin-top: 8px;
  color: var(--accent);
}

.tag-section {
  margin-top: 14px;
}

.tag-cloud strong {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 10%, white);
  color: var(--ink);
}

.short-note {
  margin: 14px 0 0;
  color: var(--muted);
}

.owner-map-card {
  min-height: 0;
}

.owner-context-stack .owner-map-card .map-frame {
  height: 220px;
}

.dispatch-card {
  grid-column: 2 / 3;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.schedule-block {
  min-height: 112px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.schedule-block time,
.schedule-block strong,
.schedule-block span {
  display: block;
}

.schedule-block time {
  color: var(--muted);
  font-weight: 900;
}

.schedule-block strong {
  margin: 9px 0;
}

.schedule-block span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.schedule-block.open,
.schedule-block.is-suggested {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, white);
}

.schedule-block.busy {
  opacity: 0.72;
}

.phone-card {
  grid-column: 3 / 4;
  grid-row: 2 / 4;
  min-height: 430px;
}

.phone-thread {
  display: grid;
  align-content: end;
  gap: 10px;
  min-height: 270px;
  max-height: 360px;
  overflow: auto;
  margin: 0 0 14px;
  padding: 14px;
  border-radius: 8px;
  background: #f7f8f5;
  list-style: none;
}

.phone-thread li {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.phone-thread li.agent {
  margin-left: auto;
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.phone-thread span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 900;
  opacity: 0.75;
  text-transform: uppercase;
}

.phone-thread p {
  margin-bottom: 0;
}

.automation-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.automation-tile {
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.automation-tile span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
  font-weight: 900;
}

.automation-tile strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.automation-tile p {
  color: var(--muted);
}

.compact-hero {
  min-height: min(480px, calc(100vh - 160px));
}

.customer-flow-v2 {
  display: grid;
  gap: 16px;
}

.customer-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.customer-stepper button {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.customer-stepper button span {
  display: grid;
  width: auto;
  height: auto;
  place-items: center;
  border-radius: 4px;
  padding: 3px 5px;
  color: var(--muted);
  background: #eef0ee;
  font-size: 11px;
}

.customer-stepper button.is-active {
  color: #fff;
  background: var(--accent);
}

.customer-stepper button.is-active span {
  color: var(--accent);
  background: #fff;
}

.customer-stepper button.is-done span {
  color: #fff;
  background: var(--accent);
}

.customer-step-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.55fr);
  gap: 14px;
  align-items: start;
}

.customer-step-grid.with-map {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.flow-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

.flow-map-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

.intake-main,
.location-main,
.step-preview,
.step-actions,
.final-submit-card {
  padding: 18px;
}

.step-preview {
  display: grid;
  gap: 12px;
}

.step-preview h3 {
  font-size: 26px;
}

.step-preview p {
  color: var(--muted);
}

.no-margin {
  margin-top: 0;
}

.suggestion-panel {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.location-capture-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 8px;
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 6%, white);
}

.location-capture-note strong {
  font-size: 16px;
}

.location-capture-note span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
}

.suggestion-row,
.zip-row button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.suggestion-row.is-selected,
.zip-row button.is-selected {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, white);
}

.suggestion-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.zip-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.location-actions {
  margin-top: 16px;
}

.photo-upload {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 18px;
  border: 1px dashed color-mix(in srgb, var(--accent) 65%, white);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 7%, white);
  cursor: pointer;
}

.photo-upload.is-dragging {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, white);
}

.photo-upload span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.photo-upload strong {
  font-size: 18px;
}

.photo-upload small {
  color: var(--muted);
}

.visually-hidden-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.photo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.photo-list span {
  padding: 6px 8px;
  border-radius: 8px;
  background: #f7f8f5;
  font-size: 12px;
}

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

.photo-preview-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e5e7eb;
}

.prep-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

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

.request-category {
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.request-category span {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.request-category strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.16;
}

.request-category p {
  margin-bottom: 0;
  color: #3e4657;
}

.request-category.danger {
  background: #fff1f2;
  border-color: #fecdd3;
}

.request-category.warning {
  background: #fff7ed;
  border-color: #fed7aa;
}

.request-category.info {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.request-category.success {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.request-category.location {
  background: #f5f3ff;
  border-color: #ddd6fe;
}

.request-category.photo {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.final-submit-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.map-shell {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.map-zoom-controls {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  display: grid;
  gap: 6px;
}

.map-zoom-controls button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.14);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.map-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.16);
}

.map-caption span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-caption strong {
  color: var(--ink);
  font-size: 13px;
}

.owner-console-v2 {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 360px;
  gap: 14px;
  align-items: start;
}

.owner-workbench {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 340px;
  gap: 14px;
  align-items: start;
}

.owner-workbench .lead-queue-card,
.owner-main-flow,
.owner-work-card,
.owner-context-stack > section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

.owner-workbench .lead-queue-card {
  min-height: 0;
}

.owner-main-flow {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.owner-work-card {
  padding: 18px;
}

.owner-work-card .button-row {
  align-items: stretch;
}

.owner-work-card .button-row > * {
  flex: 1 1 170px;
}

.owner-context-stack {
  display: grid;
  gap: 14px;
}

.owner-context-stack > section {
  padding: 18px;
}

.owner-stage-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.owner-stage-stepper button {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.owner-stage-stepper button span {
  display: grid;
  width: auto;
  height: auto;
  place-items: center;
  border-radius: 4px;
  padding: 3px 5px;
  color: var(--muted);
  background: #eef0ee;
  font-size: 11px;
}

.owner-stage-stepper button.is-active {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.owner-stage-stepper button.is-active span,
.owner-stage-stepper button.is-done span {
  color: var(--accent);
  background: #fff;
}

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

.compact-contact-grid {
  grid-template-columns: 1fr;
}

.contact-choice {
  display: grid;
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f5;
}

.contact-choice.primary {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.contact-choice span,
.message-draft-card span,
.selected-slot-card span,
.next-action-card span {
  color: inherit;
  opacity: 0.72;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-choice strong {
  font-size: 20px;
  line-height: 1.08;
  text-align: right;
}

.contact-choice small {
  grid-column: 1 / -1;
  color: inherit;
  opacity: 0.78;
  font-weight: 700;
}

.message-draft-card,
.selected-slot-card,
.confirmation-preview,
.next-action-card {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f5;
}

.message-draft-card p,
.selected-slot-card p,
.confirmation-preview p,
.next-action-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.owner-schedule-grid {
  grid-template-columns: 1fr;
}

.owner-schedule-grid .schedule-block {
  min-height: auto;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.owner-schedule-grid .schedule-block strong {
  margin: 0;
}

.owner-schedule-grid .schedule-block span {
  justify-self: end;
}

.schedule-block.is-selected {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, white);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.calendar-header button.is-active {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.lead-next-actions {
  margin-top: 14px;
}

.owner-console-v2 .lead-detail-card,
.owner-console-v2 .owner-map-card,
.owner-console-v2 .calendar-console,
.owner-console-v2 .message-center-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

.owner-console-v2 .lead-queue-card {
  min-height: 710px;
}

.owner-console-v2 .owner-map-card {
  grid-column: 3 / 4;
}

.calendar-console {
  grid-column: 2 / 3;
}

.owner-console-v2 .message-center-card {
  grid-column: 3 / 4;
  grid-row: 2 / 4;
}

.owner-context-stack .message-center-card {
  grid-column: auto;
  grid-row: auto;
}

.owner-request-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.calendar-header,
.message-tabs,
.quick-message-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.calendar-header button,
.message-tabs button,
.quick-message-row button {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.message-tabs button.is-active {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.calendar-long {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 54px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.launcher-page {
  background: #f6f7f4;
}

.launcher-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-content: end;
  gap: 24px;
  min-height: min(720px, calc(100vh - 82px));
  padding: clamp(42px, 7vw, 96px) clamp(18px, 4vw, 54px);
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.72) 46%, rgba(17, 24, 39, 0.18) 100%),
    var(--card-image);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.launcher-copy {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.launcher-copy h1 {
  max-width: 760px;
  color: #fff;
}

.launcher-copy p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.launcher-hero .eyebrow {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.launcher-hero .secondary-action {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
}

.launcher-flow-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100%, 760px);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.34);
}

.launcher-flow-strip span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 900;
}

.rank-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.rank-list li {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.rank-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0 clamp(18px, 4vw, 54px) 54px;
}

.single-demo-grid {
  grid-template-columns: minmax(280px, 460px);
}

.demo-card {
  display: grid;
  min-height: 210px;
  align-content: end;
  gap: 8px;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: #111827;
  overflow: hidden;
  position: relative;
}

.demo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.58;
  background: var(--card-image);
  background-size: cover;
  background-position: center;
  transition: transform 180ms ease;
}

.demo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.18));
}

.demo-card:hover::before {
  transform: scale(1.04);
}

.demo-card span,
.demo-card strong,
.demo-card small {
  position: relative;
  z-index: 1;
}

.demo-card span {
  width: max-content;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-card strong {
  font-size: 18px;
  line-height: 1.12;
}

.demo-card small {
  color: rgba(255, 255, 255, 0.78);
}

.plumbing-card { --card-image: url("../assets/plumbing-hero.png"); }
.hvac-card { --card-image: url("../assets/hvac-hero.png"); }
.roofing-card { --card-image: url("../assets/roofing-hero.png"); }
.lawn-card { --card-image: url("../assets/lawn-hero.png"); }
.cleaning-card { --card-image: url("../assets/cleaning-hero.png"); }

.agency-page {
  background: #f6f7f4;
}

.agency-header {
  background: rgba(246, 247, 244, 0.9);
}

.agency-hero {
  position: relative;
  min-height: min(680px, calc(100vh - 82px));
  display: grid;
  align-content: end;
  gap: 26px;
  padding: clamp(42px, 7vw, 96px) clamp(18px, 4vw, 54px);
  color: #fff;
  overflow: hidden;
  background: #111827;
}

.agency-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.72) 46%, rgba(17, 24, 39, 0.18) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.42), rgba(17, 24, 39, 0.05));
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: hero-fade 10s infinite;
}

.hero-slide-roofing {
  background-image: url("../assets/roofing-hero.png");
  animation-delay: 0s;
}

.hero-slide-plumbing {
  background-image: url("../assets/plumbing-hero.png");
  animation-delay: 2s;
}

.hero-slide-hvac {
  background-image: url("../assets/hvac-hero.png");
  animation-delay: 4s;
}

.hero-slide-cleaning {
  background-image: url("../assets/cleaning-hero.png");
  animation-delay: 6s;
}

.hero-slide-lawn {
  background-image: url("../assets/lawn-hero.png");
  animation-delay: 8s;
}

@keyframes hero-fade {
  0% { opacity: 0; transform: scale(1); }
  8% { opacity: 1; }
  18% { opacity: 1; }
  25% { opacity: 0; transform: scale(1.035); }
  100% { opacity: 0; transform: scale(1.035); }
}

.agency-hero .eyebrow {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.agency-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 790px;
}

.agency-hero h1 {
  max-width: 820px;
  color: #fff;
}

.agency-hero p {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.2vw, 23px);
}

.agency-band {
  padding: clamp(34px, 5.6vw, 76px) clamp(18px, 4vw, 54px);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  background: #111827;
}

.proof-strip div {
  min-height: 180px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.proof-strip span,
.package-number,
.custom-module-grid span,
.follow-up-draft span,
.summary-row span,
.process-grid span,
.portfolio-note span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-strip strong {
  display: block;
  margin: 8px 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.15;
}

.proof-strip p,
.proof-strip ul {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.proof-strip ul,
.section-bullets,
.process-grid ul,
.compare-grid ul,
.pricing-note ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.section-bullets {
  max-width: 520px;
  color: var(--muted);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.section-heading-row p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
}

.package-section,
.process-section {
  background: #f7f8f5;
}

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

.package-card {
  display: grid;
  gap: 12px;
  min-height: 540px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

.compact-heading {
  align-items: start;
}

.compact-package {
  min-height: 0;
}

.featured-package {
  position: relative;
  border-color: color-mix(in srgb, var(--accent) 48%, white);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, white), #fff 38%);
}

.popular-badge {
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.package-card h3 {
  margin-bottom: 0;
  font-size: 26px;
}

.package-card p,
.package-card small {
  color: var(--muted);
}

.price-line {
  display: block;
  color: var(--ink);
  font-size: 24px;
}

.package-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: #3e4657;
}

.package-link {
  margin-top: auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
}

.package-link:hover {
  border-color: var(--accent);
}

.package-card button,
.package-tabs button {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.package-card button {
  margin-top: auto;
}

.package-card button:hover,
.package-tabs button:hover {
  border-color: var(--accent);
}

.package-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.package-tabs button.is-active {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.live-demo-section {
  background: #eef2f5;
}

.package-demo {
  display: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  gap: 14px;
  align-items: stretch;
}

.package-demo.is-active {
  display: grid;
}

.starter-site-preview,
.lead-demo-customer,
.lead-dashboard-demo,
.demo-explainer,
.custom-module-grid article,
.pricing-note,
.portfolio-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

.starter-site-preview {
  overflow: hidden;
}

.mock-site-hero {
  min-height: 330px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 24px;
  color: #fff;
  background-image:
    linear-gradient(0deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.18)),
    url("../assets/cleaning-hero.png");
  background-position: center;
  background-size: cover;
}

.mock-site-hero span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mock-site-hero h3 {
  max-width: 520px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
}

.mock-site-hero p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.mock-site-hero div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.mock-site-hero a {
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 8px;
  color: #111827;
  background: #fff;
  font-weight: 900;
}

.mock-site-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.mock-site-grid article {
  min-height: 150px;
  padding: 18px;
  background: #fff;
}

.mock-site-grid strong,
.mock-site-grid span {
  display: block;
}

.mock-site-grid span {
  margin-top: 8px;
  color: var(--muted);
}

.demo-explainer {
  padding: 22px;
}

.demo-explainer h3 {
  margin-top: 16px;
  font-size: 26px;
  line-height: 1.12;
}

.demo-explainer p,
.custom-module-grid p,
.pricing-note p,
.portfolio-note p {
  color: var(--muted);
}

.lead-demo-customer,
.lead-dashboard-demo {
  padding: 18px;
}

.lead-demo-customer {
  display: grid;
  gap: 12px;
}

.lead-demo-customer label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-demo-customer input,
.lead-demo-customer select,
.lead-demo-customer textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-transform: none;
  font-weight: 700;
}

.lead-demo-customer textarea {
  resize: vertical;
}

.lead-table {
  display: grid;
  gap: 8px;
}

.lead-table-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  min-height: 68px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.lead-table-row.is-selected,
.new-demo-lead {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, white);
}

.lead-table-row span {
  grid-row: 1 / 3;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, white);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-table-row small {
  color: var(--muted);
}

.mobile-action-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.mobile-action-bar a,
.mobile-action-bar button {
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.follow-up-draft {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f5;
}

.follow-up-draft.is-highlighted {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, white);
}

.follow-up-draft p {
  margin: 8px 0 0;
  color: #3e4657;
}

.summary-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.summary-row div {
  min-height: 88px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.summary-row strong {
  display: block;
  margin-top: 6px;
}

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

.custom-module-grid article {
  min-height: 210px;
  padding: 20px;
}

.custom-module-grid strong {
  display: block;
  margin: 24px 0 8px;
  font-size: 20px;
  line-height: 1.15;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid li {
  min-height: 250px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

.process-grid strong {
  display: block;
  margin: 42px 0 10px;
  font-size: 21px;
  line-height: 1.15;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.process-grid ul {
  color: var(--muted);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  min-height: 172px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.process-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
  font-weight: 900;
}

.process-steps strong {
  display: block;
  margin: 22px 0 8px;
  font-size: 18px;
  line-height: 1.14;
}

.process-steps p {
  margin: 0;
  color: var(--muted);
}

.compare-section {
  background: #fff;
}

.compare-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.compare-heading h2 {
  margin-bottom: 8px;
}

.compare-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.comparison-table {
  display: grid;
  grid-template-columns: 210px repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

.comparison-labels,
.comparison-column {
  display: grid;
  grid-template-rows: 58px repeat(5, 52px);
}

.comparison-labels {
  padding-top: 58px;
  color: #64748b;
  font-weight: 900;
}

.comparison-labels span,
.comparison-column span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-top: 1px solid #dde4ee;
}

.comparison-labels span {
  justify-content: flex-start;
}

.comparison-column {
  padding: 0 18px 14px;
  text-align: center;
}

.comparison-column h3 {
  display: flex;
  align-items: end;
  justify-content: center;
  margin: 0;
  padding-bottom: 14px;
  font-size: 20px;
}

.comparison-column span {
  color: var(--ink);
  font-weight: 700;
}

.comparison-column span:first-of-type {
  color: #dc2626;
}

.comparison-best {
  position: relative;
  border: 2px solid #4f46e5;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(79, 70, 229, 0.12);
}

.comparison-best small {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  background: #4f46e5;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.comparison-best h3 {
  padding-top: 30px;
}

.comparison-best span:first-of-type {
  color: #059669;
}

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

.compare-grid article {
  min-height: 280px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

.compare-grid span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.compare-grid strong {
  display: block;
  margin: 36px 0 12px;
  font-size: 22px;
  line-height: 1.15;
}

.compare-grid ul {
  color: var(--muted);
}

.pricing-note-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  background: #111827;
}

.pricing-note,
.portfolio-note {
  padding: 24px;
}

.pricing-note {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.82), rgba(37, 99, 235, 0.36)),
    #111827;
  border-color: rgba(255, 255, 255, 0.16);
}

.pricing-note h2 {
  color: #fff;
}

.pricing-note p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.pricing-note ul {
  max-width: 720px;
  margin: 18px 0;
  color: rgba(255, 255, 255, 0.78);
}

.start-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #111827;
  color: #fff;
}

.start-section h2 {
  color: #fff;
}

.start-section p {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.portfolio-note strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 24px;
}

@media (max-width: 1080px) {
  .hero,
  .journey-hero,
  .visual-hero,
  .launcher-hero,
  .playbook,
  .split-section,
  .customer-stage,
  .owner-stage,
  .customer-board,
  .owner-command,
  .customer-step-grid,
  .customer-step-grid.with-map,
  .owner-console-v2,
  .owner-workbench,
  .proof-strip,
  .package-grid,
  .package-demo,
  .pricing-note-section,
  .process-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .comparison-table {
    grid-template-columns: 160px repeat(3, minmax(0, 1fr));
  }

  .agent-panel {
    min-height: 560px;
    max-height: none;
  }

  .card-grid,
  .automation-list,
  .automation-gallery,
  .custom-module-grid,
  .demo-grid,
  .story-grid,
  .compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problem-grid,
  .schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lead-queue-card,
  .dispatch-card,
  .phone-card,
  .owner-console-v2 .owner-map-card,
  .owner-workbench .lead-queue-card,
  .calendar-console,
  .message-center-card {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
  }

  .review-grid,
  .owner-request-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-long {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 6px;
  }

  .header-nav a {
    min-height: 34px;
    padding: 7px 6px;
    text-align: center;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.56);
  }

  .header-nav a:last-child {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
    background-image:
      linear-gradient(180deg, rgba(245, 246, 242, 0.98) 0%, rgba(245, 246, 242, 0.86) 58%, rgba(245, 246, 242, 0.38) 100%),
      var(--hero-image);
    background-position: center top;
  }

  .journey-hero {
    min-height: auto;
    padding-top: 34px;
    background-image:
      linear-gradient(180deg, rgba(245, 246, 242, 0.99) 0%, rgba(245, 246, 242, 0.9) 62%, rgba(245, 246, 242, 0.48) 100%),
      var(--hero-image);
    background-position: center top;
  }

  .visual-hero {
    min-height: auto;
    padding-top: 34px;
    background-image:
      linear-gradient(180deg, rgba(245, 246, 242, 0.99) 0%, rgba(245, 246, 242, 0.9) 62%, rgba(245, 246, 242, 0.48) 100%),
      var(--hero-image);
    background-position: center top;
  }

  .agency-hero {
    min-height: auto;
    padding-top: 42px;
  }

  .agency-hero::after {
    background:
      linear-gradient(180deg, rgba(17, 24, 39, 0.94) 0%, rgba(17, 24, 39, 0.8) 62%, rgba(17, 24, 39, 0.42) 100%);
  }

  h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .metric-row,
  .lead-grid,
  .form-grid,
  .hero-metric-panel,
  .proof-strip,
  .package-grid,
  .mock-site-grid,
  .mobile-action-bar,
  .summary-row,
  .custom-module-grid,
  .process-grid,
  .pricing-note-section,
  .customer-stepper,
  .card-grid,
  .automation-list,
  .automation-gallery,
  .problem-grid,
  .kpi-grid,
  .schedule-grid,
  .review-grid,
  .owner-request-grid,
  .calendar-long,
  .owner-stage-stepper,
  .contact-choice-grid,
  .prep-form-grid,
  .photo-preview-grid,
  .demo-grid,
  .story-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-steps li {
    min-height: auto;
  }

  .comparison-table {
    grid-template-columns: 1fr;
  }

  .comparison-labels {
    display: none;
  }

  .comparison-column {
    grid-template-rows: auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .comparison-best {
    border-color: #4f46e5;
  }

  .comparison-column h3 {
    align-items: start;
    justify-content: flex-start;
    padding: 0 0 12px;
  }

  .comparison-best h3 {
    padding-top: 30px;
  }

  .comparison-column span {
    justify-content: space-between;
    gap: 16px;
    text-align: right;
  }

  .comparison-column span::before {
    content: attr(data-label);
    color: #64748b;
    font-weight: 900;
    text-align: left;
  }

  .start-section {
    align-items: stretch;
    flex-direction: column;
  }

  .compact-hero,
  .visual-workspace,
  .portfolio-story {
    padding-left: 14px;
    padding-right: 14px;
  }

  .visual-workspace {
    padding-top: 24px;
  }

  .customer-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
  }

  .owner-stage-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-stepper button,
  .owner-stage-stepper button {
    min-height: 40px;
    justify-content: flex-start;
    padding: 8px 9px;
    font-size: 13px;
  }

  .flow-card,
  .owner-workbench .lead-queue-card,
  .owner-main-flow,
  .owner-work-card,
  .owner-context-stack > section,
  .story-card {
    box-shadow: none;
  }

  .map-frame {
    height: 320px;
  }

  .map-caption {
    position: static;
    margin-top: 8px;
    box-shadow: none;
    border: 1px solid var(--line);
  }

  .launcher-hero {
    min-height: auto;
    padding-top: 42px;
  }

  .launcher-copy p {
    font-size: 17px;
  }

  .launcher-flow-strip span {
    flex: 1 1 120px;
    justify-content: center;
  }

  .contact-choice,
  .owner-schedule-grid .schedule-block {
    grid-template-columns: 1fr;
  }

  .zip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-choice strong {
    text-align: left;
  }

  .owner-schedule-grid .schedule-block span {
    justify-self: start;
  }

  .story-card {
    min-height: 190px;
  }

  .customer-summary-card,
  .lead-hero-row,
  .board-heading,
  .final-submit-card,
  .section-heading-row {
    align-items: stretch;
    flex-direction: column;
  }

  .package-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .package-demo {
    grid-template-columns: 1fr;
  }

  .package-card {
    min-height: auto;
  }

  .lead-table-row {
    grid-template-columns: 1fr;
  }

  .lead-table-row span {
    grid-row: auto;
    width: max-content;
    max-width: 100%;
  }

  .map-frame {
    height: 340px;
  }

  .lead-main strong {
    white-space: normal;
  }

  .flow-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .segmented-control {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .calendar-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .agent-panel {
    min-height: 0;
  }

  .chat-compose {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
