/* Styles specific to the Find FIRST page */
.home-page {
  overflow-x: hidden;
}

.home-page {
  background:
    radial-gradient(circle at 18% 12%, rgba(68, 197, 117, 0.16), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(68, 197, 117, 0.1), transparent 20%),
    linear-gradient(180deg, #0c341f 0%, #0b311d 54%, #0f3922 100%);
  color: #ecf8ef;
}

.home-page main {
  width: 100%;
  max-width: none;
  min-height: auto;
  margin: 0;
  padding: 0;
  display: block;
  place-items: normal;
  animation: none;
  overflow: visible;
}

.home-main {
  width: 100%;
  min-height: auto;
  overflow: visible;
}

.home-main .container {
  width: min(100% - 16px, 1720px);
}

.home-hero {
  min-height: auto;
  padding: 28px 0 48px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
}

.home-hero-grid {
  width: min(100% - 16px, 1720px);
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(700px, 1.24fr);
  gap: 40px;
  align-items: center;
  padding: 24px 0 0;
}

.home-hero-copy {
  order: 1;
  position: relative;
  z-index: 2;
  justify-self: start;
  max-width: 720px;
  margin-top: 0;
  text-align: left;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 16px;
  border: 1px solid rgba(78, 213, 118, 0.45);
  border-radius: 999px;
  background: rgba(46, 121, 74, 0.55);
  color: #8cf0ac;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.hero-pill::before {
  content: "\2713";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52e281;
  box-shadow: 0 0 0 6px rgba(82, 226, 129, 0.12);
}

.home-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 5.8vw, 5.6rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.home-hero-copy h1 span {
  color: #4de182;
  letter-spacing: 0.005em;
}

.hero-description {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(236, 248, 239, 0.84);
  font-size: 1.08rem;
  line-height: 1.8;
}

.home-search {
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 640px;
  margin: 28px 0 0;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(118, 223, 145, 0.18);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.home-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 14px;
}

.home-search-field i {
  color: rgba(228, 246, 233, 0.7);
  font-size: 1rem;
}

.home-search-field input {
  width: 100%;
  min-width: 0;
  padding: 16px 0;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1rem;
}

.home-search-field input::placeholder {
  color: rgba(228, 246, 233, 0.56);
}

.home-search-btn {
  min-width: 140px;
  border-radius: 14px;
  background: #4fe17d;
  border-color: #4fe17d;
  color: #073117 !important;
  box-shadow: 0 10px 26px rgba(79, 225, 125, 0.25);
}

.home-search-btn:hover,
.home-search-btn:focus {
  background: #76ef98;
  border-color: #76ef98;
  color: #071d10 !important;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 26px;
}

.hero-actions .btn {
  min-height: 54px;
  border-radius: 16px;
  padding-inline: 22px;
}

.hero-primary-link {
  background: #4fe17d;
  border-color: #4fe17d;
  color: #073117 !important;
}

.hero-primary-link:hover,
.hero-primary-link:focus {
  background: #7aef98;
  border-color: #7aef98;
}

.hero-secondary-link {
  background: transparent;
  border-color: rgba(142, 228, 165, 0.36);
  color: #fff !important;
}

.home-hero-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.home-mini-card {
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(130, 225, 150, 0.16);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
}

.home-mini-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(79, 225, 125, 0.18);
  color: #7aef98;
  font-size: 0.8rem;
  font-weight: 900;
  font-size: 1rem;
}

.home-mini-card strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
}

.home-mini-card p {
  margin: 6px 0 0;
  color: rgba(236, 248, 239, 0.75);
  font-size: 0.8rem;
  line-height: 1.55;
}

.home-hero-visual {
  order: 2;
  position: relative;
  min-height: 720px;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 20px;
}

.hero-image-card {
  width: min(100%, 1020px);
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(130, 225, 150, 0.18);
  display: block;
  aspect-ratio: 16 / 10;
}

.home-carousel,
.home-carousel .splide__track,
.home-carousel .splide__list,
.home-carousel .splide__slide {
  height: 100%;
}

.home-carousel {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: transparent;
  display: block;
}

.home-carousel .splide__track,
.home-carousel .splide__list,
.home-carousel .splide__slide {
  width: 100%;
}

