:root {
  --ink: #10181F;
  --ink-soft: #223140;
  --amber: #C9862E;
  --amber-light: #E8B368;
  --parchment: #F6F1E7;
  --text-dark: #1B2530;
  --text-muted: #5B6B78;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--parchment);
  line-height: 1.6;
}
h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em 0;
}
a { color: var(--amber); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Site header / nav */
.site-header {
  background: var(--ink);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; }
.site-logo { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.2rem; color: #FBF7EF; text-decoration: none; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: #C9CFD4; text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.site-nav a:hover, .site-nav a.active { color: var(--amber-light); }
.nav-toggle { display: none; background: none; border: none; color: #F2ECE0; font-size: 1.5rem; cursor: pointer; }

/* Hero (page-level, not just homepage) */
.hero {
  background: var(--ink);
  color: #F2ECE0;
  padding: 72px 0 96px 0;
  position: relative;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero.hero-simple .wrap { grid-template-columns: 1fr; max-width: 760px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: #FBF7EF; max-width: 16ch; }
.hero p.lead { font-size: 1.1rem; color: #C9CFD4; max-width: 46ch; margin-bottom: 1.5em; }
.hero-pour {
  width: 100%; aspect-ratio: 4/5; position: relative;
  background: radial-gradient(ellipse at 30% 20%, var(--amber-light) 0%, var(--amber) 45%, #7a5220 78%, transparent 79%);
  border-radius: 50% 45% 55% 50% / 55% 50% 50% 45%;
  opacity: 0.9;
  overflow: hidden;
}
.hero-pour img {
  width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: luminosity; opacity: 0.85;
}
.photo-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px;
}
.photo-strip img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px;
  background: var(--ink-soft); /* visible placeholder color if image is missing */
}
.cta-btn {
  display: inline-block;
  background: var(--amber);
  color: #1B1204;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
}
.cta-btn:hover { background: var(--amber-light); }

section { padding: 64px 0; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); max-width: 22ch; }
.section-kicker { color: var(--amber); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.5em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.step .num { font-family: 'Fraunces', serif; font-size: 2.5rem; color: var(--amber); line-height: 1; margin-bottom: 0.3em; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--text-muted); font-size: 0.97rem; }

.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; margin-top: 40px; }
.coverage-item { border-top: 2px solid var(--amber); padding-top: 14px; }
.coverage-item h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.coverage-item p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

.risk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.risk-card { background: #fff; border: 1px solid #e6ddc9; border-radius: 6px; padding: 24px; }
.risk-card h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.risk-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

.compare-table { width: 100%; border-collapse: collapse; margin-top: 32px; background: #fff; border-radius: 6px; overflow: hidden; }
.compare-table th, .compare-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid #e6ddc9; font-size: 0.95rem; }
.compare-table th { background: var(--ink); color: #F2ECE0; font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; text-align: center; }
.trust-stat { font-family: 'Fraunces', serif; font-size: 2.2rem; color: var(--amber); }
.trust-stat.trust-stat-text { font-size: 1.3rem; line-height: 1.25; }
.trust-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.testimonial-card {
  background: #fff; border: 1px solid #e6ddc9; border-radius: 8px; padding: 24px;
  position: relative;
}
.testimonial-card .sample-tag {
  display: inline-block; background: #F0E6D2; color: #8a6d2f;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 3px 8px; border-radius: 3px; margin-bottom: 12px;
}
.testimonial-card p.quote { font-style: italic; color: var(--text-dark); margin: 0 0 14px 0; }
.testimonial-card .attribution { font-size: 0.88rem; color: var(--text-muted); font-weight: 600; }
  background: #fff; border: 1px dashed #cfc4a8; border-radius: 8px;
  padding: 48px 32px; text-align: center; margin-top: 40px;
}
.empty-state {
  background: #fff; border: 1px dashed #cfc4a8; border-radius: 8px;
  padding: 48px 32px; text-align: center; margin-top: 40px;
}
.empty-state h3 { font-size: 1.2rem; }
.empty-state p { color: var(--text-muted); max-width: 46ch; margin: 12px auto 0 auto; }

details { border-bottom: 1px solid #ddd3c0; padding: 18px 0; }
summary { font-family: 'Fraunces', serif; font-size: 1.1rem; cursor: pointer; font-weight: 600; }
details p { color: var(--text-muted); margin: 12px 0 0 0; }

footer { padding: 40px 0; color: var(--text-muted); font-size: 0.9rem; }
footer .wrap { border-top: 1px solid #ddd3c0; padding-top: 24px; }

/* Floating chat popup -- sitewide */
#chat-bubble {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--amber); border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
#chat-bubble:hover { background: var(--amber-light); }
#chat-panel {
  position: fixed; bottom: 96px; right: 24px; z-index: 100;
  width: 360px; max-width: calc(100vw - 32px);
  background: var(--parchment); border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  display: none; flex-direction: column; overflow: hidden;
}
#chat-panel.open { display: flex; }
#chat-panel-header {
  background: var(--ink); color: #F2ECE0; padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Fraunces', serif; font-weight: 600;
}
#chat-panel-close { background: none; border: none; color: #F2ECE0; font-size: 1.2rem; cursor: pointer; }
#chat-box { height: 380px; overflow-y: auto; padding: 16px; }
.msg { margin-bottom: 12px; padding: 10px 14px; border-radius: 8px; max-width: 85%; font-size: 0.94rem; }
.msg.user { background: var(--amber); color: #1B1204; margin-left: auto; text-align: right; }
.msg.bot { background: #fff; color: var(--text-dark); border: 1px solid #e6ddc9; }
.input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #e6ddc9; background: #fff; }
#msg-input { flex: 1; padding: 10px 12px; border: 1px solid #cfc4a8; border-radius: 6px; font-size: 16px; font-family: inherit; }
#send-btn { padding: 10px 18px; background: var(--ink); color: #F2ECE0; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; }

@media (max-width: 760px) {
  .hero .wrap, .risk-grid, .trust-grid { grid-template-columns: 1fr; }
  .hero-pour { max-width: 200px; margin: 0 auto; }
  .steps, .coverage-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  #chat-panel { width: calc(100vw - 32px); right: 16px; }
  #chat-bubble { right: 16px; }
}
