:root {
  --gfe-green: #3AB349;
  --gfe-green-dark: #2E8F3A;
  --gfe-green-light: #6FD57F;
  --gfe-green-tint: rgba(58, 179, 73, 0.08);
  --gfe-green-gradient: linear-gradient(135deg, #3AB349 0%, #2E8F3A 100%);
  --gfe-dark-gradient: linear-gradient(135deg, #163310 0%, #0E2207 100%);
  --gfe-black: #0E2207;
  --gfe-white: #FFFFFF;
  --gfe-cream: #F8F6F1;
  --gfe-border: #E9E4D8;
  --gfe-text: #2B2F29;
  --gfe-text-muted: #757873;
  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --radius-card: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(14, 34, 7, 0.08);
  --shadow-md: 0 8px 24px rgba(14, 34, 7, 0.1);
  --shadow-lg: 0 20px 50px rgba(14, 34, 7, 0.25);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scrollbar-color: var(--gfe-green) var(--gfe-cream);
  scrollbar-width: thin;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  background-color: var(--gfe-cream);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.055  0 0 0 0 0.133  0 0 0 0 0.027  0 0 0 0.028 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cg fill='none' stroke='%233AB349' stroke-opacity='0.07' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M42 78c16-24 44-30 66-16-10 26-40 34-66 16z'/%3E%3Cpath d='M48 74c18-8 40-11 58-6'/%3E%3Cpath d='M238 226c26-8 38-36 30-60-28 6-42 34-30 60z'/%3E%3Cpath d='M242 218c8-18 18-34 30-46'/%3E%3Cpath d='M140 296c4-18 22-30 40-28-2 20-20 32-40 28z'/%3E%3Cpath d='M146 292c10-8 22-14 32-16'/%3E%3Cpath d='M268 66c-2-16 10-32 28-34 4 18-8 32-28 34z'/%3E%3Cpath d='M272 62c8-10 16-18 22-22'/%3E%3Cpath d='M76 194c-14-4-22-20-18-34 16 2 26 18 18 34z'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  color: var(--gfe-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Soft green ambient glows drifting behind everything */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
}

body::before {
  top: -22%;
  right: -12%;
  width: 62vw;
  height: 62vw;
  background: radial-gradient(circle, rgba(58, 179, 73, 0.13) 0%, rgba(58, 179, 73, 0) 65%);
  animation: orbDrift 26s ease-in-out infinite alternate;
}

body::after {
  bottom: -25%;
  left: -15%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(58, 179, 73, 0.1) 0%, rgba(58, 179, 73, 0) 65%);
  animation: orbDrift 32s ease-in-out infinite alternate-reverse;
}

@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-4vw, 3vw) scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}

::selection {
  background: var(--gfe-green);
  color: var(--gfe-white);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gfe-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--gfe-green);
  border-radius: var(--radius-pill);
  border: 2px solid var(--gfe-cream);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gfe-green-dark);
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gfe-green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Scroll progress bar ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gfe-green-gradient);
  z-index: 100;
  transition: width 0.1s linear;
}

/* ---------- Slim sticky nav (hidden until scrolled past the hero) ---------- */

.app-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  padding: 0.7rem 1.25rem;
  background: rgba(14, 34, 7, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gfe-green);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.app-nav.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.app-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.app-nav__logo {
  height: 32px;
  width: auto;
  display: block;
}

