/* VineyardHomes marketing + legal site. Static, dependency-free. */
:root {
  --navy: #0f2742;
  --navy-600: #1b3c5f;
  --teal: #2f6f7e;
  --sand: #f5f1e8;
  --bg: #faf7f0;
  --card: #ffffff;
  --ink: #16202c;
  --muted: #566573;
  --line: rgba(15, 39, 66, 0.12);
  --radius: 16px;
  --maxw: 880px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sand: #0e1a26;
    --bg: #0b141d;
    --card: #121e2b;
    --ink: #e8eef4;
    --muted: #9fb0c0;
    --line: rgba(255, 255, 255, 0.12);
    --navy: #cfe0ef;
    --navy-600: #a9c6df;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 18px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand .mark { font-size: 22px; }
.site-nav a { color: var(--muted); font-size: 15px; margin-left: 20px; }

/* Hero */
.hero {
  text-align: center;
  padding: 56px 20px 48px;
  background: linear-gradient(180deg, var(--sand), var(--bg));
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 16px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
}
.hero p.lead { font-size: clamp(18px, 3.5vw, 22px); color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.badge {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  background: var(--navy); color: var(--bg); font-weight: 600; font-size: 15px;
}
.hero .sub { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* Sections */
section { padding: 48px 0; }
h2 { font-size: clamp(24px, 4vw, 30px); letter-spacing: -0.02em; margin: 0 0 8px; font-family: ui-serif, Georgia, serif; }
.section-intro { color: var(--muted); max-width: 620px; margin: 0 0 28px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.feature .ico { font-size: 24px; }
.feature h3 { margin: 10px 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.powered {
  text-align: center; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; margin: 8px 0;
}
.powered p { margin: 0; color: var(--muted); }
.powered strong { color: var(--ink); }

/* Legal / content pages */
.content { padding: 40px 0 64px; }
.content h1 { font-size: clamp(28px, 5vw, 38px); letter-spacing: -0.02em; font-family: ui-serif, Georgia, serif; margin: 0 0 6px; }
.content .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.content h2 { font-size: 20px; margin: 32px 0 8px; font-family: inherit; }
.content p, .content li { color: var(--ink); }
.content ul { padding-left: 20px; }
.content li { margin: 6px 0; }
.callout {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: 10px; padding: 16px 18px; margin: 20px 0; color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line); padding: 28px 20px; margin-top: 24px;
  text-align: center; color: var(--muted); font-size: 14px;
}
.site-footer a { color: var(--muted); margin: 0 10px; }
.site-footer .fine { margin-top: 10px; font-size: 13px; opacity: 0.85; }
