:root {
  --ink: #0b1220;
  --muted: #647084;
  --line: #d7dee9;
  --paper: #eef4fb;
  --white: #ffffff;
  --green: #12a66a;
  --green-dark: #087749;
  --gold: #f2b84b;
  --clay: #b85c38;
  --blue: #2755ff;
  --blue-dark: #173bd6;
  --blue-soft: #e8efff;
  --cyan: #67e8f9;
  --violet: #685bff;
  --midnight: #07111f;
  --shadow: 0 8px 22px rgba(11, 18, 32, 0.08);
  --elevated-shadow: 0 24px 70px rgba(11, 18, 32, 0.16);
}

[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

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

a {
  color: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.site-body {
  background:
    radial-gradient(circle at 12% 8%, rgba(103, 232, 249, 0.26), transparent 28rem),
    radial-gradient(circle at 88% 4%, rgba(39, 85, 255, 0.16), transparent 26rem),
    linear-gradient(180deg, #f8fbff 0, var(--paper) 36rem),
    linear-gradient(90deg, rgba(39, 85, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(39, 85, 255, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 44px 44px, 44px 44px, auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.site-logo,
.site-nav,
.site-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo,
.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-logo strong {
  font-size: 1.15rem;
}

.site-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--muted);
  font-weight: 700;
}

.site-nav .site-login {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--white);
  background: var(--ink);
}

.site-hero,
.site-strip,
.site-section,
.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.site-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  padding: 72px 0 34px;
}

.site-hero h1 {
  max-width: 900px;
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 5.5vw, 5rem);
  line-height: 1;
}

.site-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.55;
}

.site-product-card {
  display: grid;
  place-items: center;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(32, 213, 255, 0.34), transparent 34%),
    radial-gradient(circle at bottom left, rgba(97, 87, 255, 0.22), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.44)),
    var(--white);
  backdrop-filter: blur(18px);
  box-shadow: var(--elevated-shadow);
}

.site-phone {
  width: min(310px, 86vw);
  min-height: 465px;
  padding: 18px;
  border: 10px solid #111827;
  border-radius: 34px;
  background: var(--paper);
  box-shadow: 0 24px 40px rgba(28, 30, 33, 0.18);
}

.hero-deal-room-mockup {
  width: min(390px, 90vw);
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(39, 85, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(39, 85, 255, 0.15);
}

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

.mockup-top strong {
  font-size: 1.9rem;
  line-height: 1.02;
}

.mockup-top small,
.mockup-proof-grid span,
.mockup-section p {
  color: var(--muted);
}

.mockup-section {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.mockup-section span,
.mockup-proof-grid strong {
  font-weight: 900;
}

.mockup-proof-grid {
  display: grid;
  gap: 10px;
}

.mockup-proof-grid article {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.mockup-footer button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font: inherit;
  font-weight: 900;
}

.moment-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(39, 85, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f2f8ff 100%);
  box-shadow: var(--shadow);
}

.moment-card h2 {
  max-width: 720px;
}

.moment-card p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.moment-steps {
  display: grid;
  gap: 10px;
}

.moment-steps article {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.moment-steps span {
  color: var(--muted);
}

.investor-phone {
  transform: rotate(1deg);
}

.phone-top {
  width: 88px;
  height: 8px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #1c1e21;
}

.phone-card,
.phone-list span,
.site-mini-dashboard,
.site-feature-grid article,
.price-card,
.platform-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.phone-card {
  padding: 18px;
}

.phone-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.65rem;
}

.phone-card p {
  color: var(--muted);
  line-height: 1.45;
}

.phone-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.phone-list span {
  padding: 13px;
  font-weight: 700;
}

.site-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.site-strip div {
  display: grid;
  gap: 7px;
  padding: 20px;
  background: var(--white);
}

.site-strip span,
.site-feature-grid p,
.site-demo-band p,
.price-card p,
.platform-grid p,
.social-post-card p,
.answer-card span,
.site-footer {
  color: var(--muted);
}

.site-section {
  padding: 58px 0;
}

.site-feature-grid,
.pricing-grid,
.platform-grid,
.account-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.platform-grid {
  grid-template-columns: repeat(4, 1fr);
}

.site-feature-grid article,
.price-card,
.platform-grid article,
.proof-type-grid article,
.account-grid article,
.social-post-card {
  padding: 22px;
}

.account-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.account-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(145deg, var(--green), var(--cyan));
  font-weight: 900;
}

.contractor-icon {
  background: linear-gradient(145deg, var(--blue), var(--violet));
}

.pay-icon {
  background: linear-gradient(145deg, var(--midnight), var(--blue));
}

.platform-section {
  padding-top: 46px;
}

.platform-grid article {
  position: relative;
  overflow: hidden;
}

.platform-grid article::before,
.proof-type-grid article::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.site-feature-grid article span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), var(--violet));
  font-weight: 900;
}

.social-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.social-post-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.78)),
    var(--white);
  box-shadow: 0 18px 48px rgba(11, 18, 32, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.social-post-card:hover,
.customer-project:hover,
.proof-card:hover {
  transform: translateY(-2px);
  border-color: rgba(39, 85, 255, 0.28);
  box-shadow: 0 22px 54px rgba(39, 85, 255, 0.13);
}

.social-post-card.compact {
  padding: 18px;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-author small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), var(--violet));
  font-weight: 900;
}

.homeowner-avatar {
  background: linear-gradient(145deg, var(--green), var(--cyan));
}

.post-photo {
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 900;
}

.demo-photo,
.demo-proof-photo {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  border-radius: inherit;
  isolation: isolate;
}

.demo-photo::before,
.demo-proof-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(145deg, rgba(7, 17, 31, 0.12), rgba(39, 85, 255, 0.08)),
    repeating-linear-gradient(45deg, #c9d5e6 0 18px, #eef4fb 18px 36px);
}

.demo-photo::after,
.demo-proof-photo::after {
  content: "";
  position: absolute;
  inset: auto 14px 14px auto;
  width: 42%;
  height: 46%;
  z-index: -1;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(103, 232, 249, 0.78), rgba(39, 85, 255, 0.82)),
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.5) 49% 51%, transparent 52%);
  box-shadow: 0 18px 45px rgba(39, 85, 255, 0.28);
}

.demo-photo span,
.demo-proof-photo span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(10px);
  font-weight: 900;
}

.demo-photo-roof::before,
.demo-proof-1::before {
  background:
    linear-gradient(145deg, rgba(7, 17, 31, 0.06), rgba(39, 85, 255, 0.08)),
    linear-gradient(160deg, #d9e3ef 0 35%, #9aa9ba 35% 48%, #f8fbff 48% 100%);
}

.demo-proof-2::before {
  background:
    linear-gradient(145deg, rgba(7, 17, 31, 0.08), rgba(18, 166, 106, 0.12)),
    linear-gradient(160deg, #eaf3ff 0 38%, #6ba6c6 38% 52%, #f8fbff 52% 100%);
}

.demo-proof-3::before {
  background:
    linear-gradient(145deg, rgba(7, 17, 31, 0.08), rgba(242, 184, 75, 0.18)),
    linear-gradient(160deg, #f4efe7 0 35%, #b85c38 35% 50%, #f8fbff 50% 100%);
}

.question-post {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.35;
}

.answer-card,
.post-actions {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.answer-card {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
}

.post-actions span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 800;
}

.social-engagement {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(39, 85, 255, 0.16);
  border-radius: 8px;
  background: rgba(248, 251, 255, 0.82);
  backdrop-filter: blur(14px);
}

.compact-social {
  margin-top: 12px;
}

.reaction-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reaction-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(39, 85, 255, 0.16);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.reaction-button span {
  color: var(--ink);
}

.reaction-button .reaction-emoji {
  color: inherit;
  font-size: 1.05rem;
  line-height: 1;
}

.reaction-button .reaction-count {
  color: inherit;
  font-weight: 900;
}

.reaction-button:hover,
.reaction-button.active {
  color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 10px 26px rgba(39, 85, 255, 0.12);
}

.reaction-button[data-reaction="love"].active {
  color: #d6386c;
  background: #ffe8f0;
}

.reaction-button[data-reaction="fire"].active {
  color: #b85c38;
  background: #fff0df;
}

.reaction-button[data-reaction="helpful"].active {
  color: var(--green-dark);
  background: #e7f8ef;
}

.reaction-button[data-reaction="dislike"].active {
  color: var(--clay);
  background: #fff2ed;
}

.reaction-button.reacted {
  animation: reaction-pop 240ms ease;
}

@keyframes reaction-pop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

.comment-thread {
  display: grid;
  gap: 8px;
}

.comment-item {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid rgba(215, 222, 233, 0.85);
  border-radius: 8px;
  background: var(--white);
}

.comment-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.comment-item.nested {
  margin-left: 18px;
  border-left: 3px solid rgba(39, 85, 255, 0.35);
}

.fresh-comment {
  animation: trustroom-fade-up 220ms ease both;
}

.comment-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.comment-form input {
  min-height: 38px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--white);
}

.comment-form button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--white);
  background: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.site-demo-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(232, 239, 255, 0.72)),
    var(--white);
  box-shadow: var(--shadow);
}