.app-nav__title {
  color: var(--gfe-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .app-nav {
    transition: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 55vh;
  display: flex;
  align-items: center;
  background: var(--gfe-black);
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 140% at 0% 100%, rgba(14, 34, 7, 0.92) 0%, rgba(14, 34, 7, 0.55) 40%, rgba(14, 34, 7, 0.15) 70%),
    linear-gradient(180deg, rgba(14, 34, 7, 0.35) 0%, rgba(14, 34, 7, 0.1) 30%, rgba(14, 34, 7, 0.55) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 1.5rem 5rem;
  will-change: transform, filter, opacity;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.05s forwards;
}

.hero__logo {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
}

.hero__brand-name {
  color: var(--gfe-white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hero__title {
  margin: 0 0 0.75rem;
  color: var(--gfe-white);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.15s forwards;
}

.hero__subtitle {
  margin: 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.25s forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__brand,
  .hero__title,
  .hero__subtitle {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 46vh;
  }

  .hero__inner {
    padding: 4.5rem 1.25rem 4.5rem;
  }
}

/* ---------- Main layout ---------- */

.app-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  position: relative;
}

/* ---------- Program select — pulled up to overlap the hero's bottom edge ---------- */

.program-select-wrap {
  position: relative;
  z-index: 10;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.program-select-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gfe-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select__icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gfe-green);
  pointer-events: none;
  z-index: 1;
}

.custom-select::after {
  content: "";
  position: absolute;
  right: 1.6rem;
  top: 50%;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 3px solid var(--gfe-green);
  border-bottom: 3px solid var(--gfe-green);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.2s ease;
}

.custom-select select,
.custom-select__trigger {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  background: var(--gfe-white);
  color: var(--gfe-black);
  border: none;
  border-radius: var(--radius-pill);
  min-height: 68px;
  padding: 0.9rem 3.5rem 0.9rem 3.6rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  text-align: left;
}

.custom-select__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Once JS enhances the widget, the native select hides but keeps driving state */
.custom-select.is-enhanced select {
  display: none;
}

.custom-select select:hover,
.custom-select__trigger:hover {
  box-shadow: 0 24px 56px rgba(14, 34, 7, 0.3);
  transform: scale(1.01);
}

.custom-select select:focus,
.custom-select__trigger:focus {
  outline: none;
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(58, 179, 73, 0.35);
  transform: scale(1.01);
}

.custom-select.is-open .custom-select__trigger {
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(58, 179, 73, 0.35);
}

.custom-select.is-open::after {
  transform: translateY(-30%) rotate(225deg);
}

.custom-select select option {
  background: var(--gfe-white);
  color: var(--gfe-black);
  font-weight: 500;
}

/* ---------- Styled dropdown panel — same language as the pill ---------- */

.custom-select__panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  right: 0;
  z-index: 40;
  margin: 0;
  padding: 0.6rem;
  list-style: none;
  background: var(--gfe-white);
  border: 1px solid rgba(58, 179, 73, 0.25);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  max-height: 340px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.custom-select.is-open .custom-select__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.custom-select__panel:focus {
  outline: none;
}

.custom-select__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.1rem;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gfe-text);
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.custom-select__option + .custom-select__option {
  margin-top: 0.15rem;
}

.custom-select__option-icon,
.custom-select__option-check {
  display: inline-flex;
  flex-shrink: 0;
}

.custom-select__option-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gfe-green);
}

.custom-select__option-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select__option-check {
  visibility: hidden;
}

.custom-select__option-check svg {
  width: 1rem;
  height: 1rem;
}

.custom-select__option.is-active {
  background: var(--gfe-green-tint);
  color: var(--gfe-green-dark);
}

.custom-select__option[aria-selected="true"] {
  background: var(--gfe-green-gradient);
  color: var(--gfe-white);
}

.custom-select__option[aria-selected="true"] .custom-select__option-icon svg {
  color: var(--gfe-white);
}

.custom-select__option[aria-selected="true"] .custom-select__option-check {
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .custom-select__panel {
    transition: none;
  }
}

@media (max-width: 640px) {
  .program-select-wrap {
    margin-top: 1rem;
  }

  .custom-select select,
  .custom-select__trigger {
    min-height: 60px;
    font-size: 1rem;
  }
}

/* ---------- Program content ---------- */

.program-content {
  min-height: 200px;
  position: relative;
}

/* ---------- Per-program header banner (video or image, data-driven) ---------- */

.program-header {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--gfe-black);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.program-header__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.program-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 34, 7, 0.1) 0%, rgba(14, 34, 7, 0.15) 40%, rgba(14, 34, 7, 0.9) 100%);
}

