:root {
  --ink: #050505;
  --soft-ink: rgba(0, 0, 0, 0.68);
  --paper: #ffffff;
  --white: #ffffff;
  --line: rgba(0, 0, 0, 0.12);
  --field: #f7f7f7;
  --green: #69D84F;
  --green-soft: rgba(105, 216, 79, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 0;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled .header-inner {
  box-shadow: 0 14px 54px rgba(0, 0, 0, 0.12);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--white);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
  font-size: 0.98rem;
}

.brand small {
  color: var(--soft-ink);
  font-size: 0.78rem;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.site-nav a {
  text-decoration: none;
  color: var(--soft-ink);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.active {
  color: var(--ink);
  background: rgba(105, 216, 79, 0.18);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
}

h1 {
  font-size: clamp(3rem, 8vw, 7.2rem);
}

h2 {
  font-size: clamp(2.1rem, 4.9vw, 4.65rem);
}

h3 {
  font-size: 1.06rem;
}

p {
  margin: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: stretch;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero::before {
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.9) 45%, rgba(5, 5, 5, 0.3) 100%),
    url("../img/hero-learning.svg");
  background-size: cover;
  background-position: center;
}

.hero::after {
  background: linear-gradient(180deg, transparent 74%, var(--white) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: clamp(74px, 11vw, 140px) 0 clamp(94px, 10vw, 132px);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0;
  max-width: 920px;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--green);
}

.hero-copy {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.06rem, 2vw, 1.38rem);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-visual img {
  display: none;
}

.visual-chip {
  position: absolute;
  right: clamp(18px, 7vw, 112px);
  display: inline-flex;
  max-width: min(78vw, 320px);
  min-height: 44px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.chip-top {
  top: 27%;
}

.chip-bottom {
  bottom: 21%;
  background: var(--green);
}

.hero-actions,
.cta-actions,
.legal-links,
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-actions {
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: var(--ink);
  border-color: var(--green);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.14);
}

.hero .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
}

.hero .btn-primary:hover,
.hero .btn-primary:focus {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.section {
  padding: clamp(60px, 8vw, 112px) 0;
}

.section-tight {
  padding: clamp(42px, 6vw, 78px) 0;
}

.muted-section {
  background: var(--field);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 32px;
}

.section-heading.center {
  text-align: center;
  margin-inline: auto;
}

.section-heading p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.rich-copy p,
.activity-card p,
.value-card p,
.contact-list,
.policy-content p,
.policy-content li,
.footer-grid p,
.footer-grid a,
.empty-state {
  color: var(--soft-ink);
}

.split-grid,
.proof-grid,
.contact-grid,
.feature-grid,
.footer-grid {
  display: grid;
  gap: clamp(22px, 4vw, 48px);
}

.split-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

.rich-copy {
  display: grid;
  gap: 18px;
  font-size: 1.05rem;
}

.proof-grid {
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.proof-item {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--ink);
}

.proof-item span {
  color: var(--soft-ink);
  font-size: 0.92rem;
}

.feature-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.feature-image {
  min-height: 520px;
  border: 1px solid var(--line);
  background: var(--white) url("../img/hero-learning.svg") center / 92% no-repeat;
}

.feature-panel {
  padding: clamp(26px, 5vw, 52px);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.feature-panel p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 18px;
}

.value-grid,
.card-grid,
.domain-grid {
  display: grid;
  gap: 18px;
}

.value-grid {
  grid-template-columns: repeat(3, 1fr);
}

.value-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
}

.program-grid .value-card {
  display: grid;
  min-height: 100%;
  align-content: start;
  gap: 12px;
  padding: 24px;
}

.line-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  padding: 11px;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  background: var(--green-soft);
}

.line-icon.small {
  width: 42px;
  height: 42px;
  padding: 8px;
  margin-bottom: 14px;
}

.value-card .icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--ink);
  font-weight: 900;
}

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

.activity-card {
  background: var(--white);
  border: 1px solid rgba(17, 20, 18, 0.09);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(17, 20, 18, 0.04);
}

.activity-card > img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: var(--field);
}

.activity-carousel {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--field);
}

.carousel-track,
.activity-carousel img {
  position: absolute;
  inset: 0;
}

.activity-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 220ms ease;
}

.activity-carousel img.active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.82);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
}

.activity-body {
  padding: 18px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
}

.tag.alt {
  background: var(--ink);
  color: var(--white);
}

.activity-card h3 {
  min-height: 2.35em;
}

.activity-card p {
  margin-top: 10px;
  font-size: 0.94rem;
}

.activity-date {
  display: block;
  margin-top: 14px;
  color: var(--soft-ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.page-hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.84) 45%, rgba(5, 5, 5, 0.36) 100%),
    url("../img/hero-learning.svg") center / cover no-repeat;
}

.page-hero.activities::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.86) 45%, rgba(5, 5, 5, 0.4) 100%),
    url("../img/activity-community.svg") center / cover no-repeat;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: clamp(78px, 13vw, 150px) 0;
}

.page-hero p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 690px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.activity-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.filter-group {
  justify-content: flex-end;
}

.filter-btn {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus {
  background: var(--green);
  border-color: var(--green);
  color: var(--ink);
}

.domain-grid {
  grid-template-columns: repeat(4, 1fr);
}

.domain-grid article {
  padding: 22px;
  border-top: 3px solid var(--green);
  background: var(--white);
  border-radius: var(--radius);
}

.domain-grid h2 {
  font-size: 1.18rem;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.contact-panel,
.email-panel,
.policy-content {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
}

.contact-list span {
  display: block;
  color: var(--ink);
  font-weight: 800;
}

.email-address a {
  color: var(--ink);
  font-size: clamp(1.25rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.1;
  text-decoration-color: var(--green);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

form {
  display: grid;
  gap: 15px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--field);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 3px solid rgba(105, 216, 79, 0.48);
  outline-offset: 2px;
}

.policy-content {
  max-width: 880px;
}

.policy-content h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  margin-top: 30px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p,
.policy-content ul {
  margin-top: 12px;
}

.policy-content ul {
  padding-left: 20px;
}

.legal-links a {
  color: var(--ink);
  font-weight: 800;
}

.cta-section {
  background: var(--ink);
  color: var(--white);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.cta-grid h2 {
  max-width: 820px;
}

.site-footer {
  padding: 46px 0 28px;
  background: var(--ink);
  color: var(--white);
}

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

.site-footer .brand small,
.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.site-footer p {
  margin-top: 4px;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 90px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.82) 58%, rgba(5, 5, 5, 0.36) 100%),
      url("../img/hero-learning.svg");
  }

  .hero-grid {
    min-height: 82vh;
  }

  .visual-chip {
    right: 20px;
  }

  .split-grid,
  .proof-grid,
  .feature-grid,
  .value-grid,
  .card-grid,
  .domain-grid,
  .contact-grid,
  .footer-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .activity-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .filter-group {
    justify-content: flex-start;
  }

  .feature-image {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .brand small {
    display: none;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .header-inner {
    border-radius: 28px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4.1rem);
  }

  .hero {
    min-height: 76vh;
  }

  .hero-grid {
    min-height: 76vh;
    padding-top: 64px;
  }

  .visual-chip {
    left: 16px;
    right: auto;
    max-width: calc(100% - 32px);
  }

  .chip-top {
    top: auto;
    bottom: 92px;
  }

  .chip-bottom {
    display: none;
  }

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

  .btn {
    width: 100%;
  }

}
