:root {
  --indigo: #5142f5;
  --indigo-d: #3428c4;
  --orange: #ff923f;
  --navy: #0b0d3a;
  --teal: #13b89a;
  --sky: #39a9ef;
  --coral: #ff6b78;
  --gold: #f2bd38;
  --violet: #9868ef;
  --ink: #16193f;
  --muted: #5b6080;
  --soft: #f5f4ff;
  --pink: #fff0f6;
  --line: #e6e8f5;
  --r: 20px;
  --shadow: 0 12px 34px rgba(30, 30, 110, .10);
  --wrap: min(1180px, 92vw);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

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

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

ul {
  list-style: none
}

.wrap {
  width: var(--wrap);
  margin: 0 auto
}

.section {
  padding: clamp(56px, 8vw, 100px) 0
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.01em
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px
}

p {
  color: var(--muted)
}

.btn {
  display: inline-block;
  background: linear-gradient(110deg, var(--indigo), var(--violet));
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 32px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(81, 66, 245, .25);
  transition: transform .2s, box-shadow .2s
}

.btn:hover {
  background: linear-gradient(110deg, var(--coral), var(--orange));
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255, 107, 120, .32)
}

.btn-sm {
  padding: 10px 24px;
  font-size: .88rem
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  transition: box-shadow .25s
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(30, 30, 110, .10)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0
}

.brand-image {
  display: block;
  width: auto;
  height: 46px;
  max-width: min(220px, 58vw)
}

.menu {
  display: flex;
  align-items: center;
  gap: 34px
}

.menu a:not(.btn) {
  font-weight: 500;
  font-size: .92rem;
  position: relative;
  padding: 6px 0
}

.menu a:not(.btn):after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--orange);
  transition: width .25s
}

.menu a.active,
.menu a:not(.btn):hover {
  color: var(--indigo)
}

.menu a.active:after,
.menu a:not(.btn):hover:after {
  width: 100%
}

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

.burger i {
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: .25s
}

.burger[aria-expanded=true] i:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.burger[aria-expanded=true] i:nth-child(2) {
  opacity: 0
}

.burger[aria-expanded=true] i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

/* hero */
.hero {
  background: radial-gradient(circle at 12% 18%, rgba(255, 107, 120, .12), transparent 30%), radial-gradient(circle at 83% 82%, rgba(19, 184, 154, .12), transparent 32%), linear-gradient(135deg, #f1efff 0%, #f0faff 52%, #fff5e8 100%);
  padding: clamp(32px, 3.4vw, 48px) 0;
  overflow: hidden
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center
}

.photo-frame {
  position: relative;
  isolation: isolate;
  padding: 7px;
  border-radius: 32px 32px 88px 32px;
  background: linear-gradient(135deg, var(--teal), var(--indigo) 56%, var(--orange));
  box-shadow: 0 20px 46px rgba(81, 66, 245, .16)
}

.photo-frame:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% -5% -8% 12%;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(19, 184, 154, .5), rgba(81, 66, 245, .35), rgba(255, 146, 63, .45));
  filter: blur(22px);
  opacity: .7
}

.photo-frame img {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 25px 25px 78px 25px;
  object-fit: cover;
  box-shadow: none
}

.hero-art img {
  aspect-ratio: 1.65
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 22px
}

.hero h1 {
  background: linear-gradient(90deg, var(--navy), var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero p {
  font-size: 1.05rem;
  max-width: 560px
}

/* cards */
.head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px
}

.head h2:after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--indigo), var(--teal), var(--orange))
}

#feature {
  background: linear-gradient(180deg, #fff 0%, #fbfaff 100%)
}

#feature.section {
  padding-top: clamp(48px, 5vw, 68px)
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px
}

.card {
  --card-color: var(--indigo);
  --card-tint: #f0efff;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--card-color);
  border-radius: var(--r);
  padding: 30px 28px 34px;
  box-shadow: var(--shadow);
  transition: transform .3s, border-color .3s, box-shadow .3s
}

.card:nth-child(5n+2) {
  --card-color: var(--teal);
  --card-tint: #e8faf6
}

.card:nth-child(5n+3) {
  --card-color: var(--coral);
  --card-tint: #fff0f2
}

.card:nth-child(5n+4) {
  --card-color: var(--sky);
  --card-tint: #eaf7ff
}

.card:nth-child(5n+5) {
  --card-color: var(--gold);
  --card-tint: #fff8e6
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--card-color);
  box-shadow: 0 18px 40px rgba(30, 30, 110, .14)
}

.card-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--card-tint);
  color: var(--card-color);
  transition: transform .35s
}

.card-icon svg {
  display: block;
  width: 34px;
  height: 34px;
  stroke-width: 1.9
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(-4deg)
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px
}

.card p {
  font-size: .93rem
}