.program-header__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem 2rem;
}

.program-header__title {
  margin: 0;
  color: var(--gfe-white);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.program-meta__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(14, 34, 7, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--gfe-white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.program-meta__chip svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--gfe-green-light);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .program-header__caption {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .program-meta {
    margin-top: 0.65rem;
    gap: 0.4rem;
  }

  .program-meta__chip {
    font-size: 0.72rem;
    padding: 0.28rem 0.7rem;
  }
}

.program-details__name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gfe-black);
  margin: 0 0 1.5rem;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gfe-green);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.5rem;
}

.section-eyebrow__rule {
  display: inline-block;
  width: 24px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--gfe-green);
  flex-shrink: 0;
  transform-origin: left center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gfe-black);
  margin: 0 0 0.9rem;
}

.empty-state {
  color: var(--gfe-text-muted);
}

/* ---------- Decorative content background video ----------
   A single shared, very-low-opacity video sits fixed behind the whole
   content area. Cards use a translucent + blurred surface so a faint hint
   of motion shows through without ever compromising text contrast. */

.content-bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.05;
  pointer-events: none;
}

/* No `filter: blur()` here on purpose. The blur is baked into
   card-background.mp4 instead — blurring a fixed, fullscreen, *playing* video
   in CSS forces the compositor to re-blur the whole viewport every frame. If
   the blur needs adjusting, re-encode the video (see README), don't add the
   filter back. */

@media (max-width: 719px) {
  .content-bg-video {
    display: none;
  }
}

/* ---------- Benefits — dark panel, oversized numerals ---------- */

.benefits-card {
  position: relative;
  overflow: hidden;
  background: var(--gfe-dark-gradient);
  border: 1px solid rgba(58, 179, 73, 0.35);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  padding: 2.25rem 2rem;
  margin-bottom: 2rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* Oversized leaf watermark + soft green bloom in the corner */
.benefits-card::before {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -50px;
  width: 280px;
  height: 280px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233AB349' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.28;
  transform: rotate(-12deg);
  pointer-events: none;
}

.benefits-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(58, 179, 73, 0.18) 0%, rgba(58, 179, 73, 0) 70%);
  pointer-events: none;
}

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

.benefits-card .section-title {
  color: var(--gfe-white);
}

.benefits-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.benefits-list li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.9rem;
  align-items: start;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.55;
  padding-top: 0.1rem;
}

.benefit-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.85rem;
  line-height: 1;
  color: var(--gfe-green);
  text-shadow: 0 0 18px rgba(58, 179, 73, 0.55);
}

.benefits-list,
.benefits-card .section-eyebrow,
.benefits-card .section-title {
  position: relative;
  z-index: 1;
}

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

/* ---------- Stage cards — dark gradient header band + light table body ---------- */

.stage-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(58, 179, 73, 0.18);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.stage-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stage-card__header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--gfe-dark-gradient);
  padding: 1.6rem 1.75rem;
  overflow: hidden;
}

/* Thin green energy line along the bottom edge of the header band */
.stage-card__header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gfe-green) 0%, rgba(58, 179, 73, 0.15) 100%);
}

.stage-card__icon {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gfe-green-gradient);
  box-shadow: 0 6px 18px rgba(58, 179, 73, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: var(--gfe-white);
}

.stage-card__icon svg {
  width: 26px;
  height: 26px;
}

.stage-card__heading {
  position: relative;
  min-width: 0;
}

.stage-card__header::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M100 8 C45 45 22 105 100 192 C178 105 155 45 100 8 Z' fill='white'/%3E%3Cpath d='M100 20 L100 178 M100 65 L58 95 M100 65 L142 95 M100 115 L62 145 M100 115 L138 145' stroke='white' stroke-width='3' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.1;
  pointer-events: none;
}

.stage-card__header .section-eyebrow {
  position: relative;
  color: var(--gfe-green);
}

