/* ==========================================================
   Zen Habits Product Page — Design System
   Clean, calm, spacious. Mobile-first.
   ========================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: #3a3a3a;
  background-color: #fafaf8;
}

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

a {
  color: inherit;
}

/* --- Layout --- */
.page-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* --- Typography --- */
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.3;
  color: #2a2a2a;
}

h1 {
  font-size: 2.2rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

/* --- Sections --- */
section {
  margin-bottom: 3.5rem;
}

/* --- Hero --- */
.hero {
  text-align: center;
  padding: 3rem 0 2rem;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero .subheadline {
  font-size: 1.15rem;
  color: #666;
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* --- CTA Button --- */
.cta-button {
  display: inline-block;
  background-color: #5a8a6a;
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 2.4rem;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.cta-button:hover {
  background-color: #4a7a5a;
  transform: translateY(-1px);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-section {
  text-align: center;
  padding: 2rem 0;
}

.cta-section .price {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2a2a2a;
  margin-bottom: 1rem;
}

.cta-section .guarantee {
  font-size: 0.85rem;
  color: #888;
  margin-top: 0.75rem;
}

/* --- Benefits / Features --- */
.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  padding: 0.75rem 0;
  padding-left: 1.75rem;
  position: relative;
  border-bottom: 1px solid #eee;
}

.benefits-list li:last-child {
  border-bottom: none;
}

.benefits-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #5a8a6a;
  font-weight: 700;
}

/* --- Testimonial --- */
.testimonial {
  background-color: #f4f3f0;
  border-radius: 8px;
  padding: 2rem;
}

.testimonial blockquote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  color: #444;
}

.testimonial .attribution {
  font-size: 0.9rem;
  color: #777;
  font-style: normal;
}

/* --- Divider --- */
.divider {
  border: none;
  border-top: 1px solid #e8e7e4;
  margin: 3rem 0;
}

/* --- Footer --- */
.site-footer {
  text-align: center;
  padding: 2rem 0 1rem;
  font-size: 0.85rem;
  color: #999;
  border-top: 1px solid #e8e7e4;
}

.site-footer a {
  color: #777;
  text-decoration: underline;
}

.site-footer a:hover {
  color: #555;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }

  .page-wrapper {
    padding: 1.5rem 1.25rem;
  }

  .hero {
    padding: 2rem 0 1.5rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  .cta-button {
    display: block;
    text-align: center;
    padding: 1rem 1.5rem;
  }

  section {
    margin-bottom: 2.5rem;
  }
}
