/* ============================================
   The Comfort Post — Redesign
   Warm, modern, engaging
   ============================================ */

:root {
  --cream: #FDF8F3;
  --warm-white: #FEFCF9;
  --sand: #F5EDE3;
  --tan: #E8D9C5;
  --warm-brown: #8B6F4E;
  --deep-brown: #4A3728;
  --accent: #B8866B;
  --accent-hover: #A0714F;
  --text: #3D2E22;
  --text-light: #6B5744;
  --text-muted: #9A8674;
  --sage: #7A8B6F;
  --sage-light: #E8EDE4;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 20px rgba(74, 55, 40, 0.06);
  --shadow-lg: 0 8px 40px rgba(74, 55, 40, 0.1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Navigation ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(253, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(74, 55, 40, 0.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--deep-brown);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--deep-brown); }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184, 134, 107, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.btn-nav {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-block { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--deep-brown);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

.nav-toggle.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* ---- Hero ---- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184, 134, 107, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(122, 139, 111, 0.06) 0%, transparent 50%),
    var(--cream);
}

.hero-inner { max-width: 720px; }

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--deep-brown);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 36px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Sections ---- */

.section {
  padding: 100px 0;
}

.section-warm {
  background: var(--cream);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--deep-brown);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}

.section-title + .section-subtitle {
  margin-bottom: 56px;
}

/* center titles in centered sections */
.features-grid ~ .section-title,
.section > .container > .section-title {
  text-align: center;
}

.section > .container > .section-title,
.section > .container > .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Features Grid ---- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: var(--warm-white);
  border: 1px solid var(--tan);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--deep-brown);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
}

.feature-card em {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- Two Column Layouts ---- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col-reverse { direction: ltr; }
.two-col-reverse .col-text { order: 2; }
.two-col-reverse .col-image { order: 1; }

.col-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.col-text .section-title {
  text-align: left;
}

.col-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.col-text .lead {
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 400;
  line-height: 1.7;
}

blockquote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--deep-brown);
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin: 28px 0;
  line-height: 1.6;
}

blockquote strong {
  font-style: normal;
  font-size: 1.5rem;
}

/* ---- Poetic Text ---- */

.poetic-text p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
}

.poetic-text .lead {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-top: 12px;
}

/* ---- Steps ---- */

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  margin-top: 56px;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 280px;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--deep-brown);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-light);
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--tan);
  margin-top: 14px;
  flex-shrink: 0;
}

/* ---- CTA / Subscribe ---- */

.section-cta {
  background:
    radial-gradient(ellipse at 30% 70%, rgba(184, 134, 107, 0.07) 0%, transparent 60%),
    var(--cream);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.price-card {
  background: var(--warm-white);
  border: 1px solid var(--tan);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(184, 134, 107, 0.15);
}

.badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 18px;
  border-radius: 50px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--deep-brown);
  margin-bottom: 24px;
}

.price-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-gift {
  text-align: center;
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* ---- About ---- */

.about-intro {
  margin: 56px 0 64px;
  text-align: center;
}

.about-hero-img {
  max-width: 400px;
  margin: 0 auto 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-quote {
  max-width: 620px;
  margin: 0 auto;
  border-left: none;
  text-align: center;
  padding-left: 0;
  font-size: 1.2rem;
}

.about-people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.about-person img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.about-person h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--deep-brown);
  margin-bottom: 16px;
}

.about-person p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.7;
}

.about-sign-off {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent) !important;
  font-size: 1.05rem !important;
  margin-top: 8px;
}

/* ---- FAQ ---- */

.faq-list {
  margin-top: 48px;
}

.faq-item {
  border-bottom: 1px solid var(--tan);
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--deep-brown);
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
}

.faq-item summary:hover { color: var(--accent); }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  padding-bottom: 22px;
  line-height: 1.7;
}

.faq-item p + p {
  padding-top: 0;
  margin-top: -10px;
}

/* ---- Legal Pages ---- */

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--deep-brown);
  margin-top: 0;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep-brown);
  margin-bottom: 12px;
}

.legal-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.legal-content ul li {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 4px;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--tan);
  margin: 32px 0;
}

/* ---- Footer ---- */

.footer {
  background: var(--deep-brown);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .nav-logo {
  color: #fff;
  font-size: 1.2rem;
}

.footer-brand p {
  margin-top: 8px;
  font-size: 0.9rem;
}

.footer-contact p {
  font-size: 0.85rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.footer-contact a:hover { color: #fff; }

.footer-links {
  padding: 20px 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.85rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid .price-card:last-child {
    grid-column: 1 / -1;
    max-width: 360px;
    margin: 0 auto;
  }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col-reverse .col-text { order: 1; }
  .two-col-reverse .col-image { order: 2; }
  .about-people { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .about-person img { margin: 0 auto 24px; }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253, 248, 243, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 99;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 1.15rem;
    color: var(--deep-brown);
  }

  .nav-toggle { display: block; z-index: 101; }

  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .pricing-grid .price-card:last-child { max-width: none; }

  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 64px 0; }

  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }

  .footer-inner { flex-direction: column; gap: 24px; }

  .col-text .section-title { text-align: center; }
  .col-text { text-align: center; }
  blockquote { text-align: center; border-left: none; padding-left: 0; border-top: 2px solid var(--accent); padding-top: 20px; }
  .hero-actions { justify-content: center; }
}