.site-demo-band h2,
.site-section h2 {
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1.05;
}

.site-mini-dashboard {
  padding: 22px;
}

.site-mini-dashboard strong {
  display: block;
  font-size: 3rem;
  line-height: 1;
}

.site-mini-dashboard ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

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

.price-card strong {
  display: block;
  margin: 12px 0;
  font-size: 2.4rem;
}

.price-card.featured {
  border-color: rgba(24, 119, 242, 0.35);
  background: linear-gradient(180deg, #f0f6ff, var(--white));
}

.price-card .primary-button,
.price-card .secondary-button {
  margin-top: 8px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 38px;
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.brand-board-body {
  background:
    linear-gradient(180deg, #f8fbff, var(--paper)),
    var(--paper);
}

.brand-board {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 54px;
}

.brand-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: center;
  min-height: 420px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(103, 232, 249, 0.22), transparent 34%),
    linear-gradient(135deg, #ffffff, #eef4ff);
  box-shadow: var(--elevated-shadow);
}

.brand-hero-card h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.brand-hero-card p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.55;
}

.brand-display {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 300px;
  border: 1px solid rgba(39, 85, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}

.brand-display img {
  width: 132px;
  height: 132px;
}

.brand-display img.brand-full-logo {
  width: min(340px, 86%);
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

.brand-display strong {
  font-size: 2rem;
}

.brand-display span {
  color: var(--muted);
  font-weight: 800;
}

.brand-board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.brand-board-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.brand-sample-logo {
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
  object-fit: contain;
}

.palette-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 12px 0 24px;
}

.palette-row span {
  height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand-board-grid p {
  color: var(--muted);
}

.brand-preview-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.sidebar {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-right: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand > div:last-child {
  display: grid;
  gap: 2px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  overflow: hidden;
}

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

.brand span,
.sidebar-card p,
.metric-row span,
.eyebrow,
.task p,
.proof-card p,
.trust-page-preview p,
.inspector p,
.mini-score small,
.score-ring small {
  color: var(--muted);
}

.sidebar .brand span,
.sidebar .eyebrow,
.sidebar-card p {
  color: var(--muted);
}

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

.nav-item,
.primary-button,
.text-button,
.icon-button {
  border: 0;
  cursor: pointer;
}

.nav-item {
  text-align: left;
  color: var(--ink);
  background: transparent;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.nav-item.active,
.nav-item:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.sidebar-card,
.panel,
.score-panel,
.pipeline-panel,
.trust-page-preview,
.command-center,
.homeowner-room-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sidebar-card {
  margin-top: auto;
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
  padding: 18px;
}

.nav-home-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 800;
}

.workspace {
  padding: 28px;
  min-width: 0;
}

.command-center {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(39, 85, 255, 0.1), rgba(103, 232, 249, 0.12)),
    var(--white);
  box-shadow: var(--elevated-shadow);
}

.command-center h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.command-center p {
  color: var(--muted);
  margin-bottom: 0;
}

.social-feed-panel {
  margin-bottom: 18px;
}

.billing-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(24, 119, 242, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(39, 85, 255, 0.08), rgba(103, 232, 249, 0.1)),
    var(--white);
  box-shadow: var(--shadow);
}

.demo-panel,
.demo-mini-panel {
  border-color: rgba(39, 85, 255, 0.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 248, 255, 0.96));
}

.demo-mini-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(39, 85, 255, 0.2);
  border-radius: 8px;
}

.demo-mini-panel strong {
  font-size: 1.08rem;
}

.demo-progress {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.demo-progress span {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  font-weight: 900;
}

.demo-progress span.complete {
  border-color: rgba(39, 85, 255, 0.28);
  color: var(--white);
  background: var(--blue);
}

.proof-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.proof-type-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.proof-type-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.proof-type-grid p {
  color: var(--muted);
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.demo-actions button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(39, 85, 255, 0.22);
  border-radius: 8px;
  color: var(--blue);
  background: rgba(39, 85, 255, 0.08);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.demo-actions button:hover {
  background: rgba(39, 85, 255, 0.14);
}

.mvp-body:not(.is-authed) .workspace .topbar,
.mvp-body:not(.is-authed) .workspace .view {
  display: none;
}

.auth-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: 28px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mvp-form {
  display: grid;
  gap: 11px;
}

.mvp-form input,
.mvp-form select,
.mvp-form textarea {
  width: 100%;
}

.two-column-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-column-form .form-wide,
.two-column-form button {
  grid-column: 1 / -1;
}

.mvp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.mvp-kpi-grid article {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mvp-kpi-grid strong {
  font-size: 2.2rem;
  line-height: 1;
}

.mvp-kpi-grid span {
  color: var(--muted);
  font-weight: 800;
}

.mobile-quick-actions {
  display: none;
}

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

.empty-state,
.empty-feed {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px dashed rgba(39, 85, 255, 0.28);
  border-radius: 8px;
  background: #f8fbff;
}

.empty-state p,
.empty-feed span {
  margin: 0;
  color: var(--muted);
}

.deal-room-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.deal-room-card h3 {
  margin: 4px 0;
}

.deal-room-card p {
  margin: 0;
  color: var(--muted);
}

.room-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.deal-room-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.deal-room-hero {
  min-height: 560px;
}

.proof-thumb img,
.project-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.project-image:has(img) {
  padding: 0;
}

.invoice-paid #invoice .payment-card {
  border-color: rgba(30, 190, 130, 0.38);
  box-shadow: 0 22px 48px rgba(30, 190, 130, 0.12);
}

.review-posted #leave-review .quote-form {
  border-color: rgba(39, 85, 255, 0.35);
  box-shadow: 0 22px 48px rgba(39, 85, 255, 0.12);
}

.billing-banner strong {
  display: block;
  margin: 4px 0;
  font-size: 1.15rem;
}

.billing-banner p {
  margin-bottom: 0;
  color: var(--muted);
}

.social-feed-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.room-status {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 132px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(145deg, var(--midnight), var(--blue) 52%, var(--violet));
}

.room-status strong {
  font-size: 3rem;
  line-height: 1;
}

.room-status span {
  font-size: 0.8rem;
  font-weight: 800;
}

.topbar,
.panel-header,
.split-actions,
.trust-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar {
  margin-bottom: 24px;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.eyebrow {
  display: block;
  margin-bottom: 7px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.topbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.primary-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), var(--blue-dark));
  font-weight: 700;
  text-decoration: none;
}

.primary-button:hover {
  background: var(--blue-dark);
}

.text-button {
  color: var(--blue);
  background: transparent;
  font-weight: 800;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 18px;
  margin-bottom: 18px;
}

.score-panel {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
}

