/* Stockagile — full site CSS — brand prefix: stag */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --stag-paper:       #F8F7F4;
  --stag-white:       #FFFFFF;
  --stag-cream-light: #EEF3EE;
  --stag-forest:      #0C1F17;
  --stag-forest-alt:  #122A1F;
  --stag-ink:         #0E1F14;
  --stag-muted:       #4A6656;
  --stag-leaf:        #1B7341;
  --stag-cream:       #E8F2EC;
  --stag-sage:        #7EA890;
  --stag-leaf-light:  #4CB07A;

  --stag-status-ok:   #1B7341;
  --stag-status-low:  #B85C00;
  --stag-status-out:  #C0392B;

  --stag-nav-h: 64px;
  --stag-radius-card: 12px;
  --stag-radius-btn:  8px;
  --stag-radius-badge: 4px;
  --stag-radius-panel: 8px;

  --stag-max-w: 1200px;
  --stag-section-py: 80px;
  --stag-section-py-m: 48px;
  --stag-container-px: clamp(24px, 4vw, 48px);

  --stag-ease: ease-out;
  --stag-dur: 200ms;
}

/* ============================================================
   2. RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Lexend', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  background: var(--stag-white);
  color: var(--stag-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
table { border-collapse: collapse; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  line-height: 1.15;
}

/* ============================================================
   3. TYPOGRAPHY SCALE
   ============================================================ */
.stag-display {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.stag-h1 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stag-h2 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.stag-h3 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.25;
}

.stag-h4 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

.stag-lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  line-height: 1.65;
}

.stag-body { font-size: 1rem; font-weight: 400; line-height: 1.65; }

.stag-small { font-size: 0.875rem; font-weight: 400; }
.stag-caption { font-size: 0.8rem; font-weight: 400; }

.stag-mono {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.875rem;
}

.stag-eyebrow {
  font-family: 'Lexend', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   4. LAYOUT PRIMITIVES
   ============================================================ */
.stag-container {
  max-width: var(--stag-max-w);
  margin-inline: auto;
  padding-inline: var(--stag-container-px);
}

.stag-section {
  padding-block: var(--stag-section-py);
}

.stag-section--narrow {
  padding-block: 48px;
}

.stag-section--dark     { background: var(--stag-forest); }
.stag-section--dark-alt { background: var(--stag-forest-alt); }
.stag-section--light    { background: var(--stag-paper); }
.stag-section--light-alt{ background: var(--stag-cream-light); }
.stag-section--white    { background: var(--stag-white); }

.stag-section--dark .stag-section-label,
.stag-section--dark-alt .stag-section-label {
  color: var(--stag-sage);
}
.stag-section--light .stag-section-label,
.stag-section--light-alt .stag-section-label,
.stag-section--white .stag-section-label {
  color: var(--stag-muted);
}

.stag-section-label {
  display: inline-block;
  margin-bottom: 12px;
}

.stag-section--dark h2,
.stag-section--dark h3,
.stag-section--dark-alt h2,
.stag-section--dark-alt h3 {
  color: var(--stag-cream);
}

.stag-section--light h2,
.stag-section--light-alt h2,
.stag-section--white h2,
.stag-section--light h3,
.stag-section--light-alt h3,
.stag-section--white h3 {
  color: var(--stag-ink);
}

.stag-section--dark p,
.stag-section--dark-alt p {
  color: var(--stag-sage);
}

.stag-section--light p,
.stag-section--light-alt p,
.stag-section--white p {
  color: var(--stag-muted);
}

.stag-text-center { text-align: center; }
.stag-text-left   { text-align: left; }

.stag-section-header {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 56px;
}

.stag-section-header--left {
  margin-inline: 0;
  text-align: left;
}

.stag-section-header p {
  margin-top: 16px;
}

/* 2-col layout */
.stag-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* 3-col layout */
.stag-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* 4-col layout */
.stag-four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ============================================================
   5. NAVIGATION
   ============================================================ */
.stag-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--stag-nav-h);
  background: var(--stag-forest);
  z-index: 1000;
  border-bottom: 1px solid rgba(78, 154, 104, 0.15);
}

.stag-nav__inner {
  max-width: var(--stag-max-w);
  margin-inline: auto;
  padding-inline: var(--stag-container-px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.stag-nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.stag-nav__logo img {
  height: 28px;
  width: auto;
}

.stag-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.stag-nav__link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--stag-cream);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color var(--stag-dur) var(--stag-ease), background var(--stag-dur) var(--stag-ease);
  white-space: nowrap;
}

.stag-nav__link:hover {
  color: var(--stag-leaf-light);
  background: rgba(76, 176, 122, 0.08);
}

.stag-nav__link--active {
  color: var(--stag-leaf-light);
}

.stag-nav__auth {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.stag-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.stag-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--stag-cream);
  border-radius: 2px;
  transition: transform var(--stag-dur) var(--stag-ease), opacity var(--stag-dur) var(--stag-ease);
}

.stag-nav--open .stag-nav__hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.stag-nav--open .stag-nav__hamburger span:nth-child(2) {
  opacity: 0;
}
.stag-nav--open .stag-nav__hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.stag-nav__mobile {
  display: none;
  position: absolute;
  top: var(--stag-nav-h);
  left: 0;
  right: 0;
  background: var(--stag-forest);
  border-bottom: 1px solid rgba(78, 154, 104, 0.2);
  padding: 16px var(--stag-container-px) 24px;
}

.stag-nav--open .stag-nav__mobile {
  display: block;
}

.stag-nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.stag-nav__mobile-links a {
  color: var(--stag-cream);
  font-size: 1rem;
  font-weight: 400;
  padding: 10px 8px;
  border-radius: 6px;
  transition: color var(--stag-dur) var(--stag-ease);
}

.stag-nav__mobile-links a:hover {
  color: var(--stag-leaf-light);
}

.stag-nav__mobile-auth {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============================================================
   6. BUTTONS
   ============================================================ */
.stag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--stag-radius-btn);
  font-family: 'Lexend', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1;
  transition: all var(--stag-dur) var(--stag-ease);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.stag-btn--sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.stag-btn--lg {
  padding: 15px 32px;
  font-size: 1rem;
}

/* Primary — light sections: leaf bg + white text */
.stag-btn--primary {
  background: var(--stag-leaf);
  color: #FFFFFF;
  border: 2px solid var(--stag-leaf);
}

.stag-btn--primary:hover {
  background: #155c33;
  border-color: #155c33;
  color: #FFFFFF;
}

/* Primary on dark sections: leaf-light bg + forest text */
.stag-section--dark .stag-btn--primary,
.stag-section--dark-alt .stag-btn--primary,
.stag-hero .stag-btn--primary,
.stag-cta-banner .stag-btn--primary {
  background: var(--stag-leaf-light);
  border-color: var(--stag-leaf-light);
  color: var(--stag-forest);
}

