/* ============================================
   STRESSPOPPERS — DESIGN SYSTEM
   v1.0 — May 8, 2026
   ============================================ */

:root {
  /* Locked palette */
  --sage: #8FA683;
  --sage-dark: #6E8462;
  --sage-light: #B5C4AA;
  --sage-pale: #E8EFE3;

  --dusty-blue: #6B8CAE;
  --dusty-blue-dark: #4F6E8E;
  --dusty-blue-light: #A8BED4;
  --dusty-blue-pale: #E5EDF4;

  --cream: #FAF6EE;
  --cream-warm: #F4EDE0;
  --cream-cool: #F7F4EC;

  --charcoal: #2A2A2A;
  --charcoal-soft: #4A4A4A;
  --charcoal-light: #767676;
  --charcoal-faint: #B5B5B5;

  --white: #FFFFFF;
  --pop: #E8A87C; /* warm peach for occasional accent / sale tags */

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;
  --space-20: 10rem;

  /* Layout */
  --container-narrow: 720px;
  --container-base: 1080px;
  --container-wide: 1280px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadows — soft and natural, no harsh edges */
  --shadow-sm: 0 1px 3px rgba(42, 42, 42, 0.04), 0 1px 2px rgba(42, 42, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(42, 42, 42, 0.06), 0 2px 4px rgba(42, 42, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(42, 42, 42, 0.08), 0 4px 8px rgba(42, 42, 42, 0.04);
  --shadow-xl: 0 24px 48px rgba(42, 42, 42, 0.1), 0 8px 16px rgba(42, 42, 42, 0.06);

  /* Transitions */
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 150ms var(--ease-soft);
  --transition-base: 250ms var(--ease-soft);
  --transition-slow: 400ms var(--ease-soft);
}

/* ============================================
   RESET & BASE
   ============================================ */

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

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

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: var(--sage-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--charcoal);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 500;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
}

p {
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-dark);
  margin-bottom: var(--space-3);
  display: inline-block;
}

.lede {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--charcoal-soft);
  font-weight: 300;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container-base);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-12) 0;
}

.section-tight {
  padding: var(--space-8) 0;
}

.section-wide {
  padding: var(--space-16) 0;
}

@media (max-width: 768px) {
  .section { padding: var(--space-10) 0; }
  .section-wide { padding: var(--space-12) 0; }
}

/* ============================================
   ANNOUNCEMENT BAR (standing rule)
   ============================================ */

.announce {
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--space-3) var(--space-5);
  text-align: center;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.announce-rotator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  font-weight: 500;
}

.announce-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--sage-light);
  border-radius: 50%;
  margin: 0 var(--space-3);
  opacity: 0.6;
}

/* ============================================
   HEADER / NAV
   ============================================ */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-warm);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(250, 246, 238, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding-left: var(--space-5);
  padding-right: var(--space-5);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.logo:hover {
  color: var(--charcoal);
}

.logo-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--sage);
  border-radius: 50%;
  position: relative;
  top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-links a {
  color: var(--charcoal-soft);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--sage-dark);
}

.nav-cta {
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-base);
}

.nav-cta:hover {
  background: var(--sage-dark);
  color: var(--cream);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--charcoal);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: var(--space-5);
    padding: var(--space-8) var(--space-5);
    transform: translateY(-110%);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--cream-warm);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--sage-dark);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.btn-sage {
  background: var(--sage);
  color: var(--white);
}

.btn-sage:hover {
  background: var(--sage-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal-soft);
  border-color: var(--charcoal-faint);
}

.btn-ghost:hover {
  border-color: var(--sage);
  color: var(--sage-dark);
}

