/*
 * Follow Me Therapy: styles for the inner pages (telehealth, NDIS, ESDM, area, 404).
 * Shares the palette, fonts and components with css/home.css.
 */
@keyframes trailStep {
  0% {
    opacity: 0;
    scale: 0.4;
  }
  8% {
    opacity: 0.75;
    scale: 1.1;
  }
  14% {
    scale: 1;
  }
  55% {
    opacity: 0.6;
  }
  80%,
  to {
    opacity: 0;
  }
}
@keyframes trailStep2 {
  0%,
  30% {
    opacity: 0;
    scale: 0.4;
  }
  38% {
    opacity: 0.75;
    scale: 1.1;
  }
  44% {
    scale: 1;
  }
  80% {
    opacity: 0.6;
  }
  to {
    opacity: 0;
  }
}
@keyframes fade {
  0% {
    opacity: 0;
  }
}
@keyframes modalIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -46%);
  }
}
@keyframes walkSlot2 {
  0% {
    opacity: 0;
    scale: 0.4;
  }
  4% {
    opacity: 0.8;
    scale: 1.1;
  }
  7% {
    scale: 1;
  }
  28% {
    opacity: 0.7;
  }
  38%,
  to {
    opacity: 0;
  }
}
@keyframes walkSlot3 {
  0% {
    opacity: 0;
    scale: 0.4;
  }
  3% {
    opacity: 0.8;
    scale: 1.1;
  }
  5% {
    scale: 1;
  }
  19% {
    opacity: 0.7;
  }
  26%,
  to {
    opacity: 0;
  }
}
@font-face {
  font-family: "QS Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 102.2%;
  ascent-override: 97.8%;
  descent-override: 24.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Fredoka Fallback";
  src:
    local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"),
    local("Liberation Sans Bold");
  font-weight: 600;
  size-adjust: 94.2%;
  ascent-override: 103.4%;
  descent-override: 25.1%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Fredoka";
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/fredoka-latin-600-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Fredoka";
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/fredoka-latin-500-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Quicksand";
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/quicksand-latin-500-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Quicksand";
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/quicksand-latin-700-normal.woff2) format("woff2");
}
:root {
  --purple: #6b4ef0;
  --purple-dark: #5a3fd6;
  --purple-tint: #efe9ff;
  --teal: #007a8a;
  --teal-tint: #e3f4f5;
  --butter: #fff4dc;
  --ink: #2b2540;
  --ink-soft: #5b556b;
  --deep: #2e2363;
  --display: "Fredoka", "Fredoka Fallback", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Quicksand", "QS Fallback", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: #fff;
}
img {
  max-width: 100%;
}
.crumbs a,
a {
  color: var(--purple);
  font-weight: 700;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
body,
h3 {
  font-weight: 500;
}
h3 {
  font-size: 1.2rem;
  margin: 0 0 6px;
}
h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}
h1,
h2,
p {
  margin: 0 0 16px;
}
.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 22px;
}
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 233, 255, 0.9);
  backdrop-filter: blur(10px);
}
.site-head .wrap {
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand,
.btn {
  font-family: var(--display);
  text-decoration: none;
}
.brand,
.site-head .wrap {
  display: flex;
  align-items: center;
}
.brand {
  gap: 10px;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
}
.brand img {
  height: 36px;
  width: auto;
}
.btn {
  display: inline-block;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid var(--purple);
  background: var(--purple);
  color: #fff;
  box-shadow: 0 6px 16px rgba(107, 78, 240, 0.25);
  transition:
    transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1),
    background-color 0.2s;
}
.btn:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
}
.btn:active {
  transform: scale(0.94);
}
.btn-small {
  padding: 8px 16px;
  font-size: 0.95rem;
}
.btn-outline {
  background: #fff;
  color: var(--purple);
  box-shadow: none;
}
.band {
  position: relative;
  padding: 64px 0;
}
.band + .band::before,
.site-foot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -39px;
  height: 40px;
  background: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C40 6 80 6 120 22S200 38 240 22V40Z'/%3E%3C/svg%3E")
    0 0/480px 40px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C40 6 80 6 120 22S200 38 240 22V40Z'/%3E%3C/svg%3E")
    0 0/480px 40px repeat-x;
}
.btn-outline:hover,
.tone-lilac {
  background: var(--purple-tint);
}
.tone-cream {
  background: var(--butter);
}
.tone-mint {
  background: var(--teal-tint);
}
.tone-white {
  background: #fff;
}
.tone-deep {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.82);
}
.hero {
  padding-top: 40px;
}
.crumbs {
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.crumbs a {
  color: var(--purple-dark);
}
.chips li,
.lead {
  font-size: 1.2rem;
  color: var(--ink);
}
.chips,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
}
.chips {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  gap: 8px;
}
.chips li {
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}
.hero-actions {
  gap: 12px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/13px no-repeat;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.card {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(43, 37, 64, 0.07);
}
.card p {
  margin: 0;
  font-size: 0.98rem;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: 16px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 20px 18px 72px;
  background: #fff;
  border-radius: 20px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--purple);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
}
.steps li:nth-child(2)::before {
  background: var(--teal);
}
.steps li:nth-child(3)::before {
  background: #f2a516;
}
.steps li:nth-child(4)::before {
  background: #e0457b;
}
.steps p {
  margin: 0;
}
.note {
  font-size: 0.95rem;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
}
.cta {
  text-align: center;
}
.cta p {
  max-width: 520px;
  margin: 0 auto 22px;
}
.cta .hero-actions {
  justify-content: center;
}
.site-foot {
  font-size: 0.92rem;
}
.site-foot h2 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.site-foot a,
.site-foot a:visited {
  color: #fff;
}
.foot-links {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.foot-small {
  font-size: 0.82rem;
  opacity: 0.85;
}
@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .rise-2 {
    animation-delay: 0.12s;
  }
  .rise-3 {
    animation-delay: 0.24s;
  }
  @keyframes rise {
    0% {
      opacity: 0;
      transform: translateY(18px);
    }
  }
}
@media (max-width: 520px) {
  .brand span {
    font-size: 1.05rem;
  }
  .band {
    padding: 52px 0;
  }
}
.site-foot {
  position: relative;
}
h2::after {
  content: "";
  width: 26px;
  height: 19px;
  margin-top: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 26'%3E%3Cg fill='%236b4ef0'%3E%3Cg transform='translate%281 2%29 rotate%28-6 8 12%29 scale%28.92%29'%3E%3Cellipse cx='11.5' cy='3.1' rx='2.05' ry='2.55'/%3E%3Ccircle cx='8.15' cy='2.25' r='1.35'/%3E%3Ccircle cx='5.85' cy='2.9' r='1.2'/%3E%3Ccircle cx='3.95' cy='4.15' r='1.05'/%3E%3Ccircle cx='2.55' cy='5.85' r='0.9'/%3E%3Cpath d='M7.6 6.6C11.2 6.2 13.9 7.8 13.6 10.8 13.4 12.8 11.4 14 10.9 16.2 10.5 18 11.6 19.4 11.2 21.2 10.8 23.2 9.3 24 7.7 24 5.6 24 4.3 22.7 4.3 20.6 4.3 17.6 3 15.8 2.8 12.8 2.5 9.2 4.4 6.9 7.6 6.6Z'/%3E%3C/g%3E%3Cg transform='translate%2819 0%29 rotate%286 8 12%29 scale%28.92%29'%3E%3Cg transform='translate%2816 0%29 scale%28-1 1%29'%3E%3Cellipse cx='11.5' cy='3.1' rx='2.05' ry='2.55'/%3E%3Ccircle cx='8.15' cy='2.25' r='1.35'/%3E%3Ccircle cx='5.85' cy='2.9' r='1.2'/%3E%3Ccircle cx='3.95' cy='4.15' r='1.05'/%3E%3Ccircle cx='2.55' cy='5.85' r='0.9'/%3E%3Cpath d='M7.6 6.6C11.2 6.2 13.9 7.8 13.6 10.8 13.4 12.8 11.4 14 10.9 16.2 10.5 18 11.6 19.4 11.2 21.2 10.8 23.2 9.3 24 7.7 24 5.6 24 4.3 22.7 4.3 20.6 4.3 17.6 3 15.8 2.8 12.8 2.5 9.2 4.4 6.9 7.6 6.6Z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    center/contain no-repeat;
  display: none !important;
}
.cta h2::after {
  margin: 10px auto 0;
}
.site-foot h2::after {
  display: none;
}
.wrap > p + .cards,
.wrap > p + .fund-grid,
.wrap > p + .svc-grid {
  margin-top: 20px;
}
.note {
  margin-top: 24px;
}
.fund-grid,
.svc-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.funding-card,
.service-item {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: 0 8px 24px rgba(43, 37, 64, 0.07);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s cubic-bezier(0.3, 1.5, 0.5, 1),
    box-shadow 0.3s ease;
}
.service-item {
  align-items: center;
  text-align: center;
}
.funding-card {
  align-items: flex-start;
  border-top: 6px solid var(--purple);
}
.funding-card:nth-child(2) {
  border-top-color: var(--teal);
}
.funding-card:nth-child(3) {
  border-top-color: #f2a516;
}
.funding-card:focus-visible,
.funding-card:hover,
.service-item:focus-visible,
.service-item:hover {
  transform: translateY(-6px) rotate(-1.2deg);
  box-shadow: 0 16px 32px rgba(43, 37, 64, 0.12);
}
.funding-card:nth-child(even):hover,
.service-item:nth-child(even):hover {
  transform: translateY(-6px) rotate(1.2deg);
}
.funding-card:active,
.service-item:active {
  transform: scale(0.97);
}
.funding-card:focus-visible,
.service-item:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}
.funding-card h3,
.service-item h3 {
  margin-bottom: 6px;
}
.funding-card p,
.service-item p {
  margin: 0 0 14px;
  font-size: 0.98rem;
}
.funding-card .more,
.service-item .more {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 500;
  color: var(--purple-dark);
}
.svc-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 22px;
  margin-bottom: 14px;
  transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.fund-svg {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}
