/*
 * Approach Page Styles — Rooted Financial Wellness
 *
 * Sections: Hero (with philosophy), YNAB Tool,
 * Fit section (dark gradient).
 */

/* ============================================
   HERO INVITE LINK
   ============================================ */

.hero-invite {
  margin-top: var(--space-lg);
  text-align: center;
}

.hero-invite-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-sage);
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: var(--space-xs) 0;
  border-bottom: 1.5px solid rgba(135, 168, 120, 0.35);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.hero-invite-link:hover {
  color: #6B9F7F;
  border-bottom-color: #6B9F7F;
}

.hero-invite-link span {
  font-size: 1.15em;
  transition: transform 0.25s ease;
}

.hero-invite-link:hover span {
  transform: translateX(3px);
}

/* ============================================
   HERO PHILOSOPHY (prose block in hero)
   ============================================ */

.hero-philosophy {
  max-width: 640px;
  margin: var(--space-lg) auto 0;
  text-align: center;
}

.hero-philosophy p {
  font-size: var(--text-lg);
  color: var(--color-charcoal);
  opacity: 0.85;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
  text-wrap: pretty;
}

.hero-philosophy p:last-child {
  margin-bottom: 0;
}

/* ============================================
   APPROACH CONTENT BLOCKS (shared)
   ============================================ */

.approach-section {
  background-color: var(--color-white);
  padding: var(--space-xl) 0;
}

@media (min-width: 768px) {
  .approach-section {
    padding: var(--space-2xl) 0;
  }
}

.approach-section-alt {
  background-color: var(--color-cream);
}

/* Wave divider variant — adds bottom padding for overlap */
.approach-section-wave {
  position: relative;
  padding-bottom: calc(var(--space-xl) + 60px);
}

@media (min-width: 768px) {
  .approach-section-wave {
    padding-bottom: calc(var(--space-2xl) + 100px);
  }
}

.approach-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.approach-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
}

.approach-block p {
  font-size: var(--text-lg);
  color: var(--color-charcoal);
  opacity: 0.85;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
  text-wrap: pretty;
}

.approach-block p:last-child {
  margin-bottom: 0;
}

/* ============================================
   YNAB CALLOUT (within YNAB section)
   ============================================ */

.ynab-callout {
  max-width: 700px;
  margin: var(--space-xl) auto 0;
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  border-left: 4px solid var(--color-gold);
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.ynab-callout-heading {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
}

.ynab-callout-body {
  font-size: var(--text-base);
  color: var(--color-charcoal);
  opacity: 0.85;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

.ynab-callout-body:last-child {
  margin-bottom: 0;
}

/* Small footnote for tier-specific notes (e.g. Branching exclusion) */
.ynab-tier-note {
  font-size: var(--text-xs);
  color: var(--color-charcoal);
  opacity: 0.5;
  font-style: italic;
  line-height: var(--leading-relaxed);
  margin-top: var(--space-sm);
  margin-bottom: 0;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(58, 58, 58, 0.1);
}

/* ============================================
   HOW IT WORKS — 3-step process
   ============================================ */

.approach-steps-section {
  background-color: var(--color-sage);
  padding: var(--space-lg) 0 var(--space-md);
  text-align: center;
}

.approach-steps-header {
  margin-bottom: var(--space-md);
}

.approach-steps-heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .approach-steps-heading {
    font-size: var(--text-2xl);
  }
}

.approach-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 920px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .approach-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

.approach-step {
  padding: 0 var(--space-sm);
}

.approach-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-base);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xs);
}

.approach-step-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.approach-step-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
}

/* ============================================
   FIT SECTION — unified "Is This Right For You?"
   Dark gradient background
   ============================================ */

.approach-fit-section {
  background: linear-gradient(160deg, var(--color-sage) 0%, #6B9F7F 50%, var(--color-purple) 100%);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .approach-fit-section {
    padding: var(--space-2xl) 0;
  }
}

/* --- Section header --- */

.fit-section-header {
  margin-bottom: var(--space-xl);
}

/* --- Two-column grid --- */

.fit-duo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 860px;
  margin: 0 auto;
  align-items: stretch;
}

@media (min-width: 768px) {
  .fit-duo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

/* --- Cards --- */

.fit-duo-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  text-align: left;
}

.fit-duo-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

/* --- Lists --- */

.fit-duo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fit-duo-list li {
  position: relative;
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--leading-relaxed);
}

.fit-duo-list li:last-child {
  margin-bottom: 0;
}

/* "How I Work" — sage dot bullets */
.fit-duo-list-work li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
}

/* "This Is For You If" — green checkmarks */
.fit-duo-list-you li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
}

/* --- Disclaimer --- */

.fit-disclaimer {
  max-width: 600px;
  margin: var(--space-lg) auto 0;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  line-height: var(--leading-relaxed);
  text-wrap: balance;
}

/* --- CTA --- */

.fit-cta {
  text-align: center;
  margin-top: var(--space-lg);
}
