:root {
  --bg: #faf7f2;
  --bg-alt: #f0ebe3;
  --fg: #1c2b3a;
  --fg-muted: #5a6a78;
  --fg-light: #8a9aaa;
  --accent: #c9a84c;
  --accent-dark: #a8882e;
  --bot-chat-bg: #ede8df;
  --user-chat-bg: #1c2b3a;
  --user-chat-fg: #faf7f2;
  --border: #e0d9cf;
  --shadow: rgba(28,43,58,0.08);
}

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

html { scroll-behavior: smooth; }

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

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.header-nav {
  display: flex;
  gap: 32px;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--fg); }

/* SECTION SHARED */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--fg);
  letter-spacing: -0.02em;
  max-width: 600px;
}

/* HERO */
.hero {
  padding: 80px 0 100px;
  background: var(--bg);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 1.05;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent-dark);
}
.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 420px;
}

/* CHAT WINDOW */
.hero-chat { position: relative; }
.chat-window {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 24px 64px var(--shadow), 0 4px 16px var(--shadow);
  overflow: hidden;
  font-size: 14px;
}
.chat-header {
  background: var(--fg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--fg);
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-name {
  display: block;
  font-weight: 600;
  color: var(--bg);
  font-size: 13px;
}
.chat-status {
  display: block;
  font-size: 11px;
  color: var(--fg-light);
  margin-top: 1px;
}
.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 320px;
  overflow-y: auto;
}
.chat-msg p { line-height: 1.5; }
.chat-msg.bot p { color: var(--fg); }
.chat-msg.bot { padding: 12px 14px; background: var(--bot-chat-bg); border-radius: 12px 12px 12px 4px; align-self: flex-start; max-width: 90%; }
.chat-msg.user { padding: 10px 14px; background: var(--user-chat-bg); border-radius: 12px 12px 4px 12px; color: var(--user-chat-fg); align-self: flex-end; }
.chat-msg.user p { color: var(--user-chat-fg); }

.chat-input-row {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-input {
  flex: 1;
  font-size: 13px;
  color: var(--fg-light);
}
.chat-send {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  cursor: default;
}

/* HERO STATS */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-val {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  max-width: 120px;
  line-height: 1.4;
}

/* HOW IT WORKS */
.how-it-works {
  padding: 100px 0;
  background: var(--fg);
}
.how-it-works .section-label { color: var(--accent); }
.how-it-works .section-headline { color: var(--bg); }
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
}
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
}
.step h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--bg);
  margin-bottom: 12px;
}
.step p {
  font-size: 15px;
  color: var(--fg-light);
  line-height: 1.65;
}

/* FEATURES */
.features { padding: 100px 0; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: box-shadow 0.3s;
}
.feature-card:hover { box-shadow: 0 8px 32px var(--shadow); }
.feature-wide { grid-column: span 1; }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-dark);
}
.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.features-note {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
}
.features-note p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.features-note em { font-style: italic; color: var(--fg); }

/* PHILOSOPHY */
.philosophy {
  padding: 100px 0;
  background: var(--fg);
}
.philosophy-inner { max-width: 680px; }
.philosophy-rule {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 20px;
}
.philosophy .section-label { color: var(--accent); }
.philosophy-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  font-style: italic;
  color: var(--bg);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 32px 0 40px;
}
.philosophy-body {
  font-size: 16px;
  color: var(--fg-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* CLOSING */
.closing {
  padding: 100px 0;
  text-align: center;
  background: var(--bg);
}
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
}

/* FOOTER */
.site-footer {
  padding: 48px 0;
  background: var(--fg);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-brand { margin-bottom: 24px; }
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--bg);
  letter-spacing: -0.02em;
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-light);
  margin-top: 6px;
}
.footer-legal p {
  font-size: 12px;
  color: #4a5a68;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 20px;
}
.footer-copy p {
  font-size: 12px;
  color: #4a5a68;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { text-align: center; }
  .hero-sub { max-width: 100%; }
  .hero-chat { max-width: 480px; margin: 0 auto; }
  .hero-stats { justify-content: center; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-wide { grid-column: span 2; }
  .header-nav { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: span 1; }
  .hero-stats { gap: 24px; }
  .hero { padding: 60px 0 80px; }
}