@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Outfit:wght@200;300;400;500;600&display=swap");

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

:root {
  --nav-height: 68px;
  --cream:        #faf6f1;
  --white:        #ffffff;
  --ink:          #1c1118;
  --plum:         #3d1f35;
  --terra:        #c4622d;
  --terra-light:  #e8845a;
  --blush:        #f0cfc0;
  --sage:         #7a8c6e;
  --muted:        #8a7d85;
  --border:       #e8ddd6;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

.serif { font-family: 'Libre Baskerville', Georgia, serif; }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: var(--nav-height);
  background: rgba(250,246,241,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--plum);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-logo span {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--terra);
  border-radius: 50%;
  margin-left: 3px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.nav-links { display: flex; gap: 40px; list-style: none; }

.nav-links a {
  font-size: 13px; font-weight: 400;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.btn-ghost-dark {
  font-size: 13px; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.btn-ghost-dark:hover { color: var(--ink); }

.btn-terra {
  background: var(--terra); color: white;
  font-size: 13px; font-weight: 500;
  padding: 10px 24px; border-radius: 100px;
  text-decoration: none; transition: all 0.25s;
  font-family: 'Outfit', sans-serif;
}
.btn-terra:hover {
  background: var(--terra-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,98,45,0.3);
}

/* ── Hero ── */
.hero {
  padding-top: var(--nav-height);
  height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  padding: 80px 64px 80px 56px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blush); color: var(--terra);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 32px; width: fit-content;
}

.hero-headline {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 700; line-height: 1.08;
  color: var(--plum); margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic; font-weight: 400; color: var(--terra);
}

.hero-sub {
  font-size: 16px; color: var(--muted);
  max-width: 400px; line-height: 1.8;
  margin-bottom: 44px; font-weight: 300;
}

.hero-actions {
  display: flex; align-items: center; gap: 20px; margin-bottom: 56px;
}

.btn-terra-lg {
  background: var(--terra); color: white;
  font-size: 14px; font-weight: 500;
  padding: 14px 32px; border-radius: 100px;
  text-decoration: none; transition: all 0.25s;
  font-family: 'Outfit', sans-serif;
}
.btn-terra-lg:hover {
  background: var(--terra-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(196,98,45,0.3);
}

.link-arrow {
  font-size: 14px; color: var(--plum); text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  font-weight: 400; transition: gap 0.2s;
}
.link-arrow:hover { gap: 10px; }
.link-arrow.serif { font-style: italic; }

.hero-social-proof { display: flex; align-items: center; gap: 16px; }

.avatar-stack { display: flex; }

.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--cream); margin-right: -10px;
  font-size: 13px; display: flex; align-items: center;
  justify-content: center; font-weight: 500; color: white;
}

.avatar--terra { background: var(--terra); }
.avatar--sage  { background: var(--sage); }
.avatar--plum  { background: var(--plum); }
.avatar--warm  { background: #b87a5a; }

.social-text { font-size: 12px; color: var(--muted); line-height: 1.5; }
.social-text strong { color: var(--ink); font-weight: 500; }

.hero-right {
  background: var(--plum); position: relative;
  overflow: hidden; display: flex;
  align-items: center; justify-content: center;
  padding: 80px 56px;
}

.hero-right::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(196,98,45,0.3) 0%, transparent 70%);
}

.hero-right::after {
  content: ''; position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(122,140,110,0.2) 0%, transparent 70%);
}

.hero-big-word {
  position: absolute;
  font-family: 'Libre Baskerville', serif;
  font-size: 180px; font-weight: 700; font-style: italic;
  color: rgba(255,255,255,0.04); white-space: nowrap;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  pointer-events: none; letter-spacing: -4px;
}

.hero-card { position: relative; z-index: 2; width: 100%; max-width: 320px; }

.card-main {
  background: var(--cream); border-radius: 20px;
  overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}

.card-header { background: var(--terra); padding: 28px 28px 24px; }

.card-header-label {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); margin-bottom: 8px;
}

.card-header-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 26px; font-weight: 400; font-style: italic;
  color: white; line-height: 1.2;
}

