:root {
  --black: #000000;
  --charcoal: #1a1a1a;
  --accent: #56ab2f;
  --accent-light: #a8e063;
  --offwhite: #f5f5f5;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  min-width: 350px;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--charcoal);
  color: var(--white);
  line-height: 1.6;
  min-width: 350px;
  background-image:
    linear-gradient(135deg, rgba(86, 171, 47, 0.08), transparent 40%),
    linear-gradient(315deg, rgba(168, 224, 99, 0.05), transparent 45%);
}

body.has-cookie-banner {
  padding-bottom: 120px;
}

a {
  color: inherit;
  text-decoration: none;
}

.nowrap-link {
  white-space: nowrap;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -200px;
  left: 0;
  background: var(--accent);
  color: var(--black);
  padding: 12px 16px;
  font-weight: 700;
  z-index: 999;
}

.skip-link:focus {
  top: 12px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid var(--charcoal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 0;
  min-height: 72px;
  transition: min-height 0.45s ease, padding 0.45s ease;
  gap: 16px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: left 0.45s ease, transform 0.45s ease;
  will-change: left, transform;
  z-index: 1;
}

.logo-stack {
  position: relative;
  height: 40px;
  width: clamp(140px, 16vw, 220px);
  display: block;
  transition: height 0.45s ease, width 0.45s ease;
  will-change: height, width;
}

.logo-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s ease;
  transform-origin: left center;
}

.logo-top {
  opacity: 1;
}

.logo-scrolled {
  opacity: 0;
}

.header.is-top .nav {
  min-height: 120px;
  padding: 24px 0;
}

.header.is-top .logo {
  left: 50%;
  transform: translate(-50%, -50%);
}


.header.is-top .nav-toggle {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  display: inline-flex;
  position: absolute;
  right: 0;
}

.header.is-top .logo-stack {
  height: 96px;
  width: clamp(200px, 30vw, 340px);
}

.header.is-top .logo-image {
  filter: drop-shadow(0 0 14px rgba(86, 171, 47, 0.35));
}

.header.is-top .logo-top {
  opacity: 1;
  transform: scale(1);
}

.header.is-top .logo-scrolled {
  opacity: 0;
  transform: scale(1.02);
}

.header:not(.is-top) .logo-top {
  opacity: 0;
  transform: scale(0.98);
}

.header:not(.is-top) .logo-scrolled {
  opacity: 1;
  transform: scale(1);
}

.nav-toggle {
  display: inline-flex;
  background: none;
  border: 1px solid var(--accent);
  color: var(--white);
  padding: 8px 12px;
  font-weight: 600;
  border-radius: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  font-size: 0.95rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  position: absolute;
  right: 0;
  top: 64px;
  background: var(--black);
  flex-direction: column;
  padding: 20px;
  width: min(320px, 90vw);
  border: 1px solid var(--charcoal);
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.nav-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}

.nav-submenu {
  display: grid;
  gap: 6px;
  padding-left: 12px;
  border-left: 1px solid var(--charcoal);
}

.nav-subgroup {
  display: grid;
  gap: 6px;
}

.nav-submenu .nav-submenu {
  margin-top: 2px;
}

.nav-submenu a {
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--offwhite);
}

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

.nav-links a {
  padding: 8px 0;
  position: relative;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  background: linear-gradient(120deg, var(--accent-light), var(--accent));
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 0;
  height: 8px;
  transform: translateY(-50%) skewX(-28deg);
  background: linear-gradient(120deg, var(--accent-light), var(--accent));
  opacity: 0;
  transition: width 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover::before,
.nav-links a:focus::before {
  width: 8px;
  opacity: 1;
}

.nav-links a.active::after {
  opacity: 1;
  transform: translateY(0);
}

.nav-links a.active {
  color: var(--accent-light);
}

.hero {
  padding: 90px 0 60px;
  background: linear-gradient(160deg, var(--black), var(--charcoal));
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -20%;
  top: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, rgba(86, 171, 47, 0.15), transparent 60%);
  transform: skewX(-12deg);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero p {
.nav-links a::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 0;
  height: 8px;
  transform: translateY(-50%) skewX(-28deg);
  background: linear-gradient(120deg, var(--accent-light), var(--accent));
  opacity: 0;
  transition: width 0.2s ease, opacity 0.2s ease;
}
  color: var(--offwhite);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #2f6f1a;
  border-radius: 0;
  padding: 12px 20px;
  font-weight: 700;
  color: var(--white);
  background: #1a1a1a;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 0 0 rgba(86, 171, 47, 0.4);
}

.button.primary {
  background: #2f6f1a;
  color: var(--white);
  border-color: #2f6f1a;
}

.button.button-light {
  background: #1a1a1a;
  color: var(--white);
  border-color: #2f6f1a;
}