.stag-section--dark .stag-btn--primary:hover,
.stag-section--dark-alt .stag-btn--primary:hover,
.stag-hero .stag-btn--primary:hover,
.stag-cta-banner .stag-btn--primary:hover {
  background: #3ca36a;
  border-color: #3ca36a;
  color: var(--stag-forest);
}

/* Outline on dark */
.stag-btn--outline-on-dark {
  background: transparent;
  color: var(--stag-cream);
  border: 2px solid rgba(232, 242, 236, 0.5);
}

.stag-btn--outline-on-dark:hover {
  border-color: var(--stag-cream);
  background: rgba(232, 242, 236, 0.08);
}

/* Ghost on light */
.stag-btn--ghost-on-light {
  background: transparent;
  color: var(--stag-ink);
  border: 2px solid rgba(14, 31, 20, 0.3);
}

.stag-btn--ghost-on-light:hover {
  border-color: var(--stag-ink);
  background: rgba(14, 31, 20, 0.04);
}

/* Text link */
.stag-btn--text-link {
  background: transparent;
  color: var(--stag-leaf);
  border: none;
  padding-inline: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stag-section--dark .stag-btn--text-link,
.stag-section--dark-alt .stag-btn--text-link {
  color: var(--stag-leaf-light);
}

.stag-btn--text-link:hover {
  opacity: 0.8;
}

/* Nav auth buttons */
.stag-btn--nav-ghost {
  background: transparent;
  color: var(--stag-cream);
  border: none;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 400;
}

.stag-btn--nav-ghost:hover {
  color: var(--stag-leaf-light);
}

.stag-btn--nav-primary {
  background: var(--stag-leaf-light);
  color: var(--stag-forest);
  border: none;
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 400;
  border-radius: var(--stag-radius-btn);
}

.stag-btn--nav-primary:hover {
  background: #3ca36a;
}

.stag-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ============================================================
   7. HERO — DARK WITH BG IMAGE
   ============================================================ */
.stag-hero {
  position: relative;
  min-height: calc(100vh - 30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--stag-nav-h);
  background: var(--stag-forest);
}

.stag-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.stag-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12, 31, 23, 0.82) 0%,
    rgba(12, 31, 23, 0.72) 50%,
    rgba(12, 31, 23, 0.85) 100%
  );
  z-index: 1;
}

.stag-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--stag-max-w);
  margin-inline: auto;
  padding: 80px var(--stag-container-px) 80px;
}

.stag-hero__text {
  text-align: left;
  max-width: 820px;
}

.stag-hero__eyebrow {
  color: var(--stag-leaf-light);
  margin-bottom: 20px;
}

.stag-hero__headline {
  color: var(--stag-cream);
  max-width: 100%;
  margin-bottom: 20px;
}

.stag-hero__subhead {
  color: var(--stag-sage);
  max-width: 100%;
  margin-bottom: 40px;
  font-weight: 300;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.stag-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
  margin-bottom: 0;
}

/* Hero with gradient only (no bg image) */
.stag-hero--gradient {
  background: linear-gradient(160deg, var(--stag-forest) 0%, var(--stag-forest-alt) 100%);
  min-height: 420px;
}

/* Subpage hero (light or dark, no bg image) */
.stag-subhero {
  padding-top: calc(var(--stag-nav-h) + 64px);
  padding-bottom: 64px;
}

.stag-subhero__inner {
  max-width: var(--stag-max-w);
  margin-inline: auto;
  padding-inline: var(--stag-container-px);
  text-align: center;
}

.stag-subhero__inner h1 {
  margin-bottom: 16px;
}

.stag-subhero__inner p {
  max-width: 600px;
  margin-inline: auto;
}

.stag-subhero--dark {
  background: linear-gradient(160deg, var(--stag-forest) 0%, var(--stag-forest-alt) 100%);
}

.stag-subhero--dark h1 { color: var(--stag-cream); }
.stag-subhero--dark p  { color: var(--stag-sage); }

.stag-subhero--light {
  background: var(--stag-paper);
}

.stag-subhero--light h1 { color: var(--stag-ink); }
.stag-subhero--light p  { color: var(--stag-muted); }

.stag-subhero--white {
  background: var(--stag-white);
}

.stag-subhero--white h1 { color: var(--stag-ink); }
.stag-subhero--white p  { color: var(--stag-muted); }

/* ============================================================
   8. INLINE MOCK — FORECAST PANEL
   ============================================================ */
.stag-forecast-panel {
  background: var(--stag-forest);
  border-radius: var(--stag-radius-card);
  border-top: 3px solid var(--stag-leaf-light);
  overflow: hidden;
  max-width: 540px;
  margin-inline: auto;
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}


.stag-forecast-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 10px;
  border-bottom: 1px solid rgba(126, 168, 144, 0.2);
}

.stag-forecast-panel__title {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--stag-cream);
}

.stag-forecast-panel__badge {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--stag-leaf-light);
  background: rgba(76, 176, 122, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
}

.stag-forecast-panel__table {
  width: 100%;
  font-size: 0.8rem;
}

.stag-forecast-panel__table thead tr {
  border-bottom: 1px solid rgba(126, 168, 144, 0.15);
}

.stag-forecast-panel__table th {
  padding: 8px 10px;
  color: var(--stag-leaf-light);
  font-family: 'Lexend', system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.stag-forecast-panel__table td {
  padding: 9px 10px;
  color: var(--stag-cream);
  vertical-align: middle;
}

.stag-forecast-panel__table td.stag-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--stag-cream);
  white-space: nowrap;
}

.stag-forecast-panel__table td.stag-cell--muted {
  color: var(--stag-sage);
  font-size: 0.78rem;
}

.stag-forecast-panel__table tbody tr {
  border-bottom: 1px solid rgba(126, 168, 144, 0.08);
}

.stag-forecast-panel__table tbody tr:last-child {
  border-bottom: none;
}

.stag-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
}