.card-body { padding: 24px 28px; }

.card-photos {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 6px; margin-bottom: 20px;
}

.card-photo { height: 60px; border-radius: 8px; background: var(--blush); }
.card-photo:first-child { background: linear-gradient(135deg, #e8c4b8, #d4a882); }
.card-photo:nth-child(2) { background: linear-gradient(135deg, #c4d4b8, #a8c482); }
.card-photo:last-child  { background: linear-gradient(135deg, #b8c4d4, #82a8c4); }

.card-lines { margin-bottom: 20px; }
.card-line { height: 7px; background: var(--border); border-radius: 100px; margin-bottom: 7px; }

.card-line--full { width: 100%; }
.card-line--82   { width: 82%; }
.card-line--91   { width: 91%; }
.card-line--65   { width: 65%; }

.card-question {
  background: var(--plum); border-radius: 10px;
  padding: 14px 16px; display: flex;
  align-items: center; justify-content: space-between;
}

.card-question-text {
  font-family: 'Libre Baskerville', serif;
  font-size: 13px; font-style: italic; color: rgba(255,255,255,0.9);
}

.card-question-dot { width: 8px; height: 8px; background: var(--terra); border-radius: 50%; }

.card-progress {
  margin-top: 10px; background: rgba(61,31,53,0.6);
  border-radius: 12px; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
}

.progress-label { font-size: 11px; color: rgba(255,255,255,0.5); }

.progress-bar-track {
  flex: 1; height: 4px; background: rgba(255,255,255,0.1);
  border-radius: 100px; overflow: hidden;
}

.progress-bar-fill { width: 65%; height: 100%; background: var(--terra); border-radius: 100px; }

.progress-text { font-size: 10px; color: rgba(255,255,255,0.4); white-space: nowrap; }

.notif {
  position: absolute; bottom: -16px; left: -24px;
  background: white; border-radius: 12px;
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2); z-index: 3;
}

.notif-icon {
  width: 32px; height: 32px; background: var(--blush);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 16px;
}

.notif-text { font-size: 11px; color: var(--ink); line-height: 1.4; }
.notif-text strong { font-weight: 600; display: block; }

/* ── How it works ── */
.hiw {
  padding: 120px 56px; background: var(--white);
  border-top: 1px solid var(--border);
}

.hiw-top {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 72px;
}

.hiw-heading {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(38px, 4vw, 56px); font-weight: 700;
  color: var(--plum); line-height: 1.1; max-width: 400px;
}

.hiw-heading em { font-style: italic; font-weight: 400; color: var(--terra); }

.hiw-note {
  font-size: 14px; color: var(--muted);
  max-width: 280px; text-align: right; line-height: 1.7;
}

.hiw-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }

.hiw-step { background: var(--cream); padding: 48px 40px; transition: background 0.3s; }
.hiw-step:hover { background: var(--blush); }

.hiw-step-num { font-family: 'Libre Baskerville', serif; font-size: 13px; color: var(--terra); margin-bottom: 32px; font-style: italic; }
.hiw-step-icon { font-size: 32px; margin-bottom: 20px; display: block; }
.hiw-step-title { font-family: 'Libre Baskerville', serif; font-size: 22px; font-weight: 700; color: var(--plum); margin-bottom: 12px; line-height: 1.2; }
.hiw-step-body { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ── Marquee ── */
.marquee-strip { background: var(--plum); padding: 18px 0; overflow: hidden; white-space: nowrap; }

.marquee-inner { display: inline-flex; animation: marquee 18s linear infinite; }

.marquee-item {
  display: inline-flex; align-items: center; gap: 12px; padding: 0 32px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
}

.marquee-dot { width: 4px; height: 4px; background: var(--terra); border-radius: 50%; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Features ── */
.features { padding: 120px 56px; border-top: 1px solid var(--border); }

.features-label { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terra); margin-bottom: 16px; }

.features-heading { font-family: 'Libre Baskerville', serif; font-size: clamp(38px, 4vw, 54px); font-weight: 700; color: var(--plum); margin-bottom: 64px; line-height: 1.1; }
.features-heading em { font-style: italic; font-weight: 400; color: var(--terra); }

.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }

.feature-card { background: var(--white); padding: 44px 40px; transition: background 0.3s; position: relative; overflow: hidden; }
.feature-card:hover { background: #fdf9f6; }

.feature-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--terra), var(--blush));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.feature-card:hover::after { transform: scaleX(1); }

.feature-card--dark { background: var(--plum); }
.feature-card--dark:hover { background: var(--plum); }
.feature-card--dark::after { display: none; }
.feature-card--dark .feature-card-icon { background: rgba(255,255,255,0.1); }
.feature-card--dark .feature-card-title { color: white; }
.feature-card--dark .feature-card-body { color: rgba(255,255,255,0.5); }

.feature-card-icon { width: 48px; height: 48px; background: var(--blush); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; }
.feature-card-title { font-family: 'Libre Baskerville', serif; font-size: 20px; font-weight: 700; color: var(--plum); margin-bottom: 10px; }
.feature-card-body { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }

.tier-badge { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra); background: var(--blush); padding: 3px 10px; border-radius: 100px; }

/* ── Pricing ── */
.pricing { padding: 120px 56px; background: var(--plum); position: relative; overflow: hidden; }

.pricing::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196,98,45,0.2) 0%, transparent 70%);
}