.btn-large {
  padding: var(--space-5) var(--space-8);
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  padding: var(--space-16) 0 var(--space-16) 0;
  overflow: hidden;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(0,0,0,0.15);
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.85;
  filter: saturate(1.05) contrast(1.05);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(42,42,42,0.35) 0%, rgba(42,42,42,0.65) 75%, rgba(42,42,42,0.85) 100%),
    linear-gradient(180deg, rgba(42,42,42,0.45) 0%, rgba(42,42,42,0.30) 40%, rgba(42,42,42,0.55) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: var(--space-6);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.hero h1 {
  margin-bottom: var(--space-5);
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.hero h1 em {
  font-style: normal;
  color: var(--sage-pale);
  font-weight: 500;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin: 0 auto var(--space-8);
  font-weight: 400;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}

.hero-cta-row {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta-row .btn-primary {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.hero-cta-row .btn-primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.hero-cta-row .btn-secondary {
  background: rgba(255,255,255,0.95);
  color: var(--charcoal);
  border-color: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.hero-cta-row .btn-secondary:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}

@media (max-width: 968px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.product-card.featured {
  border: 2px solid var(--sage);
  transform: scale(1.02);
}

.product-card.featured:hover {
  transform: translateY(-6px) scale(1.02);
}

.product-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--sage);
  color: var(--white);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
}

.product-image {
  aspect-ratio: 4/3;
  background: var(--sage-pale);
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--charcoal);
}

.product-tag {
  font-size: 0.875rem;
  color: var(--charcoal-light);
  margin-bottom: var(--space-4);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.product-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.product-sub-price {
  font-size: 0.875rem;
  color: var(--sage-dark);
  font-weight: 600;
}

.product-features {
  list-style: none;
  margin-bottom: var(--space-6);
  flex: 1;
}

.product-features li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--cream-warm);
  font-size: 0.9375rem;
  color: var(--charcoal-soft);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.product-features li:last-child {
  border-bottom: none;
}

.product-features li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.subscribe-toggle {
  display: flex;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-1);
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}

.subscribe-toggle button {
  flex: 1;
  padding: var(--space-3) var(--space-2);
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal-soft);
  transition: all var(--transition-base);
}

.subscribe-toggle button.active {
  background: var(--white);
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
}

.subscribe-toggle .save-tag {
  display: inline-block;
  background: var(--sage);
  color: var(--white);
  font-size: 0.625rem;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  margin-left: var(--space-1);
  font-weight: 700;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-it-works {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-10);
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.step {
  text-align: center;
}

.step-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--sage);
  line-height: 1;
  margin-bottom: var(--space-4);
  font-style: italic;
}

.step h3 {
  margin-bottom: var(--space-3);
}

.step p {
  color: var(--charcoal-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ============================================
   COMPARISON SECTION
   ============================================ */

.comparison {
  background: var(--sage-pale);
  position: relative;
  overflow: hidden;
}

.comparison-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.comparison h2 {
  font-style: italic;
  font-weight: 300;
}

.comparison h2 em {
  font-style: normal;
  font-weight: 500;
  color: var(--sage-dark);
}

.comparison-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.4;
  color: var(--charcoal);
  margin-top: var(--space-6);
  font-style: italic;
  font-weight: 400;
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  max-width: 720px;
  margin: var(--space-8) auto 0;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  padding: var(--space-5) var(--space-6);
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--charcoal);
  transition: color var(--transition-base);
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--sage);
  font-weight: 300;
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--space-4);
}

.faq-item[open] summary {
  color: var(--sage-dark);
}

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

.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--charcoal-soft);
  line-height: 1.65;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--space-12) 0 var(--space-6);
  margin-top: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
}

.footer-brand .logo {
  color: var(--cream);
  margin-bottom: var(--space-4);
}

.footer-tagline {
  color: var(--charcoal-faint);
  font-size: 0.9375rem;
  font-style: italic;
  font-family: var(--font-display);
  margin-bottom: var(--space-5);
}

.footer-col h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  color: var(--sage-light);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: var(--space-3);
}

.footer-col a {
  color: var(--charcoal-faint);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--charcoal-faint);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-bottom a {
  color: var(--charcoal-faint);
}

.footer-tagline-final {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--sage-light);
}

/* ============================================
   ARTICLE / BLOG
   ============================================ */

.article-header {
  background: linear-gradient(180deg, var(--sage-pale) 0%, var(--cream) 100%);
  padding: var(--space-12) 0 var(--space-10);
  text-align: center;
}

.article-cluster-tag {
  display: inline-block;
  background: var(--white);
  color: var(--sage-dark);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.article-title {
  max-width: 800px;
  margin: 0 auto var(--space-5);
  font-style: italic;
  font-weight: 400;
}

.article-meta {
  font-size: 0.875rem;
  color: var(--charcoal-light);
}

.article-hero-img {
  max-width: var(--container-base);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.article-hero-img img {
  border-radius: var(--radius-xl);
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.article-body {
  max-width: 720px;
  margin: var(--space-10) auto;
  padding: 0 var(--space-5);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--charcoal-soft);
}

.article-body h2 {
  margin: var(--space-10) 0 var(--space-5);
  color: var(--charcoal);
  font-size: 1.875rem;
}

.article-body h3 {
  margin: var(--space-8) 0 var(--space-4);
  color: var(--charcoal);
}

.article-body p {
  margin-bottom: var(--space-5);
}

.article-body strong {
  color: var(--charcoal);
  font-weight: 600;
}

.article-body em {
  font-style: italic;
}

.article-body a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-decoration-color: var(--sage-light);
  text-underline-offset: 4px;
  transition: text-decoration-color var(--transition-base);
}

.article-body a:hover {
  text-decoration-color: var(--sage-dark);
}

.article-body hr {
  border: none;
  height: 1px;
  background: var(--cream-warm);
  margin: var(--space-8) 0;
}

.article-body ul, .article-body ol {
  margin: 0 0 var(--space-5) var(--space-5);
}

.article-body li {
  margin-bottom: var(--space-2);
}

.article-cta-card {
  background: var(--sage-pale);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-8) 0;
  text-align: center;
  font-style: italic;
  color: var(--charcoal);
}