.stag-status-dot::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stag-status-dot--ok    { color: #4CB07A; }
.stag-status-dot--ok::before    { background: var(--stag-status-ok); }
.stag-status-dot--low   { color: #E8A04A; }
.stag-status-dot--low::before   { background: var(--stag-status-low); }
.stag-status-dot--out   { color: #E05C4B; }
.stag-status-dot--out::before   { background: var(--stag-status-out); }

/* ============================================================
   9. INLINE MOCK — PLATFORM DASHBOARD
   ============================================================ */
.stag-dashboard-mock {
  background: var(--stag-forest);
  border-radius: var(--stag-radius-card);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  max-width: 720px;
}

.stag-dashboard-mock__chrome {
  background: var(--stag-forest-alt);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(126, 168, 144, 0.12);
}

.stag-dashboard-mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--stag-sage);
  opacity: 0.5;
}

.stag-dashboard-mock__body {
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  min-height: 320px;
}

.stag-dashboard-mock__sidebar {
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(126, 168, 144, 0.1);
  padding: 16px 14px;
}

.stag-dashboard-mock__sidebar-title {
  font-size: 0.7rem;
  color: var(--stag-sage);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: 'Lexend', system-ui, sans-serif;
}

.stag-dashboard-mock__store-row {
  padding: 8px 6px;
  border-radius: 6px;
  cursor: default;
  margin-bottom: 2px;
}

.stag-dashboard-mock__store-row:first-of-type {
  background: rgba(76, 176, 122, 0.12);
}

.stag-dashboard-mock__store-name {
  font-size: 0.78rem;
  color: var(--stag-cream);
  margin-bottom: 5px;
  font-family: 'Lexend', system-ui, sans-serif;
}

.stag-dashboard-mock__health-bar-track {
  height: 4px;
  background: rgba(126, 168, 144, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.stag-dashboard-mock__health-bar-fill {
  height: 100%;
  background: var(--stag-leaf-light);
  border-radius: 2px;
}

.stag-dashboard-mock__center {
  padding: 16px 18px;
}

.stag-dashboard-mock__chart-title {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--stag-cream);
  margin-bottom: 16px;
  font-weight: 600;
}

.stag-dashboard-mock__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
}

.stag-dashboard-mock__bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.stag-dashboard-mock__bar {
  width: 100%;
  background: var(--stag-leaf-light);
  border-radius: 3px 3px 0 0;
  opacity: 0.85;
  min-width: 18px;
}

.stag-dashboard-mock__bar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--stag-sage);
  white-space: nowrap;
}

.stag-dashboard-mock__alerts {
  border-left: 1px solid rgba(126, 168, 144, 0.1);
  padding: 14px 14px;
}

.stag-dashboard-mock__alerts-title {
  font-size: 0.72rem;
  color: var(--stag-sage);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: 'Lexend', system-ui, sans-serif;
}

.stag-dashboard-mock__alert-item {
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 6px;
}

.stag-dashboard-mock__alert-sku {
  font-size: 0.78rem;
  color: var(--stag-cream);
  margin-bottom: 4px;
  font-family: 'JetBrains Mono', monospace;
}

/* ============================================================
   10. INLINE MOCK — REORDER TABLE
   ============================================================ */
.stag-reorder-table {
  background: var(--stag-white);
  border-radius: var(--stag-radius-card);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(14, 31, 20, 0.1);
  border: 1px solid rgba(14, 31, 20, 0.08);
}

.stag-reorder-table table {
  width: 100%;
  font-size: 0.82rem;
}

.stag-reorder-table thead {
  background: var(--stag-cream-light);
}

.stag-reorder-table th {
  padding: 10px 14px;
  color: var(--stag-muted);
  font-family: 'Lexend', system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.stag-reorder-table td {
  padding: 10px 14px;
  color: var(--stag-ink);
  border-bottom: 1px solid rgba(14, 31, 20, 0.06);
  vertical-align: middle;
}

.stag-reorder-table tr.stag-row--highlight td {
  background: rgba(76, 176, 122, 0.07);
}

.stag-reorder-table td.stag-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
}

.stag-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 400;
  white-space: nowrap;
}

.stag-pill--approve {
  background: rgba(27, 115, 65, 0.12);
  color: var(--stag-leaf);
}

.stag-pill--adjust {
  background: rgba(184, 92, 0, 0.12);
  color: #7A3E00;
}

.stag-pill--watch {
  background: rgba(74, 102, 86, 0.1);
  color: var(--stag-muted);
}

/* ============================================================
   11. INLINE MOCK — API CODE SNIPPET
   ============================================================ */
.stag-code-mock {
  background: var(--stag-forest);
  border-radius: var(--stag-radius-panel);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  border-top: 3px solid var(--stag-leaf-light);
}

.stag-code-mock__header {
  background: var(--stag-forest-alt);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stag-code-mock__lang {
  font-size: 0.7rem;
  color: var(--stag-sage);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}

.stag-code-mock__body {
  padding: 20px 24px;
  overflow-x: auto;
}

.stag-code-mock pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--stag-cream);
  white-space: pre;
}

.stag-code-mock .stag-c-key    { color: var(--stag-cream); }
.stag-code-mock .stag-c-val    { color: var(--stag-leaf-light); }
.stag-code-mock .stag-c-num    { color: #B5C9FF; }
.stag-code-mock .stag-c-cmt    { color: var(--stag-sage); }
.stag-code-mock .stag-c-method { color: var(--stag-sage); }
.stag-code-mock .stag-c-url    { color: var(--stag-leaf-light); }

/* ============================================================
   12. OMNICHANNEL FLOW SVG WRAPPER
   ============================================================ */
.stag-flow-svg-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
}

.stag-flow-svg-wrap svg {
  max-width: 100%;
  height: auto;
}

/* ============================================================
   13. SOCIAL PROOF BAND
   ============================================================ */
.stag-proof-band {
  padding-block: 40px;
}

.stag-proof-band__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  justify-content: center;
  align-items: center;
}

.stag-proof-item {
  text-align: center;
}

.stag-proof-item__stat {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--stag-leaf);
  line-height: 1.1;
}

.stag-proof-item__label {
  font-size: 0.85rem;
  color: var(--stag-muted);
  max-width: 200px;
  line-height: 1.4;
  margin-top: 4px;
}

.stag-proof-divider {
  width: 1px;
  height: 48px;
  background: rgba(14, 31, 20, 0.15);
}

/* ============================================================
   14. PROBLEM SECTION
   ============================================================ */
.stag-problem-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stag-problem-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stag-problem-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(27, 115, 65, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stag-leaf);
  font-size: 1rem;
}

.stag-problem-item__text h4 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--stag-ink);
  margin-bottom: 4px;
}

.stag-problem-item__text p {
  font-size: 0.9rem;
  color: var(--stag-muted);
  line-height: 1.55;
}

.stag-pull-quote {
  background: var(--stag-white);
  border-left: 4px solid var(--stag-leaf);
  border-radius: 0 var(--stag-radius-card) var(--stag-radius-card) 0;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(14,31,20,0.08);
}

.stag-pull-quote__text {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: var(--stag-ink);
  line-height: 1.5;
  margin-bottom: 16px;
}

.stag-pull-quote__attr {
  font-size: 0.85rem;
  color: var(--stag-muted);
}

.stag-pull-quote__attr strong {
  color: var(--stag-ink);
}

/* ============================================================
   15. HOW IT WORKS — 3 STEPS
   ============================================================ */
.stag-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.stag-steps__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.stag-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.stag-step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(76, 176, 122, 0.15);
  border: 1px solid rgba(76, 176, 122, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--stag-leaf-light);
}

.stag-step__body h4 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--stag-cream);
  margin-bottom: 6px;
}