/* split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center
}

#about {
  background: linear-gradient(110deg, #fff 0%, #f7f6ff 55%, #fff8ef 100%)
}

.art img {
  aspect-ratio: 1.2;
}

.split.flip .art {
  order: 2
}

.split p {
  margin-bottom: 28px
}

#why {
  background: linear-gradient(135deg, #f1f3ff 0%, #f5f0ff 52%, #effbff 100%)
}

.commitment-section {
  background: linear-gradient(120deg, #f0fbff, #f6f2ff);
  padding-top: 0
}

.commitment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 42px;
  padding: 38px 42px;
  background: #fff;
  border: 1px solid #e4e6ff;
  border-left: 6px solid var(--teal);
  border-radius: var(--r);
  box-shadow: var(--shadow)
}

.commitment h2 {
  margin-bottom: 10px
}

.commitment p {
  max-width: 580px;
  margin-bottom: 24px
}

.commitment-image {
  aspect-ratio: 1.35
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px
}

.purpose-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #dff3ef;
  border-top: 4px solid var(--teal);
  border-radius: var(--r);
  padding: 38px;
  background: linear-gradient(145deg, #fff 0%, #effcf8 100%);
  box-shadow: var(--shadow)
}

.purpose-card:nth-child(2) {
  border-color: #f8e9c4;
  border-top-color: var(--orange);
  background: linear-gradient(145deg, #fff 0%, #fff6e8 100%)
}

.purpose-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--indigo), var(--violet));
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 22px;
  box-shadow: 0 7px 16px rgba(81, 66, 245, .2)
}

.purpose-card:nth-child(2) .purpose-number {
  background: linear-gradient(145deg, var(--orange), var(--coral));
  box-shadow: 0 7px 16px rgba(255, 146, 63, .22)
}

.purpose-card p {
  margin-bottom: 28px
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px
}

.why-card {
  --why-color: var(--indigo);
  min-height: 210px;
  padding: 38px 32px;
  border: 1px solid #e4e6f5;
  border-top: 4px solid var(--why-color);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #f4f3ff);
  box-shadow: 0 10px 28px rgba(30, 30, 110, .08)
}

.why-card:nth-child(2) {
  --why-color: var(--teal);
  transform: translateY(-14px);
  background: linear-gradient(145deg, #fff, #edfbf8)
}

.why-card:nth-child(3) {
  --why-color: var(--coral);
  background: linear-gradient(145deg, #fff, #fff1f2)
}

.why-card h3 {
  font-size: 1.12rem;
  margin-bottom: 14px
}

.why-card p {
  font-size: .93rem
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 72px
}

.stat {
  text-align: center;
  padding: 30px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow)
}

.stat img {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px
}

.stat h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--indigo)
}

.stat:nth-child(2) h3 {
  color: var(--teal)
}

.stat:nth-child(3) h3 {
  color: var(--coral)
}

.stat:nth-child(4) h3 {
  color: var(--orange)
}

.stat h4 {
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted)
}

/* reviews */
.pink {
  background: var(--pink)
}

.rgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px
}

.review {
  background: #fff;
  border-radius: var(--r);
  padding: 32px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--orange)
}

.review:nth-child(2) {
  border-top-color: var(--teal)
}

.review:nth-child(3) {
  border-top-color: var(--sky)
}

.review:nth-child(4) {
  border-top-color: var(--violet)
}

.who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px
}

.who img,
.avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffe3c2
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f2ff;
  color: var(--indigo);
  font-size: .85rem;
  font-weight: 700
}

.who h3 {
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  line-height: 1.35
}

.who h3 span {
  font-size: .8rem;
  font-weight: 500;
  color: var(--indigo)
}

.stars {
  margin-left: auto;
  color: var(--orange);
  letter-spacing: 2px;
  font-size: .95rem
}

.review p {
  font-size: .95rem
}

/* contact page */
.contact-hero {
  padding: clamp(52px, 8vw, 96px) 0;
  background: radial-gradient(circle at 12% 18%, rgba(255, 107, 120, .12), transparent 30%), linear-gradient(130deg, #f1efff, #f0fbff 60%, #fff6e9)
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 6vw, 78px)
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--indigo);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em
}

.contact-hero h1 {
  max-width: 620px;
  margin-bottom: 18px;
  background: linear-gradient(100deg, var(--navy), var(--indigo), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.12
}

.contact-hero-copy p {
  max-width: 560px;
  font-size: 1.05rem
}

.contact-hero-photo img {
  aspect-ratio: 1.3
}

.contact-section {
  background: linear-gradient(180deg, #fff, #f8f7ff)
}

.contact-details-only {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid #e3e5fb;
  border-top: 5px solid var(--teal);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow)
}

.contact-details {
  padding-top: 0
}

.contact-details h2 {
  font-size: clamp(1.6rem, 3vw, 2rem)
}

.contact-details > p {
  margin-bottom: 24px
}

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

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 30, 110, .06)
}

.contact-detail > span:last-child {
  min-width: 0;
  padding-top: 2px
}

.contact-detail strong,
.contact-detail > span:last-child > span {
  display: block
}

.contact-detail strong {
  margin-bottom: 4px;
  color: var(--navy)
}

.contact-detail > span:last-child > span {
  color: var(--muted);
  font-size: .9rem;
  overflow-wrap: anywhere
}

