:root {
  --ace-plum: #3a1428;
  --ace-plum-light: #62294c;
  --ace-teal: #087b78;
  --ace-teal-dark: #005f5d;
  --ace-cream: #fbf7f2;
  --ace-blush: #f3e9e7;
  --ace-white: #ffffff;
  --ace-ink: #262126;
  --ace-muted: #6e656a;
  --ace-border: #ded5d2;
  --ace-max-width: 1180px;
  --ace-radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.ace-page {
  margin: 0;
  color: var(--ace-ink);
  background: var(--ace-cream);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

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

.ace-page h1,
.ace-page h2,
.ace-page h3,
.ace-page p,
.ace-page figure {
  margin-top: 0;
}

.ace-page h1,
.ace-page h2,
.ace-page h3 {
  color: var(--ace-plum);
  line-height: 1.12;
}

.ace-page h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 7vw, 6.6rem);
  letter-spacing: -0.055em;
}

.ace-page h1 span {
  color: var(--ace-teal-dark);
}

.ace-page h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.1rem, 4vw, 4rem);
  letter-spacing: -0.035em;
}

.ace-page h3 {
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
}

.ace-container {
  width: min(calc(100% - 2.5rem), var(--ace-max-width));
  margin-inline: auto;
}

.ace-skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--ace-white);
  background: var(--ace-plum);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.ace-site-header {
  position: relative;
  z-index: 10;
  background: rgba(251, 247, 242, 0.96);
  border-bottom: 1px solid var(--ace-border);
}

.ace-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2.5rem), var(--ace-max-width));
  min-height: 120px;
  margin-inline: auto;
  gap: 2rem;
}

.ace-brand {
  flex: 0 1 310px;
}

.ace-brand img {
  width: min(100%, 300px);
  max-height: 105px;
  object-fit: contain;
  object-position: left center;
}

.ace-primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.4rem 1.7rem;
}

.ace-primary-nav a {
  position: relative;
  padding: 0.75rem 0;
  color: var(--ace-ink);
  font-weight: 700;
  text-decoration: none;
}

.ace-primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 3px;
  content: "";
  background: var(--ace-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.ace-primary-nav a:hover::after,
.ace-primary-nav a:focus-visible::after,
.ace-primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.ace-hero {
  overflow: hidden;
  padding: clamp(4rem, 9vw, 8rem) 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(8, 123, 120, 0.18), transparent 28rem),
    linear-gradient(135deg, var(--ace-cream), var(--ace-blush));
}

.ace-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.ace-eyebrow,
.ace-section-number,
.ace-fact-label {
  color: var(--ace-teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ace-lead {
  max-width: 720px;
  margin-bottom: 2rem;
  color: #51464c;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.ace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.ace-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.35rem;
  border: 2px solid var(--ace-plum);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.ace-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(58, 20, 40, 0.15);
}

.ace-button-primary {
  color: var(--ace-white);
  background: var(--ace-plum);
}

.ace-button-secondary {
  color: var(--ace-plum);
  background: transparent;
}

.ace-hero-visual {
  margin-bottom: 0;
  text-align: center;
}

.ace-phone-frame,
.ace-screen-image,
.ace-comparison-image {
  overflow: hidden;
  background: #111;
  border: 10px solid #181518;
  border-radius: 32px;
  box-shadow: 0 28px 65px rgba(58, 20, 40, 0.22);
}

.ace-phone-frame {
  max-width: 340px;
  margin-inline: auto;
}

.ace-phone-frame img,
.ace-screen-image img,
.ace-comparison-image img {
  width: 100%;
  height: auto;
  background: #fff;
}

.ace-hero-visual figcaption,
.ace-comparison-grid figcaption {
  margin-top: 1rem;
  color: var(--ace-muted);
  font-size: 0.92rem;
}

.ace-project-facts {
  color: var(--ace-white);
  background: var(--ace-plum);
}

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

.ace-facts-grid > div {
  padding: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.ace-facts-grid > div:last-child {
  border-right: 0;
}

.ace-facts-grid p {
  margin-bottom: 0;
}

.ace-facts-grid .ace-fact-label {
  margin-bottom: 0.25rem;
  color: #79d1cd;
}

.ace-section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.ace-tinted-section {
  background: var(--ace-blush);
}

.ace-two-column {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 8vw, 8rem);
}

.ace-reading-column {
  max-width: 760px;
  font-size: 1.08rem;
}

.ace-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.5rem 0 0;
  padding: 0;
  gap: 0.75rem 1.5rem;
  list-style: none;
}

.ace-check-list li {
  position: relative;
  padding-left: 1.6rem;
}

.ace-check-list li::before {
  position: absolute;
  left: 0;
  color: var(--ace-teal);
  content: "✓";
  font-weight: 900;
}

.ace-section-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.ace-section-heading > p:last-child {
  color: var(--ace-muted);
  font-size: 1.1rem;
}

.ace-requirements-grid,
.ace-decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ace-requirement-card,
.ace-decision-grid article {
  padding: 1.6rem;
  background: var(--ace-white);
  border: 1px solid var(--ace-border);
  border-radius: var(--ace-radius);
}

.ace-requirement-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 1.5rem;
  color: var(--ace-white);
  background: var(--ace-teal);
  border-radius: 50%;
  place-items: center;
  font-weight: 800;
}