.stag-step__body p {
  font-size: 0.9rem;
  color: var(--stag-sage);
  line-height: 1.6;
}

.stag-steps__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   16. FEATURES BENTO GRID
   ============================================================ */
.stag-bento {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.stag-bento__card {
  background: var(--stag-white);
  border: 1px solid rgba(14, 31, 20, 0.08);
  border-radius: var(--stag-radius-card);
  padding: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.stag-bento__card--large {
  grid-row: 1 / 3;
}

.stag-bento__card--small {
  grid-column: 2;
}

.stag-bento__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--stag-cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--stag-leaf);
}

.stag-bento__card h3 {
  color: var(--stag-ink);
  margin-bottom: 10px;
}

.stag-bento__card p {
  color: var(--stag-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
}

.stag-bento__mock-area {
  margin-top: 28px;
  border-radius: 8px;
  overflow: hidden;
}

/* ============================================================
   17. INTEGRATIONS STRIP
   ============================================================ */
.stag-integrations-strip {
  padding-block: 48px;
}

.stag-integrations-strip__heading {
  text-align: center;
  margin-bottom: 24px;
}

.stag-integrations-strip__heading p {
  font-size: 0.95rem;
  color: var(--stag-muted);
}

.stag-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.stag-integration-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--stag-cream-light);
  border: 1px solid rgba(14, 31, 20, 0.1);
  border-radius: 30px;
  font-size: 0.875rem;
  color: var(--stag-ink);
  font-weight: 400;
  transition: background var(--stag-dur) var(--stag-ease);
}

.stag-integration-badge:hover {
  background: var(--stag-cream-light);
  border-color: var(--stag-leaf);
  color: var(--stag-leaf);
}

/* ============================================================
   18. TESTIMONIALS
   ============================================================ */
.stag-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.stag-testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(126, 168, 144, 0.2);
  border-radius: var(--stag-radius-card);
  padding: 32px;
}

.stag-testimonial-card__quote {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--stag-cream);
  line-height: 1.7;
  margin-bottom: 24px;
}

.stag-testimonial-card__attr {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stag-testimonial-card__initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(76, 176, 122, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--stag-cream);
  flex-shrink: 0;
}

.stag-testimonial-card__name {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--stag-cream);
  display: block;
}

.stag-testimonial-card__role {
  font-size: 0.8rem;
  color: var(--stag-sage);
  display: block;
  margin-top: 2px;
}

/* ============================================================
   19. PRICING TEASER + PRICING PAGE CARDS
   ============================================================ */
.stag-pricing-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stag-pricing-teaser__card {
  background: var(--stag-white);
  border: 1px solid rgba(14, 31, 20, 0.1);
  border-radius: var(--stag-radius-card);
  padding: 28px;
  text-align: center;
}

.stag-pricing-teaser__card h4 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--stag-ink);
  margin-bottom: 8px;
}

.stag-pricing-teaser__price {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--stag-leaf);
  margin-bottom: 8px;
}

.stag-pricing-teaser__price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--stag-muted);
}

.stag-pricing-teaser__desc {
  font-size: 0.85rem;
  color: var(--stag-muted);
}

/* Full pricing page */
.stag-pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.stag-pricing-toggle__label {
  font-size: 0.9rem;
  color: var(--stag-muted);
  cursor: pointer;
  transition: color var(--stag-dur) var(--stag-ease);
}

.stag-pricing-toggle__label--active {
  color: var(--stag-ink);
  font-weight: 400;
}

.stag-pricing-toggle__track {
  width: 48px;
  height: 26px;
  background: rgba(14, 31, 20, 0.28);
  border: 1px solid rgba(14, 31, 20, 0.22);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background var(--stag-dur) var(--stag-ease), border-color var(--stag-dur) var(--stag-ease);
  padding: 0;
  outline-offset: 2px;
}

.stag-pricing-toggle__track--annual {
  background: var(--stag-leaf);
}

.stag-pricing-toggle__thumb {
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform var(--stag-dur) var(--stag-ease);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.stag-pricing-toggle__track--annual .stag-pricing-toggle__thumb {
  transform: translateX(22px);
}

.stag-pricing-toggle__save {
  font-size: 0.78rem;
  color: var(--stag-leaf);
  background: rgba(27, 115, 65, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.stag-pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.stag-tier-card {
  background: var(--stag-white);
  border: 1px solid rgba(14, 31, 20, 0.1);
  border-radius: var(--stag-radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.stag-tier-card--highlight {
  border: 2px solid var(--stag-leaf);
  position: relative;
}

.stag-tier-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--stag-leaf);
  color: white;
  font-size: 0.72rem;
  font-weight: 400;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.stag-tier-card__name {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--stag-ink);
  margin-bottom: 8px;
}

.stag-tier-card__price {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--stag-ink);
  line-height: 1;
  margin-bottom: 4px;
}

.stag-tier-card__price sup {
  font-size: 1.2rem;
  font-weight: 600;
  vertical-align: top;
  margin-top: 6px;
  display: inline-block;
}

.stag-tier-card__price-annual { display: none; }

.stag-tier-card__price--annual .stag-tier-card__price-monthly { display: none; }
.stag-tier-card__price--annual .stag-tier-card__price-annual  { display: block; }

.stag-tier-card__period {
  font-size: 0.85rem;
  color: var(--stag-muted);
  margin-bottom: 6px;
}

.stag-tier-card__limits {
  font-size: 0.82rem;
  color: var(--stag-muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(14, 31, 20, 0.08);
}

.stag-tier-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 28px;
}

.stag-tier-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--stag-muted);
  line-height: 1.4;
}

.stag-tier-card__feature::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(27, 115, 65, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='16' height='16'%3E%3Cpath d='M3 8l3.5 3.5L13 4.5' stroke='%231B7341' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  margin-top: 1px;
}

/* Feature comparison table */
.stag-comparison-wrap {
  overflow-x: auto;
}

.stag-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.stag-comparison-table th {
  padding: 14px 16px;
  text-align: center;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 600;
  color: var(--stag-ink);
  border-bottom: 2px solid rgba(14, 31, 20, 0.1);
}

.stag-comparison-table th:first-child {
  text-align: left;
  color: var(--stag-muted);
  font-weight: 400;
}

.stag-comparison-table td {
  padding: 12px 16px;
  text-align: center;
  color: var(--stag-muted);
  border-bottom: 1px solid rgba(14, 31, 20, 0.06);
}

.stag-comparison-table td:first-child {
  text-align: left;
  color: var(--stag-ink);
}

.stag-comparison-table tr:last-child td {
  border-bottom: none;
}

.stag-check {
  color: var(--stag-leaf);
  font-size: 1rem;
}

.stag-dash {
  color: rgba(14, 31, 20, 0.2);
}

/* ============================================================
   20. FAQ ACCORDION
   ============================================================ */