.pricing-label { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terra-light); margin-bottom: 16px; }
.pricing-heading { font-family: 'Libre Baskerville', serif; font-size: clamp(38px, 4vw, 54px); font-weight: 700; color: white; margin-bottom: 12px; line-height: 1.1; }
.pricing-heading em { font-style: italic; font-weight: 400; color: var(--terra-light); }
.pricing-sub { font-size: 15px; color: rgba(255,255,255,0.4); margin-bottom: 64px; }

.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; z-index: 1; }

.pc { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 40px 36px; position: relative; transition: all 0.3s; }
.pc:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }

.pc-popular { background: var(--terra); border-color: var(--terra); }
.pc-popular:hover { background: var(--terra-light); border-color: var(--terra-light); }

.pc-popular-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: white; color: var(--terra); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 14px; border-radius: 100px; white-space: nowrap; }

.pc-plan { font-family: 'Libre Baskerville', serif; font-size: 24px; font-weight: 700; color: white; margin-bottom: 6px; }
.pc-desc { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 28px; line-height: 1.6; }
.pc-popular .pc-desc { color: rgba(255,255,255,0.7); }
.pc-price { font-family: 'Libre Baskerville', serif; font-size: 48px; font-weight: 700; color: white; line-height: 1; margin-bottom: 4px; }
.pc-period { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 32px; }
.pc-popular .pc-period { color: rgba(255,255,255,0.6); }

.pc-btn { display: block; text-align: center; padding: 12px; border-radius: 100px; font-size: 13px; font-weight: 500; text-decoration: none; margin-bottom: 28px; transition: all 0.25s; font-family: 'Outfit', sans-serif; }
.pc-btn-white { background: white; color: var(--terra); }
.pc-btn-white:hover { background: var(--cream); }
.pc-btn-outline { border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); }
.pc-btn-outline:hover { border-color: rgba(255,255,255,0.4); color: white; }

.pc-features { list-style: none; }
.pc-features li { font-size: 13px; color: rgba(255,255,255,0.55); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 10px; }
.pc-popular .pc-features li { color: rgba(255,255,255,0.85); border-bottom-color: rgba(255,255,255,0.15); }
.pc-features li:last-child { border-bottom: none; }
.pc-check { color: rgba(255,255,255,0.9); }
.pc-check--accent { color: var(--terra-light); }
.pc-cross { color: rgba(255,255,255,0.2); }
.pc-features li.off { color: rgba(255,255,255,0.2); }
.pc-item--highlight { color: rgba(255,255,255,0.9); }