.ace-requirement-card p,
.ace-decision-grid p {
  margin-bottom: 0;
  color: var(--ace-muted);
}

.ace-dark-section {
  color: #f9eff5;
  background: var(--ace-plum);
}

.ace-dark-section h2,
.ace-dark-section h3 {
  color: var(--ace-white);
}

.ace-dark-section .ace-section-number {
  color: #79d1cd;
}

.ace-section-heading-light > p:last-child {
  color: #dbcbd4;
}

.ace-solution-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: solution;
}

.ace-solution-list li {
  display: grid;
  grid-template-columns: minmax(140px, 0.55fr) minmax(0, 1.45fr);
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  gap: 2rem;
}

.ace-solution-list strong {
  color: #79d1cd;
  font-size: 1.2rem;
}

.ace-screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 2rem;
}

.ace-screen-card {
  margin: 0;
}

.ace-screen-card:nth-child(2),
.ace-screen-card:nth-child(5) {
  margin-top: 4rem;
}

.ace-screen-card figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  margin-top: 1.1rem;
  gap: 0.1rem 0.8rem;
}

.ace-screen-card figcaption span {
  grid-row: 1 / 3;
  color: var(--ace-teal);
  font-weight: 900;
}

.ace-screen-card figcaption strong {
  color: var(--ace-plum);
  font-size: 1.1rem;
}

.ace-screen-card figcaption:not(strong) {
  color: var(--ace-muted);
}

.ace-comparison-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  max-width: 780px;
  margin-inline: auto;
  gap: 2rem;
}

.ace-comparison-grid figure {
  margin-bottom: 0;
  text-align: center;
}

.ace-comparison-image {
  max-width: 300px;
  margin-inline: auto;
}

.ace-wireframe {
  filter: grayscale(1);
}

.ace-comparison-arrow {
  color: var(--ace-teal);
  font-size: 3rem;
  font-weight: 900;
}

.ace-centered-copy {
  max-width: 760px;
  margin: 3rem auto 0;
  text-align: center;
  font-size: 1.08rem;
}

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

.ace-decision-grid article {
  grid-column: span 2;
}

.ace-decision-grid article:nth-child(4) {
  grid-column: 2 / span 2;
}

.ace-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 8vw, 8rem);
}