.stag-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stag-faq__item {
  background: var(--stag-white);
  border: 1px solid rgba(14, 31, 20, 0.1);
  border-radius: var(--stag-radius-card);
  overflow: hidden;
}

.stag-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--stag-ink);
  background: none;
  border: none;
  cursor: pointer;
  gap: 16px;
  transition: color var(--stag-dur) var(--stag-ease);
}

.stag-faq__trigger:hover {
  color: var(--stag-leaf);
}

.stag-faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stag-muted);
  transition: transform var(--stag-dur) var(--stag-ease), color var(--stag-dur) var(--stag-ease);
}

.stag-faq__item--open .stag-faq__icon {
  transform: rotate(180deg);
  color: var(--stag-leaf);
}

.stag-faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding var(--stag-dur) var(--stag-ease);
}

.stag-faq__item--open .stag-faq__panel {
  max-height: 400px;
}

.stag-faq__panel-inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--stag-muted);
  line-height: 1.7;
}

/* ============================================================
   21. TEAM GRID
   ============================================================ */
.stag-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stag-team-card {
  text-align: center;
}

.stag-team-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-inline: auto;
  margin-bottom: 16px;
  background: var(--stag-cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stag-team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stag-team-card__initials {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--stag-leaf);
  display: none;
}

.stag-team-card__name {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--stag-ink);
  margin-bottom: 4px;
}

.stag-team-card__role {
  font-size: 0.82rem;
  color: var(--stag-leaf);
  margin-bottom: 10px;
}

.stag-team-card__bio {
  font-size: 0.85rem;
  color: var(--stag-muted);
  line-height: 1.55;
}

/* ============================================================
   22. VALUES SECTION
   ============================================================ */
.stag-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.stag-value-card {
  padding: 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(126, 168, 144, 0.15);
  border-radius: var(--stag-radius-card);
}

.stag-value-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(76, 176, 122, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stag-leaf-light);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.stag-value-card h3 {
  color: var(--stag-cream);
  margin-bottom: 8px;
}

.stag-value-card p {
  color: var(--stag-sage);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================================
   23. STAT / METRIC CARDS
   ============================================================ */
.stag-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stag-stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(126, 168, 144, 0.15);
  border-radius: var(--stag-radius-card);
  padding: 28px 24px;
  text-align: center;
}

.stag-stat-card__number {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--stag-leaf-light);
  line-height: 1;
  margin-bottom: 10px;
}

.stag-stat-card__label {
  font-size: 0.9rem;
  color: var(--stag-cream);
  font-weight: 400;
  margin-bottom: 6px;
}

.stag-stat-card__source {
  font-size: 0.75rem;
  color: var(--stag-sage);
}

/* ============================================================
   24. CONTACT FORM
   ============================================================ */
.stag-contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}

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

.stag-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stag-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stag-field label {
  font-size: 0.85rem;
  color: var(--stag-ink);
  font-weight: 400;
}

.stag-field input,
.stag-field select,
.stag-field textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--stag-white);
  border: 1px solid rgba(14, 31, 20, 0.2);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--stag-ink);
  font-family: 'Lexend', system-ui, sans-serif;
  transition: border-color var(--stag-dur) var(--stag-ease);
  outline: none;
}

.stag-field input::placeholder,
.stag-field textarea::placeholder {
  color: rgba(14, 31, 20, 0.35);
}

.stag-field input:focus,
.stag-field select:focus,
.stag-field textarea:focus {
  border-color: var(--stag-leaf);
  box-shadow: 0 0 0 3px rgba(27, 115, 65, 0.12);
}

.stag-field textarea {
  min-height: 120px;
  resize: vertical;
}

.stag-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='16' height='16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%234A6656' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.stag-form__feedback {
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
  display: none;
}

.stag-form__feedback--success {
  background: rgba(27, 115, 65, 0.1);
  color: var(--stag-leaf);
  border: 1px solid rgba(27, 115, 65, 0.2);
  display: block;
}

.stag-form__feedback--error {
  background: rgba(192, 57, 43, 0.08);
  color: #8B2517;
  border: 1px solid rgba(192, 57, 43, 0.2);
  display: block;
}

.stag-contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stag-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.stag-contact-info__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--stag-cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stag-leaf);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.stag-contact-info__text {
  font-size: 0.9rem;
  color: var(--stag-muted);
  line-height: 1.5;
}

.stag-contact-info__text a {
  color: var(--stag-leaf);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stag-contact-info__label {
  display: block;
  font-size: 0.78rem;
  color: var(--stag-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* ============================================================
   25. BLOG LISTING
   ============================================================ */
.stag-featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--stag-white);
  border-radius: var(--stag-radius-card);
  overflow: hidden;
  border: 1px solid rgba(14, 31, 20, 0.08);
}

.stag-featured-article__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.stag-featured-article__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stag-featured-article__body {
  padding: 32px 32px 32px 0;
}

.stag-featured-article__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--stag-muted);
}

.stag-featured-article__cat {
  background: var(--stag-cream-light);
  color: var(--stag-leaf);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.stag-featured-article__title {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--stag-ink);
  margin-bottom: 12px;
  line-height: 1.2;
}

.stag-featured-article__excerpt {
  font-size: 0.92rem;
  color: var(--stag-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.stag-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.stag-blog-card {
  background: var(--stag-white);
  border: 1px solid rgba(14, 31, 20, 0.08);
  border-radius: var(--stag-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--stag-dur) var(--stag-ease);
}

.stag-blog-card:hover {
  box-shadow: 0 8px 32px rgba(14,31,20,0.1);
}

.stag-blog-card__cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.stag-blog-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--stag-ease);
}

.stag-blog-card:hover .stag-blog-card__cover img {
  transform: scale(1.04);
}

.stag-blog-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.stag-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: var(--stag-muted);
}

.stag-blog-card__title {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--stag-ink);
  margin-bottom: 8px;
  line-height: 1.3;
  flex: 1;
}

