:root {
  --bg: #f4f7fb;
  --surface: #f9fbff;
  --surface-strong: #ffffff;
  --ink: #142136;
  --muted: #647083;
  --line: #d9e0ea;
  --green: #0d6b57;
  --green-2: #084d41;
  --gold: #c89428;
  --blue: #2457b8;
  --coral: #c64d37;
  --shadow: 0 20px 60px rgba(20, 33, 54, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
  background: rgba(244, 247, 251, 0.92);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.hero-actions,
.agent-actions,
.agent-topline,
.score-row,
.badge-row,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  background: var(--green);
  color: white;
  font-weight: 900;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-cta {
  color: var(--ink);
  background: #d6b25f;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(200, 148, 40, 0.22);
}

.hero,
.city-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 84px 24px 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 56px;
  align-items: center;
  min-height: 680px;
}

.hero h1,
.city-hero h1,
.section h2,
.profile-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  color: #142136;
}

.hero h1 {
  max-width: 740px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.95;
}

.hero-text,
.city-hero p,
.section p,
.profile-bio {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-text {
  max-width: 640px;
  margin: 24px 0 0;
}

.section-label,
.card-label {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  color: white;
  box-shadow: 0 16px 28px rgba(22, 75, 53, 0.24);
}

.button.ghost {
  background: var(--surface-strong);
  border-color: var(--line);
  color: var(--ink);
}

.button.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.profile-card,
.agent-card,
.price-card,
.market-card,
.award-card,
.profile-panel,
.claim-form,
.city-stats,
.directory-toolbar,
.email-card,
.contact-card,
.property-proof-card,
.hero-panel .mini-board {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(249, 251, 255, 0.86);
  box-shadow: var(--shadow);
}

.profile-card,
.agent-card,
.price-card,
.market-card,
.award-card,
.profile-panel,
.claim-form,
.mini-board {
  padding: 24px;
}

.profile-card.featured {
  background: linear-gradient(160deg, #ffffff 0%, #eef5ff 54%, #edf8f4 100%);
}

.agent-topline {
  gap: 16px;
}

.agent-topline.large {
  align-items: flex-start;
}

.avatar {
  flex: 0 0 auto;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 900;
}

.avatar.large {
  width: 92px;
  height: 92px;
  font-size: 28px;
}

.profile-card h2,
.agent-card h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

.profile-card p,
.agent-card p,
.price-card p,
.market-card p,
.award-card p,
.profile-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.score-row {
  gap: 10px;
  margin: 24px 0;
}

.score-row > div {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.68);
}

.score-row strong {
  display: block;
  font-size: 26px;
}

.score-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.score-row.compact {
  margin: 18px 0;
}

.score-row.compact strong {
  font-size: 22px;
}

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

.badge-row span {
  border: 1px solid #cfe5dd;
  border-radius: 999px;
  background: #eef8f5;
  color: #135845;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
}

.mini-board {
  display: grid;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.mini-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
}

.mini-dot.gold {
  background: var(--gold);
}

.mini-dot.blue {
  background: var(--blue);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 76px 24px;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
}

.section h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.03;
}

.feature-list {
  display: grid;
  gap: 22px;
}

.feature-list article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.feature-list h3,
.price-card h3,
.market-card strong,
.award-card h3,
.profile-panel h2 {
  margin: 0 0 10px;
  font-size: 21px;
}

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

.cards,
.pricing-grid,
.agent-grid,
.profile-columns {
  display: grid;
  gap: 18px;
}

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

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

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

.market-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.market-card strong {
  display: block;
}

.price-card {
  background: var(--surface-strong);
}

.price-card.emphasized {
  border-color: #c9a64b;
  background: #fff9e8;
}

.price {
  color: var(--ink) !important;
  font-size: 36px !important;
  font-weight: 900;
}

.price-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  color: var(--muted);
}

.claim-section {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.claim-form {
  display: grid;
  gap: 14px;
  background: var(--surface-strong);
}

.claim-form label,
.directory-toolbar label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.claim-form input,
.claim-form select,
.directory-toolbar input,
.directory-toolbar select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  min-height: 46px;
  padding: 0 14px;
}

.form-note {
  font-size: 13px !important;
}

.footer {
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 40px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--green);
  font-weight: 800;
}

.city-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: end;
}

.city-hero h1 {
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
}

.city-hero p {
  max-width: 720px;
}

.city-stats {
  display: grid;
  gap: 14px;
  padding: 20px;
}

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

.city-stats div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.city-stats strong {
  display: block;
  font-size: 34px;
}

.city-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.directory-toolbar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto 22px;
  padding: 18px;
}

.agent-grid {
  max-width: 1120px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  padding: 0 24px 44px;
}

