:root {
  --paper: #f5f7fb;
  --paper-2: #ffffff;
  --ink: #102033;
  --muted: #5c6b7c;
  --line: #d5deea;
  --lagoon: #0c2340;
  --lagoon-2: #1d4f91;
  --coral: #2f6fed;
  --palm: #1d4f91;
  --sand: #e7eef8;
  --warn: #8a5a12;
  --danger: #8d2f39;
  --shadow: 0 16px 40px rgba(12, 35, 64, 0.08);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
a { color: var(--lagoon); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

.public { background: #f5f7fb; color: #102033; }
.public-top, .public-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 7vw;
}
.mark {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: 0.14em;
  font-size: 14px;
  text-decoration: none;
  color: var(--ink);
}
.staff-link { color: var(--muted); font-size: 14px; text-decoration: none; }
.hero { padding: 18px 7vw 10px; max-width: 1100px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.95;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.lede { font-size: 20px; max-width: 38rem; color: var(--muted); }
.realtor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  padding: 20px 7vw 70px;
}
.realtor-card {
  background: var(--paper-2);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.realtor-card img { width: 100%; height: 360px; object-fit: cover; object-position: center 18%; }
.realtor-card .pad { padding: 22px; }
.realtor-card h2 { font-family: var(--serif); font-size: 34px; margin: 0 0 6px; }
.tag { color: var(--lagoon); margin: 0 0 10px; }
.cta {
  display: inline-block;
  margin-top: 12px;
  background: var(--lagoon);
  color: white;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
}
.person {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
  gap: 40px;
  padding: 10px 7vw 80px;
  align-items: start;
}
.portrait {
  position: sticky;
  top: 18px;
}
.portrait img {
  width: 100%;
  border-radius: 32px;
  aspect-ratio: 3/4;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.word {
  font-family: var(--serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 8px;
}
.person h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.92;
  margin: 0 0 8px;
}
.contact { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); }
.bio { font-size: 18px; max-width: 40rem; }
.inquiry {
  background: white;
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.inquiry h2 { font-family: var(--serif); margin-top: 0; }
label { display: block; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; margin: 12px 0 6px; color: var(--muted); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffdf9;
  border-radius: 12px;
  padding: 12px 14px;
}
.check { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); }
.check input { margin-top: 4px; width: 18px; height: 18px; }
.consent-panels { display: grid; gap: 12px; margin: 14px 0; }
.consent-panels article {
  max-height: 220px;
  overflow: auto;
  background: #f6f1e8;
  border-radius: 16px;
  padding: 14px;
  white-space: pre-wrap;
  font-size: 14px;
}
.disclaimer { font-size: 12px; color: var(--muted); }
.submit, .button {
  background: var(--ink);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.tiny { font-size: 12px; color: var(--muted); }

.app { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side {
  background: #0c2340;
  color: #f5f7fb;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.side .brand { color: white; text-decoration: none; }
.side .brand strong { display: block; font-family: var(--serif); font-size: 28px; font-weight: 520; line-height: 1; }
.side .brand span { display: block; opacity: 0.75; font-size: 13px; margin-top: 6px; }
.side nav { display: flex; flex-direction: column; gap: 4px; }
.side nav a { color: #f6f1e8; text-decoration: none; padding: 8px 10px; border-radius: 10px; }
.side nav a:hover { background: rgba(255,255,255,0.08); }
.side .who { margin-top: auto; font-size: 14px; }
.side .who a { color: #f6f1e8; }
.main { padding: 22px 28px 60px; }
.mode {
  background: #e7eef8;
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 16px;
  color: #1d4f91;
}
.demo-note { font-size: 13px; color: var(--muted); margin-top: -8px; }
.page-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 18px; }
.page-head h1 { font-family: var(--serif); font-weight: 520; font-size: 42px; margin: 0; letter-spacing: -0.03em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat, .panel {
  background: var(--paper-2);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.stat b { display: block; font-family: var(--serif); font-size: 32px; }
.stat span, .muted { color: var(--muted); }
.layout { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 16px; margin-top: 16px; }
.board { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; }
.column { min-width: 230px; background: rgba(255,255,255,0.45); border-radius: 18px; padding: 10px; }
.column h2 { font-size: 14px; margin: 4px 8px 10px; }
.card { background: white; border-radius: 14px; padding: 12px; margin-bottom: 8px; box-shadow: var(--shadow); }
.card strong { display: block; }
table { width: 100%; border-collapse: collapse; background: white; border-radius: 18px; overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.messages { list-style: none; padding: 0; }
.messages li { background: white; border-left: 4px solid var(--lagoon); padding: 10px 12px; margin: 8px 0; border-radius: 8px; }
.warn { background: #fff4e4; border-radius: 16px; padding: 14px; color: var(--warn); }
.danger { background: #fdecee; color: var(--danger); border-radius: 16px; padding: 14px; }
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 0.9fr; }
.login-story { background: #0c2340; color: #f5f7fb; padding: 64px; }
.login-story h1 { font-family: var(--serif); font-size: 68px; line-height: 0.95; margin: 0 0 12px; }
.login-box { padding: 64px 10vw; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .wide { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { flex-direction: row; flex-wrap: wrap; }
  .side nav { flex-direction: row; flex-wrap: wrap; }
  .person, .login-wrap, .layout, .stats { grid-template-columns: 1fr; }
  .portrait { position: static; }
  .form-grid { grid-template-columns: 1fr; }
}

/* Get-the-app section on the public home page */
.get-app {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.2fr);
  gap: 28px;
  margin: 18px 7vw 10px;
  padding: 30px;
  background: var(--paper-2);
  border-radius: 28px;
  box-shadow: var(--shadow);
  align-items: start;
}
.get-app h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); margin: 0 0 8px; line-height: 1.05; }
.get-app .lede { font-size: 17px; }
.get-app .tiny { display: block; font-size: 14px; margin-top: 6px; }
.cta-big { font-size: 18px; padding: 15px 24px; }
.get-app-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step-card { background: var(--sand); border-radius: 20px; padding: 18px 20px; }
.step-card h3 { margin: 0 0 8px; font-size: 18px; }
.step-card ol { margin: 0; padding-left: 20px; line-height: 1.5; }
.step-card a { color: var(--lagoon-2); }
@media (max-width: 720px) { .get-app { grid-template-columns: 1fr; padding: 22px; } }
