/* Homepage-only styling inspired by the supplied service-site reference. */
.home-page { color: #4558a1; background: #faf9f6; }
.home-container { max-width: 1152px; padding: 0 20px; margin: 0 auto; }
.home-page h1, .home-page h2 { font-family: "Gabarito", sans-serif; font-weight: 650; letter-spacing: -.035em; text-wrap: balance; }
.home-page h2 { font-size: 32px; line-height: 1.12; color: #4558a1; margin: 0 0 24px; max-width: 25ch; }
.home-page p { font-size: 18px; line-height: 1.55; max-width: 60ch; text-wrap: pretty; }
.home-hero { background: linear-gradient(#4558a1 80px, #faf9f6 80px); padding: 104px 16px 24px; }
.home-hero-grid { display: grid; gap: 28px; align-items: center; background: #e6f3ed; border-radius: 20px; padding: 28px 20px; max-width: 1104px; }
.home-page .home-audience { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.35; margin-bottom: 24px; color: #4558a1; font-weight: 600; }
.home-page h1 { font-size: 36px; line-height: 1.08; margin-bottom: 24px; color: #4558a1; }
.home-page .home-subhead { font-size: 21px; font-weight: 600; color: #4558a1; margin-bottom: 16px; }
.home-intro { margin-bottom: 24px; }
.home-actions { display: flex; flex-direction: column; gap: 12px; }
.home-page .btn { gap: 12px; justify-content: center; text-align: center; border-radius: 999px; padding-left: 24px; padding-right: 24px; }
.home-page .home-secondary { --action-bg: transparent; --action-hover: #dbdff0; --action-pressed: #b8c1e0; --action-text: #4558a1; border-color: #4558a1; }
.home-hero-photo { width: 100%; height: auto; max-width: 540px; margin: 0 auto; border: 10px solid #fff; border-radius: 16px; box-shadow: 0 8px 24px #4558a11a; }
/* Bold proof points with a quiet, decorative heart pattern. */
.home-proof { background: #faf9f6; padding: 8px 0 32px; }
.home-stats { display: grid; grid-template-columns: 1fr; gap: 16px; text-align: left; margin: 0; padding: 0; }
.home-stats > div { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 156px; padding: 24px 28px; border-radius: 18px; background: #4558a1; color: #fff; }
.home-stats > div:nth-child(2) { background: #c7e8db; color: #30343b; }
.home-stats > div:nth-child(3) { background: #e8ecf7; color: #4558a1; }
.home-stats > div::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='88' viewBox='0 0 96 88'%3E%3Cpath d='M48 66 21 40C4 23 27 6 40 19l8 8 8-8c13-13 36 4 19 21Z' fill='%234558a1'/%3E%3C/svg%3E"); background-size: 84px 77px; transform: rotate(-12deg) scale(1.2); }
.home-stats > div:first-child::before { opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='88' viewBox='0 0 96 88'%3E%3Cpath d='M48 66 21 40C4 23 27 6 40 19l8 8 8-8c13-13 36 4 19 21Z' fill='white'/%3E%3C/svg%3E"); }
.home-stats dt { font-size: 18px; font-weight: 600; line-height: 1.35; }
.home-stats dd { order: -1; font-size: 56px; font-weight: 650; letter-spacing: -.04em; line-height: 1; color: inherit; margin: 0; }
.home-section { padding: 52px 0; }
.home-split { display: grid; gap: 28px; }
.home-fees { background: #fff; }
.home-fees h2 { margin-bottom: 0; }
.home-fees h2::before, .home-products dt svg { background: #e6f3ed; }
.home-fees h2::before { content: ''; display: block; height: 4px; width: 40px; margin-bottom: 20px; background: #5cb798; }
.home-page .home-tip { margin-top: 16px; font-weight: 600; color: #4558a1; }
.home-products { display: grid; gap: 16px; margin-top: 32px; }
.home-products > div { min-width: 0; display: grid; grid-template-rows: 1fr auto; min-height: 300px; background: #4558a1; color: #fff; padding: 28px; border-radius: 18px; }
.home-products > div:nth-child(2) { background: #80cbb0; color: #30343b; }
.home-products > div:nth-child(3) { background: #f1f3fa; color: #4558a1; }
.home-products dt { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; font-size: 30px; line-height: 1.15; font-weight: 600; color: inherit; }
.home-products dt svg { width: 76px; height: 76px; padding: 14px; border-radius: 50%; background: #ffffffeb; color: #4558a1; }
.home-products dd { font-size: 17px; line-height: 1.55; margin: 16px 0 0; }
.home-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 24px; color: #4558a1; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.home-text-link:hover { color: #4558a1; text-decoration-thickness: 2px; }
.home-text-link:focus-visible { outline: 3px solid #4558a1; outline-offset: 4px; }
.home-how { background: #faf9f6; padding-top: 16px; }
.home-how p { margin: 0 auto 24px; }
.home-steps { list-style: none; display: grid; gap: 0; padding: 0; margin: 32px 0; }
.home-steps li { position: relative; display: flex; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; padding-bottom: 24px; }
.home-steps li:last-child { padding-bottom: 0; }
.home-steps li:not(:last-child)::before { content: ''; position: absolute; width: 3px; background: #80cbb0; left: 19px; top: 38px; bottom: -2px; }
.home-steps span { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #4558a1; color: #fff; font-size: 16px; }
.home-stories { background: #4558a1; color: #fff; }
.home-stories h2 { color: #fff; }
.home-quote { margin: 0; padding: 28px 24px; background: #fff; color: #4558a1; border-radius: 14px; }
.home-quote::before { content: '“'; display: block; font-size: 64px; font-family: Georgia, serif; line-height: .8; color: #4558a1; margin-bottom: 8px; }
.home-quote blockquote { margin: 0 0 24px; }
.home-quote figcaption { font-weight: 600; border-top: 1px solid #dbdff0; padding-top: 20px; }
.home-quote figcaption span { display: block; font-weight: 400; margin-top: 4px; }
.home-cta { background: #c7e8db; }
.home-cta h2 { color: #4558a1; }
.home-cta p { margin-bottom: 24px; }
@media (min-width: 600px) {
  .home-actions { flex-direction: row; flex-wrap: wrap; }

}
@media (min-width: 900px) {
  .home-container { padding-left: 24px; padding-right: 24px; }
  .home-hero { padding: 112px 24px 32px; }
  .home-hero-grid { grid-template-columns: 1.15fr 1fr; gap: 48px; padding: 48px; }
  .home-page h1 { font-size: 46px; }
  .home-page h2 { font-size: 40px; }
  .home-section { padding: 72px 0; }
  .home-split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .home-fees .home-split { grid-template-columns: .8fr 1.2fr; }
  .home-products { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
  .home-how { padding-top: 24px; text-align: center; }
  .home-how h2 { margin-left: auto; margin-right: auto; }
  .home-steps { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 24px; margin: 40px 0; }
  .home-steps li { flex-direction: column; align-items: center; gap: 16px; padding: 0; }
  .home-steps li:not(:last-child)::before { height: 3px; width: auto; left: calc(50% + 24px); right: calc(-50% + 0px); top: 19px; bottom: auto; }
  .home-quote { padding: 36px; }

}

/* Three equal editorial panels, adapted from the supplied content reference. */
.home-ways { padding-left: 16px; padding-right: 16px; }
.home-ways-panel { background: #fff; border-radius: 24px; padding: 28px 20px; }
.home-ways-heading h2 { margin-bottom: 8px; }
.home-ways-heading .home-text-link { margin-top: 8px; }
@media (min-width: 900px) {
  .home-ways-panel { padding: 48px; }
  .home-ways-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
  .home-ways-heading h2 { margin-bottom: 0; }
  .home-ways-heading .home-text-link { margin-top: 0; flex-shrink: 0; }
  .home-products { gap: 16px; margin-top: 40px; }
  .home-products > div { min-height: 380px; }
  .home-products dd { min-height: 106px; }
  .home-products dt svg { width: 88px; height: 88px; padding: 16px; }
}

@media (min-width: 768px) {
  .home-proof { padding: 8px 0 48px; }
  .home-stats { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
  .home-stats > div { min-height: 216px; padding: 32px; }
  .home-stats dd { font-size: clamp(56px, 5vw, 72px); }
  .home-stats dt { font-size: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .home-stats > .stat-enter { animation: stat-arrive 550ms cubic-bezier(.2,.7,.2,1) both; }
  .home-stats > .stat-enter:nth-child(2) { animation-delay: 90ms; }
  .home-stats > .stat-enter:nth-child(3) { animation-delay: 180ms; }
  @keyframes stat-arrive {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Keep the closing message and action together at every width. */
.home-cta .home-container { display: flex; flex-direction: column; align-items: center; max-width: 760px; text-align: center; }
.home-cta h2 { margin: 0 0 16px; }
.home-cta p { margin: 0 0 24px; }
.home-page .home-cta .btn { --action-bg: #4558a1; --action-hover: #5267b5; --action-pressed: #4558a1; --action-text: #fff; min-width: 176px; }
/* A single light sweep follows the steps, then leaves a quiet connector. */
.home-steps li { --step-delay: 0ms; }
.home-steps li:nth-child(2) { --step-delay: 450ms; }
.home-steps li:nth-child(3) { --step-delay: 900ms; }
.home-steps li:nth-child(4) { --step-delay: 1350ms; }
.home-steps li:nth-child(5) { --step-delay: 1800ms; }
@media (prefers-reduced-motion: no-preference) {
  .home-steps.steps-enter li:not(:last-child)::after {
    content: ''; position: absolute; pointer-events: none; z-index: 1;
    left: 19px; top: 38px; width: 3px; height: 14px; border-radius: 999px;
    background: linear-gradient(to bottom, #80cbb000, #5cb798 45%, #fff);
    box-shadow: 0 0 5px #5cb798, 0 0 12px #80cbb0;
    animation: step-laser-down 450ms linear var(--step-delay) both;
  }
  .home-steps.steps-enter li > span {
    animation: step-light 450ms ease-out var(--step-delay) both;
  }
  @keyframes step-laser-down {
    0% { top: 38px; opacity: 0; }
    12%, 88% { opacity: 1; }
    100% { top: calc(100% - 8px); opacity: 0; }
  }
  @keyframes step-light {
    0%, 100% { box-shadow: 0 0 0 0 #80cbb000; }
    35% { box-shadow: 0 0 0 5px #80cbb04d, 0 0 18px #80cbb0; }
  }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .home-steps.steps-enter li:not(:last-child)::after {
    top: 19px; left: calc(50% + 24px); width: 22px; height: 3px;
    background: linear-gradient(to right, #80cbb000, #5cb798 45%, #fff);
    animation-name: step-laser-across;
  }
  @keyframes step-laser-across {
    0% { left: calc(50% + 24px); opacity: 0; }
    12%, 88% { opacity: 1; }
    100% { left: calc(150% - 22px); opacity: 0; }
  }
}
/* Supporting proof copy stays readable beneath the large figures. */
.home-stats .home-stat-note { order: 0; font-size: 16px; font-weight: 400; letter-spacing: 0; line-height: 1.45; max-width: 30ch; margin-top: 4px; }
