/* Legacy Realty Group brand styles (www.proplabs.ca) */
:root {
  --navy: #00416b;
  --navy-deep: #002c48;
  --gold: #d29e0e;
  --mist: #beccd5;
  --teal: #9dd4ca;
  --grey: #898a8d;
  --ink: #1d2733;
  --ink-soft: #4f5b66;
  --paper: #ffffff;
  --tint: #f2f5f8;
  --line: #dfe6eb;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--navy); }
.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--navy); }
.brand svg { height: 54px; width: auto; display: block; }
.brand .brokerage { font-size: 0.78rem; color: var(--ink-soft); margin-top: 4px; letter-spacing: 0.01em; }
.btn { display: inline-block; text-decoration: none; font-weight: 500; font-size: 0.95rem; border-radius: 6px; padding: 10px 18px; border: 1.5px solid var(--navy); }
.btn.solid { background: var(--navy); color: #fff; }
.btn.solid:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn.ghost { color: var(--navy); background: transparent; }
.btn.ghost:hover { background: var(--tint); }

/* Hero */
.hero { padding: 72px 0 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow svg { height: 22px; width: auto; color: var(--gold); }
h1 { font-family: var(--serif); font-weight: 500; color: var(--navy); font-size: clamp(2.1rem, 5.2vw, 3.3rem); line-height: 1.12; letter-spacing: -0.01em; margin-top: 14px; max-width: 17ch; }
.lede { margin-top: 20px; font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }
.actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.rule { width: 64px; height: 3px; background: var(--gold); margin-top: 26px; border-radius: 2px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding-bottom: 64px; }
.card { background: var(--tint); border-radius: 10px; padding: 22px; border-top: 3px solid var(--teal); }
.card h2 { font-size: 1.05rem; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }

/* Recruiting */
.join { background: var(--navy); color: #fff; }
.join .wrap { padding-top: 48px; padding-bottom: 48px; display: grid; gap: 18px; grid-template-columns: 1fr auto; align-items: center; }
.join h2 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; line-height: 1.2; }
.join p { color: var(--mist); margin-top: 8px; max-width: 56ch; }
.join .btn { border-color: var(--gold); background: var(--gold); color: var(--navy-deep); font-weight: 700; }
.join .btn:hover { filter: brightness(1.06); }
@media (max-width: 640px) { .join .wrap { grid-template-columns: 1fr; } }

/* Legal pages */
.legal { padding: 48px 0 64px; max-width: 760px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); max-width: none; }
.legal .updated { color: var(--ink-soft); margin-top: 8px; font-size: 0.95rem; }
.legal .intro { margin-top: 22px; font-size: 1.05rem; }
.legal h2 { font-size: 1.15rem; font-weight: 500; color: var(--navy); margin-top: 38px; margin-bottom: 10px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0 22px; }
.legal li + li { margin-top: 6px; }
.legal .notice { margin-top: 16px; padding: 14px 16px; background: var(--tint); border-left: 4px solid var(--gold); border-radius: 6px; }
.legal address { font-style: normal; margin-top: 10px; padding: 16px; background: var(--tint); border-radius: 8px; }

/* Footer */
main { flex: 1; }
.site-footer { background: var(--navy-deep); color: var(--mist); font-size: 0.88rem; }
.site-footer .wrap { padding-top: 36px; padding-bottom: 32px; display: grid; gap: 20px; grid-template-columns: auto 1fr; align-items: start; }
.site-footer .logo { color: #fff; }
.site-footer .logo svg { height: 46px; width: auto; display: block; }
.site-footer strong { color: #fff; font-weight: 500; }
.site-footer a { color: #fff; }
.site-footer p + p { margin-top: 6px; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(190, 204, 213, 0.25); padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.8rem; }
.site-footer .powered { color: var(--grey); }
.site-footer .powered b { color: var(--mist); font-weight: 500; }
@media (max-width: 640px) { .site-footer .wrap { grid-template-columns: 1fr; } }
