:root {
  --site-accent: #2cc990;
  --site-dark: #203a43;
  --site-ink: #17252a;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

section {
  scroll-margin-top: 72px;
}

.jumbotron .container {
  max-width: 960px;
}

.hero-kicker {
  margin-bottom: 1.6rem;
  color: #d9fff1;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero-lead {
  max-width: 680px;
  margin: 0 auto 2.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.8rem;
}

.hero-title-version {
  color: var(--site-accent);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-actions .btn {
  min-width: 156px;
  min-height: 44px;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  box-shadow: 0 8px 20px rgba(7, 25, 30, 0.2);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.hero-btn-primary {
  background: var(--site-accent);
  color: #fff;
}

.hero-btn-primary:hover,
.hero-btn-primary:focus-visible {
  background: #42dca5;
  color: #fff;
}

.hero-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(15, 32, 39, 0.3);
  color: #fff;
}

.hero-btn-secondary:hover,
.hero-btn-secondary:focus-visible {
  border-color: #fff;
  background: rgba(15, 32, 39, 0.62);
  color: #fff;
}

.hero-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.35rem;
}

.section-sub-title {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
}

.counter-desc {
  max-width: 200px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.3rem;
  line-height: 1.5;
}

.counter-item h4 small {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}

.featurettes-item img {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  border-radius: 4px;
  object-fit: initial;
}

.details img.btn-img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: 72px;
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  object-fit: contain;
  filter: none;
}

.join-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

.join-image-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.image-action {
  display: block;
  line-height: 0;
}

.grid-item-wrapper {
  position: relative;
}

.portfolio-item {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: initial;
}

.filter-button-group a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 3px;
}

.filter-button-group a:hover,
.filter-button-group a:focus-visible,
.filter-button-group a.is-checked {
  border-color: var(--site-accent);
  background: rgba(44, 201, 144, 0.1);
}

.support-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 3rem;
  border: 1px solid rgba(44, 201, 144, 0.35);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.support-panel h3 {
  margin-bottom: 0.8rem;
  color: var(--site-accent);
  font-size: 2.4rem;
}

.support-panel p {
  max-width: 680px;
  margin-bottom: 0;
}

.support-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #888;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
}

.nav-mastfoot .nav-link {
  min-width: 44px;
  min-height: 44px;
  text-align: center;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(44, 201, 144, 0.7);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .jumbotron {
    min-height: 100svh;
    background-attachment: scroll;
  }

  .jumbotron h1 {
    font-size: 3.2rem;
    line-height: 1.25;
  }

  .hero-kicker {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
  }

  .hero-lead {
    font-size: 1.6rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.7rem;
  }

  .hero-actions .btn {
    width: min(280px, 100%);
  }

  .support-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem;
  }

  .support-panel .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
