:root {
  --cream: #F2EDE0;
  --cream-light: #F8F4E9;
  --cream-warm: #ebe2cc;
  --forest: #1a3a1f;
  --forest-soft: #2d5a35;
  --forest-deep: #25502c;
  --orange: #c66a3a;
  --orange-warm: #d97a45;
  --ink: #1a1a1a;
  --ink-soft: #2a2a28;
  --muted: #5a5a55;
  --hint: #8a8a82;
  --rule: rgba(26, 58, 31, 0.12);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html, body {
  background: #f7f7f7;
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ──────────────  BACKGROUND SHAPES  ────────────── */
.bg-shapes {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  display: block;
}

.blob-1 {
  width: 720px;
  height: 720px;
  top: -180px;
  right: -240px;
  animation: drift 28s ease-in-out infinite;
}

.blob-2 {
  width: 540px;
  height: 540px;
  bottom: -160px;
  left: -180px;
  animation: drift 34s ease-in-out infinite reverse;
}

.blob-3 {
  width: 420px;
  height: 420px;
  top: 53%;
  left: 32%;
  animation: drift 40s ease-in-out infinite;
  animation-delay: -10s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(20px, -30px) rotate(8deg); }
  66% { transform: translate(-15px, 25px) rotate(-5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

.remind-link {
  color: var(--hint);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(138, 138, 130, 0.4);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  font-style: italic;
}
.remind-link:hover {
  color: var(--forest);
  text-decoration-color: var(--forest);
}

/* Make sure all content sits above background shapes */
.nav, .hero, .personality {
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }

/* ──────────────  NAV  ────────────── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 56px;
  border-bottom: 0.5px solid var(--rule);
  position: relative;
  z-index: 10;
 background-color: #f5f2e9;
}

.logo {
  display: inline-block;
  transition: transform 0.2s ease;
}
.logo:hover { transform: translateY(-1px); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--orange); }

.nav-cta {
  font-family: var(--serif);
  background: var(--orange);
  border: 1px solid var(--orange);
  padding: 9px 22px;
  border-radius: 28px;
  font-size: 14px;
  color: #fff;
  transition: all 0.2s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.nav-cta:hover {
  background: var(--orange-warm);
  border-color: var(--orange-warm);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(198, 106, 58, 0.25);
}

/* ──────────────  HERO  ────────────── */
.hero {
  position: relative;
  width: 100%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  padding: 80px 56px 96px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.accent-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  max-width: 560px;
}
.accent-bar {
  display: flex;
  height: 3px;
  flex-shrink: 0;
  width: 200px;
}
.accent-bar-orange { width: 32%; background: var(--orange); }
.accent-bar-forest { width: 68%; background: var(--forest); }

.accent-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--orange);
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.headline {
  font-family: var(--serif);
  font-size: clamp(54px, 7vw, 84px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: var(--ink);
}
.headline em {
  font-style: italic;
  font-weight: 400;
}
.headline-dot { color: var(--orange); }

.lede {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.44;
  color: var(--ink);
  max-width: 470px;
  margin-bottom: 16px;
  font-weight: 400;
}

.sub-lede {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 36px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--forest);
  color: var(--cream);
  padding: 16px 30px;
  border-radius: 36px;
  font-family: var(--serif);
  font-size: 17px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.cta-primary:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 58, 31, 0.18);
}
.cta-primary svg { display: block; }

.cta-secondary {
  font-family: var(--serif);
  color: var(--forest);
  font-size: 15px;
  border-bottom: 1px solid rgba(26, 58, 31, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.cta-secondary:hover { border-color: var(--forest); }

.cta-meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--hint);
}

/* ──────────────  PHONE STAGE  ────────────── */
.phone-stage {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.demo-label {
  flex-shrink: 0;
  position: relative;
  width: 180px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-6deg);
  margin-right: -10px;
  z-index: 2;
}

.demo-label-blob {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  filter: drop-shadow(0 6px 16px rgba(198, 106, 58, 0.18));
}

.demo-label-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.demo-label-text {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: #F8F4E9;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.demo-label-arrow {
  width: 60px;
  height: 24px;
  margin-top: 2px;
  transform: rotate(8deg);
}

/* ──────────────  PHONE  ────────────── */
.phone {
  background: #1a1a1a;
  border-radius: 42px;
  padding: 15px;
  max-width: 360px;
  width: 100%;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.05),
    0 20px 40px -20px rgba(26, 58, 31, 0.25),
    0 30px 60px -30px rgba(0,0,0,0.2);
  position: relative;
}

.phone::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background: #2a2a2a;
  border-radius: 3px;
  z-index: 2;
}

