:root {
  --paper: #faf6f1;
  --surface: #ffffff;
  --ink: #2a2320;
  --muted: #6b5d54;
  --faint: #9a8c82;
  --line: #ece3d9;
  --coral: #e0674f;
  --coral-soft: #fbe9e3;
  --coral-ink: #b44a34;
  --amber: #e8a53d;
  --amber-soft: #fdf1dc;
  --display: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.12; }

.muted { color: var(--muted); }
.kicker {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--coral-ink);
  background: var(--coral-soft);
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 18px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; border-radius: 12px;
  padding: 11px 20px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -10px rgba(224,103,79,.7); }
.btn-primary:hover { background: var(--coral-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--faint); background: var(--surface); }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.w-full { width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,241,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  color: #fff; font-family: var(--display); font-weight: 700; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px -6px rgba(224,103,79,.7);
}
.brand-name { font-family: var(--display); font-weight: 600; font-size: 19px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--muted); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; }
.nav-burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-mobile { display: none; flex-direction: column; gap: 10px; padding: 16px 24px 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
.nav-mobile a:not(.btn) { padding: 8px 0; color: var(--muted); font-weight: 500; }
.nav-mobile.open { display: flex; }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 480px at 8% -10%, rgba(232,165,61,.16), transparent 60%),
    radial-gradient(820px 520px at 100% -6%, rgba(224,103,79,.15), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--coral-ink); margin-bottom: 20px; }
.hero-copy h1 { font-size: clamp(38px, 5.4vw, 60px); margin-bottom: 22px; }
.lede { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-fine { font-size: 13.5px; color: var(--faint); }

/* Hero mock */
.hero-mock { position: relative; }
.mock-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 24px; box-shadow: 0 30px 60px -24px rgba(60,40,30,.28);
  transform: rotate(1.2deg);
}
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mock-tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; background: var(--line); color: var(--muted); padding: 3px 9px; border-radius: 999px; }
.mock-price { font-family: var(--display); font-weight: 700; color: var(--coral-ink); font-size: 20px; }
.mock-title { font-family: var(--display); font-weight: 600; font-size: 22px; }
.mock-sub { font-size: 13px; color: var(--faint); margin-bottom: 12px; }
.mock-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.mock-chips span { font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--muted); }
.mock-asset { border-top: 1px solid var(--line); padding-top: 14px; }
.mock-asset-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--coral-ink); margin-bottom: 8px; }
.mock-asset-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.mock-asset p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.mock-flag { margin-top: 12px; background: rgba(16,122,82,.08); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; }
.mock-flag strong { color: #0f7a52; font-size: 12.5px; }
.mock-flag span { color: var(--muted); font-size: 12px; }
.mock-float {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 14px; font-size: 13px; font-weight: 600;
  box-shadow: 0 16px 34px -16px rgba(60,40,30,.3);
}
.mock-float-1 { top: -18px; right: -10px; transform: rotate(-4deg); }
.mock-float-2 { bottom: 24px; left: -28px; transform: rotate(3deg); }

/* Strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 18px 24px; font-size: 14px; font-weight: 500; color: var(--muted); }
.strip .sep { color: var(--coral); }

/* Sections */
.section { padding: 90px 0; }
.section-head { margin-bottom: 52px; }
.section-head h2, .center h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.section-head p { font-size: 17px; max-width: 620px; }
.problem h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 18px; }
.problem p { font-size: 18px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: 0 1px 2px rgba(60,40,30,.04), 0 10px 30px -18px rgba(60,40,30,.16); }
.step-num { width: 38px; height: 38px; border-radius: 11px; background: var(--coral-soft); color: var(--coral-ink); font-family: var(--display); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* Features */
.features-sec { background: var(--surface); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px; transition: transform .18s ease, box-shadow .18s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(60,40,30,.24); }
.f-ic { font-size: 26px; margin-bottom: 14px; }
.feature h3 { font-size: 18px; margin-bottom: 7px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* Compliance */
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.comp-copy h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.comp-copy .muted { font-size: 17px; }
.comp-copy em { color: var(--ink); font-style: italic; }
.checks { list-style: none; margin: 22px 0 16px; display: flex; flex-direction: column; gap: 12px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; color: var(--ink); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background: var(--coral-soft); color: var(--coral-ink); border-radius: 6px; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.disclaimer { font-size: 13px; color: var(--faint); }
.comp-demo { display: flex; flex-direction: column; gap: 16px; }
.flag-card { background: var(--amber-soft); border: 1px solid var(--amber); border-radius: 16px; padding: 18px; }
.flag-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--coral-ink); margin-bottom: 12px; }
.flag-phrase { font-size: 15px; font-weight: 700; }
.flag-phrase span { color: var(--faint); font-weight: 500; }
.flag-reason { font-size: 14px; color: var(--muted); margin-top: 4px; }
.flag-fix { font-size: 14px; color: var(--coral-ink); margin-top: 4px; }
.pass-card { background: rgba(16,122,82,.08); color: #0f7a52; border-radius: 14px; padding: 14px 18px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.pass-card .ok { width: 22px; height: 22px; background: #0f7a52; color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.flag-head .warn, .flag-head { }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 24px; justify-content: center; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: 0 10px 30px -20px rgba(60,40,30,.2); }
.plan-featured { border-color: var(--coral); box-shadow: 0 24px 50px -24px rgba(224,103,79,.4); }
.plan-badge { position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--coral-soft); color: var(--coral-ink); padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 21px; margin-bottom: 8px; }
.price { font-family: var(--display); font-weight: 700; font-size: 44px; margin-bottom: 6px; }
.price span { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--faint); }
.plan-sub { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; min-height: 44px; }
.plan ul { list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 11px; }
.plan ul li { position: relative; padding-left: 26px; font-size: 14.5px; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--coral-ink); font-weight: 700; }