.stag-blog-card__excerpt {
  font-size: 0.85rem;
  color: var(--stag-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.stag-blog-card__link {
  font-size: 0.85rem;
  color: var(--stag-leaf);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   26. BLOG ARTICLE TEMPLATE
   ============================================================ */
.stag-article-hero {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  padding-top: calc(var(--stag-nav-h) + 56px);
  padding-bottom: 64px;
  background: var(--stag-forest);
  display: flex;
  align-items: flex-end;
}

.stag-article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(14,31,20,0.60) 0%, rgba(14,31,20,0.72) 40%, rgba(14,31,20,0.86) 100%);
  pointer-events: none;
}

.stag-article-hero__inner {
  width: 100%;
  max-width: var(--stag-max-w);
  margin-inline: auto;
  padding-inline: var(--stag-container-px);
  position: relative;
  z-index: 2;
}

.stag-article-breadcrumb {
  font-size: 0.8rem;
  color: var(--stag-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stag-article-breadcrumb a {
  color: var(--stag-leaf);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stag-article-breadcrumb span {
  color: rgba(14,31,20,0.3);
}

.stag-article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(232,242,236,0.88);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-bottom: 20px;
}

.stag-article-hero__title {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  max-width: 760px;
  margin-bottom: 16px;
}

.stag-article-hero__excerpt {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: rgba(232,242,236,0.88);
  font-weight: 300;
  max-width: 640px;
  margin-bottom: 20px;
}

.stag-article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(232,242,236,0.78);
}

.stag-article-hero__cover {
  position: absolute;
  inset: 0;
  max-width: none;
  margin: 0;
  z-index: 0;
}

.stag-article-hero__cover img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

@media (max-width: 640px) {
  .stag-article-hero {
    min-height: 360px;
    padding-top: calc(var(--stag-nav-h) + 40px);
    padding-bottom: 48px;
  }
}

.stag-article-content {
  background: var(--stag-white);
  padding-block: 64px;
}

.stag-article-content__inner {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--stag-container-px);
}

.stag-prose {
  font-size: 1rem;
  color: var(--stag-ink);
  line-height: 1.8;
}

.stag-prose h2 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--stag-ink);
  margin-top: 40px;
  margin-bottom: 16px;
}

.stag-prose h3 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--stag-ink);
  margin-top: 28px;
  margin-bottom: 12px;
}

.stag-prose p {
  margin-bottom: 20px;
  color: var(--stag-ink);
}

.stag-prose ul, .stag-prose ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.stag-prose ul { list-style: disc; }
.stag-prose ol { list-style: decimal; }

.stag-prose li {
  margin-bottom: 8px;
  color: var(--stag-ink);
}

.stag-prose a {
  color: var(--stag-leaf);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stag-prose strong { font-weight: 600; }
.stag-prose em { font-style: italic; }

.stag-related-articles {
  padding-block: 64px;
  background: var(--stag-cream-light);
}

.stag-related-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

/* ============================================================
   27. AUTH CARDS (login / register / forgot-password)
   ============================================================ */
.stag-auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--stag-paper);
}

.stag-auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--stag-container-px);
}

.stag-auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--stag-white);
  border: 1px solid rgba(14, 31, 20, 0.1);
  border-radius: var(--stag-radius-card);
  padding: 40px;
  box-shadow: 0 8px 32px rgba(14,31,20,0.08);
}

.stag-auth-card__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.stag-auth-card__logo img {
  height: 28px;
  width: auto;
}

.stag-auth-card h1 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--stag-ink);
  text-align: center;
  margin-bottom: 8px;
}

.stag-auth-card__sub {
  text-align: center;
  font-size: 0.9rem;
  color: var(--stag-muted);
  margin-bottom: 28px;
}

.stag-auth-card .stag-form {
  gap: 16px;
}

.stag-auth-card .stag-btn {
  width: 100%;
  justify-content: center;
  padding: 13px 24px;
}

.stag-auth-card .stag-btn--primary {
  background: var(--stag-leaf);
  color: #FFFFFF;
  border: none;
  font-size: 0.95rem;
}

.stag-auth-card .stag-btn--primary:hover {
  background: #155c33;
}

.stag-auth-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.stag-auth-links a {
  font-size: 0.85rem;
  color: var(--stag-leaf);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stag-auth-links a:hover { opacity: 0.8; }

.stag-auth-card__legal {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(14, 31, 20, 0.08);
  text-align: center;
  font-size: 0.78rem;
  color: var(--stag-muted);
}

.stag-auth-card__legal a {
  color: var(--stag-leaf);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stag-auth-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--stag-muted);
}

.stag-auth-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--stag-leaf);
}

.stag-auth-checkbox a {
  color: var(--stag-leaf);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stag-auth-feedback {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.5;
  display: none;
  text-align: center;
}

.stag-auth-feedback--info {
  background: rgba(27, 115, 65, 0.08);
  color: var(--stag-leaf);
  border: 1px solid rgba(27, 115, 65, 0.2);
  display: block;
}

.stag-auth-feedback--error {
  background: rgba(192, 57, 43, 0.08);
  color: #8B2517;
  border: 1px solid rgba(192, 57, 43, 0.2);
  display: block;
}

.stag-auth-footer {
  padding: 20px var(--stag-container-px);
  text-align: center;
  font-size: 0.8rem;
  color: var(--stag-muted);
  border-top: 1px solid rgba(14, 31, 20, 0.08);
}

.stag-auth-footer a {
  color: var(--stag-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-inline: 4px;
}

/* ============================================================
   28. LEGAL CONTENT
   ============================================================ */
.stag-legal-hero {
  padding-top: calc(var(--stag-nav-h) + 48px);
  padding-bottom: 48px;
  background: var(--stag-paper);
}

.stag-legal-hero__inner {
  max-width: var(--stag-max-w);
  margin-inline: auto;
  padding-inline: var(--stag-container-px);
}

.stag-legal-hero h1 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--stag-ink);
  margin-bottom: 8px;
}

.stag-legal-hero__updated {
  font-size: 0.85rem;
  color: var(--stag-muted);
}

.stag-legal-content {
  background: var(--stag-white);
  padding-block: 64px;
}

.stag-legal-content__inner {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: var(--stag-container-px);
}

.stag-legal-content h2 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--stag-ink);
  margin-top: 36px;
  margin-bottom: 12px;
}

.stag-legal-content p {
  font-size: 0.95rem;
  color: var(--stag-ink);
  line-height: 1.75;
  margin-bottom: 16px;
}

.stag-legal-content ul, .stag-legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--stag-ink);
}

.stag-legal-content ul { list-style: disc; }
.stag-legal-content ol { list-style: decimal; }

.stag-legal-content li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--stag-ink);
}

.stag-legal-content a {
  color: var(--stag-leaf);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   29. CTA BANNER
   ============================================================ */
.stag-cta-banner {
  text-align: center;
}

.stag-cta-banner h2 {
  color: var(--stag-cream);
  margin-bottom: 16px;
}

.stag-cta-banner .stag-lead {
  color: var(--stag-sage);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.stag-cta-banner .stag-btn-group {
  justify-content: center;
}

/* ============================================================
   30. NEWSLETTER SIGNUP
   ============================================================ */
.stag-newsletter {
  text-align: center;
}

.stag-newsletter h3 {
  color: var(--stag-cream);
  margin-bottom: 10px;
}

.stag-newsletter p {
  color: var(--stag-sage);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.stag-newsletter-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin-inline: auto;
}

.stag-newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 11px 16px;
  border-radius: var(--stag-radius-btn);
  border: 1px solid rgba(126, 168, 144, 0.3);
  background: rgba(255,255,255,0.08);
  color: var(--stag-cream);
  font-family: 'Lexend', system-ui, sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--stag-dur) var(--stag-ease);
}