.phone-screen {
  background: var(--cream-light);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 620px;
}

.phone-header {
  padding: 38px 18px 14px;
  border-bottom: 0.5px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.header-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

.header-status {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--forest-soft);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #3d8a4a;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.phone-body {
  padding: 18px 16px 16px;
  flex: 1 1 auto;
  overflow-y: auto;
  scroll-behavior: smooth;
  min-height: 0;
  background-color:white;
}
.phone-body::-webkit-scrollbar { width: 0; }

.msg {
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.42;
  padding: 11px 14px;
  border-radius: 18px;
  margin-bottom: 4px;
  max-width: 88%;
  animation: slideIn 0.35s ease backwards;
  word-wrap: break-word;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg-them {
  background: var(--cream-warm);
  color: var(--ink);
  border-top-left-radius: 6px;
}

.msg-me {
  background: var(--forest);
  color: var(--cream-light);
  border-top-right-radius: 6px;
  margin-left: auto;
  max-width: 72%;
}

.timestamp {
  font-family: var(--serif);
  font-size: 11px;
  color: var(--hint);
  margin-bottom: 16px;
  margin-left: 4px;
  font-style: italic;
}
.timestamp.right { text-align: right; margin-right: 4px; margin-left: 0; }

/* Typing indicator */
.typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--cream-warm);
  padding: 14px 16px;
  border-radius: 18px;
  border-top-left-radius: 6px;
  margin-bottom: 4px;
  animation: slideIn 0.35s ease backwards;
}
.typing-dot {
  width: 7px;
  height: 7px;
  background: var(--forest-soft);
  border-radius: 50%;
  opacity: 0.4;
  animation: typingBounce 1.3s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.phone-input {
  padding: 10px 12px 14px;
  border-top: 0.5px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.phone-input-field {
  flex: 1;
  background: var(--cream-warm);
  border: none;
  border-radius: 20px;
  padding: 10px 16px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: background 0.2s ease;
}
.phone-input-field::placeholder {
  color: var(--hint);
  font-style: italic;
}
.phone-input-field:focus {
  background: #e0d5b8;
}

.send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--forest);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.send-btn:hover { transform: scale(1.08); }
.send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.send-btn:disabled:hover { transform: none; }

/* ──────────────  PERSONALITY STRIP  ────────────── */
.personality {
  padding: 24px 56px 96px;
  max-width: 1280px;
  margin: 0 auto;
}

.personality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  max-width: 980px;
}

.pq-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--orange);
  margin-bottom: 10px;
  line-height: 1.2;
}
.pq-body {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ──────────────  SHARED SECTION STYLES  ────────────── */
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 56px;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.eyebrow-rule {
  width: 28px;
  height: 1.5px;
  background: var(--orange);
  flex-shrink: 0;
}
.section-eyebrow span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--orange);
  letter-spacing: 0.01em;
}

.section-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 56px;
}
.section-headline em {
  font-style: italic;
}

/* ──────────────  HOW IT WORKS  ────────────── */
.how {
  background: var(--cream-light);
  position: relative;
  z-index: 1;
}

.steps {
  display: flex;
  flex-direction: column;
  max-width: 620px;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.step-number {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--orange);
  padding-top: 6px;
  min-width: 28px;
  flex-shrink: 0;
}