.button.button-light:hover {
  color: var(--white);
  border-color: #2f6f1a;
  box-shadow: 0 0 18px rgba(86, 171, 47, 0.25), 0 12px 26px rgba(0, 0, 0, 0.2);
}

.button.button-techclub {
  background: var(--black);
  border-color: var(--accent-light);
  color: var(--accent-light);
  box-shadow: 0 0 18px rgba(86, 171, 47, 0.2);
}

.button.button-techclub:hover {
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(86, 171, 47, 0.35), 0 14px 30px rgba(0, 0, 0, 0.25);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(86, 171, 47, 0.35), 0 12px 26px rgba(0, 0, 0, 0.3);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 2px;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.95);
  border-top: 1px solid rgba(86, 171, 47, 0.6);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.35);
  padding: 16px 0;
}

.cookie-banner__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.cookie-banner__content p {
  margin: 0;
  color: var(--offwhite);
  max-width: 720px;
}

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

@media (max-width: 720px) {
  body.has-cookie-banner {
    padding-bottom: 160px;
  }

  .cookie-banner__content {
    flex-direction: column;
    align-items: flex-start;
  }
}

.section {
  padding: 70px 0;
  position: relative;
}

.section-top-pad {
  padding: 50px 0 0;
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(120deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.section.light {
  background: var(--offwhite);
  color: var(--black);
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.section-title p {
  color: var(--offwhite);
}

.section.light .section-title p {
  color: var(--charcoal);
}

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 24px;
}

.community-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.infographic-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.services-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.services-row::-webkit-scrollbar {
  height: 6px;
}

.services-row::-webkit-scrollbar-thumb {
  background: var(--accent);
}

.services-row .card {
  scroll-snap-align: start;
  min-width: 240px;
}

.card {
  border: 1px solid var(--charcoal);
  border-radius: 0;
  padding: 20px;
  background: var(--black);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.card-top-space {
  margin-top: 20px;
}

.card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(168, 224, 99, 0.18), transparent 60%);
  transform: rotate(12deg);
  opacity: 0.6;
  pointer-events: none;
}

.section.light .card {
  background: var(--white);
  border-color: var(--charcoal);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(86, 171, 47, 0.25), 0 18px 36px rgba(0, 0, 0, 0.25);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.infographic-grid .card {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
}

.infographic-grid .card img {
  width: 100%;
  height: clamp(160px, 24vw, 220px);
  object-fit: contain;
  display: block;
}

@media (max-width: 720px) {
  .infographic-grid .card {
    min-height: auto;
  }

  .infographic-grid .card img {
    height: clamp(180px, 55vw, 260px);
  }
}

.infographic-grid .card .button-row {
  margin-top: 12px;
}

.kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-light);
  font-weight: 700;
}

.highlight {
  color: var(--accent-light);
}

.stats {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat {
  border: 1px solid var(--accent);
  padding: 18px;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(86, 171, 47, 0.08), transparent 55%);
  color: var(--charcoal);
}

.stat h3 {
  font-size: 2rem;
  color: #2f6f1a;
}

.stat p {
  color: #2f6f1a;
}

.split {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.text-stack {
  display: grid;
  gap: 16px;
}

.text-stack p {
  margin: 0;
}
.list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
}

.list li span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.list-text {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.list-text strong {
  display: block;
}

.pricing-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.services-carousel {
  width: 100%;
}

.carousel-controls {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.carousel-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--charcoal);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  cursor: pointer;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.services-carousel .services-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.services-carousel .services-row::-webkit-scrollbar {
  display: none;
}

.services-carousel .card {
  flex: 0 0 min(320px, 80vw);
  scroll-snap-align: start;
}


.price-card {
  border: 1px solid var(--charcoal);
  border-radius: 0;
  padding: 22px;
  background: var(--white);
  color: var(--black);
  position: relative;
  overflow: hidden;
}

.price-card.is-clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.price-card.is-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(6, 10, 16, 0.18);
  border-color: var(--accent);
}

.price-card.is-clickable:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.price-card::after {
  content: "";
  position: absolute;
  left: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(86, 171, 47, 0.12), transparent 60%);
  transform: rotate(-10deg);
}

.price-card h4 {
  margin-bottom: 8px;
}

.price-card .price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.price-card .price-note {
  margin: 0 0 8px;
  color: var(--charcoal);
  font-size: 0.95rem;
}

.price-card .badge {
  display: inline-flex;
  background: var(--black);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 0;
  font-size: 0.75rem;
  margin-bottom: 12px;
}

.msp-grid .price-card {
  display: flex;
  flex-direction: column;
}

.ready-grid .price-card {
  display: flex;
  flex-direction: column;
}