.stage-card__header .section-title {
  position: relative;
  color: var(--gfe-white);
  margin: 0;
  font-size: 1.5rem;
}

.stage-card__body {
  padding: 1.5rem 1.75rem 1.75rem;
}

/* ---------- Steps table (CSS grid, responsive) ---------- */

.steps-table {
  width: 100%;
}

.steps-table__header {
  display: none;
}

.steps-table__row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 0.9fr 0.8fr;
  gap: 0.5rem 0.75rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--gfe-border);
  transition: background-color 0.15s ease;
}

.steps-table__row:hover {
  background-color: rgba(58, 179, 73, 0.04);
}

@media (min-width: 720px) {
  .steps-table__header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.1fr 0.9fr 0.8fr;
    gap: 0.5rem 0.75rem;
    padding: 0 0 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gfe-green-dark);
  }

  .steps-table__header span[role="columnheader"] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  .steps-table__header svg {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
    color: var(--gfe-green);
  }
}

.steps-table__row span[role="cell"] {
  font-size: 0.95rem;
}

.cell-growth-stage {
  font-weight: 600;
  color: var(--gfe-black);
  white-space: pre-line;
}

.cell-product {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gfe-black);
}

.price-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--gfe-green-tint);
  border: 1px solid rgba(58, 179, 73, 0.25);
  color: var(--gfe-green-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.price-chip svg {
  width: 0.8rem;
  height: 0.8rem;
  flex-shrink: 0;
}

/* Stacked card layout on narrow screens */
@media (max-width: 719px) {
  .steps-table__row {
    grid-template-columns: 1fr 1fr;
  }

  .steps-table__row span[role="cell"]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gfe-text-muted);
    margin-bottom: 0.15rem;
  }

  .cell-growth-stage,
  .steps-table__extra {
    grid-column: 1 / -1;
  }

  .steps-table__row span[role="cell"]:empty {
    display: none;
  }
}

@media (min-width: 720px) {
  .steps-table__extra {
    grid-column: 1 / -1;
  }
}

/* ---------- Expandable extra info ---------- */

.steps-table__extra {
  margin-top: 0.25rem;
}

.steps-table__extra summary {
  position: relative;
  cursor: pointer;
  color: var(--gfe-black);
  font-size: 0.85rem;
  font-weight: 700;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-left: 1.9rem;
  min-height: 1.4rem;
  transition: color 0.15s ease;
}

.steps-table__extra summary:hover {
  color: var(--gfe-green-dark);
}

.steps-table__extra summary::-webkit-details-marker {
  display: none;
}

.steps-table__extra summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--gfe-green);
  transition: background-color 0.2s ease;
}

.steps-table__extra summary::after {
  content: "";
  position: absolute;
  left: 0.47rem;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  margin-top: -0.3rem;
  border-right: 2px solid var(--gfe-white);
  border-bottom: 2px solid var(--gfe-white);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.steps-table__extra[open] summary::before {
  background: var(--gfe-green-dark);
}

.steps-table__extra[open] summary::after {
  transform: rotate(225deg);
  margin-top: -0.15rem;
}

.steps-table__extra-content {
  overflow: hidden;
}

.steps-table__extra p {
  font-size: 0.88rem;
  color: var(--gfe-text);
  white-space: pre-line;
  margin: 0.6rem 0 0;
  background: var(--gfe-green-tint);
  border: 1px solid rgba(58, 179, 73, 0.18);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  animation: fadeIn 0.25s ease;
}

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

.steps-table__extra p + p {
  margin-top: 0.5rem;
}

/* ---------- Footer ---------- */

.app-footer {
  background: var(--gfe-black);
  border-top: 3px solid var(--gfe-green);
  margin-top: 3rem;
  padding: 5rem 0 2.5rem;
}

.app-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.app-footer__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.app-footer__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.app-footer__copyright {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(58, 179, 73, 0.85);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

@media (max-width: 480px) {
  .app-footer {
    padding: 3.5rem 0 2rem;
  }

  .app-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }
}