.ace-detail-grid article + article {
  padding-left: clamp(2rem, 6vw, 6rem);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.ace-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.ace-tag-list span {
  padding: 0.55rem 0.85rem;
  color: var(--ace-plum);
  background: var(--ace-white);
  border: 1px solid var(--ace-border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.ace-next-steps {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    linear-gradient(120deg, rgba(8, 123, 120, 0.97), rgba(0, 95, 93, 0.97));
}

.ace-next-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(2rem, 8vw, 8rem);
}

.ace-next-steps h2,
.ace-next-steps p {
  color: var(--ace-white);
}

.ace-next-steps .ace-eyebrow {
  color: #b8f1ed;
}

.ace-next-steps .ace-next-grid > p {
  font-size: 1.12rem;
}

.ace-project-navigation {
  background: var(--ace-white);
}

.ace-project-navigation a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 0;
  color: var(--ace-plum);
  text-decoration: none;
  gap: 2rem;
}

.ace-project-navigation span {
  color: var(--ace-muted);
}

.ace-project-navigation strong {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.ace-site-footer {
  padding: 2rem 0;
  color: #e8dce3;
  background: #21101b;
}

.ace-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.ace-footer-inner p {
  margin-bottom: 0;
}

.ace-footer-inner a {
  color: var(--ace-white);
}

.ace-page a:focus-visible {
  outline: 3px solid #efb34e;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .ace-header-inner,
  .ace-hero-grid,
  .ace-two-column,
  .ace-next-grid {
    grid-template-columns: 1fr;
  }

  .ace-header-inner {
    display: grid;
    padding: 1rem 0;
    gap: 0.5rem;
  }

  .ace-brand {
    max-width: 270px;
  }

  .ace-primary-nav {
    justify-content: flex-start;
  }

  .ace-hero-copy {
    max-width: 760px;
  }

  .ace-hero-visual {
    max-width: 340px;
    margin-inline: auto;
  }

  .ace-requirements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ace-screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ace-screen-card:nth-child(2),
  .ace-screen-card:nth-child(5) {
    margin-top: 0;
  }

  .ace-decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ace-decision-grid article,
  .ace-decision-grid article:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .ace-container,
  .ace-header-inner {
    width: min(calc(100% - 1.5rem), var(--ace-max-width));
  }

  .ace-primary-nav {
    gap: 0.15rem 1rem;
  }

  .ace-primary-nav a {
    font-size: 0.94rem;
  }

  .ace-facts-grid,
  .ace-check-list,
  .ace-requirements-grid,
  .ace-screen-grid,
  .ace-detail-grid,
  .ace-decision-grid {
    grid-template-columns: 1fr;
  }

  .ace-facts-grid > div {
    padding: 1.4rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .ace-facts-grid > div:last-child {
    border-bottom: 0;
  }

  .ace-solution-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .ace-comparison-grid {
    grid-template-columns: 1fr;
  }

  .ace-comparison-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .ace-detail-grid article + article {
    padding-top: 3rem;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .ace-project-navigation a,
  .ace-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .ace-page *,
  .ace-page *::before,
  .ace-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   FUTUREFUNDS LIVE WEBSITE CTA
   ========================================================= */

.futurefunds-live-section {
  padding: 40px 0 70px;
}


.futurefunds-live-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 40px;

  margin: 0;
  padding: 38px 42px;

  background: #333333;

  border-left: 6px solid #23c686;
  border-radius: 16px;

  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.12);
}


.futurefunds-live-copy {
  max-width: 650px;
}


.futurefunds-live-label {
  display: block;

  margin-bottom: 8px;

  color: #23c686;

  font-size: 0.75rem;
  font-weight: 700;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}


.futurefunds-live-cta h2 {
  margin: 0 0 10px;

  color: #ffffff;

  font-size: clamp(1.5rem, 3vw, 2rem);
}


.futurefunds-live-cta p {
  margin: 0;

  color: #d5d5d5;

  line-height: 1.6;
}


.futurefunds-live-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  flex-shrink: 0;

  padding: 15px 24px;

  background: #23c686;
  color: #222222;

  border: 2px solid #23c686;
  border-radius: 999px;

  font-weight: 700;

  text-decoration: none;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.futurefunds-live-arrow {
  font-size: 1.15rem;

  transition: transform 0.25s ease;
}


.futurefunds-live-button:hover {
  background: #ffffff;
  color: #333333;

  border-color: #ffffff;

  transform: translateY(-2px);

  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.22);
}


.futurefunds-live-button:hover .futurefunds-live-arrow {
  transform: translate(3px, -3px);
}


.futurefunds-live-button:focus-visible {
  outline: 3px solid #23c686;
  outline-offset: 4px;
}


/* Outcome live link */

.futurefunds-outcome-link {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  margin-top: 12px;

  color: #333333;

  font-weight: 700;

  text-decoration-color: #23c686;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}


.futurefunds-outcome-link span {
  color: #23c686;

  transition: transform 0.25s ease;
}


.futurefunds-outcome-link:hover span {
  transform: translate(3px, -3px);
}


/* Mobile */

@media (max-width: 750px) {

  .futurefunds-live-section {
    padding: 30px 0 55px;
  }


  .futurefunds-live-cta {
    flex-direction: column;
    align-items: flex-start;

    gap: 25px;

    padding: 30px 25px;
  }


  .futurefunds-live-button {
    width: 100%;
  }

}