/* The Commonground — warm, earthy, grounded */
:root {
  --bg: #F9F6EF;
  --bg-subtle: #F2EEE6;
  --fg: #1C1B18;
  --fg-secondary: #6B6560;
  --accent: #2C4A3E;
  --accent-light: #3D6455;
  --gold: #C9923A;
  --gold-light: #E8C87A;
  --border: #E2DDD5;
  --card-bg: #FFFFFF;
  --hero-headline-size: clamp(2.6rem, 6vw, 4.8rem);
  --section-headline-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav ─── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.nav-wordmark {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Hero ─── */
.hero {
  padding: 7rem 3rem 6rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: var(--hero-headline-size);
  font-weight: 700;
  line-height: 1.05;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-lede {
  font-size: 1.15rem;
  color: var(--fg-secondary);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 2.5rem;
}
.hero-context {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.6rem 1.2rem;
}
.context-item {
  display: flex;
  flex-direction: column;
}
.context-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.context-value {
  font-size: 0.8rem;
  color: var(--fg-secondary);
}

/* Orb */
.hero-orb {
  position: relative;
  width: 260px;
  height: 260px;
  flex-shrink: 0;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.orb-ring-1 { width: 100%; height: 100%; top: 0; left: 0; }
.orb-ring-2 { width: 72%; height: 72%; top: 14%; left: 14%; border-color: var(--gold-light); opacity: 0.5; }
.orb-ring-3 { width: 44%; height: 44%; top: 28%; left: 28%; border-color: var(--accent); }
.orb-core {
  position: absolute;
  width: 40%; height: 40%;
  top: 30%; left: 30%;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
.orb-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.orb-label {
  font-family: 'Fraunces', serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
}

/* ─── Proof bar ─── */
.proof {
  background: var(--accent);
  padding: 2.5rem 3rem;
}
.proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}
.proof-stat {
  text-align: center;
}
.proof-number {
  font-family: 'Fraunces', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
}
.proof-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.4rem;
  line-height: 1.4;
}
.proof-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.15);
}

/* ─── Features ─── */
.features {
  padding: 7rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-headline {
  font-family: 'Fraunces', serif;
  font-size: var(--section-headline-size);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 3.5rem;
  max-width: 580px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(28, 27, 24, 0.08);
}
.feature-card-1 { border-top: 3px solid var(--accent); }
.feature-card-2 { border-top: 3px solid var(--gold); }
.feature-card-3 { border-top: 3px solid var(--accent); }
.feature-card-4 { border-top: 3px solid var(--gold); }
.feature-card-5 { border-top: 3px solid var(--accent); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--accent);
}
.feature-card:nth-child(even) .feature-icon { color: var(--gold); }
.feature-title {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.7rem;
}
.feature-desc {
  font-size: 0.88rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* ─── Playbook ─── */
.playbook {
  background: var(--bg-subtle);
  padding: 7rem 3rem;
}
.playbook-header {
  max-width: 700px;
  margin: 0 auto 4rem;
}
.playbook-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.playbook-side { padding: 2.5rem; }
.playbook-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-secondary);
  margin-bottom: 1.5rem;
}
.playbook-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.playbook-item:last-child { margin-bottom: 0; }
.playbook-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.before-side .playbook-icon { background: #FDEAEA; color: #C0392B; }
.after-side .playbook-icon { background: #E8F5E9; color: var(--accent); }
.playbook-text { font-size: 0.9rem; color: var(--fg); line-height: 1.5; }
.playbook-divider { width: 1px; background: var(--border); }

/* ─── Closing ─── */
.closing {
  padding: 7rem 3rem;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.8rem;
}
.closing-body {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 1rem;
}
.closing-body:last-child { margin-bottom: 0; }

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.footer-wordmark {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.footer-tagline {
  font-size: 0.75rem;
  color: var(--fg-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--fg-secondary);
  margin-top: 0.8rem;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-orb { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .playbook-grid { grid-template-columns: 1fr; }
  .playbook-divider { height: 1px; width: 100%; }
  .proof-inner { gap: 1.5rem; flex-wrap: wrap; }
  .nav { padding: 1.2rem 1.5rem; }
  .hero, .features, .playbook, .closing { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2.2rem; }
  .proof { padding: 2rem 1.5rem; }
  .proof-inner { flex-direction: column; gap: 1.5rem; }
  .proof-divider { display: none; }
}