.score-ring {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  background:
    radial-gradient(circle at center, var(--white) 56%, transparent 57%),
    conic-gradient(var(--blue) 0 73%, #dbe3ef 73% 100%);
}

.score-ring span {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.pipeline-panel {
  padding: 24px;
}

.metric-row {
  display: grid;
  gap: 14px;
}

.metric-row div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.metric-row strong {
  display: block;
  font-size: 2rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.panel {
  padding: 22px;
}

.task-list,
.signal-list,
.proof-grid {
  display: grid;
  gap: 12px;
}

.task {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.task-score {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), var(--violet));
  font-weight: 900;
}

.task p {
  margin-bottom: 0;
}

.task strong,
.proof-card strong {
  display: block;
  margin-bottom: 4px;
}

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

meter {
  width: 100%;
  height: 12px;
}

meter::-webkit-meter-bar {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #e4e6eb;
}

meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: var(--blue);
}

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

.proof-card {
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.proof-thumb,
.job-photo {
  min-height: 108px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  color: var(--white);
  font-weight: 800;
  background-color: #38433e;
}

.proof-thumb {
  padding: 0;
}

.proof-thumb .demo-proof-photo {
  min-height: 132px;
  border-radius: 0;
}

.proof-copy {
  padding: 14px;
}

.activity-feed,
.recommendation-list,
.invoice-line-items,
.payment-status-grid {
  display: grid;
  gap: 10px;
}

.activity-feed div,
.recommendation-list button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.activity-feed div {
  display: grid;
  gap: 5px;
  padding: 13px;
}

.activity-feed span {
  color: var(--muted);
}

.room-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.chat-thread {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.chat-bubble {
  width: min(78%, 620px);
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
}

.chat-bubble p {
  margin-bottom: 0;
  color: #374151;
  line-height: 1.45;
}

.chat-bubble.contractor {
  justify-self: end;
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.chat-bubble.contractor p {
  color: rgba(255, 255, 255, 0.9);
}

.chat-bubble.customer {
  background: #f8fafc;
}

.chat-bubble.system {
  justify-self: center;
  width: min(92%, 720px);
  border-color: rgba(24, 119, 242, 0.22);
  background: var(--blue-soft);
}

.message-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 16px;
}

.recommendation-list button {
  padding: 13px;
  text-align: left;
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
}

.invoice-card,
.subscription-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 20px;
  border: 1px solid rgba(24, 119, 242, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(39, 85, 255, 0.08), rgba(103, 232, 249, 0.1)),
    var(--white);
}

.invoice-card h3,
.invoice-card p,
.subscription-card h3,
.subscription-card p {
  margin-bottom: 4px;
}

.invoice-card > strong,
.subscription-card > strong {
  white-space: nowrap;
  color: var(--ink);
  font-size: 2rem;
}

.invoice-line-items {
  margin-top: 14px;
}

.invoice-line-items div,
.payment-status-grid article {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.invoice-line-items span,
.payment-status-grid span {
  color: var(--muted);
}

.payment-status-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
}

.payment-status-grid article {
  display: grid;
}

.billing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.billing-grid article,
.stripe-checklist,
.money-flow article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.billing-grid article {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.billing-grid strong {
  font-size: 1.8rem;
}

.billing-grid p,
.money-flow span {
  margin-bottom: 0;
  color: var(--muted);
}

.stripe-checklist {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 16px;
}

.stripe-checklist h3 {
  margin-bottom: 2px;
}

.stripe-checklist label,
.money-flow article {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stripe-checklist input {
  width: auto;
}

.money-flow {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.money-flow article {
  align-items: flex-start;
  flex-direction: column;
  padding: 14px;
}

.photo-one,
.thumb-one {
  background:
    linear-gradient(135deg, rgba(21, 31, 27, 0.25), rgba(21, 31, 27, 0.15)),
    repeating-linear-gradient(35deg, #6b786f 0 16px, #4f5b54 16px 32px);
}

.photo-two,
.thumb-two {
  background:
    linear-gradient(135deg, rgba(21, 31, 27, 0.12), rgba(21, 31, 27, 0.08)),
    repeating-linear-gradient(35deg, #2d647d 0 16px, #3d8294 16px 32px);
}

.photo-three,
.thumb-three {
  background:
    linear-gradient(135deg, rgba(21, 31, 27, 0.2), rgba(21, 31, 27, 0.08)),
    repeating-linear-gradient(35deg, #b4563c 0 16px, #d38b4c 16px 32px);
}

.trust-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
}

.trust-page-preview {
  overflow: hidden;
}

.trust-hero {
  align-items: flex-end;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}

.trust-hero h2 {
  max-width: 760px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.job-photo {
  min-height: 190px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.trust-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-sections article {
  background: var(--white);
  padding: 22px;
}

.inspector {
  align-self: start;
}

.mini-score {
  margin-top: 18px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  background:
    radial-gradient(circle at center, var(--white) 56%, transparent 57%),
    conic-gradient(var(--gold) 0 88%, #e3e8e2 88% 100%);
}

.mini-score span {
  font-size: 2.45rem;
  font-weight: 900;
}

.followup-panel {
  max-width: 880px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--ink);
  background: #fbfaf7;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fbfaf7;
}

.split-actions {
  justify-content: flex-start;
  margin-top: 14px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  max-width: 320px;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  background: var(--ink);
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.mobile-tabbar {
  display: none;
}

@media (max-width: 980px) {
  .app-shell,
  .hero-grid,
  .content-grid,
  .trust-page-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
  }

  .nav-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .proof-grid,
  .trust-sections {
    grid-template-columns: 1fr;
  }

  .site-hero,
  .site-demo-band,
  .moment-card,
  .command-center,
  .room-grid,
  .customer-room,
  .brand-hero-card,
  .brand-board-grid {
    grid-template-columns: 1fr;
  }

  .site-product-card {
    min-height: auto;
    padding: 28px;
  }

  .site-feature-grid,
  .platform-grid,
  .proof-type-grid,
  .account-grid,
  .social-preview-grid,
  .social-feed-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .app-body {
    padding-bottom: 78px;
  }

  .workspace,
  .sidebar {
    padding: 18px;
  }

  .app-shell {
    min-height: auto;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 15;
    flex-direction: row;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sidebar .brand {
    min-width: 0;
  }

  .sidebar .brand strong,
  .sidebar .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sidebar .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .topbar,
  .panel-header,
  .trust-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-actions {
    width: 100%;
  }

  .icon-button {
    width: auto;
    min-width: 72px;
    padding: 0 12px;
  }

  .primary-button {
    width: 100%;
  }

  .nav-list {
    display: none;
  }

  .score-panel {
    grid-template-columns: 1fr;
  }

  .photo-strip {
    grid-template-columns: 1fr;
  }

  .task {
    grid-template-columns: 40px 1fr;
  }

  .task button {
    grid-column: 2;
    justify-self: start;
  }

  .sidebar-card,
  .nav-home-link {
    display: none;
  }

  .mobile-tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px 10px max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
  }

  .mobile-tab {
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    color: var(--muted);
    background: transparent;
    font-weight: 800;
  }

  .mobile-tab.active {
    color: var(--blue);
    background: var(--blue-soft);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-hero {
    padding-top: 34px;
  }

  .site-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .site-strip,
  .pricing-grid,
  .billing-grid {
    grid-template-columns: 1fr;
  }

  .message-composer {
    grid-template-columns: 1fr;
  }

  .billing-banner,
  .invoice-card,
  .subscription-card {
    align-items: stretch;
    flex-direction: column;
  }
}

.customer-body {
  background:
    linear-gradient(180deg, #f8fbff 0, var(--paper) 32rem),
    var(--paper);
}

.customer-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.customer-logo,
.customer-nav,
.customer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.customer-logo,
.customer-nav a,
.customer-footer a,
.secondary-button {
  text-decoration: none;
}

.customer-logo-copy {
  display: grid;
  gap: 2px;
}

.customer-logo-copy small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.customer-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.customer-nav a {
  color: var(--muted);
  font-weight: 700;
}

.customer-nav .dashboard-link {
  color: var(--blue);
}

.customer-hero,
.customer-section,
.customer-band,
.customer-footer {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.customer-hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: center;
  padding: 38px 0 24px;
}

.customer-hero-copy h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(2.15rem, 5.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.customer-hero-copy p {
  max-width: 680px;
  color: #42504a;
  font-size: 1.15rem;
  line-height: 1.55;
}

.customer-room {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
  gap: 24px;
  align-items: start;
}

.homeowner-room-card {
  padding: 22px;
}

.room-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(24, 119, 242, 0.22);
  border-radius: 8px;
  background: var(--blue-soft);
}

.room-summary span {
  color: var(--blue);
  font-size: 1.9rem;
  font-weight: 900;
}

.secondary-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
}

.trust-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.customer-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 170px;
  margin-bottom: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--white) 55%, transparent 56%),
    conic-gradient(var(--blue) 0 88%, #dbe3ef 88% 100%);
}

.customer-score strong {
  font-size: 4rem;
  line-height: 1;
}

.customer-score span {
  max-width: 84px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.8rem;
  line-height: 1.1;
  text-align: center;
}

.trust-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.customer-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.band-item {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: var(--white);
}

.band-item span,
.project-copy p,
.customer-section p,
.process-list span,
blockquote cite,
.customer-footer {
  color: var(--muted);
}

.customer-section {
  padding: 38px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 20px;
}

.customer-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.customer-project-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.customer-project,
blockquote,
.quote-form {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.project-image {
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: var(--white);
  font-weight: 900;
}

.project-copy {
  padding: 18px;
}

.split-section,
.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: start;
}

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

.process-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

blockquote {
  margin: 0;
  padding: 24px;
}

blockquote p {
  font-size: 1.25rem;
  line-height: 1.45;
}

.quote-form,
.pay-form,
.payment-card {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.quote-form label,
.pay-form label {
  margin-bottom: 0;
}

.quote-form .primary-button,
.pay-form .primary-button {
  margin-top: 8px;
}

.payment-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.payment-card .invoice-card {
  margin-top: 0;
}

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

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: auto;
}

.customer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .customer-header,
  .customer-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-hero,
  .customer-band,
  .customer-project-grid,
  .split-section,
  .review-grid,
  .quote-section,
  .customer-room,
  .payment-status-grid,
  .auth-panel,
  .two-column-form,
  .mvp-kpi-grid {
    grid-template-columns: 1fr;
  }

  .customer-hero {
    min-height: auto;
  }

  .deal-room-card {
    align-items: stretch;
    flex-direction: column;
  }

  .room-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .app-body {
    padding-bottom: 108px;
    background: #eef4fb;
  }

  .workspace {
    padding: 14px 14px 108px;
  }

  .sidebar {
    padding: 12px 14px;
  }

  .sidebar .brand {
    gap: 10px;
  }

  .sidebar .brand-mark {
    width: 34px;
    height: 34px;
  }

  .sidebar .brand strong {
    font-size: 0.98rem;
  }

  .sidebar .brand span {
    font-size: 0.72rem;
  }

  .topbar {
    gap: 12px;
    margin-bottom: 14px;
  }

  .topbar .eyebrow {
    display: none;
  }

  .topbar h1 {
    font-size: clamp(1.38rem, 6.5vw, 1.75rem);
    line-height: 1.05;
  }

  .topbar-actions {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 8px;
  }

  .topbar-actions .secondary-button,
  .topbar-actions .primary-button {
    min-height: 44px;
    width: 100%;
    padding-inline: 10px;
    font-size: 0.86rem;
  }

  .command-center {
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 12px;
    margin-bottom: 10px;
    padding: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .command-center h2 {
    font-size: 1.08rem;
    line-height: 1.18;
  }

  .command-center p {
    display: none;
  }

  .room-status {
    min-height: 82px;
    padding: 10px;
    border-radius: 8px;
  }

  .room-status strong {
    font-size: 2.15rem;
  }

  .room-status span {
    font-size: 0.66rem;
    line-height: 1.1;
    text-align: center;
  }

  .mobile-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0;
  }

  .mobile-quick-actions button {
    min-height: 48px;
    padding: 0 8px;
    border: 1px solid rgba(24, 119, 242, 0.2);
    border-radius: 8px;
    color: var(--blue);
    background: var(--white);
    box-shadow: var(--shadow);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
  }

  .mvp-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0;
  }

  .mvp-kpi-grid article {
    min-height: 86px;
    padding: 12px 8px;
  }

  .mvp-kpi-grid strong {
    font-size: 1.75rem;
  }

  .mvp-kpi-grid span {
    font-size: 0.72rem;
    line-height: 1.12;
  }

  .panel {
    padding: 16px;
  }

  .panel-header {
    gap: 12px;
  }

  .panel-header h2 {
    font-size: 1.25rem;
    line-height: 1.12;
  }

  .deal-room-card {
    gap: 12px;
    padding: 14px;
  }

  .deal-room-card h3 {
    font-size: 1.05rem;
  }

  .room-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
  }

  .room-actions .secondary-button,
  .room-actions .text-button {
    min-height: 42px;
    width: 100%;
    justify-content: center;
  }

  .mobile-tabbar {
    gap: 6px;
    padding: 8px 10px max(10px, env(safe-area-inset-bottom));
    box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.12);
  }

  .mobile-tab {
    min-height: 50px;
    font-size: 0.82rem;
  }
}

@media (max-width: 560px) {
  .customer-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: rgba(39, 85, 255, 0.16);
}

.site-hero-copy,
.site-product-card,
.hero-deal-room-mockup,
.site-section,
.site-strip,
.guided-demo-grid,
.guided-demo-grid article,
.moment-card,
.proof-type-grid article,
.platform-grid article,
.social-post-card,
.site-demo-band,
.price-card,
.app-shell,
.workspace,
.panel,
.auth-panel,
.command-center,
.deal-room-card,
.customer-hero,
.customer-section,
.customer-room,
.homeowner-room-card,
.payment-card,
.trust-card {
  min-width: 0;
}

.primary-button,
.secondary-button,
.text-button,
.mobile-tab,
.mobile-quick-actions button {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.primary-button:active,
.secondary-button:active,
.text-button:active,
.mobile-tab:active,
.mobile-quick-actions button:active {
  transform: translateY(1px) scale(0.99);
}

.site-hero,
.customer-hero {
  animation: trustroom-fade-up 280ms ease both;
}

@keyframes trustroom-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-value-pills,
.homeowner-proof-strip,
.onboarding-preview,
.setup-guidance,
.app-intro-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-value-pills {
  margin: 18px 0 4px;
}

.live-proof-stack {
  display: grid;
  gap: 8px;
  width: min(520px, 100%);
  margin: 16px 0 6px;
}

.live-proof-stack span,
.dashboard-signal-row span,
.post-signal-row span,
.verified-badge,
.live-dot,
.verified-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(39, 85, 255, 0.16);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(14px);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
}

.live-proof-stack i,
.dashboard-signal-row i,
.verified-line span,
.live-dot::before {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(18, 166, 106, 0.12);
  animation: live-pulse 1800ms ease-in-out infinite;
  content: "";
}

@keyframes live-pulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.75;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.hero-value-pills span,
.homeowner-proof-strip span,
.onboarding-preview span,
.app-intro-steps span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(39, 85, 255, 0.18);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.momentum-metrics {
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 14px auto 0;
}

.momentum-metrics article,
.live-feed-card,
.featured-contractor-card,
.live-workspace-panel {
  border: 1px solid rgba(39, 85, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 255, 0.7)),
    var(--white);
  box-shadow: 0 18px 50px rgba(39, 85, 255, 0.09);
}

.momentum-metrics article {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.momentum-metrics strong {
  font-size: 2rem;
  line-height: 1;
}

.momentum-metrics span,
.contractor-stats span,
.progress-caption {
  color: var(--muted);
  font-weight: 800;
}

.community-feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.live-feed-card,
.featured-contractor-card {
  padding: 22px;
}

.feed-card-header,
.contractor-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.contractor-card-top {
  justify-content: flex-start;
}

.contractor-card-top small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.activity-timeline {
  display: grid;
  gap: 10px;
}

.activity-timeline div {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 14px 14px 14px 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.activity-timeline div::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue), var(--cyan));
  box-shadow: 0 0 0 6px rgba(39, 85, 255, 0.11);
}

.activity-timeline div:nth-child(1) {
  animation: trustroom-fade-up 360ms ease both;
}

.activity-timeline span {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
}

.activity-timeline p {
  margin: 0;
  color: var(--muted);
}

.reputation-ring {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  margin: 22px auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--white) 58%, transparent 59%),
    conic-gradient(var(--blue) 0 94%, #dbe3ef 94% 100%);
}

.reputation-ring strong {
  font-size: 3rem;
  line-height: 1;
}

.reputation-ring span {
  color: var(--muted);
  font-weight: 900;
}

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

.contractor-stats span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  text-align: center;
}

