:root {
  --bg: #0e1a10;
  --surface: #152318;
  --surface-2: #1c3022;
  --accent: #d4a853;
  --accent-dim: #a07c35;
  --text: #e8e4d8;
  --text-muted: #8a8478;
  --text-dim: #5a5650;
  --border: rgba(212, 168, 83, 0.15);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Navigation ─── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.tagline {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── Shared Section Parts ─── */
.section-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 40px;
}

.section-label.light { color: rgba(212, 168, 83, 0.6); }

/* ─── Hero ─── */
.hero {
  padding: 80px 48px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(212, 168, 83, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.hero-kicker {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.65;
  font-weight: 300;
}

.hero-img-wrap { position: relative; }

.hero-img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,168,83,0.1);
  display: block;
}

.fh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.25);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.fh-badge svg { flex-shrink: 0; }

/* ─── Workflow ─── */
.workflow {
  padding: 100px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
}

.step {
  padding: 40px 36px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  color: var(--accent-dim);
  opacity: 0.4;
  margin-bottom: 16px;
  line-height: 1;
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

.workflow-diagram {
  max-width: 1100px;
  margin: 60px auto 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface-2);
}

.diagram-img {
  width: 100%;
  display: block;
  opacity: 0.9;
}

/* ─── Features ─── */
.features {
  padding: 100px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature {
  background: var(--bg);
  padding: 36px 32px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 18px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-body {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ─── Outcomes ─── */
.outcomes {
  padding: 100px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcomes-inner { max-width: 1100px; margin: 0 auto; }

.outcomes-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
}

.stat {
  flex: 1;
  padding: 0 48px 0 0;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
  max-width: 220px;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
  margin: 0 56px 0 0;
  flex-shrink: 0;
}

/* ─── Closing ─── */
.closing {
  padding: 100px 48px 120px;
  text-align: center;
}

.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.footer-note {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ─── Sample Demo ─── */
.sample-demo {
  padding: 100px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sample-demo-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sample-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 48px;
}

.sample-col {
  padding: 40px 36px;
  background: var(--surface-2);
}

.sample-col--before { background: var(--bg); }

.sample-col-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
}

.sample-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sample-bullets li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 300;
  padding-left: 14px;
  position: relative;
}

.sample-bullets li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-dim);
}

.sample-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text-dim);
  padding: 0 24px;
}

.sample-description {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 16px;
}

.sample-description:last-child { margin-bottom: 0; }

/* Interactive demo */
.sample-interactive {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.sample-btn {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.sample-btn:hover:not(:disabled) { background: #e0b85e; transform: translateY(-1px); }
.sample-btn:active:not(:disabled) { transform: translateY(0); }
.sample-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.sample-disclaimer {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* Output states */
.sample-output {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg);
}

.sample-output--loading .sample-output-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 32px;
  color: var(--text-muted);
  font-size: 14px;
}

.sample-spinner svg {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.sample-output-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.sample-output-body {
  padding: 28px 32px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
  white-space: pre-wrap;
}

.sample-cta-wrap {
  padding: 20px 32px 28px;
  border-top: 1px solid var(--border);
}

.sample-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.sample-cta-btn:hover { background: #e0b85e; }

.sample-output--error {
  padding: 20px 28px;
  color: #e07070;
  font-size: 13.5px;
}

/* ─── Fair Housing Compliance Section ─── */
.fair-housing-section {
  padding: 100px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.fair-housing-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.fh-left {}

.fh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.fh-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.fh-body {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

.fh-examples {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.fh-example-header {
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.fh-example {
  padding: 16px 16px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.fh-example:last-child { border-bottom: none; }

.fh-example-bad {
  font-size: 12px;
  color: #b06060;
  font-weight: 400;
  line-height: 1.4;
}

.fh-example-arrow {
  color: var(--text-dim);
  font-size: 12px;
}

.fh-example-good {
  font-size: 12px;
  color: #80b080;
  font-weight: 400;
  line-height: 1.4;
}

.fh-right {}

.fh-examples-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.fh-term-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.fh-term-item:last-child { border-bottom: none; }

.fh-term-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fh-term-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  .topbar { padding: 16px 24px; }
  .tagline { display: none; }

  .hero { padding: 60px 24px 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-sub { max-width: 100%; }

  .workflow { padding: 72px 24px; }
  .workflow-steps { grid-template-columns: 1fr; }

  .features { padding: 72px 24px; }
  .features-grid { grid-template-columns: 1fr; }

  .outcomes { padding: 72px 24px; }
  .outcomes-stats { flex-direction: column; gap: 40px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }

  .closing { padding: 72px 24px 96px; }

  footer { padding: 24px; }
  .footer-note { display: none; }

  .fair-housing-section { padding: 72px 24px; }
  .fair-housing-inner { grid-template-columns: 1fr; gap: 40px; }
}