.ready-grid .price {
  margin-top: auto;
}

.residential-grid .price-card {
  display: flex;
  flex-direction: column;
}

.residential-grid .price {
  margin-top: auto;
}

.msp-calculator {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(6, 10, 16, 0.1);
  display: grid;
  gap: 10px;
}

.msp-grid .msp-calculator {
  margin-top: auto;
}

.msp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.msp-label {
  margin: 0;
  font-weight: 600;
}

.msp-counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--charcoal);
  padding: 6px 10px;
}

.msp-addon {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.msp-addon input {
  width: 18px;
  height: 18px;
}

.msp-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--charcoal);
  background: var(--white);
  color: var(--black);
  font-weight: 700;
  cursor: pointer;
}

.msp-btn:hover,
.msp-btn:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.msp-value {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
}

.msp-price {
  margin: 6px 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.msp-note {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.95rem;
}

.form {
  display: grid;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 6px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
select,
textarea {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--charcoal);
  border-radius: 0;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
}

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

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.form-status {
  padding: 12px 14px;
  border-radius: 0;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  display: none;
  background: rgba(0, 0, 0, 0.6);
}

.form-status.is-error {
  border-color: #ff6b6b;
  color: #ffb3b3;
}

.form-helper {
  font-size: 0.9rem;
  color: var(--offwhite);
}

#privacy-optout-group[hidden] {
  display: none;
}

#privacy-form {
  scroll-margin-top: 140px;
}

.details {
  display: grid;
  gap: 14px;
}

.details .list {
  gap: 6px;
  margin: 16px 0 18px;
}

details {
  border: 1px solid var(--charcoal);
  border-radius: 0;
  padding: 16px;
  background: var(--white);
  color: var(--black);
  box-shadow: inset 0 0 0 1px rgba(86, 171, 47, 0.08);
}

details summary {
  cursor: pointer;
  font-weight: 700;
}

.details details > summary {
  list-style: none;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}

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

.details details > summary::before {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
  color: var(--accent-light);
  margin-top: 4px;
}

.details details[open] > summary::before {
  content: "−";
}

details summary::marker {
  color: var(--accent);
}

.details details > p:first-of-type {
  margin-top: 14px;
}

.details-cta {
  margin: 12px 0 6px;
}

.details-cta-top {
  margin: 16px 0;
  display: flex;
  justify-content: center;
}


.paragraph-gap {
  margin-bottom: 18px;
}

.service-accordion summary {
  display: grid;
  gap: 6px;
}

.service-accordion summary h2 {
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
}

.service-accordion summary p {
  margin: 0;
}

.pricing-accordion summary {
  display: grid;
  gap: 6px;
  cursor: pointer;
}

.pricing-accordion summary h3 {
  margin: 0;
}

.pricing-accordion summary .meta {
  color: var(--black);
}

.pricing-accordion[open] summary {
  margin-bottom: 18px;
}

.pricing-more {
  margin-top: 18px;
}

.pricing-more summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--accent);
}

.footer {
  border-top: 1px solid var(--charcoal);
  padding: 40px 0 30px;
  background: var(--black);
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

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

.footer p,
.footer a,
.footer li {
  color: var(--offwhite);
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.badge-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  border: 1px solid var(--accent);
  padding: 8px 12px;
  border-radius: 0;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.badge:hover {
  transform: translateY(-2px);
  border-color: var(--accent-light);
}

.callout {
  padding: 22px;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--black);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.callout::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, rgba(168, 224, 99, 0.2), transparent 60%);
  transform: rotate(18deg);
}

.callout:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.callout + .callout {
  margin-top: 20px;
}

.section.light .callout {
  background: var(--white);
}

.two-col {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}



