/* sellmyunits.com — multifamily lead funnel */
:root {
  --ink: #14212e;
  --ink-soft: #3d4b59;
  --muted: #6a7784;
  --paper: #fbf8f3;
  --card: #ffffff;
  --line: #e4ddd2;
  --brick: #b4502f;
  --brick-dark: #8f3c21;
  --navy: #1c3550;
  --navy-deep: #0f2133;
  --sage: #e9efe8;
  --focus: #2f6fb2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 33, 46, 0.08);
  --max: 1160px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brick-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.1rem; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; }
.brand em { font-style: normal; color: var(--brick); }
.site-footer .brand em { color: #f2a384; }
.brand small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brick-dark); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s; font-family: inherit; }
.btn-primary { background: var(--brick); color: #fff; }
.btn-primary:hover { background: var(--brick-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--navy-deep); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn:active { transform: translateY(1px); }

/* Hero */
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brick-dark); background: #f5e6de; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-art { background: var(--sage); border-radius: 24px; padding: 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; color: var(--ink-soft); font-size: .93rem; }
.trust-row li::before { content: "✓"; color: var(--brick); font-weight: 700; margin-right: 6px; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy-deep); color: #e8eef4; }
.section-dark h2 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.section-dark .section-head p { color: #b9c7d4; }

/* Path cards */
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.path-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.path-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brick); }
.path-card .icon { width: 44px; height: 44px; border-radius: 10px; background: #f5e6de; color: var(--brick-dark); display: grid; place-items: center; margin-bottom: 16px; }
.path-card p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.path-card .go { font-weight: 600; color: var(--brick-dark); }

/* Steps / features */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section-dark .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.step-num { font-family: var(--serif); font-size: 2rem; color: var(--brick); line-height: 1; margin-bottom: 10px; }
.section-dark .step-num { color: #e8997b; }
.step p { color: var(--ink-soft); margin: 0; }
.section-dark .step p { color: #b9c7d4; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 15px; width: 18px; height: 18px; border-radius: 50%; background: var(--brick) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8 13.2 4.8 10l-1.1 1.1L8 15.4l8.3-8.3-1.1-1.1z'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Areas */
.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.area { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .88rem; color: var(--ink-soft); }

/* Property types */
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.type { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 14px; }
.type strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--navy); }
.type span { color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brick); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding-bottom: 16px; margin: 0; }

/* CTA band */
.cta-band { background: var(--brick); color: #fff; border-radius: 22px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #fbe3d9; }

/* Funnel page layout */
.funnel { padding: 48px 0 72px; }
.funnel-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.funnel-copy .lede { margin-bottom: 24px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 30px; position: sticky; top: 90px; }
.form-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.form-card .sub { color: var(--muted); font-size: .93rem; margin-bottom: 18px; }

/* Progress */
.progress { display: flex; gap: 6px; margin-bottom: 20px; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); transition: background .2s; }
.progress span.on { background: var(--brick); }
.step-label { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }

/* Form fields */
.form-step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step.active { display: block; }
.form-step legend { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin-bottom: 14px; padding: 0; }
.field { margin-bottom: 16px; }
.field label, .field .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.error-msg { display: none; color: #b03a2e; font-size: .85rem; margin-top: 4px; }
.field.invalid .error-msg { display: block; }

.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.options.cols-3 { grid-template-columns: repeat(3, 1fr); }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span { display: block; text-align: center; padding: 12px 8px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 500; font-size: .93rem; transition: all .12s; background: #fff; }
.option input:checked + span { border-color: var(--brick); background: #fbeee8; color: var(--brick-dark); font-weight: 600; }
.option input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.option:hover span { border-color: #c9b9a8; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 6px 0 16px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--brick); }
.consent.invalid { color: #b03a2e; }
.form-nav { display: flex; gap: 10px; justify-content: space-between; }
.form-nav .btn-primary { flex: 1; }
.hp { position: absolute; left: -5000px; }
.form-status { margin-top: 12px; font-size: .92rem; }
.form-status.err { color: #b03a2e; }
.form-note { font-size: .78rem; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* Thank you */
.thanks { text-align: center; padding: 96px 0; max-width: 640px; margin: 0 auto; }
.thanks .badge { width: 72px; height: 72px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; margin: 0 auto 20px; color: var(--navy); }

/* Prose */
.prose { max-width: 760px; padding: 56px 0 80px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b9c7d4; padding: 52px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #dbe4ec; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .78rem; color: #8ea0b2; }

/* Responsive */
@media (max-width: 980px) {
  .paths, .types { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .funnel-grid { grid-template-columns: 1fr; }
  .form-card { position: static; }
  .hero-art { max-width: 520px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; width: 100%; }
  .grid-3, .grid-2, .areas, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero { padding: 40px 0; }
  .cta-band { padding: 30px 24px; }
  .form-card { padding: 22px 18px; }
}
@media (max-width: 440px) {
  .paths { grid-template-columns: 1fr; }
  .options.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .row-2 { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