.home-carousel .splide__slide {
  position: relative;
  overflow: hidden;
}

.home-carousel .splide__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-carousel .splide__pagination {
  bottom: 16px;
}

.home-carousel .splide__pagination__page {
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
}

.home-carousel .splide__pagination__page.is-active {
  background: #4fe17d;
  transform: scale(1.15);
}

.home-carousel .splide__arrow {
  background: rgba(17, 58, 36, 0.7);
  color: #fff;
  width: 42px;
  height: 42px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.floating-card {
  position: absolute;
  width: 200px;
  padding: 18px;
  border: 1px solid rgba(102, 210, 126, 0.18);
  border-radius: 18px;
  background: rgba(23, 76, 46, 0.92);
  color: #fff;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.26);
}

.floating-card span {
  color: #65f08d;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.floating-card strong {
  display: block;
  margin-top: 4px;
  font-size: 2.2rem;
  line-height: 1;
}

.floating-card p {
  margin: 6px 0 0;
  color: rgba(236, 248, 239, 0.82);
  font-size: 0.92rem;
}

.floating-card-top {
  top: 40px;
  right: -8px;
}

.floating-card-bottom {
  left: -8px;
  bottom: 12px;
}

.home-hero-visual .splide,
.home-hero-visual .carousel {
  width: 100%;
  max-width: none;
  box-shadow: none;
  border-radius: 0;
  height: 100%;
  aspect-ratio: auto;
}

.home-hero-visual .splide__slide {
  height: 100%;
}

.home-banner {
  padding: 14px 0 22px;
}

.home-banner p {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 900;
  font-size: 1rem;
}

.home-feature-strip {
  padding: 28px 0 72px;
}

.home-feature-grid {
  width: min(100% - 24px, 1540px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-feature-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(130, 225, 150, 0.16);
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.home-feature-card h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.35rem;
}

.home-feature-card p {
  margin: 0 0 18px;
  color: rgba(236, 248, 239, 0.8);
  line-height: 1.7;
}

.home-feature-card a {
  color: #8df1aa;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  padding: 8px 0 12px;
  color: #ffffff;
}

.site-footer .container {
  width: min(100% - 24px, 1540px);
}

.site-footer p {
  margin: 0 0 4px;
  color: #ffffff;
}

.page-title {
  margin-top: 18px;
  font-weight: 700;
}

.first-start-header { text-align: center; margin-bottom: 18px; }
.home-page .first-start-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.fs-title {
  width: 100%;
  font-size: 56px;
  line-height: 1.02;
  margin: 6px 0 8px 0;
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
}
.fs-subtext {
  color: #444;
  font-size: 18px;
  margin: 0 0 14px 0;
}

.first-hero { margin-top: 22px; }
.first-hero .first-hero-inner {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center; /* center the two-column block */
  flex-wrap: wrap;
}

.first-hero .container {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.splide, .carousel {
  position: relative;
  width: 60%;
  min-width: 300px;
  max-width: 720px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* normalize and crop for consistent fill */
  flex-shrink: 0;
  display: block;
}

/* Give the carousel a fixed aspect ratio so slides have explicit height */
.carousel { aspect-ratio: 16 / 9; }
.splide__slide { border-radius: 8px; overflow: hidden; }

/* Splide arrows styling */
.splide { aspect-ratio: 16 / 9; }
.splide__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 5;
}
.splide__arrow--prev { left: 10px; }
.splide__arrow--next { right: 10px; }

.why-join {
  width: 36%;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center; /* center headings and lead */
}
.why-join ul { display: inline-block; text-align: left; margin: 0 auto; }
.why-join .lead {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.why-join li {
  transform-origin: left center;
}

.connect-graphic {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  text-align: center;
}
.connect-graphic .container {
  width: min(100%, 1120px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.connect-graphic h3 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.05;
}
.connect-subtitle {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 1rem;
}

.connect-stage {
  position: relative;
  width: min(100%, 980px);
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(320px, 420px) minmax(210px, 1fr);
  align-items: center;
  justify-items: center;
  gap: 18px;
  margin: 8px auto 0;
  padding: 24px 12px 20px;
}

.connect-card {
  position: relative;
  z-index: 2;
  --fs-final-transform: none;
  width: min(100%, 250px);
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 18px 22px;
  border: 1.5px solid rgba(26, 163, 74, 0.35);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  color: var(--text);
  text-decoration: none;
  font-family: inherit;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.connect-card:hover {
  transform: translateY(-4px) rotate(0deg);
  border-color: rgba(26, 163, 74, 0.6);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.connect-card span {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.35;
}

.connect-card-join {
  justify-self: start;
  --fs-final-transform: rotate(-4deg) translateY(-10px);
  transform: var(--fs-final-transform);
}

.connect-card-register {
  justify-self: end;
  --fs-final-transform: rotate(-1.5deg) translateY(18px);
  transform: var(--fs-final-transform);
}

.connect-card-join::before,
.connect-card-register::before {
  content: "\2713";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7);
}

.connect-center {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 320px;
}

.connect-illustration {
  display: block;
  width: min(100%, 560px);
  height: auto;
  overflow: visible;
}

.connect-route {
  fill: none;
  stroke: url(#connectLine);
  stroke-width: 12;
  stroke-linecap: round;
  opacity: 0.95;
}

.fs-animations-ready .fs-reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 720ms cubic-bezier(.22, 1, .36, 1),
    transform 720ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--fs-delay, 0ms);
  will-change: opacity, transform;
}

.fs-animations-ready .fs-reveal--scale {
  transform: translate3d(0, 18px, 0) scale(.965);
}

.fs-animations-ready .fs-reveal--left {
  transform: translate3d(-30px, 18px, 0);
}

.fs-animations-ready .fs-reveal--right {
  transform: translate3d(30px, 18px, 0);
}

.fs-animations-ready .fs-reveal.is-visible {
  opacity: 1;
  transform: var(--fs-final-transform, translate3d(0, 0, 0) scale(1));
}

.fs-animations-ready .connect-card.fs-reveal.is-visible:hover {
  transform: translateY(-4px) rotate(0deg);
}

.fs-animations-ready .connect-route {
  stroke-dasharray: 480;
  stroke-dashoffset: 480;
  transition: stroke-dashoffset 900ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: 220ms;
}

.fs-animations-ready .connect-stage.is-visible .connect-route {
  stroke-dashoffset: 0;
}

.fs-animations-ready .connect-stage.is-visible .connect-illustration g {
  animation: fsNodeSettle 780ms cubic-bezier(.22, 1, .36, 1) both;
}

.fs-animations-ready .connect-stage.is-visible .connect-illustration g:nth-of-type(2) {
  animation-delay: 160ms;
}

@keyframes fsNodeSettle {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .connect-stage {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 20px;
    padding: 24px 12px 12px;
  }

  .connect-card-join,
  .connect-card-register {
    justify-self: center;
    --fs-final-transform: none;
    transform: none;
  }

  .connect-center {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .connect-graphic h3 {
    font-size: 1.7rem;
  }

  .connect-stage {
    padding-inline: 0;
  }

  .connect-card {
    width: min(100%, 235px);
    min-height: 118px;
  }

  .connect-illustration {
    width: min(100%, 470px);
  }
}

@media (max-width: 860px) {
  .first-hero .first-hero-inner { flex-direction: column; align-items: center; }
  .carousel, .why-join { width: 100%; }
  .carousel img { height: auto; }
  .fs-title { font-size: 34px; }
  .fs-subtext { font-size: 15px; }
}

/* Pagination dots */
.carousel-dots { display:flex; gap:8px; justify-content:center; margin-top:10px; }
.carousel-dots button { width:10px; height:10px; border-radius:50%; border:none; background:#ccc; padding:0; cursor:pointer; }
.carousel-dots button.active { background:#222; }

/* Splide slide images fill and crop consistently */
.splide__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (prefers-reduced-motion: reduce) {
  .fs-animations-ready .fs-reveal,
  .fs-animations-ready .connect-route {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
    stroke-dashoffset: 0;
  }

  .fs-animations-ready .connect-stage.is-visible .connect-illustration g {
    animation: none;
  }
}

/* New homepage sections */
.home-wave {
  margin-top: auto;
  background: transparent;
  line-height: 0;
}

.home-wave svg {
  display: block;
  width: 100%;
  height: 136px;
  margin-bottom: -88px;
  overflow: visible;
}

.home-surface {
  position: relative;
  margin-top: -18px;
  background-color: #ffffff;
  background-image:
    linear-gradient(90deg, rgba(0, 168, 107, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 168, 107, 0.055) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px;
  background-position: center top;
  overflow: hidden;
}

.home-stats,
.home-why,
.home-how,
.home-teams,
.home-cta {
  background: transparent;
}

.home-stats { padding: 18px 0 16px; margin-top: 0; }
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.home-stat-card { text-align: center; }
.home-stat-card p {
  margin: 0;
  color: #1a4731;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: -0.04em;
}
.home-stat-card p span { color: #4ade80; }
.home-stat-card > span {
  display: block;
  margin-top: 8px;
  color: #6b7280;
  font-size: 0.9rem;
}

.home-why { padding: 32px 0 56px; }
.home-why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 44px;
  align-items: start;
}
.home-why-copy {
  order: 1;
  justify-self: start;
  text-align: left;
}
.home-why-image {
  order: 2;
  position: relative;
  align-self: start;
  justify-self: end;
  width: min(100%, 640px);
}
.home-why-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(14, 24, 33, 0.16);
}
.why-accent {
  position: absolute;
  right: -10px;
  bottom: -16px;
  max-width: 220px;
  padding: 22px;
  border-radius: 22px;
  background: #0d3320;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.2);
}
.why-accent strong { display: block; color: #4ade80; font-size: 2rem; line-height: 1; }
.why-accent p { margin: 6px 0 0; color: #a7c4b0; font-size: 0.84rem; line-height: 1.55; }

.section-kicker {
  margin: 0 0 12px;
  color: #1a4731;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.home-why-copy h2,
.section-heading h2,
.home-cta-content h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.home-why-copy h2 span { color: #1a4731; }
.home-why-copy h3 {
  margin: 0;
  color: #111827;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.home-why-copy .lead {
  margin: 18px 0 26px;
  color: #22312a;
  font-size: 1.18rem;
  line-height: 1.8;
  max-width: 640px;
  text-align: left;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.why-join-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 680px;
}
.why-join-list li {
  position: relative;
  padding: 18px 20px 18px 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(26, 71, 49, 0.16);
  color: #15211c;
  font-size: 1.04rem;
  line-height: 1.7;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  text-align: left;
}
.why-join-list li::before {
  content: "\2713";
  position: absolute;
  left: 18px;
  top: 18px;
  color: #1a4731;
  font-weight: 900;
  font-size: 1.05rem;
}
.section-lead,
.section-heading p,
.home-cta-content p {
  color: #334155;
  line-height: 1.7;
}
.home-why-copy .section-lead {
  margin: 16px 0 30px;
  max-width: 620px;
}
.home-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.home-benefit-card { display: flex; gap: 14px; }
.home-benefit-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(26, 71, 49, 0.08);
  color: #1a4731;
}
.home-benefit-card h3 {
  margin: 0 0 4px;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 800;
}
.home-benefit-card p {
  margin: 0;
  color: #6b7280;
  font-size: 0.82rem;
  line-height: 1.6;
}

.home-how {
  padding: 96px 0 104px;
  background: #fff;
}
.section-heading {
  text-align: center;
  margin: 0 auto 58px;
  max-width: 880px;
}
.section-heading .section-kicker { margin-bottom: 12px; }
.section-heading h2 {
  margin-bottom: 14px;
  color: #111827;
  font-size: clamp(2.1rem, 3.8vw, 3.8rem);
  line-height: 1.02;
}
.section-heading p {
  max-width: 610px;
  margin: 0 auto;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.65;
}
.home-how-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.home-path-card {
  padding: 30px 28px 28px;
  border-radius: 24px;
  min-height: 472px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 44px rgba(10, 31, 18, 0.07);
}
.home-path-card-students {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    #0d3320;
  border: 1px solid rgba(122, 239, 152, 0.12);
}
.home-path-card-teams {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #111827;
  min-height: 500px;
}
.path-badge-row {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 4px 20px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.22);
  background: rgba(74, 222, 128, 0.02);
}
.path-badge-row-teams {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.02);
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: #4ade80;
  font-size: 0.78rem;
  font-weight: 800;
}
.pill-alt {
  background: rgba(26, 71, 49, 0.08);
  border-color: rgba(26, 71, 49, 0.15);
  color: #1a4731;
}
.home-path-card-teams .pill-alt {
  color: #111827;
  border-color: rgba(17, 24, 39, 0.14);
  background: rgba(17, 24, 39, 0.05);
}
.home-path-card h3 {
  margin: 0 0 12px;
  color: inherit;
  font-size: 1.62rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}
.path-intro {
  margin: 0 auto 34px;
  max-width: 54ch;
  font-size: 0.98rem;
  line-height: 1.68;
  text-align: center;
}
.path-intro-alt { color: #111827; }
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 0;
}
.step-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.step-marker {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #4ade80;
}
.step-marker span {
  color: #0d3320;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.step-marker-alt { background: #1a4731; }
.step-marker-alt span { color: #4ade80; }
.step-copy { padding-top: 2px; }
.step-copy h4 {
  margin: 0 0 5px;
  color: inherit;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.3;
}
.home-path-card-students .step-copy p { color: rgba(236, 248, 239, 0.9); }
.home-path-card-teams .step-copy p { color: #334155; }
.step-copy p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.58;
}
.path-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 58px;
  padding: 12px 18px;
  border-radius: 16px;
  background: #4ade80;
  color: #0d3320;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
}
.path-button-alt {
  background: #1a4731;
  color: #fff;
}
.home-path-card-teams .path-button {
  margin-top: 34px;
}

.home-teams { padding: 72px 0; background: transparent; }
.section-heading-left {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 0 28px;
  align-items: start;
  min-height: 118px;
  padding-top: 8px;
  text-align: left;
}
.section-heading-left .section-kicker { margin-bottom: 8px; }
.section-heading-left > div {
  width: min(760px, calc(100% - 240px));
  margin: 0 auto;
  text-align: center;
}
.section-heading-left h2 {
  margin-bottom: 8px;
}
.section-subtext {
  margin: 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.65;
}
.section-link {
  position: absolute;
  right: 4px;
  top: 56px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1a4731;
  font-weight: 800;
  text-decoration: none;
}
.home-teams-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.team-card {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
}
.team-card-bar { height: 6px; }
.team-card-body { padding: 24px; }
.team-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.team-card-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.team-logo-badge {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
.team-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 900;
  font-size: 0.78rem;
}
.league-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(26, 71, 49, 0.08);
  color: #1a4731;
  font-size: 0.72rem;
  font-weight: 800;
}
.team-card-body h3 { margin: 0 0 6px; color: #111827; font-size: 1rem; font-weight: 900;
  font-size: 1rem; }
.team-location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  color: #9ca3af;
  font-size: 0.8rem;
}
.team-description {
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 0.84rem;
  line-height: 1.6;
}
.team-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
  color: #6b7280;
  font-size: 0.78rem;
}
.team-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
}
.team-meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  flex: 0 0 20px;
  background: rgba(26, 71, 49, 0.12);
  border: 1px solid rgba(26, 71, 49, 0.14);
  color: #1a4731;
  font-size: 0.68rem;
}
.team-roles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.team-roles span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0fdf4;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 700;
}
.team-button {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: #1a4731;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
}

.home-cta { padding: 72px 0; background: transparent; }
.home-cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #0d3320;
  min-height: 320px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}
.home-cta-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(74, 222, 128, 0.16), transparent 32%),
    radial-gradient(circle at bottom right, rgba(74, 222, 128, 0.1), transparent 28%);
}
.home-cta-content {
  position: relative;
  z-index: 1;
  padding: 58px 28px;
  text-align: center;
}
.home-cta-content h2 { color: #fff; max-width: 720px; margin: 0 auto; }
.home-cta-content p {
  max-width: 560px;
  margin: 18px auto 0;
  color: #a7c4b0;
  font-size: 1.02rem;
}
.hero-actions-center { justify-content: center; }
.cta-note { display: block; margin-top: 18px; color: #6b9a7e; font-size: 0.82rem; }

.home-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 0 8px;
  background:
    radial-gradient(circle at 18% 12%, rgba(68, 197, 117, 0.12), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(68, 197, 117, 0.08), transparent 20%),
    linear-gradient(180deg, #0f3922 0%, #0c341f 100%);
  color: rgba(236, 248, 239, 0.82);
}
.home-footer-grid {
  width: 100%;
  max-width: none;
  padding-inline: clamp(24px, 4vw, 72px);
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 36px);
  align-items: start;
  padding: 12px 0 16px;
}
.home-footer-brand p {
  max-width: 320px;
  color: rgba(236, 248, 239, 0.74);
  font-size: 0.9rem;
  line-height: 1.8;
}
.home-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.2);
  color: #fff;
  font-weight: 800;
}
.home-footer-column strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 0.9rem;
}
.home-footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-footer-column a {
  color: rgba(236, 248, 239, 0.7);
  font-size: 0.88rem;
  text-decoration: none;
}
.home-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.home-footer-bottom .container {
  width: 100%;
  max-width: none;
  padding: 6px clamp(24px, 4vw, 72px) 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.home-footer-bottom p {
  margin: 0;
  color: rgba(236, 248, 239, 0.72);
  font-size: 0.8rem;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .home-hero-grid,
  .home-why-grid,
  .home-how-grid,
  .home-teams-grid,
  .home-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-grid { gap: 34px; }
  .home-hero-visual { min-height: 480px; }
  .home-hero-mini { grid-template-columns: 1fr; }
  .home-why-image { width: 100%; justify-self: stretch; }
  .home-why-copy { justify-self: stretch; }
}

@media (max-width: 820px) {
  .home-hero-grid,
  .home-why-grid,
  .home-how-grid,
  .home-teams-grid,
  .home-footer-grid,
  .home-stats-grid,
  .home-benefit-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-left {
    min-height: 0;
    padding-top: 0;
    margin-bottom: 18px;
  }

  .section-heading-left > div {
    width: 100%;
    max-width: none;
  }

  .section-link {
    position: static;
    margin-top: 18px;
  }

  .home-hero { padding-top: 20px; }
  .home-hero-grid { padding-top: 20px; }
  .home-hero-visual { min-height: 420px; }
  .floating-card-top { right: 0; }
  .floating-card-bottom { left: 0; }
  .home-footer-bottom .container { flex-direction: column; }
}

@media (max-width: 640px) {
  .home-surface {
    margin-top: 0;
    background-size: 34px 34px, 34px 34px;
  }

  .home-wave {
    display: none;
  }

  .home-hero-copy h1 {
    font-size: clamp(2.15rem, 10.2vw, 3.1rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
  }

  .home-hero-copy h1 span {
    display: inline-block;
    letter-spacing: -0.01em;
  }

  .hero-pill {
    font-size: 0.82rem;
    padding: 7px 12px;
    margin-bottom: 18px;
  }

  .hero-description {
    font-size: 0.96rem;
    line-height: 1.65;
    margin-top: 18px;
  }

  .home-search,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-search-btn,
  .hero-actions .btn,
  .path-button,
  .team-button {
    width: 100%;
    justify-content: center;
  }

  .hero-image-card { width: 100%; }
  .home-why-image { justify-self: stretch; }
  .home-why-copy { justify-self: stretch; text-align: left; }
  .home-hero-copy {
    order: 1;
    justify-self: stretch;
    margin-top: 0;
    text-align: left;
  }
  .home-hero-visual {
    order: 2;
    margin-top: 24px;
  }
  .hero-description,
  .home-search,
  .hero-actions,
  .home-hero-mini {
    margin-left: 0;
    margin-right: 0;
    justify-content: flex-start;
  }
  .home-hero-mini { grid-template-columns: 1fr; }
  .home-why-image img { height: 360px; }
  .why-accent { position: static; margin-top: 16px; }
  .home-path-card,
  .team-card-body,
  .home-cta-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-footer-brand {
    grid-column: 1 / -1;
  }
}
