/* === TOKENS === */
:root {
  --green-dark:  #40573A;
  --green-deep:  #2E4029;
  --cream:       #F3F0E8;
  --cream-deep:  #EBE7DB;
  --sage:        #C4DDB4;
  --amber:       #D4A843;
  --rust:        #B4543C;
  --pink-light:  #F7E3DB;
  --green-light: #DCEBD1;
  --text:        #21261E;
  --text-muted:  #5F675A;
  --white:       #FFFFFF;
  --radius:      18px;
  --hairline:    rgba(64, 87, 58, 0.14);
  --shadow-card: 0 1px 2px rgba(33, 38, 30, 0.04), 0 8px 24px rgba(33, 38, 30, 0.06);
  --shadow-lift: 0 2px 4px rgba(33, 38, 30, 0.05), 0 16px 48px rgba(33, 38, 30, 0.10);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* === TYPOGRAPHY === */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green-deep);
}

h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}

p { color: var(--text-muted); font-size: 1rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 18px;
}

/* === LAYOUT === */
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; }
.section-white { background: var(--white); }
.section-title { margin-bottom: 18px; }
.section-lead {
  max-width: 620px;
  margin-bottom: 56px;
  font-size: 1.08rem;
}

/* === FADE IN === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 240, 232, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand { display: flex; align-items: center; gap: 11px; }
.nav-icon { border-radius: 9px; width: 30px; height: 30px; }
.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green-deep);
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:not(.btn):hover { color: var(--green-deep); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
a.btn-green, .btn-green {
  background: var(--green-dark);
  color: var(--white) !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(46, 64, 41, 0.25);
}
.btn-green:hover { background: var(--green-deep); transform: translateY(-1px); }

/* === STORE BADGES === */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}
.store-badges-center { justify-content: center; }

.store-badges a { display: block; transition: transform 0.15s, opacity 0.2s; }
.store-badges a:hover { transform: translateY(-2px); opacity: 0.92; }
.store-badges img { height: 52px; width: auto; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}
.trust-strip .dot-sep { opacity: 0.4; }

/* === HERO === */
.hero {
  padding: 90px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(196, 221, 180, 0.4), transparent 65%),
    radial-gradient(700px 500px at 0% 100%, rgba(212, 168, 67, 0.10), transparent 60%),
    var(--cream);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  text-align: center;
}

.hero-text { max-width: 560px; }

.hero-subhead {
  font-size: 1.15rem;
  margin-top: 26px;
  line-height: 1.7;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image { flex-shrink: 0; position: relative; }
.hero-image::before {
  content: '';
  position: absolute;
  inset: 12% -14% -8% -14%;
  background: radial-gradient(closest-side, rgba(64, 87, 58, 0.22), transparent);
  filter: blur(28px);
  z-index: 0;
}
.hero-image img {
  position: relative;
  z-index: 1;
  width: 300px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 2px 4px rgba(33, 38, 30, 0.08),
    0 24px 64px rgba(46, 64, 41, 0.28);
  transform: rotate(1.5deg);
}

/* === HOW IT WORKS === */
.steps-grid { display: grid; gap: 22px; margin-bottom: 64px; }

.step {
  padding: 38px 32px 34px;
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  transition: box-shadow 0.25s, transform 0.25s;
}
.step:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }

.step-number {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--white);
  margin-bottom: 22px;
}

.step h3 { font-size: 1.15rem; color: var(--green-deep); margin-bottom: 10px; }
.step p { font-size: 0.95rem; }

/* === PHONE FRAMES === */
.screenshot-row,
.screenshots-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.screenshot-row::-webkit-scrollbar,
.screenshots-scroll::-webkit-scrollbar { display: none; }
.screenshot-row { justify-content: center; }

.phone-frame {
  flex: 0 0 190px;
  border-radius: 28px;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.25s, transform 0.25s;
}
.phone-frame:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; }

/* === ACTIVE EFFECTS === */
.effects-grid { display: grid; gap: 18px; margin-bottom: 24px; }

.effect-card {
  padding: 28px 26px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.effect-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.effect-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.effect-card.setback::before { background: linear-gradient(90deg, var(--rust), #D98868); }
.effect-card.perk::before { background: linear-gradient(90deg, var(--green-dark), #7FA86B); }

.card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rust);
  margin-bottom: 14px;
  display: inline-block;
}
.perk-tag { color: var(--green-dark); }

.effect-card h3 { font-size: 1.1rem; }
.effect-card p { font-size: 0.93rem; }

.clears-in {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--rust);
  background: rgba(180, 84, 60, 0.09);
  padding: 5px 12px;
  border-radius: 100px;
}
.perk-active { color: var(--green-dark); background: rgba(64, 87, 58, 0.09); }

.effects-teaser {
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.effects-teaser .teaser-count {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--green-deep);
}

.effects-teaser p { margin-bottom: 18px; font-size: 0.98rem; max-width: 520px; }

/* === MILESTONES === */
.milestone-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.milestone-scroll::-webkit-scrollbar { display: none; }

.milestone-card {
  flex: 0 0 160px;
  background: var(--green-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px 16px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-card);
}

.milestone-locked {
  background: transparent;
  border: 1px dashed rgba(64, 87, 58, 0.35);
  box-shadow: none;
  justify-content: center;
}
.milestone-locked p { color: var(--text-muted); }

.m-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.m-icon svg { width: 18px; height: 18px; }

.m-lock-icon svg {
  width: 24px;
  height: 24px;
  color: var(--green-dark);
  opacity: 0.4;
}

.m-day {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.m-label {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
}
.milestone-card p { font-size: 0.78rem; color: rgba(255, 255, 255, 0.7); line-height: 1.45; }

.milestone-locked .m-day { color: var(--text-muted); opacity: 1; }
.milestone-locked .m-label { color: var(--text); }

.milestone-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* === WHO IT'S FOR === */
.who-grid { display: grid; gap: 20px; }

.who-card {
  padding: 36px 32px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  transition: box-shadow 0.25s, transform 0.25s;
}
.who-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }

.who-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.who-icon svg { width: 24px; height: 24px; color: var(--green-deep); }

.who-card h3 { font-size: 1.12rem; color: var(--green-deep); margin-bottom: 8px; }
.who-card p { font-size: 0.95rem; }

/* === LEARN MORE === */
.learn-grid { display: grid; gap: 18px; }

.learn-card {
  padding: 30px 28px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s, transform 0.25s;
  display: block;
}
.learn-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }

.learn-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 8px;
}
.learn-card p { font-size: 0.93rem; margin-bottom: 14px; }

