/* ═══ NAV ═══ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--fg);
  text-decoration: none;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--fg); }
.nav-link--ghost { color: var(--fg-soft); font-size: 14px; }

.nav-btn {
  background: var(--accent);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}
.nav-btn:hover { background: var(--accent-light); transform: translateY(-1px); }

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  line-height: 1.4;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 124, 111, 0.25);
}
.btn-primary:active { transform: translateY(0); }

.btn-white {
  display: inline-block;
  background: var(--cream);
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-white:hover { background: rgba(255, 253, 248, 0.85); transform: translateY(-2px); }

.btn-full { width: 100%; text-align: center; }
.btn-lg { font-size: 17px; padding: 16px 36px; }

/* ═══ HERO CTAs ═══ */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.hero-link:hover { opacity: 0.7; }

/* ═══ CLOSING CTA ═══ */
.closing-cta {
  margin-top: 40px;
}

/* ═══ SECTION SHARED ═══ */
.section-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

/* ═══ AUTH PAGES ═══ */
.auth-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: var(--bg);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px 44px;
}

.auth-header {
  margin-bottom: 32px;
}

.auth-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.75rem;
  color: var(--fg);
  margin-bottom: 8px;
}

.auth-header p {
  font-size: 15px;
  color: var(--fg-soft);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--fg-soft);
  text-transform: uppercase;
}

.form-field input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--fg);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input::placeholder { color: #A8A09A; }
.form-field input:focus {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(107, 158, 143, 0.15);
}

.form-error {
  background: #FDF2F2;
  border: 1px solid #E8C5C5;
  color: #8B3A3A;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 20px;
}

.auth-form .btn-primary {
  margin-top: 8px;
}

.auth-switch {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--fg-soft);
}
.auth-switch a { color: var(--accent); text-decoration: none; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

/* ═══ PRICING PAGE ═══ */
.pricing-page {
  min-height: calc(100vh - 64px);
  padding: 80px 40px;
  background: var(--bg);
}

.upgrade-banner {
  max-width: 800px;
  margin: 0 auto 40px;
  background: #FFF8E8;
  border: 1px solid #E8D8A0;
  border-radius: 8px;
  padding: 16px 24px;
  font-size: 15px;
  color: #6B5500;
}

.pricing-hero {
  max-width: 600px;
  margin: 0 auto 64px;
  text-align: center;
}

.pricing-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 16px;
}

.pricing-sub {
  font-size: 17px;
  color: var(--fg-soft);
}

.pricing-card-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.pricing-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 44px 40px;
}

.pricing-card-top {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.plan-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}

.price-amount {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 3.5rem;
  color: var(--fg);
  line-height: 1;
}

.price-period {
  font-size: 16px;
  color: var(--fg-soft);
}

.plan-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-soft);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.plan-features li {
  font-size: 15px;
  color: var(--fg);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-fine {
  margin-top: 12px;
  font-size: 12px;
  color: var(--fg-soft);
  text-align: center;
  opacity: 0.7;
}

.pricing-note {
  padding-top: 12px;
}

.pricing-note h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--fg);
  margin-bottom: 16px;
}

.pricing-note p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fg-soft);
  margin-bottom: 16px;
}

/* ═══ TOOLKIT INDEX ═══ */
.toolkit-page {
  min-height: calc(100vh - 64px);
  padding: 80px 40px;
  background: var(--bg);
}

.toolkit-header {
  max-width: 700px;
  margin: 0 auto 64px;
}

.toolkit-header h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 16px;
}

.toolkit-sub {
  font-size: 17px;
  line-height: 1.8;
  color: var(--fg-soft);
}

.guides-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 24px;
}

.guide-card {
  display: block;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 36px 32px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.guide-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74, 124, 111, 0.12);
}

.guide-card--coming {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.guide-condition {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.guide-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.35;
}

.guide-summary {
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-soft);
  margin-bottom: 20px;
}

.guide-arrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.guide-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-soft);
  background: var(--bg-warm);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ═══ GUIDE PAGE ═══ */
.guide-page {
  min-height: calc(100vh - 64px);
  background: var(--bg);
}

.guide-page-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 40px 56px;
}

.guide-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 28px;
  transition: opacity 0.2s;
}
.guide-back:hover { opacity: 0.7; }

.guide-condition-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent-pale);
  background: var(--accent-pale);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.guide-page-header h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 20px;
}

.guide-page-summary {
  font-size: 17px;
  line-height: 1.8;
  color: var(--fg-soft);
  max-width: 640px;
}

.guide-section {
  padding: 72px 40px;
  background: var(--bg);
}
.guide-section--alt {
  background: var(--cream);
}

.guide-section-inner {
  max-width: 760px;
  margin: 0 auto;
}

.section-label-wrap {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}

.section-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 13px;
  color: var(--accent-light);
  letter-spacing: 0.05em;
}

.section-label-wrap h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--fg);
}

.section-intro {
  font-size: 15px;
  color: var(--fg-soft);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Steps */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-pale);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.3;
}

.step-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg-soft);
}

/* Grounding techniques */
.techniques-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.technique-card {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
}

.technique-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 12px;
}

.technique-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-soft);
  margin-bottom: 16px;
}

.technique-when {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-soft);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.when-label {
  font-weight: 600;
  color: var(--accent);
  margin-right: 6px;
}

/* Contacts */
.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}

.contact-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--fg);
  padding-top: 2px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
  color: var(--fg);
}

.contact-icon { font-size: 14px; flex-shrink: 0; }

.contact-notes {
  font-size: 13px;
  color: var(--fg-soft);
  margin-top: 8px;
  line-height: 1.6;
}

/* Resources */
.resources-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.resource-item {
  padding-left: 20px;
  border-left: 3px solid var(--accent-light);
}

.resource-item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 8px;
}

.resource-item p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--fg-soft);
}

/* Caregiver note */
.guide-caregiver-note {
  background: var(--accent);
  padding: 48px 40px;
}

.caregiver-note-inner {
  max-width: 760px;
  margin: 0 auto;
}

.caregiver-note-inner p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 253, 248, 0.95);
}

.caregiver-note-inner strong {
  color: var(--cream);
}

/* ═══ PAYMENT SUCCESS ═══ */
.success-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: var(--bg);
}

.success-card {
  max-width: 480px;
  text-align: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-pale);
  border: 2px solid var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin: 0 auto 32px;
  font-weight: 700;
}

.success-card h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.5rem;
  color: var(--fg);
  margin-bottom: 16px;
}

.success-card p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--fg-soft);
  margin-bottom: 36px;
}

/* ═══ ERROR PAGE ═══ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: var(--bg);
}

.error-inner {
  max-width: 440px;
  text-align: center;
}

.error-inner h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2rem;
  color: var(--fg);
  margin-bottom: 16px;
}

.error-inner p {
  font-size: 16px;
  color: var(--fg-soft);
  margin-bottom: 28px;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { gap: 16px; }

  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 16px; }

  .pricing-card-wrap { grid-template-columns: 1fr; gap: 40px; }
  .pricing-page { padding: 60px 24px; }

  .toolkit-page { padding: 60px 24px; }
  .guides-grid { grid-template-columns: 1fr; }

  .guide-page-header { padding: 48px 24px 40px; }
  .guide-section { padding: 48px 24px; }

  .step { grid-template-columns: 40px 1fr; gap: 16px; }
  .contact-card { grid-template-columns: 1fr; gap: 12px; }
  .techniques-grid { grid-template-columns: 1fr; }

  .auth-card { padding: 36px 28px; }

  .guide-caregiver-note { padding: 36px 24px; }
}
