/* ============================================================
   Backcountry Mental Health — 2026 Design System
   Light "modern national park" theme. Zilla Slab + Inter.
   ============================================================ */

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

:root {
  /* palette */
  --ink:        #22301E;   /* body text, deep green-black */
  --ink-soft:   #4A5644;   /* secondary text */
  --ink-faint:  #75816E;   /* muted text */
  --pine:       #1C3A18;   /* brand deep green */
  --fern:       #2E5E26;
  --moss:       #4A8A3E;
  --sage:       #7DAA6E;
  --sage-mist:  #E4EDDE;   /* light green tint */
  --cream:      #FAF6ED;   /* page background */
  --sand:       #F2EBDD;   /* alt section background */
  --white:      #FFFFFF;
  --gold:       #B8872A;   /* CTA */
  --gold-bright:#D4A84B;
  --gold-deep:  #8A6410;   /* gold as TEXT on light bg */
  --line:       #E3DCCB;   /* hairline borders */
  --card-line:  #E8E2D2;
  --night:      #0C1F0E;   /* dark hero/footer base */

  /* type */
  --font-display: 'Zilla Slab', 'Georgia', serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* shape + elevation */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(28,42,23,0.06), 0 4px 14px rgba(28,42,23,0.05);
  --shadow-md: 0 2px 6px rgba(28,42,23,0.07), 0 12px 32px rgba(28,42,23,0.09);
  --shadow-lift: 0 6px 18px rgba(28,42,23,0.10), 0 20px 44px rgba(28,42,23,0.12);

  --nav-h: 66px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--pine); line-height: 1.18; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

::selection { background: var(--gold-bright); color: var(--night); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
  letter-spacing: 0.01em; cursor: pointer; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold { background: var(--gold); color: #FFF8EC; box-shadow: 0 4px 14px rgba(184,135,42,0.32); }
.btn-gold:hover { background: var(--gold-bright); box-shadow: 0 8px 22px rgba(184,135,42,0.40); color: var(--night); }
.btn-pine { background: var(--pine); color: #F2F7EE; box-shadow: var(--shadow-sm); }
.btn-pine:hover { background: var(--fern); }
.btn-ghost { background: transparent; color: var(--pine); border-color: rgba(28,58,24,0.35); }
.btn-ghost:hover { border-color: var(--pine); background: rgba(28,58,24,0.05); }
.btn-ghost-light { background: transparent; color: #F5F1E4; border-color: rgba(245,241,228,0.5); }
.btn-ghost-light:hover { border-color: #F5F1E4; background: rgba(245,241,228,0.12); }
.btn-sm { padding: 11px 22px; font-size: 14px; }

/* ---------- labels + rules ---------- */
.section-label, .label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); display: block; margin-bottom: 12px;
}
.gold-rule { width: 52px; height: 3px; background: var(--gold); border-radius: 2px; }
.gold-rule.center { margin-left: auto; margin-right: auto; }

/* ---------- crisis ribbon ---------- */
.crisis-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 98;
  background: var(--pine); color: #F2EFE2;
  padding: 9px 48px 9px 16px; text-align: center;
}
.crisis-bar p { font-size: 13px; font-weight: 500; }
.crisis-bar strong { color: var(--gold-bright); }
.close-crisis {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #F2EFE2; font-size: 18px; cursor: pointer; opacity: .75; padding: 4px;
}
.close-crisis:hover { opacity: 1; }

/* ---------- nav ---------- */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,246,237,0.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28,58,24,0.10);
  transition: box-shadow .25s ease;
}
nav.site-nav.scrolled { box-shadow: 0 6px 24px rgba(28,42,23,0.10); }
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--nav-h);
}
.nav-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.nav-brand svg { flex-shrink: 0; }
.nav-logo-name {
  font-family: var(--font-display); font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 700; color: var(--pine); line-height: 1.15; white-space: nowrap;
}
.nav-logo-tagline {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint);
}
.nav-tabs { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-tabs a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-soft);
  padding: 6px 2px; position: relative; transition: color .18s;
}
.nav-tabs a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--gold); border-radius: 2px; transition: right .22s ease;
}
.nav-tabs a:hover { color: var(--pine); }
.nav-tabs a:hover::after, .nav-tabs a.active::after { right: 0; }
.nav-tabs a.active { color: var(--pine); }
.nav-tabs a.tab-cta {
  background: var(--gold); color: #FFF8EC; padding: 10px 20px; border-radius: 999px;
  font-weight: 700; box-shadow: 0 3px 10px rgba(184,135,42,0.30);
  transition: background .18s, transform .18s, box-shadow .18s;
}
.nav-tabs a.tab-cta::after { display: none; }
.nav-tabs a.tab-cta:hover { background: var(--gold-bright); color: var(--night); transform: translateY(-1px); }

/* partner-site nav link */
.nav-tabs a.tab-partner { color: var(--gold-deep); font-weight: 700; }
.nav-tabs a.tab-partner::after { background: var(--gold-deep); }

