:root {
  --teal: #5b9a9b;
  --teal-dark: #4d8788;
  --sage: #d3e5db;
  --ink: #111;
  --body: #333;
  --white: #fff;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(1100px, 92%); margin: 0 auto; }
.wrap.narrow { width: min(720px, 92%); }

h1, h2 { font-weight: 800; line-height: 1.15; margin: 0 0 1rem; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
p { margin: 0 0 1rem; }

section { padding: clamp(3rem, 7vw, 5.5rem) 0; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: .9rem 1.8rem;
  border: 0;
  border-radius: 4px;
  font: 700 1rem var(--font);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--teal-dark); }
.btn.light { background: var(--white); color: var(--teal-dark); }
.btn.light:hover { background: var(--sage); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 2px;
}

/* Header */
.site-header { background: var(--teal); padding: .6rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.site-header .brand img { height: 48px; width: auto; filter: brightness(0) invert(1); }
.site-header nav a {
  color: var(--white); text-decoration: none; font-weight: 500; margin-left: 1.6rem;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.site-header nav a:hover, .site-header nav a:first-child { border-color: var(--white); }

/* Hero */
.hero { background: var(--sage); text-align: center; }
.hero-logo { width: min(440px, 80%); margin: 0 auto 1.5rem; }
.hero h1 { color: var(--white); text-shadow: 0 1px 0 rgba(0,0,0,.12); }
.checks {
  list-style: none; padding: 0; margin: 1.5rem auto 2rem;
  display: inline-block; text-align: left; font-size: 1.25rem; font-weight: 700; color: var(--ink);
}
.checks li { padding-left: 2.1rem; position: relative; margin: .55rem 0; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: .35em; width: 1.3rem; height: 1.3rem;
  background: #4caf50; border-radius: 4px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/70% no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.checks li:nth-child(4) { margin-top: 1.3rem; }

/* Why */
.why { text-align: center; }
.why h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.why .lead { font-size: 1.3rem; margin: 2rem 0 1.5rem; }
.reasons { text-align: left; max-width: 640px; margin: 0 auto; padding-left: 1.2rem; font-size: .95rem; }
.reasons li { margin-bottom: 1.6rem; }
.reasons li::marker { color: var(--ink); }
.closer { margin-top: 2.5rem; }

/* How it works */
.how { background: var(--sage); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.two-col img { border-radius: 2px; aspect-ratio: 4 / 3; object-fit: cover; }
.how .price { font-weight: 500; margin: 1.5rem 0 1rem; }
.dots { list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: .95rem; }
.dots li { margin: .6rem 0; padding-left: 1rem; position: relative; }
.dots li::before { content: '•'; position: absolute; left: 0; }
.fine { font-size: .9rem; }

/* Contact */
.contact { background: var(--teal); color: var(--white); text-align: center; }
.contact h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); }
.contact .sub { font-size: .9rem; margin-bottom: 1.8rem; }
.contact .lead { font-weight: 700; font-size: 1.15rem; }
.form { max-width: 280px; margin: 2rem auto 0; text-align: left; }
.form label { display: block; font-size: .85rem; margin-bottom: 1rem; }
.form input, .form textarea {
  display: block; width: 100%; margin-top: .3rem; padding: .7rem .8rem;
  border: 0; border-radius: 4px; font: 1rem var(--font); background: var(--white); color: var(--ink);
}
.form textarea { resize: vertical; }
.form .btn { display: block; width: 100%; margin-top: .5rem; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.notice { max-width: 420px; margin: 1.5rem auto 0; padding: .9rem 1.1rem; border-radius: 4px; font-weight: 700; }
.notice.ok { background: var(--sage); color: var(--ink); }
.notice.err { background: #fff; color: #a33; }

/* About */
.about { background: var(--sage); text-align: center; }
.about p { max-width: 560px; margin: 0 auto; font-size: .95rem; }

/* Banner */
.banner { background: var(--teal); text-align: center; }
.banner h2 { color: var(--white); font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0; }

/* Footer */
.site-footer { background: var(--sage); text-align: center; padding: 3rem 0; font-size: .8rem; color: var(--ink); }
.site-footer .name { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }
.site-footer .social a { display: inline-block; margin: 0 .6rem 1rem; color: var(--ink); }
.site-footer a { color: var(--ink); }

/* Mobile */
@media (max-width: 760px) {
  .site-header .wrap { flex-direction: column; gap: .5rem; }
  .site-header nav a { margin: 0 .7rem; }
  .two-col { grid-template-columns: 1fr; }
  .two-col img { order: -1; }
  .checks { font-size: 1.1rem; }
}

/* Legal pages */
.sop h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.sop h2 { font-size: 1.1rem; margin-top: 2rem; }

/* Fair housing / SOP notice bar (above the fold, required by NYS DOS) */
.notice-bar { background: var(--teal-dark); color: var(--white); font-size: .85rem; text-align: center; padding: .45rem 0; }
.notice-bar a { color: var(--white); font-weight: 700; text-decoration: underline; }
.notice-bar span { margin: 0 .7rem; opacity: .7; }
.eho { margin-top: 1rem; font-weight: 700; }

/* Inner pages */
.site-header nav a.on { border-color: var(--white); }
.site-header nav a:first-child { border-color: transparent; }
.hero-sm { background: var(--sage); text-align: center; }
.hero-sm p { max-width: 560px; margin: 0 auto 1.5rem; }
.team { text-align: center; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: 3rem; justify-content: center; margin-top: 2rem; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; margin-bottom: 1rem; }
.person h3 { margin: 0 0 .25rem; font-size: 1.15rem; color: var(--ink); }
.person p { margin: 0 0 .6rem; font-size: .95rem; }
.person a { text-decoration: none; }
.story { background: var(--sage); }
.story p { font-size: .95rem; }
.principles { text-align: center; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 2rem; text-align: left; }
.three-col h3 { margin: 0 0 .5rem; font-size: 1.15rem; color: var(--ink); }
.three-col p { font-size: .95rem; }
.contact-info { background: var(--sage); }
.contact-info h2 { font-size: 1.2rem; margin: 1.2rem 0 .3rem; }
.contact-info a { text-decoration: none; }
@media (max-width: 760px) {
  .team-grid, .three-col { grid-template-columns: 1fr; }
}

/* About / Contact page layouts (matching the original builder pages) */
.btn.dark { background: #1c1b1f; color: var(--white); }
.btn.dark:hover { background: #000; }
.hero-sm { background: var(--teal); color: var(--white); text-align: left; }
.hero-sm h1 { color: var(--white); margin: 0; }
.hero-sm .split { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
.hero-sm p { max-width: none; margin: 0 0 1.5rem; }
.team { background: var(--sage); text-align: left; }
.team h2 { margin-bottom: 2rem; }
.team-photo { width: 100%; border-radius: 2px; margin-bottom: 2.5rem; }
.team .story { background: none; padding: 0; font-size: .95rem; }
.team .team-grid { grid-template-columns: repeat(2, minmax(0, 220px)); gap: 4rem; text-align: center; margin-top: 3rem; }
.team .person img { width: 200px; height: 200px; aspect-ratio: 1; border-radius: 50%; margin: 0 auto 1.2rem; }
.team .person p { font-size: .85rem; line-height: 1.7; }
.principles h2 { margin-bottom: 2rem; }
.three-col > div { background: var(--sage); padding: 2.5rem 1.8rem; text-align: center; }
.three-col p { margin: 0; }
.contact.plain { background: var(--white); color: var(--body); }
.contact.plain h2 { color: var(--ink); font-size: clamp(1.8rem, 4vw, 2.5rem); }
.contact.plain .form label { color: var(--ink); }
.contact.plain .form input, .contact.plain .form textarea { border: 1px solid var(--ink); }
.contact.plain .form .btn { width: auto; margin: .5rem auto 0; display: block; }
.split-form { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; text-align: left; }
.split-form .form { max-width: none; margin: 0; }
.contact-details h1 { color: var(--white); margin-bottom: .5rem; }
.contact-details h2 { color: var(--white); font-size: 1.2rem; margin: 1.4rem 0 .3rem; }
.contact-details p { margin: 0 0 .6rem; }
.contact-details a { text-decoration: none; }
.location iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; }
.location .two-col { align-items: center; }
.location img { max-width: 360px; margin: 0 auto; }
@media (max-width: 760px) {
  .hero-sm .split, .split-form { grid-template-columns: 1fr; }
  .team .team-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.form-col .notice { margin: 0 0 1rem; max-width: none; }
.team-photo { max-width: 100%; margin-left: auto; margin-right: auto; }

/* Hero button sits below the checklist, not beside it */
.hero .checks { display: block; width: max-content; max-width: 100%; }
.hero .btn { display: inline-block; margin-top: .5rem; }

/* Larger, more legible type throughout */
html { font-size: 18px; }
body { line-height: 1.65; }
.reasons, .dots, .story p, .team .story, .about p, .three-col p, .fine, .contact-info p, .contact-details p, .team .person p { font-size: 1rem; }
.reasons li { margin-bottom: 1.8rem; }
.why .lead, .contact .lead { font-size: 1.35rem; }
.checks { font-size: 1.3rem; }
.how .price { font-size: 1.25rem; font-weight: 700; }
.form label { font-size: .95rem; }
.form input, .form textarea { font-size: 1.05rem; padding: .8rem .9rem; }
.form { max-width: 340px; }
.site-footer { font-size: .95rem; }
.notice-bar { font-size: .95rem; }
.sop p, .sop li { font-size: 1rem; }
@media (max-width: 760px) {
  html { font-size: 17px; }
  .checks { font-size: 1.15rem; }
}
.contact .sub a { color: var(--white); font-weight: 700; text-decoration: underline; }

/* Two hero buttons side by side (stack on phones) */
.hero-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: .5rem; }
.hero-actions .btn { margin: 0; }
.btn.outline { background: transparent; color: var(--teal-dark); border: 2px solid var(--teal-dark); }
.btn.outline:hover { background: var(--teal-dark); color: var(--white); }
@media (max-width: 480px) { .hero-actions .btn { width: 100%; text-align: center; } }

/* September 2026: clear offer, two earning options, accessible inquiry form. */
.hero h1 { color: #172f30; text-shadow: none; }
.hero-logo { width: min(260px, 65%); margin-bottom: 1.2rem; }
.eyebrow { font-weight: 700; font-size: .95rem; color: #254849; }
.hero-price { font-size: clamp(2.6rem, 6vw, 3.4rem); font-weight: 800; color: #172f30; line-height: 1.2; margin: 1rem 0; }
.hero-price span { font-size: 1.2rem; font-weight: 700; }
.hero-intro { font-size: 1.15rem; max-width: 650px; margin: 0 auto; }
.hero .checks { margin: 1.3rem auto; font-size: 1.05rem; }
.hero .hero-note { font-size: .9rem; max-width: 620px; margin: 1rem auto 0; }
.btn { background: #315f60; }
.btn:hover { background: #254849; }
.btn.outline { color: #315f60; border-color: #315f60; }
.btn.outline:hover { background: #315f60; }
.earning h2 { text-align: center; margin-bottom: 2rem; }
.earning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.earning-card { background: #f3f7f4; border: 1px solid #bfd4ca; padding: 1.8rem; border-radius: 6px; }
.earning-card h3 { margin: 0 0 1rem; font-size: 1.3rem; line-height: 1.3; color: #172f30; }
.earning-card p { font-size: 1rem; }
.term-note { border-top: 1px solid #bfd4ca; padding-top: 1rem; margin-bottom: 0; }
.why { background: #fafbf9; }
.why .reasons { margin-top: 1.6rem; }
.broker-row { display: grid; grid-template-columns: 130px 1fr; gap: 1.5rem; align-items: start; }
.broker-row > img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; }
.broker-row h2 { font-size: 1.65rem; }
.broker-row p { font-size: 1rem; }
.contact:not(.plain) { background: #315f60; }
.form { max-width: 500px; }
.form input, .form textarea, .form select { min-width: 0; }
.form select { display: block; width: 100%; margin-top: .3rem; padding: .8rem .65rem; border: 1px solid #748b82; border-radius: 4px; font: 1rem var(--font); background: white; color: #111; }
.form select:focus-visible { outline: 3px solid #111; outline-offset: 2px; }
.form .form-note { font-size: .85rem; text-align: center; margin-top: .8rem; }
.form .btn:disabled { opacity: .75; cursor: wait; }
.btn.light { color: #315f60; }
.contact.plain .sub a { color: #315f60; }
#contact { scroll-margin-top: 1rem; }
@media (max-width: 760px) {
  .earning-grid { grid-template-columns: 1fr; }
  .earning-card { padding: 1.3rem; }
  .how .two-col img { order: initial; }
  .broker-row { grid-template-columns: 1fr; }
  .broker-row > img { margin: 0 auto; }
  .hero { padding-top: 2rem; padding-bottom: 2.5rem; }
}