.funding-card:hover .svc-icon,
.service-item:hover .svc-icon {
  transform: rotate(-8deg) scale(1.08);
}
.svc-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fund-svg svg {
  width: 32px;
  height: 32px;
}
.svc-footprints {
  background: var(--purple-tint);
  color: var(--purple);
}
.svc-footprints:not(.fund-svg) svg {
  fill: currentColor;
  stroke: none;
}
.svc-stairs {
  background: var(--teal-tint);
  color: var(--teal);
}
.svc-esdm {
  background: #fff0cc;
  color: #c77c00;
}
.svc-assessments {
  background: #ffe6ef;
  color: #e0457b;
}
.steps-row {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px;
}
.steps-row li {
  position: relative;
  text-align: center;
  padding: 0 6px;
  z-index: 1;
}
.steps-row h3 {
  margin-bottom: 4px;
}
.steps-row p {
  margin: 0;
  font-size: 0.98rem;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 12px;
  box-shadow: 0 8px 18px rgba(107, 78, 240, 0.3);
}
.steps-row li:nth-child(2) .step-num {
  background: var(--teal);
  box-shadow: 0 8px 18px rgba(0, 122, 138, 0.3);
}
.steps-row li:nth-child(3) .step-num {
  background: #f2a516;
  box-shadow: 0 8px 18px rgba(242, 165, 22, 0.35);
}
.steps-row li:nth-child(4) .step-num {
  background: #e0457b;
  box-shadow: 0 8px 18px rgba(224, 69, 123, 0.3);
}
.step-trail {
  position: absolute;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 21px;
  left: calc(50% + 40px);
  width: calc(100% - 52px);
  height: 26px;
}
.step-trail i {
  width: 12px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 24'%3E%3Cg fill='%236b4ef0'%3E%3Cellipse cx='11.5' cy='3.1' rx='2.05' ry='2.55'/%3E%3Ccircle cx='8.15' cy='2.25' r='1.35'/%3E%3Ccircle cx='5.85' cy='2.9' r='1.2'/%3E%3Ccircle cx='3.95' cy='4.15' r='1.05'/%3E%3Ccircle cx='2.55' cy='5.85' r='0.9'/%3E%3Cpath d='M7.6 6.6C11.2 6.2 13.9 7.8 13.6 10.8 13.4 12.8 11.4 14 10.9 16.2 10.5 18 11.6 19.4 11.2 21.2 10.8 23.2 9.3 24 7.7 24 5.6 24 4.3 22.7 4.3 20.6 4.3 17.6 3 15.8 2.8 12.8 2.5 9.2 4.4 6.9 7.6 6.6Z'/%3E%3C/g%3E%3C/svg%3E")
    center/contain no-repeat;
  opacity: 0;
  transform: rotate(90deg) translateX(-5px);
}
.step-trail i:nth-child(even) {
  transform: rotate(90deg) translateX(5px);
}
.step-trail i:nth-child(1) {
  animation-delay: 0s !important;
}
.step-trail i:nth-child(2) {
  animation-delay: 0.25s !important;
}
.step-trail i:nth-child(3) {
  animation-delay: 0.5s !important;
}
.step-trail i:nth-child(4) {
  animation-delay: 0.75s !important;
}
.steps-row li:nth-child(2) .step-trail i {
  animation-name: trailStep2;
}
@media (max-width: 650px) {
  .step-trail {
    flex-direction: column;
    top: auto;
    bottom: -34px;
    left: 50%;
    width: 26px;
    height: 34px;
    margin-left: -13px;
    justify-content: space-between;
  }
  .step-trail i {
    width: 9px;
    height: 13px;
    transform: rotate(180deg) translateX(-5px);
  }
  .step-trail i:nth-child(even) {
    transform: rotate(180deg) translateX(5px);
  }
  .step-trail i:nth-child(n + 3) {
    display: none;
  }
  .steps-row {
    gap: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .in .step-trail i {
    animation: none;
    opacity: 0.5;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .js .band:not(.in) .pop > * {
    opacity: 0;
  }
  .band.in .pop > * {
    animation: popIn 0.7s cubic-bezier(0.3, 1.5, 0.5, 1) backwards;
  }
  .pop > :nth-child(2) {
    animation-delay: 0.1s !important;
  }
  .pop > :nth-child(3) {
    animation-delay: 0.2s !important;
  }
  .pop > :nth-child(4) {
    animation-delay: 0.3s !important;
  }
  .pop > :nth-child(5) {
    animation-delay: 0.38s !important;
  }
  .band.in .step-num {
    animation: bounceIn 0.8s cubic-bezier(0.3, 1.8, 0.5, 1) backwards;
    animation-delay: inherit;
  }
  @keyframes popIn {
    0% {
      opacity: 0;
      transform: translateY(26px) scale(0.9) rotate(-2deg);
    }
  }
  @keyframes bounceIn {
    0% {
      transform: translateY(-30px) scale(0.4);
      opacity: 0;
    }
  }
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(46, 35, 99, 0.55);
  backdrop-filter: blur(3px);
  animation: fade 0.2s ease;
}
.modal.show {
  display: block;
}
.modal-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100% - 28px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 28px;
  padding: 40px 28px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: modalIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-content h3 {
  text-align: center;
  font-size: 1.4rem;
  margin: 0 32px 16px;
}
.modal .close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  background: 0 0;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}
.modal .close:hover {
  background: rgba(0, 0, 0, 0.06);
}
.modal-body p {
  margin: 0 0 14px;
}
.modal-note {
  font-size: 0.92rem;
  text-align: center;
}
.modal .btn {
  display: block;
  text-align: center;
  margin-top: 12px;
}
@media (max-width: 650px) {
  .steps-row {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}
.svc-grid {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 560px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
}
.in .step-trail i {
  animation: walkSlot2 5s ease-out infinite !important;
  animation-delay: calc(var(--k, 0) * 2.5s + var(--f, 0) * 0.22s) !important;
}
.trails-3 .step-trail i {
  animation-name: walkSlot3 !important;
  animation-duration: 7.5s !important;
}
@media (prefers-reduced-motion: reduce) {
  .in .step-trail i {
    animation: none !important;
    opacity: 0.5;
  }
}
.step-trail i:nth-child(even) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 24'%3E%3Cg fill='%236b4ef0'%3E%3Cg transform='translate%2816 0%29 scale%28-1 1%29'%3E%3Cellipse cx='11.5' cy='3.1' rx='2.05' ry='2.55'/%3E%3Ccircle cx='8.15' cy='2.25' r='1.35'/%3E%3Ccircle cx='5.85' cy='2.9' r='1.2'/%3E%3Ccircle cx='3.95' cy='4.15' r='1.05'/%3E%3Ccircle cx='2.55' cy='5.85' r='0.9'/%3E%3Cpath d='M7.6 6.6C11.2 6.2 13.9 7.8 13.6 10.8 13.4 12.8 11.4 14 10.9 16.2 10.5 18 11.6 19.4 11.2 21.2 10.8 23.2 9.3 24 7.7 24 5.6 24 4.3 22.7 4.3 20.6 4.3 17.6 3 15.8 2.8 12.8 2.5 9.2 4.4 6.9 7.6 6.6Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.modal-content:focus,
.modal-content:focus-visible {
  outline: 0;
}

/* Back, at the top of every inner page: to wherever you came from on
   the site, or home. */
.head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--purple);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(43, 37, 64, 0.08);
  transition: transform 0.25s cubic-bezier(0.3, 1.5, 0.5, 1), box-shadow 0.25s ease;
}
.back-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.back-btn:hover,
.back-btn:focus-visible {
  transform: translateX(-3px);
  box-shadow: 0 8px 18px rgba(43, 37, 64, 0.12);
}
.back-btn:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}
@media (max-width: 520px) {
  .back-btn {
    padding: 8px;
  }
  .back-btn span {
    display: none;
  }
}