.stag-newsletter-form input::placeholder {
  color: var(--stag-sage);
}

.stag-newsletter-form input:focus {
  border-color: var(--stag-leaf-light);
}

/* ============================================================
   31. FOOTER
   ============================================================ */
.stag-footer {
  padding-top: 64px;
}

.stag-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(126, 168, 144, 0.15);
}

.stag-footer__brand .stag-footer__logo img {
  height: 28px;
  width: auto;
  margin-bottom: 16px;
}

.stag-footer__brand p {
  font-size: 0.875rem;
  color: var(--stag-sage);
  line-height: 1.6;
  max-width: 240px;
}

.stag-footer__col-heading {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--stag-cream);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.stag-footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stag-footer__col-links a {
  font-size: 0.875rem;
  color: var(--stag-sage);
  transition: color var(--stag-dur) var(--stag-ease);
}

.stag-footer__col-links a:hover {
  color: var(--stag-cream);
}

.stag-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 0.82rem;
  color: var(--stag-sage);
}

.stag-footer__bottom-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.stag-footer__bottom-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.stag-footer__bottom a {
  color: var(--stag-sage);
  transition: color var(--stag-dur) var(--stag-ease);
}

.stag-footer__bottom a:hover { color: var(--stag-cream); }

/* ============================================================
   32. COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--stag-forest-alt);
  border-top: 1px solid rgba(76, 176, 122, 0.2);
  padding: 16px var(--stag-container-px);
}

.cookie-banner__inner {
  max-width: var(--stag-max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: var(--stag-sage);
  flex: 1;
  min-width: 280px;
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--stag-leaf-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  padding: 9px 20px;
  border-radius: var(--stag-radius-btn);
  font-family: 'Lexend', system-ui, sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  transition: all var(--stag-dur) var(--stag-ease);
}

.cookie-banner__btn--primary {
  background: var(--stag-leaf-light);
  color: var(--stag-forest);
  border: 1px solid var(--stag-leaf-light);
}

.cookie-banner__btn--primary:hover {
  background: #3ca36a;
  border-color: #3ca36a;
}

.cookie-banner__btn--secondary {
  background: transparent;
  color: var(--stag-sage);
  border: 1px solid rgba(126, 168, 144, 0.4);
}

.cookie-banner__btn--secondary:hover {
  border-color: var(--stag-sage);
  color: var(--stag-cream);
}

/* ============================================================
   33. PLATFORM PAGE — MISC SECTIONS
   ============================================================ */
.stag-platform-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.stag-feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stag-feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.stag-feature-bullet__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--stag-cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stag-leaf);
  font-size: 0.9rem;
}

.stag-feature-bullet h4 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--stag-ink);
  margin-bottom: 4px;
}

.stag-feature-bullet p {
  font-size: 0.88rem;
  color: var(--stag-muted);
  line-height: 1.55;
}

/* Browser chrome mock wrapper */
.stag-browser-chrome {
  background: var(--stag-forest);
  border-radius: var(--stag-radius-card);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.stag-browser-chrome__bar {
  background: var(--stag-forest-alt);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(126, 168, 144, 0.1);
}

.stag-browser-chrome__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--stag-sage);
  opacity: 0.4;
}

.stag-browser-chrome__caption {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--stag-sage);
  font-family: 'JetBrains Mono', monospace;
}

.stag-browser-chrome__body {
  padding: 0;
}

/* Segment description cards */
.stag-segment-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
}

.stag-segment-card:not(:last-child) {
  border-bottom: 1px solid rgba(14, 31, 20, 0.08);
}

.stag-segment-card__body h3 {
  color: var(--stag-ink);
  margin-bottom: 12px;
}

.stag-segment-card__body p {
  color: var(--stag-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.stag-segment-card__body .stag-tag {
  display: inline-block;
  background: var(--stag-cream-light);
  color: var(--stag-leaf);
  padding: 4px 12px;
  border-radius: var(--stag-radius-badge);
  font-size: 0.78rem;
}

.stag-segment-card__visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Dark segment card */
.stag-segment-card--dark .stag-segment-card__body h3 {
  color: var(--stag-cream);
}

.stag-segment-card--dark .stag-segment-card__body p {
  color: var(--stag-sage);
}

/* Info panel — two-col on light */
.stag-info-panel {
  background: var(--stag-white);
  border: 1px solid rgba(14, 31, 20, 0.08);
  border-radius: var(--stag-radius-card);
  padding: 32px;
}

.stag-info-panel h3 {
  color: var(--stag-ink);
  margin-bottom: 12px;
}

.stag-info-panel p {
  color: var(--stag-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Timeline steps */
.stag-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 28px;
}

.stag-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: rgba(27, 115, 65, 0.2);
}

.stag-timeline__item {
  position: relative;
  padding-left: 24px;
  padding-bottom: 28px;
}

.stag-timeline__item:last-child { padding-bottom: 0; }

.stag-timeline__dot {
  position: absolute;
  left: -17px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--stag-leaf);
  border: 2px solid var(--stag-paper);
}

.stag-timeline__item h4 {
  color: var(--stag-ink);
  margin-bottom: 4px;
}

.stag-timeline__item p {
  color: var(--stag-muted);
  font-size: 0.88rem;
}

/* ============================================================
   34. PLATFORM PAGE ANALYTICS CARDS
   ============================================================ */
.stag-analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stag-analytics-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(126, 168, 144, 0.15);
  border-radius: var(--stag-radius-card);
  padding: 24px;
}

.stag-analytics-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(76, 176, 122, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stag-leaf-light);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.stag-analytics-card h4 {
  color: var(--stag-cream);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.stag-analytics-card p {
  color: var(--stag-sage);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ============================================================
   35. INTEGRATIONS PAGE SECTIONS
   ============================================================ */
.stag-integration-section {
  margin-bottom: 40px;
}

.stag-integration-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.stag-integration-item {
  background: var(--stag-white);
  border: 1px solid rgba(14, 31, 20, 0.08);
  border-radius: var(--stag-radius-card);
  padding: 20px 24px;
}

.stag-integration-item__name {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--stag-ink);
  margin-bottom: 6px;
}

.stag-integration-item p {
  font-size: 0.85rem;
  color: var(--stag-muted);
  line-height: 1.5;
}

/* ============================================================
   36. FADE-IN ANIMATION
   ============================================================ */
.stag-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--stag-ease), transform 0.5s var(--stag-ease);
}

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