.step-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-body {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 480px;
}

.step-connector {
  margin: 6px 0 6px 8px;
  height: 56px;
  width: 40px;
  opacity: 0.5;
}
.step-connector svg {
  height: 100%;
  width: 100%;
}

/* ──────────────  FEATURES  ────────────── */
.features {
  background: var(--cream);
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--cream-light);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s ease;
}
.feature-card:hover {
  background: #f5f0e3;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--cream-warm);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  margin-bottom: 4px;
  flex-shrink: 0;
}

.feature-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.feature-body {
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}

.feature-example {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--forest-soft);
  border-left: 2px solid var(--orange);
  padding-left: 12px;
  line-height: 1.5;
  margin-top: 4px;
}

/* ──────────────  PRICING  ────────────── */
.pricing {
  background: var(--forest);
  position: relative;
  z-index: 1;
}

.pricing .section-eyebrow span { color: rgba(248, 244, 233, 0.5); }
.pricing .eyebrow-rule { background: rgba(248, 244, 233, 0.3); }
.pricing .section-headline { color: var(--cream-light); margin-bottom: 0; }

.pricing-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pricing-sub {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(248, 244, 233, 0.65);
  margin-top: 24px;
  max-width: 420px;
}

.pricing-card {
  background: var(--cream-light);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-card-top {
  margin-bottom: 32px;
}

.pricing-plan {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.pricing-dollar {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  margin-top: 8px;
}

.pricing-price {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-period {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--muted);
}

.pricing-trial-badge {
  display: inline-block;
  background: rgba(198, 106, 58, 0.12);
  color: var(--orange);
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  padding: 5px 12px;
  border-radius: 20px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  border-top: 0.5px solid var(--rule);
  padding-top: 28px;
}

.pricing-features li {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}

.pricing-features li svg {
  color: var(--forest);
  flex-shrink: 0;
}

.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--forest);
  color: var(--cream);
  padding: 15px 28px;
  border-radius: 32px;
  font-family: var(--serif);
  font-size: 16px;
  text-align: center;
  transition: all 0.2s ease;
  margin-bottom: 14px;
}
.pricing-cta:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 58, 31, 0.2);
}

.pricing-footnote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--hint);
  text-align: center;
}

/* ──────────────  FOOTER  ────────────── */
.footer {
  background: var(--ink);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo .logo-mark {
  color: var(--cream-light);
}
.footer-logo .logo-tag {
  color: rgba(248, 244, 233, 0.4);
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--serif);
  font-size: 14px;
  color: rgba(248, 244, 233, 0.55);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--cream-light); }

.footer-legal {
  font-family: var(--serif);
  font-size: 13px;
  color: rgba(248, 244, 233, 0.3);
  font-style: italic;
}

/* ──────────────  RESPONSIVE (additions)  ────────────── */
@media (max-width: 960px) {
  .nav { padding: 18px 28px; }
  .nav-links { gap: 20px; }
  .nav-link:not(.nav-cta) { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 48px 28px 64px;
  }
  .headline { font-size: clamp(44px, 11vw, 64px); }

  .personality {
    padding: 16px 28px 64px;
  }
  .personality-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .blob-1 { width: 480px; height: 480px; top: -120px; right: -160px; }
  .blob-2 { width: 360px; height: 360px; bottom: -100px; left: -120px; }
  .blob-3 { display: none; }

  .phone-stage {
    flex-direction: column;
    gap: 8px;
  }
  .demo-label {
    margin-right: 0;
    transform: rotate(-4deg) translateX(80px);
    margin-bottom: -20px;
  }
}

@media (max-width: 520px) {
  .personality-grid {
    grid-template-columns: 1fr;
  }
  .cta-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 960px) {
  .section-inner { padding: 72px 28px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-inner { grid-template-columns: 1fr; gap: 48px; }
  .pricing-sub { max-width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
}

@media (max-width: 520px) {
  .section-inner { padding: 56px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 16px; }
}
