/* Tony Damiano landing pages: shared stylesheet. Mobile first. */
:root {
  --navy: #0F2A3F;
  --navy-dark: #0A1D2C;
  --gold: #B8935A;
  --gold-dark: #8A6A38;
  --white: #FFFFFF;
  --gray: #F3F4F6;
  --gray-line: #D9DEE3;
  --text: #1B2733;
  --radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--gold-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--navy); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* Top bar: agent name and eXp logo above the fold */
.topbar { background: var(--white); border-bottom: 3px solid var(--gold); padding: 10px 0; }
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.topbar-logo { height: 48px; width: auto; max-width: 170px; object-fit: contain; }
.topbar-name { margin: 0; line-height: 1.25; flex: 1 1 160px; color: var(--navy); }
.topbar-name strong { display: block; }
.topbar-name span { font-size: .85rem; color: #4B5A68; }
.topbar-call { font-weight: 700; color: var(--navy); white-space: nowrap; }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: 40px 0 48px; }
.eyebrow { margin: 0 0 12px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.hero h1 { margin: 0 0 14px; font-size: 2rem; line-height: 1.15; }
.hero .sub { margin: 0; font-size: 1.125rem; color: #E6EBF0; }

/* Sections */
section { padding: 36px 0; }
h2 { margin: 0 0 16px; font-size: 1.5rem; line-height: 1.25; color: var(--navy); }
.gets { background: var(--white); }
.gets ul { list-style: none; margin: 0; padding: 0; }
.gets li { position: relative; padding: 0 0 16px 34px; }
.gets li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px;
  border-radius: 50%; background: var(--gold);
}
.gets li::after {
  content: ""; position: absolute; left: 7px; top: calc(.35em + 4px); width: 5px; height: 9px;
  border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.gets strong { color: var(--navy); }

/* Form */
.signup { background: var(--gray); }
.card { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 24px 20px; }
.field { margin-bottom: 18px; }
label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--navy); }
.opt { font-weight: 400; color: #4B5A68; }
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--text);
  border: 1.5px solid #8794A1; border-radius: 8px; background: var(--white);
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus { border-color: var(--navy); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; }
.consent input { width: 24px; height: 24px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
.consent label { font-weight: 400; color: var(--text); margin: 0; }
.btn {
  display: block; width: 100%; min-height: 54px; padding: 14px 18px; border: 0; border-radius: 8px;
  font: inherit; font-weight: 700; font-size: 1.0625rem; cursor: pointer;
  background: var(--gold); color: var(--navy-dark);
}
.btn:hover { background: #C9A56C; }
.btn[disabled] { opacity: .65; cursor: wait; }
.fine { margin: 14px 0 0; font-size: .85rem; color: #4B5A68; }
.error { margin: 0 0 16px; padding: 12px 14px; border-radius: 8px; background: #FDECEC; border: 1px solid #C0392B; color: #6B1A12; }
.error a { color: #6B1A12; font-weight: 700; }
.thanks { text-align: center; padding: 8px 0; }
.thanks h3 { margin: 0 0 10px; font-size: 1.5rem; color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* About */
.about-grid { display: grid; gap: 20px; align-items: start; }
.about img.photo { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; border: 3px solid var(--gold); background: var(--gray); }
.about p { margin: 0 0 12px; }
.contact { list-style: none; margin: 14px 0 0; padding: 0; }
.contact li { margin-bottom: 6px; }
.contact a { font-weight: 600; }

/* Footer */
footer { background: var(--navy); color: #D5DCE3; padding: 32px 0; font-size: .9rem; }
footer a { color: var(--white); }
.logo { max-width: 220px; margin-bottom: 16px; min-height: 40px; }
footer p { margin: 0 0 10px; }

/* Index page */
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.links a { display: block; padding: 16px; border: 1px solid var(--gray-line); border-radius: var(--radius); text-decoration: none; font-weight: 600; background: var(--white); }
.links a span { display: block; font-weight: 400; color: #4B5A68; font-size: .95rem; }

@media (min-width: 640px) {
  .hero { padding: 64px 0 72px; }
  .hero h1 { font-size: 2.75rem; }
  .card { padding: 32px; }
  .about-grid { grid-template-columns: 160px 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
