.fundza-page {
  color: var(--ink);
  background: var(--white);
}

.fundza-page main {
  padding-bottom: 0;
}

.fundza-heading-rule {
  width: 86px;
  height: 4px;
  display: block;
  margin-top: 19px;
  border-radius: 999px;
  background: var(--orange-500);
}

.fundza-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--orange-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.fundza-dot-field {
  position: absolute;
  pointer-events: none;
  background-image: radial-gradient(circle, currentColor 2px, transparent 2.2px);
  background-size: 21px 21px;
}

/* Hero */

.fundza-hero {
  position: relative;
  overflow: hidden;
  background: #f8f5ee;
}

.fundza-hero-grid {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  align-items: stretch;
}

.fundza-hero-copy {
  position: relative;
  z-index: 2;
  align-self: start;
  padding: 62px 59px 62px 0;
}

.fundza-hero-copy h1 {
  margin: 0;
  color: #153d34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 70px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.043em;
  text-wrap: balance;
}

.fundza-hero-copy p {
  max-width: 560px;
  margin: 23px 0 0;
  color: #304740;
  font-size: 15px;
  line-height: 1.62;
}

.fundza-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.fundza-button-dark,
.fundza-button-outline {
  min-width: 188px;
  white-space: nowrap;
}

.fundza-button-dark {
  color: var(--white);
  background: var(--green-950);
  border-color: var(--green-950);
}

.fundza-button-outline {
  color: var(--green-950);
  background: var(--white);
  border-color: rgba(0, 55, 47, .7);
}

.fundza-hero-media {
  position: relative;
  min-width: 0;
  margin-right: min(-48px, calc(636px - 50vw));
  padding-left: 25px;
  background: #eadfce;
}

.fundza-hero-media::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: -62px;
  top: 0;
  width: 125px;
  height: 100%;
  background: linear-gradient(90deg, #f8f5ee 12%, rgba(248, 245, 238, .72) 58%, transparent);
}

.fundza-hero-media img {
  width: 112%;
  max-width: none;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
  object-position: center 58%;
  border-radius: 0 0 0 18px;
}

.hero-dot-field {
  z-index: 2;
  right: 8px;
  bottom: 12px;
  width: 132px;
  height: 176px;
  color: #00947a;
}

/* Platform explanation */

.platform-section {
  position: relative;
  padding: 94px 0 99px;
  overflow: hidden;
  background: var(--white);
}

.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 47%) minmax(0, 53%);
  align-items: center;
  gap: 68px;
}

.platform-copy h2,
.access-copy h2,
.testimonials-heading h2,
.fundza-cta-copy h2 {
  margin: 0;
  color: #163d34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.034em;
  text-wrap: balance;
}

.platform-copy p {
  max-width: 570px;
  margin: 22px 0 0;
  color: #304740;
  font-size: 15px;
  line-height: 1.68;
}

.platform-copy p + p {
  margin-top: 15px;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 25px;
  color: var(--orange-500);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.platform-device {
  position: relative;
  min-height: 625px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.platform-device::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: #f5eee2;
}

.platform-device-orbit {
  position: absolute;
  z-index: -1;
  width: 465px;
  height: 465px;
  border: 1px solid rgba(0, 102, 84, .18);
  border-radius: 50%;
}

.platform-device img {
  width: auto;
  height: 590px;
  object-fit: contain;
  filter: drop-shadow(0 22px 27px rgba(21, 49, 42, .18));
}

.platform-device-note {
  position: absolute;
  right: 1px;
  bottom: 21px;
  margin: 0;
  color: #71807b;
  font-size: 11px;
  line-height: 1.4;
}

.platform-dot-field {
  z-index: -1;
  left: -9px;
  bottom: 41px;
  width: 135px;
  height: 154px;
  color: var(--orange-500);
}

/* Capability row */

.capabilities-section {
  padding: 77px 0 88px;
  background: #fbf8f2;
  border-top: 1px solid #ece8df;
  border-bottom: 1px solid #ece8df;
}

.capabilities-heading {
  text-align: center;
}

.capabilities-heading .fundza-heading-rule {
  width: 53px;
  margin: 0 auto 18px;
}

.capabilities-heading h2 {
  margin: 0;
  color: #163d34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.03em;
}

.capabilities-heading p {
  margin: 15px 0 0;
  color: #61706b;
  font-size: 14px;
  line-height: 1.5;
}

.capability-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability-item {
  position: relative;
  min-width: 0;
  padding: 28px;
  text-align: center;
}

.capability-item + .capability-item {
  border-left: 1px solid #dce1de;
}

.capability-icon {
  width: 78px;
  height: 78px;
  display: inline-grid;
  place-items: center;
  color: #f47a32;
  background: var(--white);
  border: 1px solid #dbe2de;
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(24, 57, 48, .07);
}

.capability-icon svg {
  width: 44px;
  height: 44px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-item h3 {
  margin: 19px 0 0;
  color: #173d34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.08;
}

.capability-item p {
  margin: 12px 0 0;
  color: #4e625c;
  font-size: 13px;
  line-height: 1.55;
}

/* Free and accessible */

.access-section {
  position: relative;
  padding: 91px 0 96px;
  overflow: hidden;
  background: var(--white);
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 43%) minmax(0, 57%);
  align-items: center;
  gap: 75px;
}

.access-copy h2 {
  max-width: 530px;
}

.access-copy > p {
  max-width: 520px;
  margin: 23px 0 0;
  color: #304740;
  font-size: 15px;
  line-height: 1.68;
}

.access-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.access-list li {
  position: relative;
  padding-left: 30px;
  color: #304740;
  font-size: 14px;
  line-height: 1.52;
}

.access-list li + li {
  margin-top: 12px;
}

.access-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 17px;
  height: 9px;
  border-left: 3px solid var(--orange-500);
  border-bottom: 3px solid var(--orange-500);
  transform: rotate(-45deg);
}