.page-hero {
  padding: 70px 0 40px;
  background: linear-gradient(180deg, var(--black), var(--charcoal));
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.meta {
  color: var(--offwhite);
}

.techclub-link {
  color: var(--accent-light);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.techclub-link:hover,
.techclub-link:focus {
  color: var(--accent);
}

.section.light .meta {
  color: var(--charcoal);
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 0;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: var(--accent-light);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: var(--offwhite);
}

.fade-in {
  animation: fadeInUp 0.6s ease both;
}

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

.partner-logos {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--charcoal);
  background: var(--black);
  padding: 12px 0;
}

.partner-track {
  display: flex;
  gap: 20px;
  align-items: center;
  width: max-content;
  animation: partnerScroll 30s linear infinite;
}

.partner-logos:hover .partner-track {
  animation-play-state: paused;
}

.partner-logos img {
  width: 180px;
  height: 80px;
  object-fit: contain;
  padding: 8px 14px;
  border-radius: 0;
  border: 1px solid var(--charcoal);
  background: var(--white);
  transition: transform 0.25s ease, border-color 0.25s ease;
  box-shadow: inset 0 0 0 1px rgba(86, 171, 47, 0.08);
}

.partner-logos img:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

@keyframes partnerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.team-card {
  display: grid;
  gap: 16px;
  grid-template-rows: auto auto auto 1fr auto auto;
}

.team-card img + h3 {
  margin-top: 0;
}

.team-card h3 {
  margin: 0;
}

.team-card p {
  margin: 6px 0 0;
}

.team-card .highlight {
  margin-top: 12px;
  color: #2f6f1a;
}

.team-card ul {
  margin-top: 8px;
  padding-left: 0;
}

.team-photo {
  border-radius: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
  height: auto;
  width: 220px;
  object-fit: cover;
  align-self: start;
  justify-self: center;
  aspect-ratio: 1 / 1;
}

.spacer-28 {
  height: 28px;
}

.details-top-space {
  margin-top: 30px;
}

.footer-legal {
  padding-top: 20px;
}

@media (max-width: 1200px) {
  .team-photo {
    width: min(220px, 70%);
  }
}

@media (max-width: 980px) {
  .team-photo {
    width: min(220px, 70%);
  }
}

@media (max-width: 720px) {
  .team-photo {
    width: min(200px, 70%);
  }
}

@media (max-width: 520px) {
  .team-photo {
    width: min(180px, 80%);
  }
}

.team-card h3 {
  margin: 0;
}

.team-title {
  margin: 4px 0 0;
}

.team-bio {
  margin: 8px 0 0;
  min-height: 72px;
}

.team-card .highlight {
  margin: 10px 0 0;
  color: #2f6f1a;
}

.team-card ul {
  margin: 6px 0 0;
  padding-left: 0;
}

.team-certs {
  min-height: 150px;
}

.team-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.team-actions .button {
  background: var(--white);
  color: var(--charcoal);
  border: 2px solid #2f6f1a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.team-actions .button:hover {
  color: var(--charcoal);
  border-color: #3f8f22;
  background: #f5f5f5;
  box-shadow: 0 0 18px rgba(47, 111, 26, 0.2), 0 12px 26px rgba(0, 0, 0, 0.2);
}

@media (max-width: 860px) {
  .nav-links {
    width: min(320px, 92vw);
  }
}

@media (max-width: 980px) {
  .card-grid,
  .stats,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .badge-row {
    flex-direction: column;
  }
}

@media (max-width: 1200px) {
  .community-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .community-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (min-width: 980px) {
  .header:not(.is-top) .nav-toggle {
    display: none;
  }

  .header:not(.is-top) .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    position: static;
    flex-direction: row;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    width: auto;
    align-items: center;
    gap: 24px;
  }

  .header:not(.is-top) .nav-group {
    flex-direction: row;
    align-items: center;
  }

  .header:not(.is-top) .nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--black);
    border: 1px solid var(--charcoal);
    padding: 12px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
    z-index: 5;
  }

  .header:not(.is-top) .nav-group:hover .nav-submenu,
  .header:not(.is-top) .nav-group:focus-within .nav-submenu {
    display: grid;
  }

  .header:not(.is-top) .nav-links > .nav-group:last-of-type .nav-submenu {
    left: auto;
    right: 0;
  }

  .header:not(.is-top) .nav-submenu a {
    padding: 6px 0;
  }
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(6, 10, 16, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 120;
  padding: 24px;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
}

.modal__content {
  position: relative;
  width: min(1000px, 96vw);
  max-height: 90vh;
  background: var(--white);
  color: var(--black);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--accent);
  width: 40px;
  height: 40px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal__body {
  padding: 56px 16px 16px;
  height: 90vh;
}

.modal--card .modal__content {
  width: min(720px, 96vw);
}

.modal--card .modal__body {
  height: auto;
  max-height: 70vh;
  overflow: auto;
}

.modal__detail {
  display: grid;
  gap: 12px;
  padding-top: 8px;
}

.modal__detail h4 {
  margin: 8px 0 0;
}

.modal__detail .list {
  margin: 0;
}

.modal__frame {
  width: 100%;
  height: 100%;
  border: none;
  background: #f5f5f5;
}

.pricing-accordion > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}

.pricing-accordion > summary::-webkit-details-marker {
  display: none;
}

.pricing-accordion > summary::before {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
  color: var(--accent-light);
  margin-top: 4px;
}

.pricing-accordion[open] > summary::before {
  content: "−";
}

.pricing-accordion > summary > * {
  grid-column: 2;
}

.modal__body--infographic {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 90vh;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal__media {
  flex: 1;
  min-height: 300px;
  border: 1px solid #d9d9d9;
  background: #f5f5f5;
}

.modal__media .modal__frame {
  height: 100%;
}