.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 10px 6px;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--pine); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-hamburger { display: flex; }
  .nav-tabs {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(250,246,237,0.98); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 10px 24px 20px; border-bottom: 1px solid rgba(28,58,24,0.12);
    box-shadow: 0 18px 30px rgba(28,42,23,0.12);
  }
  .nav-tabs.open { display: flex; }
  .nav-tabs li { width: 100%; }
  .nav-tabs a { display: block; padding: 13px 0; font-size: 15px; }
  .nav-tabs a::after { display: none; }
  .nav-tabs a.tab-cta { display: inline-block; margin-top: 10px; padding: 12px 26px; }
}
@media (max-width: 480px) { .nav-logo-tagline { display: none; } }

/* ---------- page scaffold (subpages) ---------- */
.page-wrap { max-width: 980px; margin: 0 auto; padding: calc(var(--nav-h) + 48px) 24px 90px; }
.page-header { text-align: center; margin-bottom: 46px; }
.page-header h1 { font-size: clamp(32px, 4.6vw, 50px); margin-bottom: 14px; letter-spacing: -0.01em; }
.page-header p {
  font-size: clamp(16.5px, 2vw, 19px); color: var(--ink-soft);
  max-width: 620px; margin: 0 auto 22px; line-height: 1.6;
}
.page-header .gold-rule { margin: 0 auto; }

.section { margin-top: 64px; }
.section-title { text-align: center; margin-bottom: 30px; }
.section-title h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.section-title p { font-size: 15px; color: var(--ink-faint); max-width: 560px; margin: 0 auto; }

/* ---------- cards ---------- */
.card, .panel, .info-card, .price-card, .step-card, .content-card, .doc-card,
.form-card, .expect-card, .article-card {
  background: var(--white); border: 1px solid var(--card-line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.panel { padding: 32px 36px; }
.panel h3 { font-size: 20px; margin-bottom: 10px; }
.panel p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; }
.panel p + p { margin-top: 12px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.info-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.info-card { padding: 22px 24px; display: flex; align-items: flex-start; gap: 14px; transition: transform .2s ease, box-shadow .2s ease; }
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.info-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: var(--sage-mist); display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 20px; height: 20px; stroke: var(--fern); fill: none; stroke-width: 1.8; }
.info-card h4 { font-size: 15px; margin-bottom: 3px; }
.info-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.pricing-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
.price-card { padding: 30px 26px; display: flex; flex-direction: column; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured {
  border-color: rgba(184,135,42,0.55); box-shadow: 0 8px 30px rgba(184,135,42,0.16);
  background: linear-gradient(180deg, #FFFDF7 0%, var(--white) 100%);
}
.best-value-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #FFF8EC; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 16px;
  border-radius: 100px; white-space: nowrap; box-shadow: 0 3px 8px rgba(184,135,42,0.35);
}
.price-card h3 { font-size: 19px; margin-bottom: 4px; }
.price-card .tier-sub { font-size: 12.5px; color: var(--ink-faint); }
.price-amount { font-family: var(--font-display); font-size: 46px; font-weight: 700; color: var(--pine); line-height: 1; margin: 14px 0 4px; }
.price-amount .strike { font-size: 20px; color: var(--ink-faint); text-decoration: line-through; font-weight: 600; margin-right: 8px; }
.price-period { font-size: 12.5px; color: var(--ink-faint); margin-bottom: 16px; }
.founding-tag {
  display: inline-block; background: rgba(184,135,42,0.10); border: 1px solid rgba(184,135,42,0.4);
  border-radius: 100px; padding: 3px 13px; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px;
}
.price-divider { height: 1px; background: var(--line); margin: 14px 0; }
.price-card ul { list-style: none; flex: 1; margin-bottom: 22px; }
.price-card ul li { font-size: 14px; color: var(--ink-soft); padding: 5px 0; display: flex; align-items: flex-start; gap: 9px; line-height: 1.45; }
.price-card ul li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--moss); flex-shrink: 0; margin-top: 8px; }
.btn-enroll {
  display: block; text-align: center; padding: 13px; border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.03em; transition: all .18s;
}
.btn-enroll.primary { background: var(--gold); color: #FFF8EC; box-shadow: 0 3px 10px rgba(184,135,42,0.3); }
.btn-enroll.primary:hover { background: var(--gold-bright); color: var(--night); }
.btn-enroll.secondary { background: transparent; color: var(--ink-soft); border: 1.5px solid var(--line); }
.btn-enroll.secondary:hover { border-color: var(--pine); color: var(--pine); }

/* ---------- fee table ---------- */
.fee-table { background: var(--white); border: 1px solid var(--card-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.fee-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 28px; border-bottom: 1px solid #F0EBDD; flex-wrap: wrap; transition: background .15s;
}
.fee-row:hover { background: #FDFBF4; }
.fee-row:last-child { border-bottom: none; }
.fee-row .fee-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--pine); }
.fee-row .fee-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; max-width: 540px; }
.fee-row .fee-price { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--gold-deep); white-space: nowrap; }
.fee-row .fee-price small { font-size: 13px; font-family: var(--font-body); font-weight: 500; color: var(--ink-faint); }