.contact-detail[href] > span:last-child > span {
  color: var(--indigo)
}

.contact-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 14px;
  background: #f0efff;
  color: var(--indigo)
}

.contact-icon-teal {
  background: #e8faf6;
  color: var(--teal)
}

.contact-icon svg,
.contact-note > svg {
  width: 22px;
  height: 22px
}

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 18px;
  border-left: 3px solid var(--orange);
  border-radius: 0 14px 14px 0;
  background: #fff6e9;
  color: var(--orange)
}

.contact-note p {
  color: var(--muted);
  font-size: .9rem
}

.contact-email-cta {
  margin-top: 20px
}

/* terms page */
.legal-hero {
  padding: clamp(48px, 7vw, 82px) 0;
  background: radial-gradient(circle at 12% 18%, rgba(255, 107, 120, .12), transparent 30%), linear-gradient(130deg, #f1efff, #f0fbff 60%, #fff6e9)
}

.legal-hero h1 {
  margin-bottom: 18px;
  background: linear-gradient(100deg, var(--navy), var(--indigo), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.2rem, 5vw, 3.5rem)
}

.legal-hero p {
  font-size: 1.02rem
}

.legal-section {
  padding-top: clamp(32px, 4vw, 52px);
  background: linear-gradient(180deg, #fff, #f8f7ff)
}

.legal-content section + section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line)
}

.legal-content h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem)
}

.legal-heading-centered {
  justify-content: center
}

.legal-content h3 {
  margin: 12px 0 4px
}

.legal-content h2 + h3 {
  margin-top: 0
}

.legal-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--term-tint, #f0efff);
  color: var(--term-accent, var(--indigo))
}

.legal-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.9
}

.legal-content section:nth-of-type(3n+2) {
  --term-accent: var(--teal);
  --term-tint: #e8faf6
}

.legal-content section:nth-of-type(3n+3) {
  --term-accent: var(--coral);
  --term-tint: #fff0f2
}

/* footer */
.footer {
  background: linear-gradient(125deg, #15133f 0%, #24235f 55%, #263d78 100%);
  color: #cfd3f3;
  padding-top: 72px
}

.footer p,
.footer a {
  color: #cfd3f3;
  font-size: .93rem
}

.footer a:hover {
  color: var(--orange)
}

.fgrid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .9fr 1.5fr;
  gap: 44px;
  padding-bottom: 52px
}

.footer-brand {
  margin-bottom: 16px
}

.footer-brand .brand-image {
  height: 52px;
  max-width: 240px
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px
}

.footer h4:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange)
}

.footer li {
  margin-bottom: 10px
}

.footer p+p {
  margin-top: 10px
}

.copy {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: .88rem
}

.top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy) !important;
  font-weight: 700;
  transition: transform .2s
}

.top:hover {
  transform: translateY(-3px);
  color: var(--navy) !important
}

/* motion */
.float {
  animation: float 5.5s ease-in-out infinite
}

@keyframes float {
  50% {
    transform: translateY(-14px)
  }
}

.js .rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0s)
}

.js .rv.in {
  opacity: 1;
  transform: none
}

@media(prefers-reduced-motion:reduce) {
  .float {
    animation: none
  }

  .js .rv {
    opacity: 1;
    transform: none;
    transition: none
  }

  html {
    scroll-behavior: auto
  }
}

/* tablet */
@media(max-width:1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stats {
    grid-template-columns: repeat(2, 1fr)
  }

  .fgrid {
    grid-template-columns: 1fr 1fr
  }

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

/* mobile nav + stack */
@media(max-width:860px) {
  .burger {
    display: flex
  }

  .menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 4vw 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(30, 30, 110, .1);
    display: none
  }

  .menu.open {
    display: flex
  }

  .menu a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line)
  }

  .menu-cta {
    margin-top: 16px;
    text-align: center
  }

  .hero-grid,
  .split,
  .rgrid,
  .contact-hero-grid,
  .contact-details-grid {
    grid-template-columns: 1fr
  }

  .contact-hero-photo {
    max-width: 640px
  }

  .contact-details {
    padding-top: 0
  }

  .purpose-grid,
  .why-grid {
    grid-template-columns: 1fr
  }

  .why-card:nth-child(2) {
    transform: none
  }

  .commitment {
    grid-template-columns: 1fr;
    padding: 28px
  }

  .hero-art {
    order: -1;
    max-width: 420px;
    margin: 0 auto
  }

  .hero {
    padding: 32px 0
  }

  .hero-art img {
    aspect-ratio: 1.5
  }

  .split.flip .art {
    order: 0
  }

  .art {
    max-width: 460px;
    margin: 0 auto
  }
}

@media(max-width:560px) {

  .grid,
  .fgrid {
    grid-template-columns: 1fr
  }

  .stats {
    gap: 14px
  }

  .stat h3 {
    font-size: 1.8rem
  }

  .review {
    padding: 24px
  }

  .who {
    flex-wrap: wrap
  }

  .stars {
    margin-left: 72px;
    width: 100%
  }

  .copy {
    flex-direction: column;
    text-align: center
  }
}