/* ── CTA ── */
.cta { padding: 140px 56px; background: var(--cream); border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.cta-heading { font-family: 'Libre Baskerville', serif; font-size: clamp(44px, 5vw, 70px); font-weight: 700; color: var(--plum); line-height: 1.1; margin-bottom: 28px; }
.cta-heading em { font-style: italic; font-weight: 400; color: var(--terra); }
.cta-body { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 40px; }

.cta-left .btn-terra-lg { width: fit-content; }

.cta-right { background: var(--plum); border-radius: 24px; padding: 48px; position: relative; overflow: hidden; }
.cta-right::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(196,98,45,0.4) 0%, transparent 70%); }

.cta-quote { font-family: 'Libre Baskerville', serif; font-size: 22px; font-style: italic; color: white; line-height: 1.5; margin-bottom: 28px; position: relative; }
.cta-quote::before { content: '\201C'; font-size: 60px; color: var(--terra); line-height: 1; display: block; margin-bottom: -10px; font-family: 'Libre Baskerville', serif; }

.cta-attribution { font-size: 13px; color: rgba(255,255,255,0.45); }
.cta-attribution strong { color: rgba(255,255,255,0.8); font-weight: 500; display: block; margin-bottom: 2px; }

/* ── Footer ── */
footer { background: var(--ink); padding: 40px 56px; display: flex; align-items: center; justify-content: space-between; }

.footer-logo { font-family: 'Libre Baskerville', serif; font-size: 18px; color: rgba(255,255,255,0.3); }
.footer-logo span { display: inline-block; width: 6px; height: 6px; background: var(--terra); border-radius: 50%; margin-left: 2px; vertical-align: middle; position: relative; top: -2px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }

.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.6); }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }

  .hero-left  { padding: calc(var(--nav-height) + 20px) 40px 40px 32px; }
  .hero-right { padding: 40px 32px; }
  .hero-card  { transform: scale(0.82); transform-origin: center center; }

  .hiw  { padding: 80px 32px; }
  .features { padding: 80px 32px; }
  .pricing  { padding: 80px 32px; }
  .cta { padding: 80px 32px; gap: 48px; }

  .pricing-cards { grid-template-columns: 1fr; max-width: 420px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  /* Nav */
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-actions { gap: 10px; }
  .btn-ghost-dark { display: none; }
  .btn-terra { padding: 8px 18px; font-size: 12px; }

  /* Hero — fills exactly the viewport, nav included */
  .hero { grid-template-columns: 1fr; height: 100svh; }
  .hero-left {
    height: 100%;
    padding: calc(var(--nav-height) + 32px) 24px 48px;
    align-items: center;
    text-align: center;
  }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-social-proof { justify-content: center; }
  .hero-right { display: none; }

  /* How it works */
  .hiw { padding: 64px 24px; }
  .hiw-top { flex-direction: column; gap: 16px; align-items: flex-start; }
  .hiw-note { text-align: left; max-width: 100%; }
  .hiw-steps { grid-template-columns: 1fr; }
  .hiw-step { padding: 36px 28px; }

  /* Marquee */
  .marquee-item { padding: 0 20px; font-size: 11px; }

  /* Features */
  .features { padding: 64px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 32px 28px; }

  /* Pricing */
  .pricing { padding: 64px 24px; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 100%; }
  .pc { padding: 32px 28px; }

  /* CTA */
  .cta { grid-template-columns: 1fr; padding: 64px 24px; gap: 40px; }
  .cta-heading { font-size: clamp(36px, 10vw, 56px); }
  .cta-right { padding: 36px 28px; border-radius: 16px; }
  .cta-quote { font-size: 18px; }

  /* Footer */
  footer { flex-direction: column; gap: 16px; text-align: center; padding: 32px 24px; }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
  .hero-headline { font-size: clamp(36px, 11vw, 52px); }
  .btn-terra-lg { padding: 12px 24px; font-size: 13px; }
  .hiw-heading  { font-size: clamp(30px, 8vw, 40px); }
  .features-heading { font-size: clamp(30px, 8vw, 40px); }
  .pricing-heading  { font-size: clamp(30px, 8vw, 40px); }
  .pc-price { font-size: 40px; }
}