.article-cta-card a {
  color: var(--sage-dark);
  font-weight: 600;
  text-decoration: none;
}

.article-sources {
  background: var(--cream-warm);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-top: var(--space-10);
  font-size: 0.9375rem;
}

.article-sources h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal-soft);
  margin-bottom: var(--space-4);
}

.article-sources ul {
  list-style: none;
  margin: 0;
}

.article-sources li {
  margin-bottom: var(--space-3);
  padding-left: var(--space-4);
  position: relative;
  color: var(--charcoal-soft);
  line-height: 1.55;
}

.article-sources li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--sage);
}

/* Blog index */

.blog-index-header {
  background: linear-gradient(180deg, var(--sage-pale) 0%, var(--cream) 100%);
  padding: var(--space-12) 0;
  text-align: center;
}

.cluster-section {
  margin-bottom: var(--space-12);
}

.cluster-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.cluster-header .eyebrow {
  display: inline-block;
}

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

@media (max-width: 768px) {
  .cluster-grid {
    grid-template-columns: 1fr;
  }
}

.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.article-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--sage-pale);
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-body {
  padding: var(--space-5) var(--space-6) var(--space-6);
}

.article-card h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: var(--space-3);
}

.article-card h3 a {
  color: var(--charcoal);
}

.article-card h3 a:hover {
  color: var(--sage-dark);
}

.article-card p {
  font-size: 0.9375rem;
  color: var(--charcoal-soft);
  line-height: 1.55;
}

/* ============================================
   FORMS / CHECKOUT
   ============================================ */

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin-bottom: var(--space-2);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  border: 1.5px solid var(--cream-warm);
  border-radius: var(--radius-md);
  color: var(--charcoal);
  transition: all var(--transition-base);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(143, 166, 131, 0.15);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-help {
  font-size: 0.8125rem;
  color: var(--charcoal-light);
  margin-top: var(--space-2);
}

/* Stripe Elements styling targets */
#card-element {
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  border: 1.5px solid var(--cream-warm);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-base);
}

#card-element.StripeElement--focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(143, 166, 131, 0.15);
}

#card-errors {
  color: #B73E3E;
  font-size: 0.875rem;
  margin-top: var(--space-2);
}

/* Checkout modal */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 42, 42, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  animation: fadeIn 200ms var(--ease-soft);
}

.checkout-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.checkout-modal {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp 300ms var(--ease-spring);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.checkout-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-6);
}

.checkout-modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--charcoal);
}

.checkout-modal-summary {
  color: var(--charcoal-light);
  font-size: 0.9375rem;
  margin-top: var(--space-1);
}

.checkout-close {
  background: var(--cream-warm);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--charcoal-soft);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.checkout-close:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--cream-warm);
  font-size: 0.9375rem;
}

.checkout-line.total {
  border-bottom: none;
  padding-top: var(--space-4);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
}

.checkout-loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: spin 600ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   CUSTOMER PORTAL
   ============================================ */

.portal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-5);
}

.portal-card h3 {
  margin-bottom: var(--space-4);
}

.portal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--cream-warm);
}

.portal-row:last-child {
  border-bottom: none;
}

.portal-label {
  font-size: 0.875rem;
  color: var(--charcoal-light);
}

.portal-value {
  font-weight: 600;
  color: var(--charcoal);
}

.portal-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-5);
}

.portal-actions .btn {
  flex: 1;
  min-width: 140px;
}

.status-active {
  display: inline-block;
  padding: 2px 10px;
  background: var(--sage-pale);
  color: var(--sage-dark);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-paused {
  background: var(--cream-warm);
  color: var(--charcoal-soft);
}

.status-cancelled {
  background: rgba(183, 62, 62, 0.1);
  color: #B73E3E;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center { text-align: center; }
.text-sage { color: var(--sage-dark); }
.text-soft { color: var(--charcoal-soft); }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.flex { display: flex; }
.gap-3 { gap: var(--space-3); }
.gap-5 { gap: var(--space-5); }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   ANIMATIONS / SCROLL REVEAL
   ============================================ */

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-soft), transform 600ms var(--ease-soft);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up.delay-1 { transition-delay: 100ms; }
.fade-in-up.delay-2 { transition-delay: 200ms; }
.fade-in-up.delay-3 { transition-delay: 300ms; }
