:root {
  color: #17201b;
  background: #f7f5ef;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #17201b;
  background:
    linear-gradient(180deg, rgba(247, 245, 239, 0.96), rgba(247, 245, 239, 1) 38rem),
    #f7f5ef;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 3vw, 2.75rem);
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid rgba(23, 32, 27, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  color: #f7f5ef;
  background: #17201b;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name,
.brand-line {
  display: block;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0;
}

.brand-line {
  color: #66736c;
  font-size: 0.78rem;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.6rem);
  color: #48534d;
  font-size: 0.92rem;
}

.top-nav a:hover {
  color: #17201b;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.72rem 1rem;
  font-weight: 760;
  letter-spacing: 0;
  cursor: pointer;
}

.header-cta,
.btn.primary {
  color: #fff;
  background: #1f6f5b;
  box-shadow: 0 14px 32px rgba(31, 111, 91, 0.18);
}

.btn.primary:hover,
.header-cta:hover {
  background: #185c4b;
}

.btn.secondary {
  color: #17201b;
  border-color: rgba(23, 32, 27, 0.16);
  background: rgba(255, 255, 255, 0.66);
}

.btn.full {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(22rem, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  min-height: auto;
  padding: clamp(2.2rem, 4vw, 3.4rem) clamp(1rem, 5vw, 5rem) 2rem;
}

.hero-copy {
  max-width: 46rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: #1f6f5b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 48rem;
  margin-bottom: 1.1rem;
  font-size: clamp(2.8rem, 4.4vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.hero-text {
  max-width: 38rem;
  color: #48534d;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 36rem;
  margin: 1.7rem 0 0;
}

.hero-metrics div {
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 32, 27, 0.14);
}

.hero-metrics dt {
  font-size: 1.55rem;
  font-weight: 820;
}

.hero-metrics dd {
  margin: 0.1rem 0 0;
  color: #66736c;
  font-size: 0.88rem;
}

.hero-visual {
  overflow: hidden;
  min-height: 25rem;
  border: 1px solid rgba(23, 32, 27, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 111, 91, 0.92), rgba(23, 32, 27, 0.96)),
    #17201b;
  box-shadow: 0 30px 80px rgba(23, 32, 27, 0.22);
}

.visual-toolbar {
  display: flex;
  gap: 0.45rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.visual-toolbar span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 1rem;
}

.visual-panel {
  min-height: 7.4rem;
  padding: 1rem;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.visual-panel.wide {
  grid-column: 1 / -1;
}

.visual-label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  font-weight: 720;
  text-transform: uppercase;
}

.visual-amount {
  margin-top: 0.5rem;
  font-size: 2.65rem;
  font-weight: 850;
}

.visual-kpi {
  margin-top: 1rem;
  font-size: 3.35rem;
  font-weight: 850;
}

.visual-bars {
  display: flex;
  align-items: end;
  gap: 0.55rem;
  height: 5.4rem;
  margin-top: 1rem;
}

.visual-bars span {
  flex: 1;
  min-width: 1.2rem;
  border-radius: 6px 6px 0 0;
  background: #c7d66d;
}

.visual-panel.list {
  display: none;
  min-height: auto;
}

.visual-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.visual-row:last-child {
  border-bottom: 0;
}

.visual-row strong {
  color: #c7d66d;
}

.platform-band,
.app-shell,
.network-band,
.signup-section {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 5vw, 5rem);
}

.platform-band {
  background: #fff;
  border-top: 1px solid rgba(23, 32, 27, 0.08);
  border-bottom: 1px solid rgba(23, 32, 27, 0.08);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(12rem, 0.34fr) minmax(0, 0.66fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading.compact {
  margin-bottom: 1.35rem;
}

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

.feature-card,
.signup-form {
  border: 1px solid rgba(23, 32, 27, 0.1);
  border-radius: 8px;
  background: #fff;
}

.feature-card {
  min-height: 15rem;
  padding: 1.35rem;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 2.25rem;
  color: #1f6f5b;
  font-weight: 850;
}

.feature-card p,
.signup-copy p,
.network-list p {
  color: #5c6961;
}

.app-shell {
  background: #f7f5ef;
}

.portal-layout {
  display: grid;
  grid-template-columns: 17rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.side-nav,
.portal-content {
  border: 1px solid rgba(23, 32, 27, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.side-nav {
  position: sticky;
  top: 5.1rem;
  display: grid;
  gap: 0.3rem;
  padding: 0.8rem;
}

.nav-group {
  padding: 0.85rem 0.5rem 0.35rem;
  color: #7a857f;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-btn {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.45rem;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  color: #48534d;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.nav-btn:hover {
  color: #17201b;
  background: rgba(23, 32, 27, 0.05);
}

.nav-btn.active {
  color: #fff;
  background: #17201b;
}

.portal-content {
  min-height: 38rem;
  padding: 1rem;
}

.status {
  min-height: 1.25rem;
  color: #66736c;
  font-size: 0.9rem;
}

.section {
  display: none;
}

.section.visible {
  display: block;
}

.panel {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(23, 32, 27, 0.1);
  border-radius: 8px;
  background: #fff;
}

.panel h3 {
  font-size: 0.82rem;
  color: #66736c;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel p:last-child {
  margin-bottom: 0;
}

.summary-grid,
.llh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.summary-tile,
.llh-card {
  padding: 1rem;
  border: 1px solid rgba(23, 32, 27, 0.09);
  border-radius: 8px;
  background: #fff;
}

.summary-tile span {
  display: block;
  color: #66736c;
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
}

.summary-tile strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.9rem;
  line-height: 1;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  padding: 0.68rem 0.55rem;
  border-bottom: 1px solid rgba(23, 32, 27, 0.08);
  text-align: left;
  vertical-align: top;
}

th {
  color: #66736c;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.action-cell {
  width: 9.5rem;
}

.table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.5rem;
  min-height: 2.2rem;
  border: 1px solid rgba(31, 111, 91, 0.24);
  border-radius: 8px;
  padding: 0.42rem 0.7rem;
  color: #185c4b;
  background: rgba(31, 111, 91, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.table-action:hover:not(:disabled) {
  border-color: rgba(31, 111, 91, 0.42);
  background: rgba(31, 111, 91, 0.14);
}

.table-action:disabled {
  color: #7a857f;
  border-color: rgba(23, 32, 27, 0.1);
  background: rgba(23, 32, 27, 0.05);
  cursor: not-allowed;
}

.table-action[aria-busy="true"] {
  color: #17201b;
  border-color: rgba(199, 214, 109, 0.7);
  background: rgba(199, 214, 109, 0.26);
}

.action-error {
  margin-bottom: 0.75rem;
  padding: 0.72rem 0.85rem;
  border-radius: 8px;
  color: #9f1d1d;
  background: #fff2f1;
  font-size: 0.88rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  border-radius: 999px;
  padding: 0.14rem 0.48rem;
  color: #1f6f5b;
  background: rgba(31, 111, 91, 0.1);
  font-size: 0.74rem;
  font-weight: 780;
}

.muted {
  color: #66736c;
  font-size: 0.88rem;
}

.llh-lead {
  max-width: 48rem;
  color: #48534d;
}

.llh-card ul {
  margin: 0;
  padding-left: 1rem;
  color: #5c6961;
}

.llh-card li {
  margin-bottom: 0.45rem;
}

.callout {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid #1f6f5b;
  border-radius: 0 8px 8px 0;
  color: #185c4b;
  background: rgba(31, 111, 91, 0.08);
}

.inline-form {
  display: grid;
  gap: 0.75rem;
  max-width: 38rem;
  margin-top: 1rem;
}

.inline-form label,
.signup-form label {
  display: grid;
  gap: 0.35rem;
  color: #48534d;
  font-size: 0.82rem;
  font-weight: 780;
}

.inline-form input,
.inline-form select,
.inline-form textarea,
.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid rgba(23, 32, 27, 0.16);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  color: #17201b;
  background: #fff;
}

.inline-form textarea,
.signup-form textarea {
  min-height: 6rem;
  resize: vertical;
}

.network-band {
  display: grid;
  grid-template-columns: minmax(14rem, 0.44fr) minmax(0, 0.56fr);
  gap: 2rem;
  color: #fff;
  background: #17201b;
}

.network-band .eyebrow {
  color: #c7d66d;
}

.network-list {
  display: grid;
  gap: 0.85rem;
}

.network-list p {
  margin: 0;
  padding: 1rem 0;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(14rem, 0.42fr) minmax(18rem, 0.58fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  background: #fff;
}

.signup-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.form-note {
  margin: 0;
  color: #66736c;
  font-size: 0.84rem;
  text-align: center;
}

.err {
  padding: 0.9rem 1rem;
  border-radius: 8px;
  color: #9f1d1d;
  background: #fff2f1;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .top-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero,
  .section-heading,
  .portal-layout,
  .network-band,
  .signup-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 26rem;
  }

  .side-nav {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
    overflow-x: visible;
  }

  .nav-group {
    display: none;
  }

  .nav-btn {
    width: 100%;
    min-width: 0;
  }

  .feature-grid,
  .summary-grid,
  .llh-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  .header-cta {
    width: 100%;
  }

  h1 {
    font-size: 2.8rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-actions,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .table-wrap {
    overflow-x: visible;
  }

  table {
    min-width: 0;
    font-size: 0.78rem;
  }

  th,
  td {
    padding: 0.52rem 0.38rem;
    overflow-wrap: anywhere;
  }

  .action-cell {
    width: auto;
  }

  .table-action {
    min-width: 6.8rem;
    white-space: normal;
  }

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

  .visual-panel.wide {
    grid-column: auto;
  }
}

.auth-page,
.dashboard-page {
  background: #f5f7f2;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.auth-brand {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}

.auth-panel {
  width: min(100%, 42rem);
  background: #ffffff;
  border: 1px solid rgba(26, 38, 35, 0.12);
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: 0 24px 80px rgba(26, 38, 35, 0.12);
}

.auth-panel h1 {
  margin: 0.2rem 0 0.8rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.auth-actions {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.2rem;
  overflow-y: auto;
  background: #f8f8f6;
  color: #17201b;
  border-right: 1px solid rgba(23, 32, 27, 0.1);
}

.dashboard-brand {
  color: #17201b;
  margin-bottom: 1.6rem;
}

.dashboard-brand .brand-line {
  color: #66736c;
}

.dashboard-nav {
  display: grid;
  gap: 1.3rem;
}

.dashboard-nav-group {
  display: grid;
  gap: 0.5rem;
}

.dashboard-nav-label {
  margin: 0 0 0.35rem;
  padding: 0 0.85rem;
  color: #7a847f;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dashboard-nav-btn {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0.9rem 0.95rem;
  background: transparent;
  color: #45504a;
  text-align: left;
  font: inherit;
  font-weight: 720;
  cursor: pointer;
}

.dashboard-nav-btn.active,
.dashboard-nav-btn:hover {
  background: #17221f;
  color: #ffffff;
}

.dashboard-nav-group + .dashboard-nav-group .dashboard-nav-btn:not(.active) {
  background: #eeeeed;
  color: #1f2924;
}

.dashboard-nav-group + .dashboard-nav-group .dashboard-nav-btn:hover {
  background: #dde5df;
  color: #17201b;
}

.dashboard-nav-group + .dashboard-nav-group .dashboard-nav-btn.active {
  background: #17221f;
  color: #ffffff;
}

.dashboard-main {
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 2rem);
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.dashboard-topbar h1 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.dashboard-panel {
  margin-bottom: 1rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid rgba(26, 38, 35, 0.12);
  border-radius: 8px;
}

.dashboard-panel h2 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.8rem;
}

.ops-card {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid rgba(26, 38, 35, 0.12);
  border-radius: 8px;
  background: #fbfcf8;
}

.ops-card h3 {
  margin: 0.25rem 0 0.45rem;
  font-size: 1rem;
}

.directory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(8.5rem, 0.22fr));
  gap: 0.8rem;
  align-items: stretch;
  margin-bottom: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(26, 38, 35, 0.12);
  border-radius: 8px;
  background: #f2f5ef;
}

.directory-hero h3 {
  margin: 0.15rem 0 0.45rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.08;
}

.directory-hero p {
  max-width: 42rem;
  margin-bottom: 0;
  color: #48534d;
}

.directory-metric {
  display: grid;
  align-content: center;
  gap: 0.2rem;
  min-height: 6rem;
  padding: 0.8rem;
  border-radius: 8px;
  color: #ffffff;
  background: #17221f;
}

.directory-metric span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 760;
}

.directory-metric strong {
  font-size: 1.7rem;
  line-height: 1;
}

.directory-filter-row,
.contractor-card-actions,
.contractor-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.directory-filter-row {
  margin-bottom: 0.9rem;
}

.filter-chip {
  min-height: 2.25rem;
  border: 1px solid rgba(26, 38, 35, 0.14);
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  color: #45504a;
  background: #ffffff;
  font-size: 0.84rem;
  font-weight: 780;
  cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
  color: #ffffff;
  background: #1f6f5b;
  border-color: #1f6f5b;
}

.directory-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.contractor-directory-card {
  display: grid;
  gap: 0.55rem;
}

.contractor-card-top {
  justify-content: space-between;
}

.vendor-status {
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  color: #6b4a18;
  background: #f7ead7;
  font-size: 0.74rem;
  font-weight: 820;
}

.vendor-status.active {
  color: #185c4b;
  background: rgba(31, 111, 91, 0.12);
}

.directory-score {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(26, 38, 35, 0.1);
  border-bottom: 1px solid rgba(26, 38, 35, 0.1);
}

.directory-score strong {
  font-size: 1.55rem;
  line-height: 1;
}

.directory-score span {
  color: #66736c;
  font-size: 0.82rem;
}

.contractor-card-actions {
  margin-top: 0.25rem;
}

.zillow-demo-card {
  display: grid;
  grid-template-columns: minmax(16rem, 0.92fr) minmax(18rem, 1.08fr);
  gap: 1rem;
  overflow: hidden;
  border: 1px solid rgba(26, 38, 35, 0.12);
  border-radius: 8px;
  background: #fbfcf8;
}

.zillow-demo-hero {
  position: relative;
  min-height: 18rem;
  background: #dfe8e2;
}

.zillow-demo-hero img,
.zillow-demo-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zillow-demo-badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(23, 32, 27, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.zillow-demo-body {
  min-width: 0;
  padding: 1rem 1rem 1rem 0;
}

.zillow-demo-source,
.zillow-demo-stats,
.zillow-demo-tags,
.zillow-demo-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.zillow-demo-source {
  justify-content: space-between;
  color: #5c6963;
  font-size: 0.82rem;
  font-weight: 760;
}

.zillow-demo-source span {
  color: #1f6f5b;
  text-transform: uppercase;
}

.zillow-demo-body h3 {
  margin: 0.35rem 0 0.2rem;
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  line-height: 1;
}

.zillow-demo-address {
  margin-bottom: 0.7rem;
  color: #3f4b44;
  font-weight: 760;
}

.zillow-demo-stats {
  margin-bottom: 0.85rem;
}

.zillow-demo-stats span,
.zillow-demo-tags span {
  border-radius: 8px;
  background: #edf3ed;
  color: #24322b;
  font-size: 0.82rem;
  font-weight: 760;
}

.zillow-demo-stats span {
  padding: 0.42rem 0.58rem;
}

.zillow-demo-tags span {
  padding: 0.34rem 0.5rem;
}

.zillow-demo-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.95rem;
}

.zillow-demo-meta div {
  min-width: 0;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(26, 38, 35, 0.12);
}

.zillow-demo-meta span,
.zillow-demo-footer span {
  display: block;
  color: #5c6963;
  font-size: 0.78rem;
}

.zillow-demo-meta strong {
  display: block;
  margin-top: 0.14rem;
  font-size: 0.9rem;
}

.zillow-demo-footer {
  justify-content: space-between;
  margin-top: 1rem;
}

.zillow-demo-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0 1rem 1rem;
}

.zillow-demo-gallery img {
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: 8px;
}

.card-kicker,
.meta-row,
.timeline-item span {
  color: #5c6963;
  font-size: 0.82rem;
}

.meta-row,
.bid-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.bid-table {
  display: grid;
  gap: 0.6rem;
}

.bid-row {
  flex-wrap: wrap;
  padding: 0.75rem;
  border: 1px solid rgba(26, 38, 35, 0.12);
  border-radius: 8px;
  background: #fbfcf8;
}

.dashboard-form {
  margin-top: 0;
}

.checkline {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.checkline input {
  width: auto;
}

.project-meter {
  height: 0.7rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8dd;
}

.project-meter span {
  display: block;
  height: 100%;
  background: #2f7d5d;
}

.timeline-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.timeline-item {
  padding-left: 0.8rem;
  border-left: 3px solid #2f7d5d;
}

.timeline-item p {
  margin: 0.2rem 0;
}

.contractor-bid-action {
  margin-top: 1rem;
}

@media (max-width: 840px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    height: auto;
  }

  .dashboard-main {
    padding: 1rem;
  }

  .dashboard-topbar,
  .meta-row {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .directory-hero,
  .maintenance-network-hero {
    grid-template-columns: 1fr;
  }

  .zillow-demo-body {
    padding: 0 1rem 1rem;
  }

  .zillow-demo-gallery,
  .zillow-demo-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
