/* Top Real Estate Agent Sales — BEM, mobile-friendly, no framework. */
:root {
  --ink: #000;
  --soft: #8f8f8f;
  --softer: #b4b4b4;
  --line: #ececec;
  --fill: #f3f3f3;
  --paper: #fff;
  --gutter: clamp(16px, 6vw, 92px);
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
.wrap { max-width: 1512px; margin: 0 auto; padding: 0 var(--gutter); }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar__inner { max-width: 1512px; margin: 0 auto; padding: 0 var(--gutter); height: 71px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand__mark { width: 40px; height: 26px; flex: none; color: #000; }
.brand__name { font-size: 12.5px; line-height: 1.05; font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase; }
.topbar__rule { width: 1px; height: 24px; background: #dcdcdc; }
.topbar__nav { display: flex; gap: 32px; flex: 1; }
.topbar__link { color: var(--soft); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s; white-space: nowrap; }
.topbar__link:hover { color: var(--ink); }
.topbar__link--active { color: var(--ink); border-bottom-color: var(--ink); }

/* pills */
.pill { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 500; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.pill--solid { background: var(--ink); color: #fff; }
.pill--solid:hover { background: #2a2a2a; }
.pill--outline { height: 40px; padding: 0 16px; border-color: #dcdcdc; background: #fff; }
.pill--outline:hover { border-color: var(--ink); }
.pill--ghost { background: var(--fill); }
.pill--ghost:hover { background: #e9e9e9; }
.pill--block { width: 100%; }
.field { width: 100%; height: 48px; border: 0; border-radius: 999px; background: var(--fill); padding: 0 20px; outline: none; }
.field::placeholder { color: var(--soft); }
.field:focus { box-shadow: 0 0 0 1px var(--ink); }

/* hero */
.hero { position: relative; padding: 72px 0 96px; border-bottom: 1px solid var(--line); background: radial-gradient(60% 80% at 85% 60%, #f4f2f1 0%, rgba(255,255,255,0) 70%); }
.hero--slim { padding-bottom: 72px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--soft); font-size: 14px; margin-bottom: 28px; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.tag { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--fill); font-size: 14px; font-weight: 500; }
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.display { font-weight: 400; font-size: clamp(38px, 4.6vw, 60px); line-height: 1.12; letter-spacing: -0.02em; margin: 24px 0 20px; max-width: 13.5em; text-wrap: balance; }
.lede { color: var(--soft); font-size: 18px; line-height: 1.5; max-width: 30em; letter-spacing: -0.01em; }
.lede--center { margin: 16px auto 0; text-align: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__proof { margin-top: 28px; color: var(--soft); font-size: 15px; }
.hero__proof strong { color: var(--ink); font-weight: 600; }
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.facts__item { border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; min-width: 150px; background: #fff; }
.facts__item dt { font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; }
.facts__item dd { color: var(--soft); font-size: 14px; margin-top: 4px; }

/* hero panel (home) */
.hero__panel { border-radius: 32px; min-height: 440px; background: linear-gradient(150deg, #e9f6ef 0%, #efeafd 55%, #f3f0ee 100%); display: grid; place-items: center; padding: 40px 24px; }
.stack { position: relative; width: min(100%, 400px); display: grid; gap: 12px; }
.stack__card { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 20px; padding: 14px 16px; box-shadow: 0 12px 40px rgba(0,0,0,.07); }
.stack__card--2 { transform: translateX(22px); }
.stack__card--3 { transform: translateX(-10px); opacity: .9; }
.stack__text { display: grid; flex: 1; min-width: 0; }
.stack__text b { font-weight: 500; }
.stack__text i { font-style: normal; color: var(--soft); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stack__rank { font-size: 26px; }
.stack__float { justify-self: end; margin-top: 4px; background: #fff; border-radius: 20px; padding: 14px 22px; box-shadow: 0 12px 40px rgba(0,0,0,.09); display: grid; text-align: center; }
.stack__float span { color: var(--soft); font-size: 13px; }
.stack__float em { font-size: 30px; line-height: 1.1; }

/* monogram */
.mono { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--fill); display: grid; place-items: center; font-size: 15px; font-weight: 500; letter-spacing: 0; }
.mono--lg { width: 64px; height: 64px; border-radius: 18px; font-size: 20px; }

/* finder */
.finder { background: #fff; border-radius: 32px; padding: 32px; box-shadow: 0 24px 80px rgba(0,0,0,.08); border: 1px solid var(--line); display: grid; gap: 14px; }
.finder__title { font-weight: 500; font-size: 24px; letter-spacing: -0.02em; }
.finder__text { color: var(--soft); }
.finder__label { font-size: 14px; font-weight: 500; margin-top: 4px; }
.finder__soon { background: #eef8f2; border-radius: 16px; padding: 12px 16px; font-size: 14px; }
.finder__fine { color: var(--soft); font-size: 13px; text-align: center; }

/* segmented toggle */
.seg { display: inline-flex; background: var(--fill); border-radius: 999px; padding: 4px; margin: 32px auto 0; }
.seg--wide { display: flex; margin: 0; }
.seg--wide .seg__btn { flex: 1; }
.seg__btn { border: 0; background: none; height: 38px; padding: 0 28px; border-radius: 999px; color: var(--soft); cursor: pointer; }
.seg__btn--on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.14); }
.band .wrap > .seg { display: flex; width: max-content; }

/* agent list */
.list { padding: 72px 0 96px; }
.list__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.list__heading { font-weight: 500; font-size: 28px; letter-spacing: -0.02em; }
.sorter { display: flex; flex-wrap: wrap; gap: 8px; }
.sorter__chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--fill); color: var(--soft); cursor: pointer; }
.sorter__chip:hover { color: var(--ink); }
.sorter__chip--on { background: var(--ink); color: #fff; }
.sorter__chip--on:hover { color: #fff; }
.roster { display: grid; gap: 16px; }
.agent { display: grid; grid-template-columns: 36px 64px minmax(0, 1fr) auto; gap: 24px; align-items: center; border: 1px solid var(--line); border-radius: 24px; padding: 28px 32px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.agent:hover { border-color: #d6d6d6; box-shadow: 0 10px 40px rgba(0,0,0,.05); }
.agent--top { background: linear-gradient(120deg, #fff 40%, #eef8f2 100%); }
.agent__rank { font-size: 34px; line-height: 1; color: var(--ink); text-align: center; }
.agent__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.agent__name { font-weight: 500; font-size: 22px; letter-spacing: -0.02em; }
.agent__badge { background: var(--ink); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 500; padding: 3px 10px; }
.agent__firm { color: var(--soft); margin-top: 2px; }
.agent__stats { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; font-size: 15px; color: #555; }
.agent__stats b { color: var(--ink); font-weight: 600; }
.agent__proof { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.agent__proof li { background: #fff; border: 1px solid #d9eadf; border-radius: 10px; padding: 4px 10px; font-size: 13px; }
.agent__traits { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.agent__traits li { background: var(--fill); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: #555; }
.list__source { margin-top: 28px; color: var(--soft); font-size: 14px; max-width: 60em; }
.list__source strong { color: var(--ink); font-weight: 500; }

/* content bands */
.band { padding: 104px 0; border-top: 1px solid var(--line); }
.band--plain { border-top: 0; padding-top: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: end; }
.split__aside { color: var(--soft); font-size: 18px; max-width: 26em; padding-bottom: 10px; }
.title { font-weight: 400; font-size: clamp(32px, 3.7vw, 48px); line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.title--center { text-align: center; max-width: 16em; margin: 0 auto; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.note { border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.note__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--fill); display: grid; place-items: center; }
.note__icon svg { width: 24px; height: 24px; }
.note__title { font-weight: 500; font-size: 20px; letter-spacing: -0.016em; margin: 24px 0 8px; }
.note__text { color: var(--soft); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.tile { border-radius: 32px; padding: 44px 40px; min-height: 300px; display: flex; flex-direction: column; }
.tile--mint { background: linear-gradient(180deg, #eef8f3 0%, #bfe6d2 100%); }
.tile--lilac { background: linear-gradient(180deg, #f6f2fe 0%, #dcd0f7 100%); }
.tile--sand { background: linear-gradient(135deg, #f4f3f2 0%, #e8e4e1 100%); }
.tile__title { font-weight: 500; font-size: 28px; line-height: 1.2; letter-spacing: -0.013em; }
.tile__text { color: #6f6f6f; font-size: 18px; margin-top: 10px; max-width: 20em; }
.tile__art { margin-top: auto; padding-top: 32px; display: flex; gap: 10px; align-items: flex-end; }
.tile__art span { width: 52px; height: 52px; border-radius: 14px; background: #fff; display: grid; place-items: center; font-size: 26px; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.tile__art--bars span { width: 28px; border-radius: 9px; }
.tile__art--bars span:nth-child(1) { height: 30px; } .tile__art--bars span:nth-child(2) { height: 48px; }
.tile__art--bars span:nth-child(3) { height: 66px; } .tile__art--bars span:nth-child(4) { height: 88px; background: #000; }
.tile__art--check svg { width: 56px; height: 56px; padding: 14px; background: #000; color: #fff; border-radius: 50%; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 20px; font-weight: 500; letter-spacing: -0.016em; }
.faq__q::-webkit-details-marker { display: none; }
.faq__plus { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--fill); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 10px; right: 10px; top: 15.5px; height: 1px; background: #000; transition: transform .2s; }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: rotate(0); }
.faq__a { color: var(--soft); padding: 0 56px 24px 0; max-width: 44em; }

/* city chips */
.cities { padding: 104px 0; border-top: 1px solid var(--line); overflow: hidden; }
.cities__note { text-align: center; color: var(--soft); margin-top: 36px; padding: 0 16px; }
.ticker { margin-top: 56px; display: grid; gap: 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__row { display: flex; gap: 36px; width: max-content; animation: slide 48s linear infinite; }
.ticker__row--back { animation-direction: reverse; animation-duration: 56s; }
.ticker:hover .ticker__row { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.chip { display: inline-flex; align-items: center; gap: 14px; font-size: 20px; font-weight: 500; letter-spacing: -0.016em; white-space: nowrap; color: var(--softer); }
.chip--live, .near .chip { color: var(--ink); }
.chip--live:hover { text-decoration: underline; text-underline-offset: 4px; }
.chip__sq { width: 56px; height: 56px; border-radius: 16px; background: var(--fill); display: grid; place-items: center; font-size: 16px; color: var(--ink); }
.chip:nth-child(even) .chip__sq { background: #eef8f2; }
.chip:nth-child(3n) .chip__sq { background: #f2edfc; }
.chip small { font-size: 12px; font-weight: 400; color: var(--soft); background: var(--fill); border-radius: 999px; padding: 2px 8px; }
.near { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 40px; margin: 48px auto 0; padding: 0 var(--gutter); max-width: 1100px; }

/* state directory */
.directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; padding-top: 48px; padding-bottom: 96px; }
.directory__item { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px; transition: border-color .2s; }
.directory__item:hover { border-color: var(--ink); }
.directory__text { display: grid; flex: 1; }
.directory__text b { font-weight: 500; font-size: 18px; }
.directory__text i { font-style: normal; color: var(--soft); font-size: 14px; }
.directory__go { font-size: 20px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 88px 0 0; }
.foot__inner { max-width: 1512px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 64px; }
.foot__big { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.2; letter-spacing: -0.015em; max-width: 12em; }
.foot__note { color: var(--soft); margin-top: 20px; max-width: 30em; }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.foot__cols a { display: block; color: var(--soft); padding: 5px 0; }
.foot__cols a:hover { color: var(--ink); }
.foot__head { font-weight: 500; margin-bottom: 10px; }
.foot__base { max-width: 1512px; margin: 72px auto 0; padding: 24px var(--gutter); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--soft); font-size: 14px; }

:focus-visible { outline: 2px solid #000; outline-offset: 3px; }

@media (max-width: 1080px) {
  .topbar__nav, .topbar__rule { display: none; }
  .topbar__inner { justify-content: space-between; }
  .hero__grid, .split, .faq, .foot__inner { grid-template-columns: 1fr; gap: 40px; }
  .trio, .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .split { align-items: start; }
}
@media (max-width: 720px) {
  .hero { padding: 40px 0 64px; }
  .band, .cities { padding: 72px 0; }
  .band--plain { padding-top: 8px; }
  .brand__name { font-size: 11.5px; }
  .topbar__cta { display: none; }
  .agent { grid-template-columns: 48px minmax(0, 1fr); gap: 14px 16px; padding: 22px 20px; align-items: start; }
  .agent__rank { grid-column: 1; grid-row: 1; font-size: 28px; padding-top: 6px; }
  .agent .mono--lg { display: none; }
  .agent__main { grid-column: 2; grid-row: 1; }
  .agent__cta { grid-column: 1 / -1; }
  .finder { padding: 24px; border-radius: 24px; }
  .tile { padding: 32px 28px; border-radius: 24px; }
  .facts__item { flex: 1 1 130px; min-width: 0; }
  .faq__q { font-size: 18px; }
  .faq__a { padding-right: 0; }
  .chip { font-size: 17px; }
  .chip__sq { width: 44px; height: 44px; border-radius: 13px; font-size: 14px; }
  .hero__panel { min-height: 0; }
  .stack__card--2, .stack__card--3 { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 16px; }
  .ticker__row [aria-hidden="true"] { display: none; }
}

/* one typeface, upright everywhere */
em, i { font-style: normal; }