/* ---------- callout ---------- */
.callout {
  background: linear-gradient(135deg, #FFF9EC 0%, #FDF4E0 100%);
  border: 1px solid rgba(184,135,42,0.35); border-radius: var(--radius);
  padding: 28px 32px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-sm);
}
.callout h3 { font-size: 20px; margin-bottom: 6px; }
.callout p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; max-width: 560px; }
.callout.green { background: linear-gradient(135deg, #F3F8EF 0%, #EAF2E4 100%); border-color: rgba(74,138,62,0.3); }
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
  background: var(--gold); color: #FFF8EC; border-radius: 999px; font-size: 14px;
  font-weight: 700; letter-spacing: 0.03em; transition: all .18s;
  white-space: nowrap; flex-shrink: 0; box-shadow: 0 4px 12px rgba(184,135,42,0.3);
}
.btn-cta:hover { background: var(--gold-bright); color: var(--night); transform: translateY(-2px); }
.btn-cta svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---------- checklist ---------- */
.check-list { list-style: none; columns: 2; column-gap: 32px; }
.check-list li { font-size: 14.5px; color: var(--ink-soft); padding: 6px 0; display: flex; align-items: flex-start; gap: 10px; break-inside: avoid; line-height: 1.5; }
.check-list li svg { width: 17px; height: 17px; stroke: var(--moss); fill: none; stroke-width: 2.5; flex-shrink: 0; margin-top: 4px; }

/* ---------- steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card { padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease; }
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-card .step-circ {
  width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #FFF8EC;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 14px;
  box-shadow: 0 3px 8px rgba(184,135,42,0.3);
}
.step-card h4 { font-size: 16px; margin-bottom: 6px; }
.step-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- faq ---------- */
.faq-item { background: var(--white); border: 1px solid var(--card-line); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer; padding: 17px 24px; font-family: var(--font-display);
  font-size: 16px; font-weight: 700; color: var(--pine); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--gold-deep); font-size: 22px; font-family: var(--font-body); font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { content: '+'; transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 20px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }
.faq-item .faq-body a { color: var(--gold-deep); text-decoration: underline; }

.fine-print { font-size: 12.5px; color: var(--ink-faint); line-height: 1.7; margin-top: 24px; text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.fine-print a { color: var(--ink-soft); text-decoration: underline; }

/* ---------- notice banner ---------- */
.notice-banner {
  background: var(--sage-mist); border: 1px solid rgba(74,138,62,0.3);
  border-radius: var(--radius-sm); padding: 16px 22px; font-size: 14px;
  color: var(--ink-soft); line-height: 1.6;
}
.notice-banner strong { color: var(--pine); }

/* ---------- footer ---------- */
footer.site-footer { background: var(--night); color: rgba(242,239,226,0.75); margin-top: 90px; }
.footer-grid {
  max-width: 1140px; margin: 0 auto; padding: 60px 24px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
}
.footer-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #F2EFE2; }
.footer-tagline { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); margin-top: 3px; }
.footer-motto { font-family: var(--font-display); font-style: italic; color: var(--gold-bright); margin-top: 14px; font-size: 15px; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 14px; color: rgba(242,239,226,0.7); transition: color .18s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid rgba(242,239,226,0.12);
  max-width: 1140px; margin: 0 auto; padding: 22px 24px 84px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12.5px; color: rgba(242,239,226,0.45); }
.footer-bottom a { color: rgba(242,239,226,0.65); text-decoration: underline; }
.footer-crisis {
  background: rgba(212,168,75,0.14); border: 1px solid rgba(212,168,75,0.35);
  border-radius: 999px; padding: 7px 16px; font-size: 12.5px; color: var(--gold-bright);
}

/* ---------- floating schedule button (mobile) ---------- */
.fab-schedule {
  position: fixed; right: 16px; bottom: 54px; z-index: 97;
  display: none; align-items: center; gap: 9px;
  background: var(--gold); color: #FFF8EC;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px; letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(184,135,42,0.45), 0 3px 8px rgba(0,0,0,0.15);
  transition: transform .18s, box-shadow .18s;
}
.fab-schedule svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; }
.fab-schedule:active { transform: scale(0.97); }
@media (max-width: 760px) {
  .fab-schedule { display: inline-flex; }
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- calendly embed ---------- */
.calendly-wrap {
  background: var(--white); border: 1px solid var(--card-line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.calendly-inline-widget { min-width: 300px; height: 760px; }
@media (max-width: 640px) { .calendly-inline-widget { height: 900px; } }

/* ---------- generic responsive ---------- */
@media (max-width: 760px) {
  .info-row, .pricing-grid, .pricing-grid.two, .steps-grid, .two-col { grid-template-columns: 1fr; }
  .check-list { columns: 1; }
  .fee-row .fee-price { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 44px 24px 20px; }
  .panel { padding: 26px 22px; }
  .callout { padding: 24px 22px; }
  .crisis-bar { padding: 8px 44px 8px 12px; }
  .crisis-bar p { font-size: 12px; }
}
