:root {
  --bg: #F4F1EC;
  --bg-alt: #ECEAE3;
  --fg: #1A1A18;
  --fg-muted: #6B6B63;
  --accent: #C8603A;
  --accent-dark: #A84E2C;
  --sage: #3D5A4C;
  --sage-light: #5C7A6A;
  --card-bg: #FFFFFF;
  --border: #D8D4CC;
  --ai-green: #2D8A5F;
  --ai-dot: #4ADE80;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244,241,236,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--sage);
  background: rgba(61,90,76,0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

/* HERO */
.hero {
  padding: 80px 24px 60px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-headline {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--fg);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 420px;
}

.hero-widget {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06), 0 0 0 1px var(--border);
}
.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  flex-shrink: 0;
}
.profile-info {}
.profile-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}
.profile-meta {
  font-size: 12px;
  color: var(--fg-muted);
}
.profile-modules { margin-bottom: 16px; }
.module-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--fg);
}
.module-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
.module-dot.healthy { background: var(--ai-green); }
.module-dot.flag { background: var(--accent); }
.ai-pill {
  background: rgba(61,90,76,0.08);
  border: 1px solid rgba(61,90,76,0.2);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--sage);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.ai-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ai-dot);
  flex-shrink: 0;
  margin-top: 3px;
}

/* STATS */
.stats {
  background: var(--sage);
  padding: 48px 24px;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.stat-value {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  max-width: 140px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* MODULES */
.modules {
  padding: 80px 24px;
  background: var(--bg);
}
.modules-header {
  max-width: 600px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--fg);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.modules-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.module-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 28px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.module-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.module-icon {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  margin-bottom: 16px;
}
.module-card h3 {
  font-size: 17px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.module-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* AI SECTION */
.ai-section {
  background: var(--sage);
  padding: 80px 24px;
}
.ai-inner {
  max-width: 900px;
  margin: 0 auto;
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: white;
  margin-bottom: 20px;
}
.ai-dot-large {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ai-dot);
}
.ai-headline {
  font-size: clamp(28px, 4vw, 44px);
  color: white;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.ai-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  line-height: 1.6;
}
.ai-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.ai-panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ai-panel-icon {
  color: var(--ai-dot);
  flex-shrink: 0;
  margin-top: 2px;
}
.ai-panel h4 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
  font-family: 'DM Sans', sans-serif;
}
.ai-panel p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.ai-conversation {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px;
  font-size: 14px;
  line-height: 1.65;
}
.ai-conv-header {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px 16px;
  color: white;
  margin-bottom: 12px;
  border-left: 3px solid var(--ai-dot);
}
.ai-conv-time {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ai-conv-query {
  color: rgba(255,255,255,0.6);
  font-style: italic;
  margin-bottom: 14px;
}
.ai-conv-response {
  color: rgba(255,255,255,0.9);
}

/* SECURITY */
.security {
  padding: 80px 24px;
  background: var(--bg-alt);
}
.security-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.security-headline {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--fg);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.security-sub {
  font-size: 17px;
  color: var(--fg-muted);
  margin-bottom: 48px;
  line-height: 1.6;
}
.security-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.security-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  text-align: left;
}
.security-icon {
  color: var(--sage);
  margin-bottom: 16px;
}
.security-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--fg);
  margin-bottom: 8px;
}
.security-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* PROFILES */
.profiles {
  padding: 80px 24px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.profiles-header {
  max-width: 600px;
  margin: 0 auto 56px;
  text-align: center;
}
.profiles-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.profile-block {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--border);
}
.profile-type-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}
.profile-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.person-avatar-sm {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  flex-shrink: 0;
}
.person-name {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2px;
}
.person-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.profile-features {
  list-style: none;
  margin-bottom: 24px;
}
.profile-features li {
  font-size: 14px;
  color: var(--fg);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.profile-features li:last-child { border-bottom: none; }
.profile-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
  margin-top: 7px;
}
.profile-quote {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--fg-muted);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  line-height: 1.5;
}

/* CLOSING */
.closing {
  background: var(--sage);
  padding: 80px 24px;
}
.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-size: clamp(28px, 4vw, 46px);
  color: white;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}
.closing-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

/* FOOTER */
.footer {
  background: var(--fg);
  padding: 28px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  color: white;
}
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { order: 1; }
  .hero-widget { order: 2; }
  .stats-inner { flex-direction: column; align-items: flex-start; }
  .stat-divider { display: none; }
  .modules-grid { grid-template-columns: 1fr; }
  .ai-panels { grid-template-columns: 1fr; }
  .security-cards { grid-template-columns: 1fr; }
  .profiles-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
