@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy: #1B2A4A;
  --navy-light: #2A3E63;
  --amber: #E8A33D;
  --cream: #FAF8F3;
  --ink: #1A1A1A;
  --teal: #4A7C74;
  --line: #E4DFD3;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
nav {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.navlinks { display: flex; gap: 32px; align-items: center; }
.navlinks a { text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.btn {
  background: var(--navy);
  color: var(--cream) !important;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none !important;
  font-size: 0.95rem;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn:hover { background: var(--navy-light); }
.btn-amber { background: var(--amber); color: var(--ink) !important; }
.btn-amber:hover { background: #DA9530; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  max-width: 11ch;
}
.hero p.lede {
  font-size: 1.15rem;
  color: #444;
  max-width: 42ch;
  margin: 20px 0 32px;
}
.hero-ctas { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.hero-note { font-size: 0.85rem; color: #766; margin-top: 10px; }

/* Phone mockup with a live-looking chat */
.phone {
  background: var(--navy);
  border-radius: 32px;
  padding: 14px;
  box-shadow: 0 30px 60px -20px rgba(27,42,74,0.35);
  max-width: 320px;
  margin: 0 auto;
}
.phone-screen {
  background: #ECE5D8;
  border-radius: 20px;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.phone-header {
  background: var(--navy);
  color: var(--cream);
  padding: 14px 16px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-header .dot { width: 8px; height: 8px; border-radius: 50%; background: #6FCF97; }
.phone-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.bubble { padding: 10px 14px; border-radius: 14px; font-size: 0.88rem; max-width: 82%; }
.bubble.in { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.out { background: var(--teal); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble .time { display: block; font-size: 0.68rem; opacity: 0.55; margin-top: 4px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-alt { background: #F2EDE1; }
.section-head { max-width: 46ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-head p { color: #555; font-size: 1.05rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step { border-top: 2px solid var(--navy); padding-top: 16px; }
.step .num { font-family: 'Fraunces', serif; font-size: 1.6rem; color: var(--amber); }
.step h3 { font-size: 1.15rem; margin-top: 6px; }
.step p { color: #555; font-size: 0.95rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px;
}
.plan.featured { border-color: var(--navy); border-width: 2px; position: relative; }
.plan .price { font-family: 'Fraunces', serif; font-size: 2.1rem; margin: 10px 0 4px; color: var(--navy); }
.plan .price span { font-size: 0.95rem; font-family: 'Inter', sans-serif; color: #766; }
.plan ul { padding-left: 18px; color: #444; font-size: 0.92rem; }
.plan li { margin-bottom: 8px; }

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 0.88rem;
  color: #766;
}
footer .foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer .legal-name { color: var(--ink); font-weight: 500; }

/* ---------- Simple pages (privacy/terms/etc) ---------- */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: 2rem; margin-bottom: 8px; }
.doc .updated { color: #766; font-size: 0.9rem; margin-bottom: 40px; }
.doc h2 { font-size: 1.25rem; margin-top: 36px; }
.doc p, .doc li { color: #333; font-size: 0.98rem; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone { order: -1; max-width: 260px; }
  .steps, .pricing-grid { grid-template-columns: 1fr; }
  .navlinks a:not(.btn) { display: none; }
  .navlinks { gap: 14px; }
  nav .wrap { flex-wrap: nowrap; }
}