.agent-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  background: var(--surface-strong);
}

.agent-headline {
  margin-top: 16px !important;
}

.agent-website,
.profile-links {
  margin: 16px 0 18px;
}

.text-link {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.small-muted {
  font-size: 13px;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.agent-actions {
  gap: 10px;
  margin-top: auto;
}

.featured-flag {
  display: inline-flex;
  margin-left: 6px;
  color: var(--gold);
}

.awards {
  border-top: 1px solid var(--line);
}

.dark-band {
  max-width: none;
  margin: 32px 0;
  padding-left: max(24px, calc((100vw - 1120px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1120px) / 2 + 24px));
  background: #132236;
  color: white;
}

.dark-band h2 {
  color: white;
}

.dark-band .section-label {
  color: #73dcc8;
}

.dark-band .feature-list article {
  border-color: rgba(255, 255, 255, 0.16);
}

.dark-band p {
  color: rgba(255, 255, 255, 0.72);
}

.profile-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 42px 24px 72px;
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--green);
  font-weight: 850;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.profile-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
}

.muted {
  color: var(--muted);
}

.profile-bio {
  margin: 28px 0 20px;
  max-width: 760px;
}

.profile-score {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  border-radius: var(--radius);
  background: var(--green);
  color: white;
  padding: 24px;
}

.contact-card {
  display: grid;
  gap: 16px;
  align-self: stretch;
  padding: 22px;
  background: linear-gradient(160deg, #132236 0%, #0d6b57 100%);
  color: white;
}

.contact-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-card-top .avatar {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.contact-card-top span,
.contact-score span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-card-top strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.contact-score {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.contact-score strong {
  font-size: 58px;
  line-height: 1;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-actions .button.primary {
  background: #ffffff;
  color: var(--green-2);
  box-shadow: none;
}

.contact-actions .button.ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
}

.contact-lines {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.contact-lines p {
  margin: 0;
}

.contact-socials,
.portal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-chip,
.portal-chip,
.contact-socials span,
.portal-links span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 850;
}

.social-chip {
  background: #ffffff;
  color: var(--green-2);
}

.portal-chip {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: white;
}

.contact-socials span,
.portal-links span {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.76);
}

.connected-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  margin-top: 22px;
  padding: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #eef8f5 100%);
}

.connected-card h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
}

.connected-grid {
  display: grid;
  gap: 12px;
}

.proof-mini {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 14px;
}

.proof-mini span,
.property-proof-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proof-mini strong {
  display: block;
  line-height: 1.35;
}

.property-proof-section {
  padding-left: 0;
  padding-right: 0;
}

.property-proof-card {
  padding: 22px;
  background: var(--surface-strong);
}

.property-proof-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.property-proof-card p {
  margin: 0 0 12px;
}

.profile-score strong {
  font-size: 74px;
  line-height: 1;
}

.profile-score span {
  font-weight: 850;
}

.profile-score p {
  color: rgba(255, 255, 255, 0.78);
}

.profile-columns {
  margin-top: 22px;
}

.share-badge {
  display: grid;
  gap: 6px;
  border-radius: var(--radius);
  background: #163f2f;
  color: white;
  padding: 18px;
  margin-bottom: 16px;
}

.share-badge span,
.share-badge small {
  color: #d7eadc;
}

.share-badge strong {
  font-size: 20px;
}

.profile-claim {
  margin-top: 34px;
  padding-top: 34px;
}

.badge-builder-grid {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.badge-form {
  position: sticky;
  top: 96px;
}

.badge-preview-panel {
  display: grid;
  gap: 18px;
}

.email-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: var(--surface-strong);
}

.email-card p {
  margin: 0;
}

.email-card img {
  display: block;
  width: 310px;
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  border: 0;
}

.code-box {
  width: 100%;
  min-height: 124px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #f8fafc;
  color: var(--ink);
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical;
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .city-hero,
  .split,
  .claim-section,
  .profile-hero,
  .connected-card,
  .badge-builder-grid,
  .directory-toolbar {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
  }

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

  .hero {
    gap: 28px;
    min-height: auto;
    padding-top: 54px;
  }

  .cards.two,
  .cards.three,
  .cards.four,
  .pricing-grid,
  .agent-grid,
  .profile-columns {
    grid-template-columns: 1fr;
  }

  .claim-section {
    gap: 24px;
  }

  .badge-form {
    position: static;
  }
}

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

  .nav {
    gap: 12px;
    font-size: 13px;
  }

  .hero,
  .city-hero,
  .section,
  .profile-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1,
  .city-hero h1,
  .section h2,
  .profile-hero h1 {
    font-size: 42px;
  }

  .score-row {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-hero {
    padding: 22px;
  }
}
