:root {
  --cream: #FAF7F2;
  --cream-dark: #F0EBE0;
  --charcoal: #1A1916;
  --warm-gray: #6B6560;
  --terracotta: #B84A2B;
  --terracotta-light: #D4714A;
  --paper: #FFFFFF;
  --border: #E2DDD5;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav {
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
}
.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--warm-gray);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--charcoal); }

/* Section base */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 16px;
}
.section-heading {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.centered { text-align: center; }

/* Hero */
.hero {
  padding: 80px 40px 100px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--warm-gray);
  line-height: 1.65;
  max-width: 440px;
}

/* Hero card */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 24px rgba(26,25,22,0.06);
}
.hero-card-label {
  font-size: 12px;
  color: var(--warm-gray);
  margin-bottom: 14px;
  font-family: var(--sans);
  letter-spacing: 0.02em;
}
.hero-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.chat-name {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.chat-boswell .chat-name {
  background: var(--terracotta);
  color: white;
}
.chat-user .chat-name {
  background: var(--cream-dark);
  color: var(--charcoal);
}
.chat-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--charcoal);
}
.chat-boswell .chat-text { color: var(--charcoal); }
.chat-user .chat-text { color: var(--warm-gray); font-style: italic; }

.hero-quote blockquote p {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--warm-gray);
  border-left: 2px solid var(--terracotta);
  padding-left: 16px;
}

/* Conversation section */
.conversation-section {
  padding: 100px 40px;
  background: var(--cream);
}
.conversation-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.conversation-prose p {
  font-size: 17px;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}
.conversation-chapter {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 2px 16px rgba(26,25,22,0.04);
}
.chapter-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 16px;
}
.chapter-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.chapter-body {
  font-size: 16px;
  color: var(--warm-gray);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* How it works */
.howitworks {
  padding: 100px 40px;
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}
.step { position: relative; }
.step-number {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--border);
  margin-bottom: 16px;
  line-height: 1;
}
.step-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.step-body {
  font-size: 16px;
  color: var(--warm-gray);
  line-height: 1.65;
}
.topics-row {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.topics-label {
  font-size: 14px;
  color: var(--warm-gray);
  margin-bottom: 20px;
}
.topics-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  font-size: 13px;
  color: var(--charcoal);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
}

/* Formats */
.formats {
  padding: 100px 40px;
  background: var(--cream);
}
.formats-intro {
  margin-bottom: 60px;
}
.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.format-card {
  background: var(--cream);
  padding: 36px 32px;
}
.format-icon {
  color: var(--terracotta);
  margin-bottom: 16px;
}
.format-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.format-body {
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.6;
}

/* Pricing */
.pricing {
  padding: 100px 40px;
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
}
.pricing-note {
  font-size: 15px;
  color: var(--warm-gray);
  text-align: center;
  margin-bottom: 48px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.pricing-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--terracotta);
  box-shadow: 0 4px 24px rgba(184,74,43,0.1);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: white;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
}
.pricing-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  font-weight: 500;
  margin-bottom: 12px;
}
.pricing-price {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-period {
  font-size: 14px;
  color: var(--warm-gray);
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  margin-bottom: 20px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--charcoal);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-included {
  font-size: 13px;
  color: var(--warm-gray);
  margin-bottom: 24px;
  line-height: 1.5;
}
.pricing-cta {
  display: block;
  text-align: center;
  padding: 12px;
  background: var(--charcoal);
  color: white;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.pricing-card.featured .pricing-cta {
  background: var(--terracotta);
}
.pricing-cta:hover { opacity: 0.88; }
.pricing-gift-row {
  text-align: center;
  font-size: 15px;
  color: var(--warm-gray);
}
.pricing-gift-row a {
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 500;
}

/* Closing */
.closing {
  padding: 100px 40px;
  background: var(--charcoal);
}
.closing-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 28px;
}
.closing-body {
  font-size: 17px;
  color: rgba(250,247,242,0.65);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Footer */
.footer {
  padding: 48px 40px;
  background: var(--charcoal);
  border-top: 1px solid rgba(250,247,242,0.1);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
}
.footer-links a {
  font-size: 14px;
  color: rgba(250,247,242,0.5);
  text-decoration: none;
}
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(250,247,242,0.4);
}

/* Chat Widget */
.chat-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--terracotta);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(184,74,43,0.35);
  z-index: 900;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-toggle:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(184,74,43,0.45);
}
.chat-toggle svg { width: 26px; height: 26px; color: white; }

.chat-widget {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 380px;
  max-height: 540px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(26,25,22,0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 900;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.chat-widget.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-header {
  background: var(--charcoal);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--terracotta);
  color: white;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-header-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
}
.chat-header-sub {
  font-size: 11px;
  color: rgba(250,247,242,0.45);
  margin-top: 1px;
}
.chat-close {
  background: none;
  border: none;
  color: rgba(250,247,242,0.5);
  cursor: pointer;
  padding: 4px;
  display: flex;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.chat-close:hover { color: var(--cream); background: rgba(250,247,242,0.1); }
.chat-close svg { width: 18px; height: 18px; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.chat-msg { display: flex; gap: 8px; align-items: flex-start; }
.chat-msg.boswell { flex-direction: row; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-msg-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.chat-msg.boswell .chat-msg-avatar { background: var(--terracotta); color: white; }
.chat-msg.user .chat-msg-avatar { background: var(--cream-dark); color: var(--charcoal); }
.chat-msg-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
}
.chat-msg.boswell .chat-msg-bubble {
  background: var(--cream);
  color: var(--charcoal);
  border-bottom-left-radius: 4px;
}
.chat-msg.user .chat-msg-bubble {
  background: var(--charcoal);
  color: var(--cream);
  border-bottom-right-radius: 4px;
}
.chat-typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 4px 0 4px 34px;
}
.chat-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm-gray);
  opacity: 0.5;
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.chat-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-input-bar {
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.chat-input {
  flex: 1;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--charcoal);
  resize: none;
  min-height: 40px;
  max-height: 100px;
  overflow-y: auto;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--terracotta-light); }
.chat-input::placeholder { color: var(--warm-gray); }
.chat-send {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--terracotta);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, opacity 0.2s;
}
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; }
.chat-send:not(:disabled):hover { background: var(--terracotta-light); }
.chat-send svg { width: 16px; height: 16px; color: white; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .conversation-split,
  .steps,
  .pricing-grid,
  .formats-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero { padding: 60px 24px 80px; }
  .conversation-section,
  .howitworks,
  .formats,
  .pricing { padding: 80px 24px; }
  .closing { padding: 80px 24px; }
  .nav { padding: 0 24px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero-headline { font-size: 32px; }
  .pricing-grid { gap: 16px; }
  .pricing-card { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}