/* Three sites in one: solo agent (blue), brokerage (green), TC (orange).
   <body class="site-agent | site-brokerage | site-tc"> picks the color, the
   .aud-bar strip at the top names the site, and the header pill switches. */
body.site-agent { --site: #0c4a6e; --site-dark: #083344; --site-soft: #E0F2FE; }
body.site-brokerage { --site: #166534; --site-dark: #14532D; --site-soft: #DCFCE7; --blue: #166534; --blue-hover: #14532D; --blue-soft: #DCFCE7; }
body.site-tc { --site: #C2410C; --site-dark: #9A3412; --site-soft: #FFEDD5; --blue: #C2410C; --blue-hover: #9A3412; --blue-soft: #FFEDD5; }

.aud-bar { background: var(--site); color: #fff; font: 600 14px/1.3 'Inter', system-ui, sans-serif; }
.aud-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.aud-bar b { font-weight: 800; }
.aud-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.aud-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--site); background: var(--site-soft); border: 1.5px solid var(--site); border-radius: 99px; padding: 6px 12px; text-decoration: none; white-space: nowrap; }
.aud-switch span { color: var(--site); font-weight: 700; }
.aud-switch .aud-lbl { font-weight: 700; }
.nav-links a.on { color: var(--site); font-weight: 700; }
@media (max-width: 560px) { .aud-bar { font-size: 13px; } .aud-switch { padding: 5px 10px; font-size: 12.5px; } .aud-switch .aud-lbl { display: none; } }

/* The AI section: two real clips (the ? assistant and Deal Doctor). */
.ai-sec { background: linear-gradient(180deg, var(--site-soft) 0%, #fff 70%); }
.ai-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.ai-card { margin: 0; background: #fff; border: 1px solid #E4E4E7; border-radius: 16px; box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 8px 24px rgba(16,24,40,.06); overflow: hidden; display: flex; flex-direction: column; }
.ai-card video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; background: #EDEDEF; }
.ai-card figcaption { padding: 20px 22px 24px; }
.ai-tag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--site); background: var(--site-soft); padding: 4px 10px; border-radius: 99px; margin-bottom: 10px; }
.ai-card h3 { font-size: 21px; margin-bottom: 8px; }
.ai-card p { font-size: 15.5px; }
.ai-card ul { list-style: none; margin-top: 12px; display: grid; gap: 6px; font-size: 15px; }
.ai-card li { padding-left: 14px; border-left: 3px solid var(--site); color: #17202B; font-weight: 600; }
.ai-note { text-align: center; font-size: 13.5px; color: #6B7280; margin-top: 18px; }
@media (max-width: 860px) { .ai-grid { grid-template-columns: 1fr; } }

/* Step-by-step flow with a real screen beside each step (How it works). */
.flow { display: grid; gap: 56px; margin-top: 48px; }
.flow-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 40px; align-items: center; }
.flow-step:nth-child(even) .flow-text { order: 2; }
.flow-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--site); color: #fff; font: 800 16px 'Plus Jakarta Sans', sans-serif; margin-bottom: 12px; }
.flow-text h3 { font-size: 23px; margin-bottom: 8px; }
.flow-text p { font-size: 16.5px; }
.flow-shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid #E4E4E7; box-shadow: 0 30px 60px -24px rgba(16,24,40,.28), 0 1px 2px rgba(16,24,40,.05); background: #EDEDEF; }
.flow-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .flow-step { grid-template-columns: 1fr; gap: 18px; } .flow-step:nth-child(even) .flow-text { order: 0; } }

/* Compare costs table (brokerage + TC). */
.costs-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; margin-top: 44px; align-items: stretch; }
.costs-card { background: #fff; border: 1px solid #E4E4E7; border-radius: 14px; padding: 26px; box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 8px 24px rgba(16,24,40,.06); overflow-x: auto; }
.costs-card table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.costs-card th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: #6B7280; font-weight: 600; padding: 0 0 10px; border-bottom: 1px solid #E4E4E7; }
.costs-card td { padding: 12px 0; border-bottom: 1px solid #EDEDEF; vertical-align: top; }
.costs-card td small { display: block; color: #6B7280; font-size: 13px; }
.costs-card th:last-child, .costs-card td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.costs-card tr.total td { border-bottom: 0; font-weight: 800; color: #17202B; font-size: 17px; padding-top: 16px; }
.costs-us { background: #17202B; color: #E5E7EB; border-radius: 14px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.costs-us h3 { color: #fff; }
.costs-us .big { font: 800 52px 'Plus Jakarta Sans', sans-serif; color: #fff; letter-spacing: -0.03em; line-height: 1; margin: 16px 0 6px; }
.costs-us .big span { font-size: 19px; font-weight: 600; color: #C9CED6; letter-spacing: 0; }
.costs-us .save { margin-top: 14px; font-weight: 700; color: #6EE7A0; font-size: 17px; }
.costs-us p { font-size: 15px; color: #C9CED6; }
.costs-src { font-size: 12.5px; color: #6B7280; margin-top: 18px; line-height: 1.7; }
@media (max-width: 860px) { .costs-wrap { grid-template-columns: 1fr; } }

/* Keep the header on one line: six menu items + the switch pill + Log in + Start free. */
.nav-links a, .signin, .logo-text, .nav-cta .btn { white-space: nowrap; }
@media (min-width: 961px) { .nav-links { gap: 20px !important; } .nav-links a { font-size: 14.5px; } }
@media (min-width: 961px) and (max-width: 1240px) { .nav-links { gap: 14px !important; } .aud-switch .aud-lbl { display: none; } .nav-cta { gap: 8px; } }
@media (min-width: 961px) and (max-width: 1100px) { .logo-text { display: none; } }
@media (max-width: 560px) { body[class*="site-"] .logo-text { display: none; } body[class*="site-"] .nav-cta .btn { padding: 9px 14px; font-size: 14px; } }

/* AI clips: Computer / iPhone switch, phone outline, sound button on the video. */
.ai-dev { display: inline-flex; gap: 4px; background: #F1F5F9; border-radius: 99px; padding: 4px; margin: 14px 0 0 22px; align-self: flex-start; }
.ai-dev button { font: 700 13.5px 'Inter', sans-serif; border: 0; background: transparent; color: #475569; border-radius: 99px; padding: 7px 14px; cursor: pointer; min-height: 36px; }
.ai-dev button[aria-pressed="true"] { background: #fff; color: var(--site); box-shadow: 0 1px 3px rgba(16,24,40,.15); }
.ai-stage { position: relative; margin: 12px 0 0; background: #EDEDEF; display: flex; justify-content: center; align-items: center; }
.ai-stage video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; background: #EDEDEF; }
.ai-stage.phone { padding: 18px 0; background: linear-gradient(180deg, var(--site-soft), #EDEDEF); }
.ai-stage.phone video { width: auto; height: 520px; max-width: 86%; aspect-ratio: 786 / 1704; border: 10px solid #17202B; border-radius: 38px; box-shadow: 0 20px 40px -16px rgba(16,24,40,.45); background: #fff; }
.ai-sound { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; font: 700 15px 'Inter', sans-serif; color: #fff; background: rgba(23,32,43,.86); border: 2px solid rgba(255,255,255,.85); border-radius: 99px; padding: 10px 18px; min-height: 44px; cursor: pointer; backdrop-filter: blur(4px); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.ai-sound:hover { background: var(--site); }
.ai-sound:focus-visible { outline: 3px solid #7DD3FC; outline-offset: 2px; }
.ai-sound.on { bottom: auto; top: 12px; left: auto; right: 12px; transform: none; font-size: 13.5px; padding: 7px 12px; min-height: 36px; }
.ai-stage.phone .ai-sound.on { top: auto; bottom: 12px; right: 12px; }
@media (max-width: 560px) { .ai-stage.phone video { height: 440px; } .ai-dev { margin-left: 16px; } }

/* The AI explained: 3 steps, 3 roles with example requests, "built for real estate" note */
.ai-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.ai-steps div { background: #fff; border: 1px solid #E4E4E7; border-radius: 14px; padding: 22px; }
.ai-steps b { display: flex; align-items: center; gap: 10px; font: 800 18px 'Plus Jakarta Sans', sans-serif; color: #17202B; margin-bottom: 6px; }
.ai-steps b i { font-style: normal; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--site); color: #fff; font-size: 15px; flex: none; }
.ai-steps p { font-size: 15.5px; }
.ai-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.ai-role { background: #fff; border: 1px solid #E4E4E7; border-top: 4px solid var(--site); border-radius: 14px; padding: 22px; }
.ai-role h3 { font-size: 18px; margin-bottom: 4px; }
.ai-role > p { font-size: 15px; color: #3D4651; margin-bottom: 12px; }
.say { display: grid; gap: 8px; }
.say span { justify-self: end; max-width: 92%; background: var(--site); color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.4; padding: 8px 12px; border-radius: 14px 14px 4px 14px; }
.ai-real { margin: 26px auto 0; max-width: 820px; text-align: center; font-size: 16px; color: #17202B; background: #fff; border: 1px dashed var(--site); border-radius: 14px; padding: 16px 20px; }
@media (max-width: 960px) { .ai-steps, .ai-roles { grid-template-columns: 1fr; } }