.access-button {
  min-width: 211px;
  margin-top: 29px;
}

.access-media {
  position: relative;
  min-width: 0;
  padding-right: 26px;
}

.access-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: 52% 49%;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(17, 57, 48, .14);
}

.access-dot-field {
  right: -78px;
  bottom: -52px;
  width: 180px;
  height: 252px;
  color: var(--orange-500);
}

/* Testimonials */

.testimonials-section {
  padding: 83px 0 93px;
  background: #fbf8f2;
  border-top: 1px solid #ece8df;
}

.testimonials-heading {
  text-align: center;
}

.testimonials-heading h2 {
  font-size: 48px;
}

.testimonials-heading p {
  margin: 16px 0 0;
  color: #60706a;
  font-size: 14px;
  line-height: 1.5;
}

.testimonial-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.testimonial-card {
  min-height: 286px;
  margin: 0;
  padding: 29px 27px 27px;
  display: flex;
  flex-direction: column;
  color: #304740;
  background: var(--white);
  border: 1px solid #e2e6e3;
  border-radius: 14px;
  box-shadow: 0 12px 29px rgba(17, 55, 46, .07);
}

.testimonial-card-tall {
  min-height: 322px;
}

.testimonial-card-short {
  min-height: 230px;
}

.testimonial-quote-mark {
  height: 38px;
  color: var(--orange-500);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  font-weight: 700;
  line-height: .8;
}

.testimonial-card p {
  margin: 15px 0 0;
  font-size: 14px;
  line-height: 1.62;
}

.testimonial-card footer {
  margin-top: auto;
  padding-top: 23px;
  color: #6d7975;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Final Fundza CTA */

.fundza-cta-section {
  padding: 69px 0 72px;
  background: var(--white);
}

.fundza-cta-card {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 59%) minmax(0, 41%);
  color: var(--white);
  background: linear-gradient(118deg, #002f28, #004a3d);
  border-radius: 19px;
  box-shadow: 0 20px 38px rgba(0, 49, 41, .17);
}

.fundza-cta-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 66px 58px 63px 85px;
}

.fundza-cta-copy h2 {
  max-width: 610px;
  color: var(--white);
  font-size: clamp(45px, 3.65vw, 55px);
}

.fundza-cta-copy > p {
  max-width: 580px;
  margin: 23px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  line-height: 1.62;
}

.fundza-cta-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 29px;
}

.fundza-cta-primary,
.fundza-cta-secondary {
  min-height: 56px;
  padding: 15px 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.fundza-cta-primary {
  min-width: 197px;
  color: var(--white);
  background: var(--orange-500);
  box-shadow: 0 10px 23px rgba(0, 24, 20, .22);
}

.fundza-cta-secondary {
  min-width: 165px;
  color: var(--white);
  border-color: rgba(255, 255, 255, .65);
}

.fundza-cta-primary:hover,
.fundza-cta-primary:focus-visible,
.fundza-cta-secondary:hover,
.fundza-cta-secondary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 29px rgba(0, 24, 20, .27);
}

.fundza-cta-dots {
  position: absolute;
  left: 15px;
  top: 31px;
  width: 53px;
  height: 167px;
  color: var(--orange-500);
  background-image: radial-gradient(circle, currentColor 2px, transparent 2.2px);
  background-size: 19px 19px;
}

.fundza-cta-image-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 0 19px 19px 0;
}

.fundza-cta-image-panel img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: 60% 49%;
}

.fundza-cta-image-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 64, 53, .72), transparent 45%);
}

.fundza-page .footer-column a[aria-current="page"] {
  color: var(--orange-500);
}

@media (prefers-reduced-motion: reduce) {
  .fundza-cta-primary,
  .fundza-cta-secondary {
    transition: none;
  }
}