.post-signal-row,
.dashboard-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-signal-row span {
  color: var(--blue);
  background: var(--blue-soft);
}

.verified-badge {
  color: var(--green-dark);
  background: rgba(231, 248, 239, 0.92);
}

.onboarding-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(215, 222, 233, 0.8);
}

.onboarding-progress span {
  width: var(--progress);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 24px rgba(39, 85, 255, 0.28);
}

.live-workspace-panel {
  margin-bottom: 12px;
}

.activity-timeline.compact div {
  padding-block: 12px;
}

.deal-room-social-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.deal-room-social-proof div {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.deal-room-social-proof strong {
  font-size: 1.75rem;
  line-height: 1;
}

.deal-room-social-proof span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.verified-line {
  width: auto;
  margin-bottom: 14px;
  border-radius: 8px;
}

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

.guided-demo-grid article,
.app-intro-card,
.setup-guidance article,
.trust-meter {
  border: 1px solid rgba(39, 85, 255, 0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.guided-demo-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
}

.guided-demo-grid h3 {
  font-size: 1.55rem;
}

.guided-demo-grid p {
  color: var(--muted);
}

.demo-badge {
  width: fit-content;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(18, 166, 106, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
}

.contractor-badge {
  color: var(--blue);
  background: var(--blue-soft);
}

.app-intro-card {
  display: none;
}

.setup-guidance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.setup-guidance article {
  display: grid;
  gap: 5px;
  padding: 14px;
}

.setup-guidance span,
.trust-meter span {
  color: var(--muted);
}

.homeowner-proof-strip {
  margin: 16px 0 4px;
}

.trust-meter {
  display: grid;
  gap: 5px;
  margin: 14px 0;
  padding: 14px;
  background: linear-gradient(135deg, #ffffff, #eef6ff);
}

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

@media (max-width: 980px) {
  .guided-demo-grid,
  .setup-guidance,
  .community-feed-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .site-header,
  .customer-header {
    gap: 12px;
    padding: 10px 14px;
  }

  .site-logo .brand-mark,
  .customer-logo .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .site-nav,
  .customer-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-nav a,
  .customer-nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    font-size: 0.82rem;
    text-align: center;
  }

  .site-nav .site-login,
  .customer-nav .dashboard-link {
    color: var(--white);
    background: var(--ink);
  }

  .site-hero,
  .site-strip,
  .site-section,
  .site-footer,
  .momentum-metrics,
  .brand-board,
  .customer-hero,
  .customer-section,
  .customer-band,
  .customer-footer,
  .deal-room-page {
    width: min(100% - 28px, 1180px);
  }

  .site-hero {
    gap: 18px;
    padding: 26px 0 24px;
  }

  .site-hero h1 {
    font-size: clamp(2.05rem, 12vw, 3.15rem);
    line-height: 0.98;
  }

  .site-hero p,
  .customer-hero-copy p,
  .moment-card p {
    font-size: 1rem;
    line-height: 1.45;
  }

  .site-product-card {
    padding: 12px;
  }

  .hero-deal-room-mockup {
    width: 100%;
    padding: 14px;
  }

  .mockup-top strong {
    font-size: 1.35rem;
  }

  .mockup-footer {
    grid-template-columns: 1fr;
  }

  .hero-value-pills span,
  .homeowner-proof-strip span,
  .onboarding-preview span,
  .app-intro-steps span {
    width: 100%;
    justify-content: center;
    border-radius: 8px;
    text-align: center;
  }

  .site-section {
    padding: 36px 0;
  }

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

  .momentum-metrics article,
  .live-feed-card,
  .featured-contractor-card {
    padding: 14px;
  }

  .momentum-metrics strong {
    font-size: 1.6rem;
  }

  .activity-timeline div {
    padding-left: 42px;
  }

  .activity-timeline div::before {
    left: 20px;
  }

  .contractor-stats,
  .deal-room-social-proof {
    grid-template-columns: 1fr;
  }

  .feed-card-header,
  .contractor-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-proof-stack span,
  .dashboard-signal-row span,
  .post-signal-row span,
  .verified-badge,
  .live-dot,
  .verified-line {
    width: 100%;
    justify-content: center;
    border-radius: 8px;
    text-align: center;
  }

  .site-demo-band,
  .moment-card,
  .guided-demo-grid article,
  .proof-type-grid article,
  .platform-grid article,
  .site-feature-grid article,
  .account-grid article,
  .price-card,
  .trust-card,
  .homeowner-room-card,
  .payment-card {
    padding: 16px;
  }

  .site-demo-band h2,
  .site-section h2,
  .customer-section h2 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
    line-height: 1.08;
  }

  .guided-demo-grid h3,
  .question-post {
    font-size: 1.18rem;
  }

  .post-photo,
  .project-image {
    min-height: 170px;
  }

  .customer-hero {
    gap: 16px;
    padding: 24px 0 16px;
  }

  .customer-hero-copy h1 {
    font-size: clamp(1.95rem, 10vw, 2.75rem);
  }

  .customer-actions {
    gap: 8px;
  }

  .split-section,
  .quote-section,
  .customer-room,
  .customer-project-grid,
  .payment-fields {
    grid-template-columns: 1fr;
  }

  .process-list li {
    gap: 8px;
    padding: 14px;
  }

  .message-composer input,
  .message-composer button,
  .comment-form input,
  .comment-form button,
  .mvp-form input,
  .mvp-form select,
  .mvp-form textarea,
  .primary-button,
  .secondary-button {
    min-height: 46px;
  }

  .app-intro-card {
    display: grid;
    gap: 12px;
    margin-bottom: 10px;
    padding: 14px;
  }

  .app-intro-card h2 {
    font-size: 1.08rem;
  }

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

  .app-intro-steps span {
    width: auto;
    min-height: 34px;
    padding: 0 6px;
    font-size: 0.72rem;
  }

  .auth-panel {
    padding: 16px;
  }

  .onboarding-preview {
    display: grid;
    grid-template-columns: 1fr;
    margin: 14px 0;
  }

  .setup-guidance {
    gap: 8px;
  }

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

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

  .reaction-button {
    justify-content: center;
  }

  .comment-form {
    grid-template-columns: 1fr;
  }

  .comment-item.nested {
    margin-left: 10px;
  }

  .toast {
    right: 14px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    left: 14px;
    max-width: none;
  }
}

@media (max-width: 420px) {
  .site-nav,
  .customer-nav {
    grid-template-columns: 1fr;
  }

  .mobile-quick-actions,
  .mvp-kpi-grid {
    gap: 6px;
  }

  .mobile-quick-actions button,
  .mvp-kpi-grid span,
  .mobile-tab {
    font-size: 0.72rem;
  }

  .momentum-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .topbar-actions {
    grid-template-columns: 1fr;
  }
}

/* TrustRoom cohesive premium system */
:root {
  --ink: #07111f;
  --muted: #667085;
  --line: rgba(148, 163, 184, 0.28);
  --paper: #eef4fb;
  --white: #ffffff;
  --blue: #2457ff;
  --blue-dark: #1238d8;
  --blue-soft: #eaf1ff;
  --cyan: #45d9ff;
  --violet: #6d5cff;
  --green: #14b87a;
  --green-dark: #087749;
  --clay: #b85c38;
  --midnight: #050b18;
  --radius: 10px;
  --radius-sm: 8px;
  --soft-shadow: 0 14px 42px rgba(7, 17, 31, 0.08);
  --elevated-shadow: 0 30px 90px rgba(7, 17, 31, 0.14);
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

.site-body {
  background:
    radial-gradient(circle at 16% 8%, rgba(69, 217, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 92% 4%, rgba(36, 87, 255, 0.14), transparent 26rem),
    linear-gradient(180deg, #f8fbff 0, #edf4ff 42rem, #f6f9ff 100%);
}

.supporting-section {
  display: none;
}

.site-header,
.customer-header,
.sidebar {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
}

.site-hero,
.site-strip,
.site-section,
.site-footer,
.momentum-metrics {
  width: min(1120px, calc(100% - 40px));
}

.site-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 6vw, 78px);
  min-height: calc(100vh - 74px);
  padding: clamp(44px, 7vw, 86px) 0 36px;
}

.site-hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.site-hero p {
  max-width: 620px;
  color: #475467;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.site-section {
  padding: clamp(44px, 7vw, 76px) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-heading h2,
.site-section h2 {
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.eyebrow {
  color: #667085;
  letter-spacing: 0.12em;
}

:is(
  .site-product-card,
  .hero-deal-room-mockup,
  .site-strip,
  .momentum-metrics article,
  .guided-demo-grid article,
  .live-feed-card,
  .featured-contractor-card,
  .moment-card,
  .social-post-card,
  .price-card,
  .panel,
  .command-center,
  .app-intro-card,
  .trust-card,
  .homeowner-room-card,
  .payment-card,
  .deal-room-card,
  .customer-project
) {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.82)),
    var(--surface-strong);
  box-shadow: var(--soft-shadow);
}

.site-product-card {
  min-height: 510px;
  background:
    radial-gradient(circle at 100% 0, rgba(69, 217, 255, 0.28), transparent 32%),
    radial-gradient(circle at 0 100%, rgba(109, 92, 255, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.4));
}

.hero-deal-room-mockup,
.live-feed-card,
.featured-contractor-card,
.social-post-card {
  box-shadow: 0 22px 68px rgba(7, 17, 31, 0.1);
}

.primary-button,
.secondary-button,
.site-nav .site-login,
.comment-form button,
.mockup-footer button {
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-weight: 850;
}

.primary-button,
.mockup-footer button {
  background: linear-gradient(145deg, var(--blue), var(--blue-dark));
  box-shadow: 0 12px 28px rgba(36, 87, 255, 0.2);
}

.secondary-button {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.hero-value-pills span,
.homeowner-proof-strip span,
.onboarding-preview span,
.app-intro-steps span,
.live-proof-stack span,
.dashboard-signal-row span,
.post-signal-row span,
.verified-badge,
.live-dot,
.demo-badge {
  border-color: rgba(36, 87, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.site-strip,
.momentum-metrics {
  margin-top: 14px;
}

.site-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background: var(--line);
}

.site-strip div {
  padding: 18px;
}

.momentum-metrics article {
  padding: 18px;
}

.community-feed-grid,
.guided-demo-grid {
  gap: 16px;
}

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

.project-showcase-grid .social-post-card {
  align-content: start;
  padding: 18px;
}

.project-comparison {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #dbe7f5;
  isolation: isolate;
}

.project-comparison::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.08), transparent 48%, rgba(255, 255, 255, 0.28) 50%, transparent 52%),
    linear-gradient(135deg, rgba(36, 87, 255, 0.09), rgba(69, 217, 255, 0.08));
}

.project-comparison div {
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.project-comparison div:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.7);
  filter: saturate(0.75);
}

.project-comparison span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(5, 11, 24, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
}

.project-roof div:first-child {
  background:
    linear-gradient(160deg, rgba(89, 99, 116, 0.76) 0 36%, rgba(120, 130, 146, 0.82) 36% 54%, rgba(221, 228, 236, 0.72) 54%),
    repeating-linear-gradient(25deg, #7c8795 0 14px, #66717e 14px 28px);
}

.project-roof div:last-child {
  background:
    linear-gradient(160deg, rgba(48, 62, 78, 0.85) 0 38%, rgba(83, 99, 119, 0.9) 38% 56%, rgba(238, 244, 251, 0.74) 56%),
    repeating-linear-gradient(25deg, #405166 0 14px, #2f4155 14px 28px);
}

.project-kitchen div:first-child {
  background:
    linear-gradient(90deg, rgba(112, 93, 76, 0.78), rgba(199, 185, 168, 0.72)),
    repeating-linear-gradient(0deg, #9b8570 0 18px, #c4ad94 18px 36px);
}

.project-kitchen div:last-child {
  background:
    linear-gradient(90deg, rgba(247, 250, 255, 0.88), rgba(57, 104, 255, 0.26)),
    repeating-linear-gradient(90deg, #f8fbff 0 28px, #dbe8ff 28px 30px);
}

.project-fence div:first-child {
  background:
    linear-gradient(160deg, rgba(124, 99, 66, 0.74), rgba(109, 126, 91, 0.58)),
    repeating-linear-gradient(90deg, #80613f 0 14px, #6b5034 14px 28px);
}

.project-fence div:last-child {
  background:
    linear-gradient(160deg, rgba(166, 118, 72, 0.82), rgba(230, 190, 126, 0.5)),
    repeating-linear-gradient(90deg, #b57a45 0 14px, #d39a5e 14px 28px);
}

.social-engagement {
  background: rgba(248, 251, 255, 0.78);
}

.reaction-button {
  border-color: rgba(36, 87, 255, 0.16);
  background: rgba(255, 255, 255, 0.82);
}

.pricing-grid {
  gap: 16px;
}

.price-card {
  padding: 22px;
}

.price-card.featured {
  background:
    radial-gradient(circle at top right, rgba(69, 217, 255, 0.16), transparent 36%),
    linear-gradient(145deg, #ffffff, #eef5ff);
}

@media (max-width: 980px) {
  .site-hero,
  .project-showcase-grid {
    grid-template-columns: 1fr;
  }

  .site-hero {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .site-hero,
  .site-strip,
  .site-section,
  .site-footer,
  .momentum-metrics {
    width: min(100% - 28px, 1120px);
  }

  .site-hero {
    padding-top: 30px;
  }

  .site-hero h1 {
    font-size: clamp(2.55rem, 14vw, 3.7rem);
  }

  .site-strip,
  .momentum-metrics,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .project-comparison {
    min-height: 220px;
  }

  .project-showcase-grid .social-post-card {
    padding: 14px;
  }
}

/* TrustRoom production component system
   shadcn/ui-inspired static primitives for the current HTML/CSS/JS MVP. */
:root {
  --background: #0b1326;
  --foreground: #e8eefc;
  --card: #111a2e;
  --card-foreground: #e8eefc;
  --popover: #111a2e;
  --popover-foreground: #e8eefc;
  --primary: #10b981;
  --primary-foreground: #03150f;
  --secondary: #18243a;
  --secondary-foreground: #d8e2ff;
  --muted: #172238;
  --muted-foreground: #9aa8bd;
  --accent: #1d2b45;
  --accent-foreground: #f7fbff;
  --destructive: #ef4444;
  --destructive-foreground: #fff7f7;
  --border: rgba(216, 226, 255, 0.13);
  --input: rgba(216, 226, 255, 0.16);
  --ring: rgba(16, 185, 129, 0.36);
  --radius: 8px;
  --radius-sm: 8px;
  --white: #ffffff;
  --ink: var(--foreground);
  --paper: var(--background);
  --line: var(--border);
  --blue: var(--primary);
  --blue-dark: #059669;
  --blue-soft: rgba(16, 185, 129, 0.12);
  --green: var(--primary);
  --green-dark: #059669;
  --cyan: #4edea3;
  --violet: #adc6ff;
  --midnight: #060e20;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(17, 26, 46, 0.92);
  --soft-shadow: 0 16px 50px rgba(0, 10, 38, 0.32);
  --elevated-shadow: 0 30px 90px rgba(0, 10, 38, 0.42);
}

html {
  background: var(--background);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
.site-body,
.app-body,
.customer-body {
  color: var(--foreground);
  background:
    radial-gradient(circle at 18% -8%, rgba(16, 185, 129, 0.15), transparent 26rem),
    radial-gradient(circle at 86% 6%, rgba(24, 119, 242, 0.13), transparent 24rem),
    linear-gradient(180deg, #0b1326 0%, #071022 55%, #0b1326 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(216, 226, 255, 0.16) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.18;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 72%);
}

a {
  color: inherit;
}

.site-header,
.customer-header,
.sidebar,
.mobile-tabbar,
.customer-footer {
  border-color: var(--border);
  background: rgba(6, 14, 32, 0.82);
  color: var(--foreground);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 34px rgba(0, 10, 38, 0.32);
}

.site-header,
.customer-header {
  min-height: 68px;
}

.site-logo,
.customer-logo,
.brand {
  color: var(--foreground);
}

.site-logo strong,
.customer-logo-copy strong,
.brand strong {
  color: var(--foreground);
  font-weight: 800;
}

.site-nav a,
.customer-nav a,
.nav-home-link,
.customer-footer a {
  color: var(--muted-foreground);
  font-weight: 700;
}

.site-nav a:hover,
.customer-nav a:hover,
.customer-nav .dashboard-link,
.nav-home-link:hover,
.customer-footer a:hover {
  color: #6ffbbe;
}

.brand-mark {
  border-radius: 8px;
  background: rgba(78, 222, 163, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.brand-mark img {
  filter: drop-shadow(0 10px 18px rgba(78, 222, 163, 0.16));
}

.eyebrow,
.demo-badge,
.verified-badge,
.live-dot {
  color: #6ffbbe;
  letter-spacing: 0.14em;
}

.site-hero,
.site-section,
.site-strip,
.momentum-metrics,
.customer-hero,
.customer-section,
.customer-footer,
.deal-room-page {
  width: min(1120px, calc(100% - 40px));
}

.site-hero {
  min-height: calc(100vh - 68px);
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.72fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) 0;
}

.site-hero h1,
.customer-hero-copy h1 {
  max-width: 760px;
  color: var(--foreground);
  font-size: clamp(3rem, 7vw, 5.65rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.site-section h2,
.section-heading h2,
.customer-section h2,
.topbar h1,
.command-center h2,
.panel h2,
.app-intro-card h2 {
  color: var(--foreground);
  letter-spacing: -0.025em;
}

.site-hero p,
.customer-hero-copy p,
.site-section p,
.customer-section p,
.command-center p,
.panel p,
.app-intro-card p,
.mockup-section p,
.proof-card p,
.deal-room-card p,
.activity-feed span,
.activity-timeline p {
  color: var(--muted-foreground);
}

.site-actions,
.topbar-actions,
.customer-actions,
.split-actions {
  gap: 10px;
}

.primary-button,
.secondary-button,
.site-nav .site-login,
.nav-item,
.mobile-tab,
.mobile-quick-actions button,
.copy-link-button,
.share-link,
.comment-form button,
.mockup-footer button,
.mvp-form button,
.message-composer button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 0 16px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.primary-button,
.site-nav .site-login,
.mockup-footer button,
.mvp-form button[type="submit"],
.message-composer .primary-button {
  color: var(--primary-foreground);
  background: linear-gradient(135deg, #6ffbbe, var(--primary));
  border-color: rgba(111, 251, 190, 0.3);
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.22);
}

.secondary-button,
.nav-item,
.mobile-tab,
.mobile-quick-actions button,
.copy-link-button,
.share-link,
.message-composer .secondary-button {
  color: var(--secondary-foreground);
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--border);
}

.primary-button:hover,
.secondary-button:hover,
.site-nav .site-login:hover,
.nav-item:hover,
.mobile-tab:hover,
.mobile-quick-actions button:hover,
.copy-link-button:hover,
.share-link:hover {
  transform: translateY(-1px);
  border-color: rgba(111, 251, 190, 0.3);
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 4px var(--ring);
}

:is(
  .site-product-card,
  .hero-deal-room-mockup,
  .site-strip,
  .momentum-metrics article,
  .guided-demo-grid article,
  .live-feed-card,
  .featured-contractor-card,
  .moment-card,
  .social-post-card,
  .price-card,
  .auth-panel,
  .panel,
  .score-panel,
  .pipeline-panel,
  .trust-page-preview,
  .command-center,
  .app-intro-card,
  .trust-card,
  .homeowner-room-card,
  .payment-card,
  .deal-room-card,
  .customer-project,
  .proof-card,
  .activity-feed div,
  .activity-timeline div,
  .mvp-kpi-grid article,
  .setup-guidance article,
  .process-list li,
  blockquote,
  .quote-form
) {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.032)),
    var(--surface-strong);
  color: var(--card-foreground);
  box-shadow: var(--soft-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.site-product-card,
.hero-deal-room-mockup,
.command-center,
.customer-hero .trust-card,
.app-intro-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(78, 222, 163, 0.16), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(24, 119, 242, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    var(--surface-strong);
}

.hero-deal-room-mockup,
.homeowner-room-card,
.trust-card,
.panel,
.command-center {
  backdrop-filter: blur(18px);
}

.mockup-section,
.mockup-proof-grid article,
.quote-card,
.confidence-card,
.trust-meter,
.deal-room-social-proof div,
.chat-bubble,
.timeline-step,
.payment-card,
.social-engagement,
.comment-item,
.message-composer input,
.mvp-form input,
.mvp-form select,
.mvp-form textarea,
.quote-form input,
.quote-form textarea,
.quote-form select,
input,
textarea,
select {
  border-color: var(--input);
  background: rgba(6, 14, 32, 0.52);
  color: var(--foreground);
}

input::placeholder,
textarea::placeholder {
  color: rgba(216, 226, 255, 0.42);
}

label {
  color: var(--muted-foreground);
  font-weight: 750;
}

.hero-value-pills span,
.homeowner-proof-strip span,
.onboarding-preview span,
.app-intro-steps span,
.live-proof-stack span,
.dashboard-signal-row span,
.post-signal-row span,
.verified-badge,
.live-dot,
.demo-badge,
.deal-room-card .eyebrow {
  border: 1px solid rgba(78, 222, 163, 0.18);
  border-radius: 999px;
  color: #6ffbbe;
  background: rgba(78, 222, 163, 0.08);
  box-shadow: none;
}

.live-proof-stack span,
.dashboard-signal-row span {
  color: var(--foreground);
}

.live-proof-stack i,
.dashboard-signal-row i,
.verified-line span {
  background: #4edea3;
  box-shadow: 0 0 18px rgba(78, 222, 163, 0.75);
}

.site-strip,
.momentum-metrics,
.community-feed-section {
  display: none;
}

.supporting-section {
  display: none;
}

.guided-demo-section,
.moment-section,
.project-showcase-section,
#pricing {
  padding-block: clamp(48px, 7vw, 78px);
}

.guided-demo-grid,
.pricing-grid,
.project-showcase-grid,
.community-feed-grid,
.mvp-kpi-grid {
  gap: 14px;
}

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

.social-post-card,
.price-card,
.guided-demo-grid article {
  padding: 20px;
}

.social-engagement {
  background: rgba(6, 14, 32, 0.46);
}

.reaction-button {
  border-color: var(--border);
  color: var(--secondary-foreground);
  background: rgba(255, 255, 255, 0.055);
}

.reaction-button.is-active,
.reaction-button.is-active span {
  color: #6ffbbe;
  border-color: rgba(78, 222, 163, 0.34);
}

.comment-form {
  display: none;
}

.comment-item.nested {
  display: none;
}

.project-comparison,
.project-image,
.demo-proof-photo,
.proof-thumb {
  border-color: var(--border);
  background-color: #131b2e;
}

.project-comparison {
  border-radius: var(--radius);
}

.project-comparison span,
.demo-proof-photo span {
  background: rgba(6, 14, 32, 0.74);
}

.app-shell {
  background: transparent;
}

.sidebar {
  border-right: 1px solid var(--border);
}

.sidebar-card {
  border-color: var(--border);
  background: rgba(255,255,255,0.045);
}

.workspace {
  color: var(--foreground);
}

.topbar {
  border-color: var(--border);
}

.nav-item {
  justify-content: flex-start;
}

.nav-item.active,
.mobile-tab.active {
  color: #6ffbbe;
  background: rgba(78, 222, 163, 0.11);
  border-color: rgba(78, 222, 163, 0.24);
}

.room-status {
  border-color: rgba(78, 222, 163, 0.18);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(24, 119, 242, 0.16));
}

.room-status strong,
.mvp-kpi-grid strong,
.price-card strong,
.deal-room-social-proof strong {
  color: #6ffbbe;
}

.activity-feed div:first-child,
.activity-timeline div:first-child,
.deal-room-card:first-child {
  border-color: rgba(78, 222, 163, 0.24);
}

.activity-feed strong,
.activity-timeline strong,
.deal-room-card h3,
.proof-card strong,
.customer-project strong {
  color: var(--foreground);
}

.proof-grid,
.customer-project-grid {
  gap: 14px;
}

.deal-room-card {
  align-items: flex-start;
}

.deal-room-card .eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 10px;
}

.customer-body {
  background:
    radial-gradient(circle at 20% -8%, rgba(16, 185, 129, 0.14), transparent 26rem),
    linear-gradient(180deg, #0b1326 0%, #071022 100%);
}

.customer-hero {
  min-height: auto;
  padding-block: clamp(44px, 8vw, 92px);
  border-bottom: 1px solid rgba(216, 226, 255, 0.08);
}

.trust-card ul,
.contractor-stats {
  color: var(--muted-foreground);
}

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

.customer-project {
  overflow: hidden;
}

.customer-project .social-engagement {
  margin-top: 14px;
}

.customer-project .reaction-row {
  display: flex;
  flex-wrap: wrap;
}

.customer-project .reaction-button:nth-child(n+4) {
  display: none;
}

.chat-bubble.contractor {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.88), rgba(0, 112, 235, 0.8));
  color: #ffffff;
}

.chat-bubble.customer {
  background: rgba(78, 222, 163, 0.12);
  border-color: rgba(78, 222, 163, 0.22);
}

.message-composer {
  gap: 10px;
}

.toast {
  color: var(--primary-foreground);
  background: linear-gradient(135deg, #6ffbbe, var(--primary));
  border: 1px solid rgba(255,255,255,0.2);
}

@media (min-width: 981px) {
  .app-body .mobile-tabbar {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-hero,
  .project-showcase-grid,
  .customer-hero,
  .customer-room,
  .quote-section,
  .split-section,
  .room-grid,
  .auth-panel {
    grid-template-columns: 1fr;
  }

  .site-hero {
    min-height: auto;
  }

  .sidebar {
    display: none;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .workspace {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    margin: 0 0 16px;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 16px 16px;
    background: rgba(6, 14, 32, 0.82);
    backdrop-filter: blur(18px);
  }

  .mobile-tabbar {
    left: 8px;
    right: 8px;
    bottom: 10px;
    width: auto;
    border-radius: 16px;
    padding: 6px;
    gap: 6px;
  }

  .mobile-tab {
    min-width: 0;
    min-height: 50px;
    padding-inline: 8px;
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .site-header,
  .customer-header {
    position: sticky;
    display: grid;
    gap: 10px;
    justify-content: stretch;
    padding: 12px 14px;
  }

  .site-logo,
  .customer-logo {
    justify-content: center;
  }

  .site-nav,
  .customer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .site-nav a,
  .customer-nav a {
    min-height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.045);
    font-size: 0.78rem;
  }

  .site-hero,
  .site-section,
  .site-strip,
  .momentum-metrics,
  .customer-hero,
  .customer-section,
  .customer-footer,
  .deal-room-page {
    width: min(100% - 28px, 1120px);
  }

  .site-hero h1,
  .customer-hero-copy h1 {
    font-size: clamp(2.6rem, 14vw, 3.8rem);
  }

  .site-product-card {
    min-height: auto;
    padding: 12px;
  }

  .hero-deal-room-mockup {
    width: 100%;
  }

  .guided-demo-grid,
  .pricing-grid,
  .project-showcase-grid,
  .customer-project-grid,
  .mvp-kpi-grid {
    grid-template-columns: 1fr;
  }

  .customer-actions,
  .site-actions,
  .topbar-actions,
  .mockup-footer,
  .message-composer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .panel,
  .command-center,
  .app-intro-card,
  .homeowner-room-card,
  .trust-card,
  .customer-project,
  .social-post-card,
  .price-card {
    border-radius: 12px;
  }

  .comment-thread {
    display: none;
  }
}

/* Final production polish: normalize old light/demo remnants into the dark component system. */
.mockup-top small,
.mockup-proof-grid span,
.proof-grid span,
.customer-project span,
.trust-meter span,
.deal-room-social-proof span,
.progress-caption,
.onboarding-progress span,
.mvp-kpi-grid span,
.activity-feed span,
.activity-timeline p,
.process-list span,
.verified-line span,
.contractor-stats span,
.project-copy p,
.customer-project p,
.trust-card li,
.quote-line span,
.timeline-item p,
.room-meta,
.social-proof-note {
  color: var(--muted-foreground);
}

.mockup-top strong,
.mockup-proof-grid strong,
.proof-grid strong,
.customer-project strong,
.trust-card strong,
.quote-line strong,
.timeline-item strong,
.activity-feed strong,
.activity-timeline strong,
.process-list strong,
.verified-line strong {
  color: var(--foreground);
}

.price-card.featured,
.price-card {
  background:
    linear-gradient(180deg, rgba(23, 31, 51, 0.96), rgba(13, 23, 43, 0.96)),
    var(--card);
  color: var(--foreground);
}

.price-card.featured {
  border-color: rgba(78, 222, 163, 0.28);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(78, 222, 163, 0.08);
}

.price-card.featured h3,
.price-card.featured p,
.price-card.featured li,
.price-card.featured span {
  color: inherit;
}

.price-card.featured p,
.price-card.featured li,
.price-card.featured .price-note {
  color: var(--muted-foreground);
}

.price-card.featured .secondary-button {
  background: rgba(255, 255, 255, 0.055);
  color: var(--foreground);
  border-color: var(--border);
}

.customer-project,
.trust-card,
.homeowner-room-card,
.activity-feed div,
.activity-timeline div,
.mvp-kpi-grid article,
.process-list li,
.mockup-proof-grid article,
.deal-room-social-proof div {
  background: rgba(17, 26, 46, 0.82);
}

.activity-feed div:first-child,
.activity-timeline div:first-child {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(17, 26, 46, 0.9));
}

.customer-room .status-badge,
.homeowner-room-card .status-badge,
.deal-room-card .status-badge {
  color: #9ffbd4;
}

.mvp-kpi-grid article,
.room-card,
.deal-room-card,
.proof-card,
.customer-project {
  min-width: 0;
}

.mobile-tabbar {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

@media (max-width: 430px) {
  .mobile-tab {
    min-height: 46px;
    gap: 3px;
    font-size: 0.68rem;
  }

  .mobile-tab svg {
    width: 17px;
    height: 17px;
  }

  .workspace {
    padding-inline: 12px;
  }

  .panel,
  .command-center,
  .app-intro-card,
  .homeowner-room-card,
  .trust-card,
  .customer-project,
  .social-post-card,
  .price-card,
  .deal-room-card {
    padding: 16px;
  }
}

/* Stitch-inspired production pass: compact fintech/client-workspace visual system. */
:root {
  --stitch-bg: #0b1326;
  --stitch-bg-deep: #060e20;
  --stitch-panel: #10192d;
  --stitch-panel-2: #151f35;
  --stitch-border: rgba(173, 198, 255, 0.12);
  --stitch-border-strong: rgba(78, 222, 163, 0.28);
  --stitch-primary: #4edea3;
  --stitch-primary-solid: #10b981;
  --stitch-text: #dae2fd;
  --stitch-muted: #8d9bb8;
}

.site-body,
.app-body,
.customer-body {
  background:
    radial-gradient(circle at 18% -14%, rgba(78, 222, 163, 0.12), transparent 24rem),
    radial-gradient(circle at 88% 8%, rgba(0, 112, 235, 0.12), transparent 22rem),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--stitch-bg);
  background-size: auto, auto, 12px 12px, 12px 12px, auto;
  color: var(--stitch-text);
}

.site-header,
.customer-header,
.topbar,
.sidebar {
  background: rgba(6, 14, 32, 0.88);
  border-color: var(--stitch-border);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px);
}

.site-logo strong,
.customer-logo-copy strong,
.sidebar .brand strong,
.topbar h1 {
  color: var(--stitch-primary);
  text-transform: uppercase;
  letter-spacing: -0.035em;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1;
}

.site-nav a,
.customer-nav a,
.nav-item,
.mobile-tab {
  color: var(--stitch-muted);
  border-radius: 8px;
}

.site-nav a:hover,
.customer-nav a:hover,
.nav-item:hover,
.mobile-tab:hover {
  color: var(--stitch-primary);
  background: rgba(78, 222, 163, 0.07);
}

.site-login,
.nav-item.active,
.mobile-tab.active {
  color: var(--stitch-primary) !important;
  background: rgba(78, 222, 163, 0.09);
  border-color: rgba(78, 222, 163, 0.22);
}

.site-hero,
.customer-hero {
  width: min(100% - 40px, 1060px);
  min-height: auto;
  padding-block: clamp(34px, 6vw, 70px);
  gap: clamp(18px, 3vw, 34px);
}

.site-hero-copy,
.customer-hero-copy {
  gap: 14px;
}

.site-hero h1,
.customer-hero-copy h1 {
  max-width: 700px;
  color: var(--stitch-text);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.site-hero p,
.customer-hero-copy p,
.section-heading p,
.command-center p,
.panel p {
  color: var(--stitch-muted);
}

.eyebrow,
.demo-badge,
.status-badge,
.verified-badge,
.room-status,
.live-dot {
  border-radius: 6px;
  color: var(--stitch-primary);
  background: rgba(78, 222, 163, 0.09);
  border: 1px solid rgba(78, 222, 163, 0.2);
  box-shadow: none;
}

.site-product-card,
.hero-deal-room-mockup,
.panel,
.command-center,
.sidebar-card,
.score-panel,
.pipeline-panel,
.demo-panel,
.demo-mini-panel,
.auth-panel,
.homeowner-room-card,
.customer-room,
.trust-card,
.quote-section,
.split-section,
.deal-room-card,
.proof-card,
.customer-project,
.social-post-card,
.price-card,
.guided-demo-grid article,
.moment-card,
.live-feed-card,
.featured-contractor-card,
.live-workspace-panel,
.mvp-kpi-grid article,
.activity-feed div,
.activity-timeline div,
.process-list li {
  border: 1px solid var(--stitch-border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(21, 31, 53, 0.92), rgba(12, 22, 41, 0.94)),
    var(--stitch-panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 18px 46px rgba(0, 0, 0, 0.18);
}

.hero-deal-room-mockup,
.customer-room {
  max-width: 390px;
  margin-inline: auto;
}

.hero-deal-room-mockup {
  padding: 14px;
}

.mockup-top,
.mockup-section,
.mockup-proof-grid article,
.mockup-footer button,
.social-engagement,
.message-composer,
.chat-bubble,
.quote-line,
.timeline-item {
  border-radius: 8px;
  border-color: var(--stitch-border);
  background: rgba(6, 14, 32, 0.44);
}

.mockup-top {
  display: grid;
  gap: 6px;
}

.mockup-top strong,
.mockup-section span,
.mockup-proof-grid strong,
.panel h2,
.command-center h2,
.section-heading h2,
.customer-project h3,
.proof-card h3,
.deal-room-card h3 {
  color: var(--stitch-text);
  letter-spacing: -0.035em;
}

.mockup-top strong {
  font-size: 1.15rem;
}

.mockup-section p,
.mockup-proof-grid span,
.activity-timeline p,
.activity-feed p {
  color: var(--stitch-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.mockup-proof-grid {
  grid-template-columns: 1fr;
}

.mockup-footer button,
.primary-button,
.secondary-button,
.site-actions a,
.customer-actions button,
.room-actions button {
  min-height: 42px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.primary-button,
.mockup-footer button:first-child {
  color: #003824;
  background: linear-gradient(180deg, #6ffbbe, #4edea3);
  border-color: rgba(111, 251, 190, 0.42);
  box-shadow: none;
}

.secondary-button,
.mockup-footer button:last-child {
  color: var(--stitch-text);
  background: rgba(21, 31, 53, 0.88);
  border-color: var(--stitch-border);
}

.site-actions,
.customer-actions {
  gap: 10px;
}

.project-image,
.demo-proof-photo,
.proof-thumb,
.project-comparison,
.customer-project img,
.proof-card img {
  border-radius: 8px;
  border-color: var(--stitch-border);
  filter: saturate(0.96) contrast(1.03);
}

.workspace {
  background: transparent;
}

.app-shell {
  grid-template-columns: minmax(230px, 260px) minmax(0, 1fr);
}

.sidebar {
  padding: 16px;
}

.sidebar-card,
.panel,
.command-center,
.homeowner-room-card,
.customer-project,
.proof-card,
.deal-room-card {
  padding: 18px;
}

.command-center {
  min-height: auto;
}

.topbar {
  min-height: 64px;
  margin-bottom: 18px;
  padding: 14px 18px;
}

.dashboard-grid,
.room-grid,
.proof-grid,
.customer-project-grid,
.guided-demo-grid,
.pricing-grid {
  gap: 12px;
}

.mvp-kpi-grid {
  gap: 10px;
}

.mvp-kpi-grid article {
  padding: 14px;
}

.mvp-kpi-grid strong,
.price-card strong,
.deal-room-social-proof strong,
.reputation-ring strong {
  color: var(--stitch-primary);
}

.activity-feed,
.activity-timeline,
.process-list {
  gap: 10px;
}

.activity-feed div,
.activity-timeline div {
  padding: 12px;
}

.mobile-tabbar {
  background: rgba(6, 14, 32, 0.88);
  border: 1px solid var(--stitch-border);
  border-radius: 14px;
  backdrop-filter: blur(22px);
}

.mobile-tab {
  border: 1px solid transparent;
}

.toast {
  border-radius: 8px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.32);
}

@media (min-width: 981px) {
  .site-product-card {
    max-width: 430px;
    justify-self: end;
  }
}

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

@media (max-width: 700px) {
  .site-header,
  .customer-header {
    background: rgba(6, 14, 32, 0.94);
  }

  .site-logo strong,
  .customer-logo-copy strong {
    font-size: 1.55rem;
  }

  .site-nav,
  .customer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav a,
  .customer-nav a {
    min-height: 34px;
    font-size: 0.72rem;
  }

  .site-hero,
  .customer-hero,
  .site-section,
  .customer-section,
  .deal-room-page {
    width: min(100% - 24px, 430px);
  }

  .site-hero h1,
  .customer-hero-copy h1 {
    font-size: clamp(2rem, 11vw, 3.05rem);
    letter-spacing: -0.055em;
  }

  .hero-value-pills,
  .live-proof-stack {
    gap: 8px;
  }

  .site-actions a,
  .customer-actions button,
  .primary-button,
  .secondary-button {
    min-height: 46px;
  }
}

/* Keep the product preview phone-sized, but let real homeowner sections breathe. */
.customer-section.customer-room {
  width: min(100% - 40px, 960px);
  max-width: 960px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
  margin-inline: auto;
}

.customer-section.customer-room .homeowner-room-card {
  width: 100%;
  max-width: none;
}

.customer-section.customer-room .message-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.moment-steps article,
.payment-card {
  border: 1px solid var(--stitch-border);
  border-radius: 8px;
  background: rgba(16, 25, 45, 0.86);
  color: var(--stitch-text);
}

.moment-steps article span,
.payment-card p {
  color: var(--stitch-muted);
}

@media (max-width: 700px) {
  .customer-section.customer-room {
    width: min(100% - 24px, 430px);
    grid-template-columns: 1fr;
    gap: 14px;
  }

.customer-section.customer-room .message-composer {
    grid-template-columns: 1fr;
  }
}

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

.status-grid article {
  min-height: 108px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--stitch-border, rgba(216, 226, 255, 0.12));
  border-radius: 8px;
  background: rgba(17, 26, 46, 0.82);
}

.status-grid span,
.status-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(78, 222, 163, 0.28);
  border-radius: 999px;
  color: #6ffbbe;
  background: rgba(78, 222, 163, 0.09);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-grid strong {
  color: var(--foreground, #dae2fd);
  font-size: 0.92rem;
  line-height: 1.25;
}

@media (max-width: 980px) {
  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .status-grid {
    grid-template-columns: 1fr;
  }
}

a[href="homeowner-login.html"],
a[href="contractor-login.html"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(78, 222, 163, 0.28);
  border-radius: 10px;
  color: #003824 !important;
  background: linear-gradient(180deg, #6ffbbe, #4edea3);
  font-weight: 900;
}
