:root {
  --plum: #3b2d52;
  --plum-2: #4f3d6b;
  --lilac: #7a5ba6;
  --sage: #5f8a6a;
  --ink: #1f1b26;
  --muted: #5e5a66;
  --paper: #fbfaf7;
  --cream: #f3f0f5;
  --line: #e4dfe8;
  --red: #b23a2b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(30, 22, 40, .06), 0 8px 28px rgba(30, 22, 40, .08);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font: 400 17px/1.65 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--plum-2); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; color: var(--plum); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); margin-bottom: .8em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px; border: 2px solid var(--plum);
  background: var(--plum); color: #fff; font: 600 1rem var(--sans);
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--plum-2); border-color: var(--plum-2); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--lilac); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--plum); }
.btn-ghost:hover { background: var(--plum); color: #fff; }
.btn-small { padding: 8px 18px; font-size: .92rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); }
.brand-mark { width: 34px; height: 34px; color: var(--plum); }
.brand-text { font: 700 1.2rem var(--serif); }
.brand-text span { font-weight: 600; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav-links a:not(.btn):hover { color: var(--lilac); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--plum); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  padding: 84px 0 96px;
  background:
    radial-gradient(900px 420px at 92% -10%, rgba(122, 91, 166, .16), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(95, 138, 106, .12), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-area { margin: 22px 0 0; font-size: .92rem; font-weight: 500; color: var(--muted); }
.hero-art { position: relative; height: 380px; }
.hero-street {
  position: absolute; inset: 40px 30px 30px 60px; border-radius: 28px;
  background: var(--plum); color: #ece6f4; display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.hero-street svg { width: 70%; }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; box-shadow: var(--shadow);
  font: 600 .95rem/1.25 var(--serif); color: var(--plum);
}
.float-card svg { width: 32px; height: 32px; fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.float-card.top { top: 0; left: 0; }
.float-card.top svg { stroke: var(--lilac); }
.float-card.bottom { bottom: 0; right: 0; }
.float-card.bottom svg { stroke: var(--sage); }

/* Sections */
.section { padding: 92px 0; }
.band { background: var(--cream); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p:last-child:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.pillar { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pillar .checks { margin: 0; color: var(--muted); font-size: .97rem; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--plum); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }

/* Communities */
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kind {
  display: flex; flex-direction: column; gap: 16px; padding: 30px; background: #fff;
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow);
  border-top: 5px solid var(--lilac);
}
.kind svg { width: 52px; height: 52px; fill: none; stroke: var(--lilac); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.kind p { color: var(--muted); margin: 0; }
.area {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 28px; padding: 22px 28px; border-radius: var(--radius); background: var(--plum); color: #fff;
}
.area p { margin: 0; }
.area-label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #cbbde0; }
.area-text { font: 600 1.15rem var(--serif); }
.areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.areas li { padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-weight: 600; font-size: .95rem; }

/* Boards */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.split .btn { margin-top: 10px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li {
  position: relative; counter-increment: step; padding: 0 0 26px 64px; color: var(--muted);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 6px; width: 2px; background: var(--line); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream); color: var(--plum); font: 700 1.1rem var(--serif);
  border: 1px solid var(--line);
}
.steps strong { display: block; color: var(--plum); font: 600 1.15rem/1.3 var(--serif); margin: 8px 0 4px; }

/* Homeowners */
.panel { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.panel > p { color: var(--muted); }
.panel .btn { margin-top: auto; }
.checks { list-style: none; padding: 0; margin: 0 0 26px; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 9px;
  border-left: 2.5px solid var(--sage); border-bottom: 2.5px solid var(--sage);
  transform: rotate(-45deg) translateY(-3px);
}
.notice { margin: 22px 0 0; padding: 14px 16px; border-radius: 10px; background: #fbeae7; color: #6e2117; font-size: .93rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font: 600 1.12rem/1.35 var(--serif); color: var(--plum);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 1.6rem var(--sans); color: var(--lilac); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-grid > div > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list span { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 600; }

.form { position: relative; background: #fff; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field [aria-invalid="true"] { border-color: var(--red); background: #fdf3f1; }
.form-note { margin: 14px 0 0; font-size: .93rem; color: var(--muted); min-height: 1.4em; }
.recaptcha-note { margin: 10px 0 0; font-size: .78rem; color: var(--muted); line-height: 1.5; }
.recaptcha-note a { color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--plum); color: #ddd5e8; padding: 44px 0; font-size: .93rem; }
.site-footer a { color: #fff; }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-brand { font: 600 1.15rem var(--serif); color: #fff; margin-bottom: .3em; }
.footer-meta { text-align: right; margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { gap: 20px; }
  .brand-text span { display: none; }
}
@media (max-width: 900px) {
  .hero-grid, .contact-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { height: 300px; max-width: 460px; }
  .three, .kinds { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 68px 0; }
  .three, .kinds { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .form, .panel, .kind { padding: 24px; }
  .footer-meta { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