/* The header: Back on the left, the name in the middle, the referral
   button on the right. */
.site-head .wrap {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.head-left {
  display: contents;
}
.head-left .back-btn {
  justify-self: start;
}
.head-left .brand {
  justify-self: center;
}
.site-head .wrap > .btn {
  justify-self: end;
}
@media (max-width: 520px) {
  .site-head .wrap {
    gap: 8px;
  }
  .head-left .brand {
    gap: 6px;
  }
  .head-left .brand img {
    height: 30px;
  }
  .head-left .brand span {
    font-size: 0.98rem;
    line-height: 1.1;
    text-align: center;
  }
  .site-head .wrap > .btn {
    padding: 8px 12px;
    font-size: 0.85rem;
    line-height: 1.15;
    text-align: center;
    max-width: 96px;
  }
}

/* Keep the scrollbar's room when a pop-up stops the page scrolling, so
   nothing shifts sideways as it opens. */
html {
  scrollbar-gutter: stable;
}

/* Room to breathe between the bands and between cards. */
.band {
  padding: 92px 0 !important;
}
.band.hero {
  padding-top: 56px !important;
}
.band h2 {
  margin-bottom: 22px;
}
.fund-grid,
.svc-grid,
.cards {
  gap: 26px !important;
}
.wrap > p + .cards,
.wrap > p + .fund-grid,
.wrap > p + .svc-grid {
  margin-top: 30px !important;
}
@media (max-width: 520px) {
  .band {
    padding: 72px 0 !important;
  }
  .band.hero {
    padding-top: 40px !important;
  }
}

/* "Skip to content": the first thing a keyboard reaches, shown only when
   it has focus. */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 999px;
  background: #6b4ef0;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
}

/* Chevrons after "Learn more", "How it works" and other links (and
   before "Back"), in the link's colour, nudging along on hover. */
.chev {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.2em;
  vertical-align: -0.08em;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}
.chev-back {
  margin: 0 0.2em 0 0;
}
a:hover > .chev:not(.chev-back),
.service-item:hover .chev,
.funding-card:hover .chev {
  transform: translateX(3px);
}
a:hover > .chev-back {
  transform: translateX(-3px);
}

/* Words only screen readers hear. */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* "Tap a service…" and "Tap an option…": centred over their cards. */
.tap-hint {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
