/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --olive:        #4A5C3A;
  --olive-dark:   #354229;
  --olive-light:  #6B7D5A;
  --olive-faint:  #F0F2EE;
  --gold:         #C8A96E;
  --gold-light:   #DFC28F;
  --bg:           #FAFAF8;
  --text:         #1C1F1A;
  --text-muted:   #5C6057;
  --border:       #DDE0D9;
  --white:        #FFFFFF;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05);
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--olive);
  color: var(--white);
  border: 2px solid var(--olive);
}
.btn-primary:hover { background: var(--olive-dark); border-color: var(--olive-dark); }

.btn-outline {
  background: transparent;
  color: var(--olive);
  border: 2px solid var(--olive);
}
.btn-outline:hover { background: var(--olive-faint); }

.btn-ghost {
  background: transparent;
  color: var(--olive-light);
  border: 2px solid var(--border);
}
.btn-ghost:hover { border-color: var(--olive-light); color: var(--olive); }

.btn-demo {
  background: var(--white);
  color: var(--olive-dark);
  border: 2px solid var(--white);
  font-size: 1.0625rem;
  padding: 13px 28px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}
.btn-demo:hover { background: var(--olive-faint); border-color: var(--olive-faint); }

/* ── Header ─────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.wordmark {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.375rem;
  color: var(--olive);
  letter-spacing: -0.01em;
}
.wordmark-sm { font-size: 1.125rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav a:not(.btn):hover { color: var(--olive); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(160deg, var(--bg) 55%, var(--olive-faint) 100%);
}
.hero-inner { max-width: 780px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive-light);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Stats bar ───────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--olive);
  padding: 28px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
  gap: 2px;
}
.stat-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.875rem;
  color: var(--gold-light);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ── Features ────────────────────────────────────────────────────────────── */
.features {
  padding: 96px 0;
}
.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
  text-align: center;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--olive-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive);
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Demo CTA ────────────────────────────────────────────────────────────── */
.demo-cta {
  background: var(--olive-dark);
  padding: 72px 0;
}
.demo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.demo-text { flex: 1; min-width: 280px; }
.demo-text h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.demo-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin-bottom: 24px;
}
.demo-credentials {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.demo-credentials li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
}
.cred-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  min-width: 64px;
}
.demo-credentials code {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: var(--gold-light);
  background: rgba(255,255,255,0.07);
  padding: 3px 8px;
  border-radius: 5px;
}
.demo-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.demo-note {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact {
  padding: 80px 0;
  background: var(--olive-faint);
  text-align: center;
}
.contact-inner h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.contact-inner p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-nav {
  display: flex;
  gap: 20px;
}
.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--olive); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav a:not(.btn) { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .stat { padding: 16px 24px; }
  .stat-divider { display: none; }
  .stats-inner { gap: 0; }
  .demo-inner { flex-direction: column; align-items: flex-start; }
  .demo-action { align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
