/* Focused visual and motion layer. Keep the approved content and layout intact. */
:root {
  --motion-curve: cubic-bezier(.22, 1, .36, 1);
  --motion-quick: cubic-bezier(.34, 1.56, .64, 1);
  --warm-white: #fffdfa;
  --soft-line: #e7e0da;
  scroll-padding-top: 100px;
}

.arrow-icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-link .arrow-icon,
.inline-action .arrow-icon,
.hero-scroll-cue .arrow-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -.18em;
}

.back-to-top .arrow-icon {
  width: 23px;
  height: 23px;
}

.site-header {
  padding: 12px 0 8px;
  margin-bottom: -90px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none;
}

.header-inner {
  width: min(1360px, calc(100% - 36px));
  height: 70px;
  padding: 0 26px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 35px rgba(30,34,43,.09), 0 1px 4px rgba(30,34,43,.05);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.brand img {
  width: 68px;
}

.desktop-nav a {
  position: relative;
  padding: 10px 2px;
  transition: color .28s var(--motion-curve);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 3px;
  left: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s var(--motion-curve);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  border-radius: 999px;
  transition: background .35s var(--motion-curve),
              color .35s var(--motion-curve),
              box-shadow .35s var(--motion-curve),
              transform .35s var(--motion-quick);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 7px 8px 7px 19px;
  box-shadow: 0 5px 15px rgba(201,24,32,.17);
}

.button {
  min-height: 56px;
  padding: 8px 9px 8px 23px;
  gap: 14px;
}

.header-cta > span,
.button > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  transition: transform .4s var(--motion-quick), background .3s var(--motion-curve);
}

.button-outline-dark > span {
  background: #ebecef;
}

.button-light > span {
  background: #f9e6e6;
}

.header-cta:hover,
.button:hover {
  box-shadow: 0 10px 22px rgba(165,17,26,.18);
  transform: translateY(-3px);
}

.header-cta:hover > span,
.button:hover > span {
  transform: translate(2px, -2px) scale(1.08);
}

.header-cta:active,
.button:active {
  transform: scale(.97);
}

.hero-art {
  max-height: calc(100dvh - 88px);
}

.hero-actions {
  background: var(--warm-white);
  border-bottom-color: var(--soft-line);
}

.hero-action-buttons .button {
  min-width: 190px;
}

.intro.band {
  background: linear-gradient(180deg, #fffdfa, #fff 82%);
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 23px auto 0;
  border-radius: 3px;
  background: var(--red);
}

.funds {
  background: radial-gradient(ellipse at 10% 5%, #fff 0, transparent 42%), #f4f2ef;
}

.fund-card {
  border-color: #e8e1dc;
  box-shadow: 0 18px 36px rgba(45,39,35,.045);
  transition: transform .65s var(--motion-curve), box-shadow .65s var(--motion-curve);
}

.fund-top strong {
  transition: transform .5s var(--motion-curve);
}

.fund-card:hover {
  box-shadow: 0 26px 50px rgba(45,39,35,.105);
  transform: translateY(-7px);
}

.fund-card:hover .fund-top strong {
  transform: translateX(-5px);
}

.benefits {
  background: var(--warm-white);
}

.benefit-card,
.benefit-card:first-child {
  border-color: var(--soft-line);
  border-top-color: var(--red);
  background: linear-gradient(155deg, #fff 65%, #fff8f6);
  box-shadow: 0 14px 35px rgba(69,44,37,.035);
  transition: transform .6s var(--motion-curve), box-shadow .6s var(--motion-curve);
}

.benefit-card:hover,
.benefit-card:first-child:hover {
  box-shadow: 0 23px 42px rgba(69,44,37,.1);
  transform: translateY(-6px);
}

.benefit-number,
.benefit-card:first-child .benefit-number {
  color: #e9e1dd;
  transition: color .5s var(--motion-curve), transform .5s var(--motion-curve);
}

.benefit-card:hover .benefit-number {
  color: #e6bcb8;
  transform: translateY(-5px);
}

.benefit-cta {
  padding-top: 32px;
  border-top: 1px solid var(--soft-line);
}

.guide {
  background: linear-gradient(180deg, #f4f5f6, #f8f7f5);
}

.step-tab {
  transition: transform .4s var(--motion-quick),
              background .4s var(--motion-curve),
              border-color .4s var(--motion-curve),
              box-shadow .4s var(--motion-curve);
}

.step-tab.is-active {
  background: #fff8f6;
  box-shadow: 0 12px 24px rgba(102,55,45,.08);
}

.step-panel.is-active {
  animation: panel-enter .65s var(--motion-curve) both;
}

.step-visual {
  background: radial-gradient(circle at 50% 36%, #fff 0, #edf0f2 68%, #e6eaed 100%);
}

.step-visual img {
  transition: transform .7s var(--motion-curve), box-shadow .7s var(--motion-curve);
}

.step-panel:hover .step-visual img {
  box-shadow: 0 18px 37px rgba(25,34,47,.17);
  transform: translateY(-5px) scale(1.02);
}

.closing-cta {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 15% 20%, #e14148, transparent 33%),
              linear-gradient(125deg, #a40e18, #d0212b 62%, #b20f1a);
}

.closing-cta::before {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -290px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(255,255,255,.04),
              0 0 0 130px rgba(255,255,255,.025);
  pointer-events: none;
}

.closing-inner {
  position: relative;
}

.closing-inner h2 {
  letter-spacing: -.045em;
}

.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .85s var(--motion-curve), transform .85s var(--motion-curve);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .fund-card.reveal-item.is-visible:hover,
.motion-ready .benefit-card.reveal-item.is-visible:hover {
  transform: translateY(-7px);
}

@keyframes panel-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .header-inner {
    padding-inline: 18px;
  }
}

@media (max-width: 680px) {
  :root {
    scroll-padding-top: 82px;
  }

  .site-header {
    padding: 8px 0 6px;
    margin-bottom: -74px;
  }

  .header-inner {
    width: calc(100% - 20px);
    height: 60px;
    padding-inline: 13px;
  }

  .brand img {
    width: 56px;
  }

  .header-cta {
    padding: 7px 13px;
  }

  .hero-action-buttons .button {
    min-width: 0;
    min-height: 58px;
    padding: 8px 7px;
    gap: 5px;
  }

  .hero-action-buttons .button > span {
    width: 25px;
    height: 25px;
  }

  .fund-card:hover,
  .benefit-card:hover,
  .benefit-card:first-child:hover,
  .motion-ready .fund-card.reveal-item.is-visible:hover,
  .motion-ready .benefit-card.reveal-item.is-visible:hover {
    transform: none;
  }

  .step-tab:hover {
    transform: none;
  }

  .closing-cta::before {
    right: -250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .step-panel.is-active {
    animation: none;
  }

  .motion-ready .reveal-item,
  .motion-ready .reveal-item.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .desktop-nav a,
  .desktop-nav a::after,
  .header-cta,
  .header-cta > span,
  .button,
  .button > span,
  .fund-card,
  .fund-top strong,
  .benefit-card,
  .benefit-number,
  .step-tab,
  .step-visual img {
    transition: none;
  }

  .fund-card:hover,
  .benefit-card:hover,
  .benefit-card:first-child:hover,
  .motion-ready .fund-card.reveal-item.is-visible:hover,
  .motion-ready .benefit-card.reveal-item.is-visible:hover,
  .step-panel:hover .step-visual img {
    transform: none;
  }
}