/* ============================================================
   37. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .stag-fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   38. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .stag-bento {
    grid-template-columns: 1fr;
  }
  .stag-bento__card--large { grid-row: auto; }
  .stag-bento__card--small { grid-column: auto; }

  .stag-dashboard-mock__body {
    grid-template-columns: 160px 1fr;
  }
  .stag-dashboard-mock__alerts { display: none; }

  .stag-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root { --stag-section-py: 64px; }

  .stag-nav__links,
  .stag-nav__auth { display: none; }

  .stag-nav__hamburger { display: flex; }

  .stag-two-col,
  .stag-steps,
  .stag-platform-overview,
  .stag-contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stag-featured-article {
    grid-template-columns: 1fr;
  }
  .stag-featured-article__body {
    padding: 0 24px 24px;
  }

  .stag-blog-grid,
  .stag-three-col,
  .stag-pricing-tiers {
    grid-template-columns: repeat(2, 1fr);
  }

  .stag-three-col.stag-values-grid { grid-template-columns: 1fr; }

  .stag-testimonials-grid { grid-template-columns: 1fr; }

  .stag-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .stag-four-col { grid-template-columns: repeat(2, 1fr); }
  .stag-analytics-grid { grid-template-columns: repeat(2, 1fr); }
  .stag-stats-row { grid-template-columns: repeat(3, 1fr); }

  .stag-segment-card {
    grid-template-columns: 1fr;
  }
  .stag-segment-card__visual { justify-content: flex-start; }
}

@media (max-width: 640px) {
  :root { --stag-section-py: var(--stag-section-py-m); }

  .stag-blog-grid,
  .stag-three-col,
  .stag-pricing-tiers,
  .stag-related-articles__grid {
    grid-template-columns: 1fr;
  }

  .stag-pricing-teaser { grid-template-columns: 1fr; }
  .stag-stats-row { grid-template-columns: 1fr; }
  .stag-analytics-grid { grid-template-columns: 1fr; }

  .stag-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stag-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stag-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .stag-form__row { grid-template-columns: 1fr; }

  .stag-hero__content { padding: 60px var(--stag-container-px) 60px; }
  .stag-hero__text { text-align: center; margin-inline: auto; }
  .stag-hero__headline { margin-inline: auto; }
  .stag-hero__subhead { margin-inline: auto; }

  .stag-proof-band__inner { gap: 16px 24px; }
  .stag-proof-divider { display: none; }

  .stag-comparison-wrap { overflow-x: auto; }
  .stag-comparison-table { min-width: 600px; }

  .stag-dashboard-mock__body {
    grid-template-columns: 1fr;
  }
  .stag-dashboard-mock__sidebar { display: none; }

  .stag-auth-card { padding: 28px 24px; }

  .stag-hero__ctas { flex-direction: column; align-items: center; justify-content: center; }
  .stag-hero__ctas .stag-btn { width: 100%; max-width: 300px; }

  .stag-newsletter-form { flex-direction: column; }
  .stag-newsletter-form input { min-width: 0; }
}

/* ============================================================
   39. BEM SUB-ELEMENTS AND MISSING COMPONENT STYLES
   ============================================================ */

.stag-tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.stag-tier-card__header {
  margin-bottom: 20px;
}

.stag-tier-card__tagline {
  font-size: 0.85rem;
  color: var(--stag-muted);
  margin-top: 6px;
  line-height: 1.45;
}

.stag-tier-card__amount {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--stag-ink);
  line-height: 1;
}

.stag-tier-card__cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 28px;
}

.stag-tier-card__feature--limit {
  color: rgba(74, 102, 86, 0.65);
}

.stag-pricing-toggle__label--monthly,
.stag-pricing-toggle__label--annual {
  cursor: pointer; /* JS state hooks — toggle active label */
}

.stag-testimonial-quote {
  margin: 0;
  padding: 28px 36px;
  border-left: 3px solid var(--stag-leaf);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 var(--stag-radius-card) var(--stag-radius-card) 0;
  text-align: left;
}

.stag-cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.stag-cta-banner__inner .stag-btn-group {
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.stag-cta-banner__headline {
  color: var(--stag-cream);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  margin-bottom: 12px;
}

.stag-cta-banner__sub {
  color: var(--stag-sage);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.stag-integration-section__head {
  margin-bottom: 24px;
}

.stag-integration-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.stag-integration-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(27, 115, 65, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stag-leaf);
  font-size: 1rem;
}

.stag-integration-item__desc {
  font-size: 0.85rem;
  color: var(--stag-muted);
  line-height: 1.5;
}

.stag-info-panel__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(27, 115, 65, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stag-leaf);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.stag-info-panel__title {
  color: var(--stag-ink);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.stag-info-panel__body {
  color: var(--stag-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.stag-stat-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(76, 176, 122, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stag-leaf-light);
  font-size: 1.1rem;
  margin-inline: auto;
  margin-bottom: 16px;
}

.stag-stat-card__desc {
  font-size: 0.82rem;
  color: var(--stag-sage);
  margin-top: 8px;
  line-height: 1.5;
}

.stag-blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--stag-white);
  border: 1px solid rgba(14, 31, 20, 0.08);
  border-radius: var(--stag-radius-card);
  overflow: hidden;
}

.stag-blog-featured__cover {
  display: block;
  overflow: hidden;
}

.stag-blog-featured__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--stag-ease);
}

.stag-blog-featured:hover .stag-blog-featured__cover img {
  transform: scale(1.03);
}

.stag-blog-featured__body {
  padding: 36px 36px 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stag-blog-featured__title {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--stag-ink);
  margin-bottom: 12px;
  line-height: 1.3;
}

.stag-blog-featured__title a {
  color: inherit;
  text-decoration: none;
}

.stag-blog-featured__title a:hover {
  color: var(--stag-leaf);
}

.stag-blog-featured__excerpt {
  font-size: 0.92rem;
  color: var(--stag-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.stag-blog-featured__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--stag-muted);
}

.stag-newsletter-form__fields {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.stag-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stag-form__label {
  font-size: 0.85rem;
  color: var(--stag-ink);
  font-weight: 400;
}

.stag-form__input {
  width: 100%;
  padding: 10px 14px;
  background: var(--stag-white);
  border: 1px solid rgba(14, 31, 20, 0.2);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--stag-ink);
  font-family: 'Lexend', system-ui, sans-serif;
  transition: border-color var(--stag-dur) var(--stag-ease);
  outline: none;
}

.stag-form__input::placeholder {
  color: rgba(14, 31, 20, 0.35);
}

.stag-form__input:focus {
  border-color: var(--stag-leaf);
  box-shadow: 0 0 0 3px rgba(27, 115, 65, 0.12);
}

.stag-form__textarea {
  min-height: 120px;
  resize: vertical;
}

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

.stag-blog-card__tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stag-leaf);
  font-weight: 600;
  margin-bottom: 6px;
}

@media (max-width: 640px) {
  .stag-tier-cards { grid-template-columns: 1fr; }

  .stag-blog-featured {
    grid-template-columns: 1fr;
  }
  .stag-blog-featured__body {
    padding: 0 24px 28px;
  }

  .stag-cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }
  .stag-cta-banner__inner .stag-btn-group {
    justify-content: center;
    flex-wrap: wrap;
  }
}

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