/* Match the AI Employee palette while keeping the real estate content and layout. */
.real-estate-page {
  --ae-ink: #2d2538;
  --ae-muted: #675f72;
  --ae-accent: #6338a1;
  --ae-line: #e8e1ee;
  --ae-radius: 16px;
  --ae-content-width: min(1440px, calc(100% - 128px));
  color: var(--ae-ink);
  background: #fff;
  color-scheme: light;
}
.real-estate-page > .pastel { background: #fff; border-bottom: 1px solid #efebf3; }
.real-estate-page .content-width { width: var(--ae-content-width); max-width: 1440px; }
.real-estate-page main h1 { font-weight: 500; letter-spacing: -.045em; }
.real-estate-page main h2 { font-weight: 500; letter-spacing: -.035em; }
.real-estate-page main h3 { font-weight: 500; }
.real-estate-page .industry-intro .eyebrow { color: #716779; }
.real-estate-page .real-estate-hero h1 { max-width: 620px; font-size: clamp(34px, 3.6vw, 52px); }
.real-estate-page .real-estate-hero-description { max-width: 560px; font-size: 16px; }
.real-estate-page .real-estate-preview h2 { max-width: 360px; font-size: 24px; line-height: 1.3; }
.real-estate-browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid #e2dbe9;
  background: linear-gradient(#f7f6f8, #eeedf1);
  color: #89838f;
}
.real-estate-browser-controls { display: flex; gap: 7px; flex-shrink: 0; }
.real-estate-browser-controls i { width: 10px; height: 10px; border: 1px solid #0000000d; border-radius: 50%; background: #ff6058; }
.real-estate-browser-controls i:nth-child(2) { background: #febc2e; }
.real-estate-browser-controls i:nth-child(3) { background: #28c840; }
.real-estate-browser-address { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1; min-width: 0; padding: 7px 24px; border: 1px solid #e2dfe7; border-radius: 7px; background: #ffffffb3; color: #6b6473; font-size: 11px; line-height: 1; }
.real-estate-browser-refresh { position: absolute; right: 8px; }
.real-estate-browser-tabs { display: flex; flex-shrink: 0; }
.real-estate-hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 22px;
}
.real-estate-hero-kpis > div { display: flex; flex-direction: column; padding: 16px 12px; border: 1px solid #e8e1ee; border-radius: 12px; background: #ffffffb3; }
.real-estate-hero-kpis dt { color: var(--ae-muted); font-size: 12px; line-height: 1.5; }
.real-estate-hero-kpis dd { order: -1; margin: 0 0 6px; color: #6338a1; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.real-estate-buyer-actions { list-style: none; margin: 0 0 20px; padding: 0; }
.real-estate-buyer-actions li { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--ae-line); }
.real-estate-buyer-icon { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; background: #f0e8f7; color: #744c99; }
.real-estate-buyer-actions strong { font-size: 13px; font-weight: 600; }
.real-estate-buyer-actions p { margin: 5px 0 0; color: var(--ae-muted); font-size: 12px; line-height: 1.5; }
.real-estate-buyer-status { margin-left: auto; flex-shrink: 0; border-radius: 20px; padding: 6px 10px; background: #eaf4ee; color: #387565; font-size: 11px; font-weight: 500; }
.real-estate-buyer-status-pending { background: #fff2df; color: #8a601f; }
@media (max-width: 400px) {
  .real-estate-hero-kpis { gap: 8px; }
  .real-estate-hero-kpis > div { padding: 14px 8px; }
  .real-estate-hero-kpis dt { font-size: 11px; }
  .real-estate-buyer-actions li { gap: 8px; }
  .real-estate-buyer-icon { width: 32px; height: 32px; }
  .real-estate-buyer-status { padding: 5px 7px; font-size: 10px; }
}
.real-estate-page .real-estate-hero-description,
.real-estate-page .real-estate-hero-trust,
.real-estate-page .industry-role-grid .employee-info p { color: var(--ae-muted); }
.real-estate-page .real-estate-hero-trust li::before { color: #744c99; }
.real-estate-page main .pill-button.light { background: #6338a1; color: #fff; border-color: #6338a1; }
.real-estate-page main .pill-button.light:hover { background: #512b88; }
.real-estate-page .real-estate-team .employee-info .real-estate-team-role { color: var(--team-accent); }
.real-estate-page .real-estate-problem-grid article {
  background: #fff3f3;
  border-color: #f0cccc;
}
.real-estate-page .real-estate-problem-grid .eyebrow { color: #a04444; }
.real-estate-page .real-estate-problem-grid h3 { color: #842f36; }
.real-estate-page .real-estate-problem-grid article > p:last-child { color: #79565a; }
.real-estate-page .real-estate-operations-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 20px;
}
.real-estate-operations-grid::-webkit-scrollbar { display: none; }
.real-estate-page .real-estate-operations-grid article {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  border-radius: 20px;
  background: linear-gradient(155deg, #f5f0fa, #fff 65%);
  padding: 30px;
}
.real-estate-workflow-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 28px; border: 1px solid #e6dcef; border-radius: 17px; background: #fff; color: #744c99; }
.real-estate-operations-grid article:nth-child(3n + 2) .real-estate-workflow-icon { color: #387565; background: #f1f8f4; border-color: #dcece3; }
.real-estate-operations-grid article:nth-child(3n) .real-estate-workflow-icon { color: #426fa2; background: #f1f6fc; border-color: #dce6f2; }
.real-estate-page .real-estate-operations-grid h3 { font-size: 22px; font-weight: 500; line-height: 1.35; }
.real-estate-page .real-estate-operations-outcome { color: #6338a1; font-weight: 500; }
.real-estate-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.real-estate-carousel-count { color: #716779; font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.real-estate-carousel-buttons { display: flex; gap: 8px; }
.real-estate-carousel-buttons button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #e2d7eb; border-radius: 50%; background: #fff; color: #6338a1; font: inherit; }
.real-estate-carousel-buttons button:hover { background: #f0e8f7; border-color: #c9b6dc; }
.real-estate-carousel-buttons button:focus-visible { outline: 3px solid #9d73fd; outline-offset: 3px; }
@media (max-width: 1000px) {
  .real-estate-page .real-estate-operations-grid article { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 600px) {
  .real-estate-page .real-estate-operations-grid { gap: 16px; }
  .real-estate-page .real-estate-operations-grid article { flex-basis: 100%; padding: 24px; }
}
.real-estate-team-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--ae-line);
}
.real-estate-team-portrait { display: block; width: 100px; flex-shrink: 0; margin: 0 0 16px; }
.real-estate-team-portrait img { display: block; width: 100%; height: auto; border-radius: 50%; }
@media (min-width: 801px) and (max-width: 1000px) {
  .real-estate-team-portrait { width: 84px; }
}
.real-estate-page .ae-pricing { background: #fff; }
.real-estate-page .ae-container { width: var(--ae-content-width); }
.real-estate-page #real-estate-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding-block: 96px; }
.real-estate-page #real-estate-faq .center-copy { text-align: left; padding: 0; margin: 0; }
.real-estate-page #real-estate-faq h2 { color: var(--ae-ink); }
.real-estate-page #real-estate-faq .center-copy > p,
.real-estate-page #real-estate-faq .faq-list p { color: var(--ae-muted); line-height: 1.75; }
.real-estate-page #real-estate-faq .faq-list { max-width: none; margin: 0; }
.real-estate-page #real-estate-faq details { border-color: #e2dbe9; }
.real-estate-page #real-estate-faq summary { color: var(--ae-ink); font-weight: 500; }
.real-estate-page #real-estate-faq summary > span { color: #744c99; }
@media (max-width: 1100px) {
  .real-estate-page { --ae-content-width: calc(100% - 64px); }
}
@media (max-width: 800px) {
  .real-estate-page { --ae-content-width: calc(100% - 40px); }
  .real-estate-page #real-estate-faq { grid-template-columns: 1fr; gap: 32px; padding-block: 64px; }
}