/* FAQ */
.faq-sec { background: var(--surface); }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; background: var(--paper); transition: border-color .15s; }
.faq details[open] { border-color: var(--faint); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--coral-ink); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 15px; }

/* Final CTA */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 12px; }
.final-cta p { font-size: 18px; margin-bottom: 26px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--surface); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 14.5px; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.footer-fine { font-size: 13px; color: var(--faint); }

/* Reveal animation — progressive enhancement: only hidden when JS is active,
   so no-JS / crawler / reduced-motion users always see the content. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-mock { max-width: 460px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .comp-grid { grid-template-columns: 1fr; gap: 36px; }
  .plans { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .mock-float-2 { left: 0; }
  .mock-float-1 { right: 0; }
  .hero { padding: 48px 0 30px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1c1815; --surface: #26211d; --ink: #f3ece4; --muted: #b6a99e;
    --faint: #8a7d72; --line: #362f28; --coral: #ec7a62; --coral-soft: #3a2620;
    --coral-ink: #f3a390; --amber: #eab35a; --amber-soft: #382c18;
  }
  .nav { background: rgba(28,24,21,.82); }
  .mock-flag { background: rgba(60,180,120,.12); }
  .mock-flag strong { color: #6fd3a3; }
  .pass-card { background: rgba(60,180,120,.12); color: #6fd3a3; }
  .pass-card .ok { background: #2f9e6e; }
}

/* Interactive fair-housing checker */
.checker-sec { background: var(--surface); }
.checker { padding: 24px; }
.checker-input {
  width: 100%; min-height: 130px; resize: vertical;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 14px 16px; font: inherit; font-size: 15px; color: var(--ink); line-height: 1.6;
}
.checker-input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.checker-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.checker-example { background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.checker-example:hover { color: var(--ink); }
.checker-result { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.checker-pass { display: flex; align-items: center; gap: 10px; background: rgba(16,122,82,.08); color: #0f7a52; border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.fh-flag { border: 1px solid var(--amber); background: var(--amber-soft); border-radius: 14px; padding: 14px 16px; }
.fh-flag-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.fh-phrase { font-weight: 700; }
.fh-cat { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--coral-ink); background: var(--surface); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.fh-reason { font-size: 14px; color: var(--muted); }
.fh-fix { font-size: 14px; color: var(--coral-ink); margin-top: 3px; }
.fh-count { font-weight: 700; color: var(--coral-ink); margin-bottom: 2px; }
.checker-note { font-size: 12.5px; color: var(--faint); margin-top: 16px; }
@media (prefers-color-scheme: dark) {
  .checker-pass { background: rgba(60,180,120,.12); color: #6fd3a3; }
}

/* Checker conversion CTA */
.checker-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; margin-top: 6px; padding: 18px 20px;
  background: linear-gradient(135deg, var(--coral-soft), var(--amber-soft));
  border-radius: 16px;
}
.checker-cta-copy { display: flex; flex-direction: column; gap: 2px; min-width: 220px; flex: 1; }
.checker-cta-copy strong { font-size: 15px; }
.checker-cta-copy span { font-size: 13.5px; color: var(--muted); }