.learn-more-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-dark);
}

/* === FAQ === */
.faq-list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-item summary {
  padding: 22px 26px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--green-dark);
  flex-shrink: 0;
  transition: transform 0.2s;
}

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

.faq-answer {
  padding: 0 26px 22px;
  line-height: 1.7;
  font-size: 0.97rem;
}

/* === DOWNLOAD CTA === */
.download-section {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(196, 221, 180, 0.12), transparent 70%),
    var(--green-deep);
  padding: 110px 0;
}
.download-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.download-section h2 { color: var(--white); margin-bottom: 14px; }
.download-section p { color: rgba(255, 255, 255, 0.72); font-size: 1.05rem; max-width: 480px; }

.download-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* === FOOTER === */
.footer {
  background: #191D16;
  padding: 64px 0 40px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.footer-brand img { border-radius: 7px; }

.footer-tagline { font-size: 0.88rem; color: rgba(255, 255, 255, 0.45); max-width: 260px; }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-copy { color: rgba(255, 255, 255, 0.35); font-size: 0.82rem; }
.footer-disclaimer { color: rgba(255, 255, 255, 0.3); font-size: 0.78rem; max-width: 640px; line-height: 1.6; }

/* === ARTICLE PAGES === */
.article-hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(196, 221, 180, 0.35), transparent 65%),
    var(--cream);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--green-dark); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

.article-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  max-width: 760px;
}

.article-meta { margin-top: 18px; font-size: 0.9rem; color: var(--text-muted); }

.article-body {
  max-width: 720px;
  padding: 64px 0 90px;
}

.article-body h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 52px 0 16px;
}
.article-body h2:first-child { margin-top: 0; }

.article-body h3 {
  font-size: 1.15rem;
  color: var(--green-deep);
  margin: 32px 0 10px;
}

.article-body p { margin-bottom: 18px; font-size: 1.02rem; line-height: 1.75; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; color: var(--text-muted); }
.article-body li { margin-bottom: 10px; font-size: 1.02rem; line-height: 1.7; }
.article-body strong { color: var(--text); }
.article-body a { color: var(--green-dark); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(64, 87, 58, 0.3); }
.article-body a:hover { text-decoration-color: var(--green-dark); }

.timeline-block {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--green-dark);
  border-radius: 12px;
  padding: 24px 26px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}
.timeline-block h3 { margin: 0 0 8px; }
.timeline-block p { margin-bottom: 0; font-size: 0.98rem; }

.article-callout {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin: 40px 0;
}
.article-callout p { margin-bottom: 14px; color: var(--green-deep); }
.article-callout p:last-child { margin-bottom: 0; }

.safety-note {
  background: var(--pink-light);
  border: 1px solid rgba(180, 84, 60, 0.2);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 32px 0;
}
.safety-note p { margin-bottom: 0; font-size: 0.95rem; color: #7A3B2A; }

.article-disclaimer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (min-width: 640px) {
  .effects-grid { grid-template-columns: repeat(3, 1fr); }
  .who-grid { grid-template-columns: repeat(3, 1fr); }
  .learn-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

@media (min-width: 900px) {
  .hero-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 72px;
    text-align: left;
  }
  .hero-subhead { margin-left: 0; margin-right: 0; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }

  .milestone-scroll {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow-x: visible;
  }
  .milestone-card { flex: none; }
}

@media (max-width: 899px) {
  .hero-text .store-badges, .hero-text .trust-strip { justify-content: center; }
}

@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
  .section { padding: 80px 0; }
}

/* === CALCULATOR === */
.calc-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  margin: 8px 0 40px;
}

.calc-field { margin-bottom: 22px; }

.calc-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.calc-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.calc-chip {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-deep);
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.calc-chip[aria-pressed="true"] {
  background: var(--green-light);
  border-color: var(--green-dark);
}

.calc-inputs { display: grid; gap: 18px; grid-template-columns: 1fr; }

.calc-inputs input, .calc-inputs select {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
}

.calc-inputs input:focus, .calc-inputs select:focus {
  outline: 2px solid var(--green-dark);
  outline-offset: 1px;
}

.calc-results {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

.calc-result {
  background: var(--cream);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

.calc-result-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.1;
}

.calc-result-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.calc-result-highlight { background: var(--green-light); }

.calc-equivalents {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.calc-equivalents li { margin: 6px 0 6px 18px; }

@media (min-width: 640px) {
  .calc-inputs { grid-template-columns: 1fr 1fr; }
  .calc-results { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .learn-grid { grid-template-columns: repeat(3, 1fr); }
}
