.fin-page {
  background: var(--body-bg);
}

.fin-page .edge-lock-layer {
  z-index: 15;
  opacity: calc(var(--edge-opacity) * 1.2);
}

.fin-page main {
  margin-top: 62px;
  position: relative;
  z-index: 10;
}

.fin-page .hero-header,
.fin-page .site-footer {
  position: relative;
  z-index: 30;
}

.fin-header {
  z-index: 200;
}

.fin-shell {
  width: min(1320px, 92vw);
  margin: 0 auto;
}

.fin-section {
  position: relative;
  padding: clamp(52px, 6vw, 92px) 0;
  overflow: hidden;
}

.fin-section--light {
  background: transparent;
  color: #535962;
}

.fin-section--light h2,
.fin-section--light h3 {
  color: #515862;
}

.fin-media {
  position: relative;
  background: linear-gradient(145deg, rgb(226 232 239 / 0.9), rgb(201 210 220 / 0.96));
  border: 1px solid rgb(118 132 148 / 0.35);
  overflow: hidden;
}

.fin-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fin-media--cover img {
  object-fit: cover;
}

.fin-media__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 16px;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(0.85rem, 1.1vw, 1.1rem);
  color: #31455f;
  line-height: 1.35;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) -16px 0 / 32px 32px,
    linear-gradient(225deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) -16px 0 / 32px 32px,
    linear-gradient(315deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) 0 0 / 32px 32px,
    linear-gradient(45deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) 0 0 / 32px 32px;
}

.fin-media__placeholder code {
  display: inline-block;
  margin-top: 6px;
  color: #1f3b5b;
}

.fin-media.has-media .fin-media__placeholder {
  display: none;
}

.fin-hero {
  position: relative;
  min-height: clamp(500px, 62vh, 700px);
  display: grid;
  align-items: center;
  color: #ffffff;
  background: #0e1218;
}

.fin-hero__bg,
.fin-hero__overlay {
  position: absolute;
  inset: 0;
}

.fin-hero__bg {
  z-index: 0;
}

.fin-hero__overlay {
  z-index: 1;
  background: linear-gradient(90deg, rgb(6 10 16 / 0.8) 0%, rgb(6 10 16 / 0.58) 50%, rgb(6 10 16 / 0.8) 100%);
}

.fin-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.fin-hero__content h1 {
  margin: 0 auto;
  width: min(900px, 94%);
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2.2rem, 4.2vw, 4.8rem);
  line-height: 1.08;
}

.fin-hero__content p {
  margin: 18px auto 0;
  width: min(980px, 94%);
  font-size: clamp(1rem, 1.18vw, 1.34rem);
  line-height: 1.5;
  color: rgb(243 248 253 / 0.94);
}

.fin-wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 44px;
  z-index: 4;
  background: var(--story-bg);
  clip-path: polygon(0 30%, 10% 42%, 24% 34%, 35% 45%, 50% 32%, 65% 46%, 80% 35%, 92% 43%, 100% 32%, 100% 100%, 0 100%);
}

.fin-titleline {
  display: grid;
  grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

.fin-titleline span {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgb(120 145 178 / 0.32) 45%,
    rgb(120 145 178 / 0.1) 100%
  );
}

.fin-titleline span:last-child {
  background: linear-gradient(
    to left,
    transparent 0%,
    rgb(120 145 178 / 0.32) 45%,
    rgb(120 145 178 / 0.1) 100%
  );
}

.fin-secret {
  padding-top: clamp(54px, 6vw, 86px);
  padding-bottom: clamp(56px, 6vw, 92px);
}

.fin-secret h2 {
  margin: 0;
  text-align: center;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.1;
}

.fin-secret__copy {
  width: min(860px, 96%);
  margin: clamp(28px, 3vw, 44px) auto 0;
}

.fin-secret__copy p {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  line-height: 1.5;
}

.fin-secret__copy p + p {
  margin-top: 18px;
}

.fin-secret__copy h3 {
  margin: clamp(24px, 2.6vw, 34px) 0 10px;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 2.2vw, 3.2rem);
  line-height: 1.2;
}

.fin-more {
  padding-top: clamp(56px, 6vw, 98px);
}

.fin-titleline--tight h2 {
  margin: 0;
  text-align: center;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 1.1;
}

.fin-more__lead {
  margin: 16px auto 0;
  width: min(960px, 94%);
  text-align: center;
  font-size: clamp(1rem, 1.15vw, 1.3rem);
  line-height: 1.5;
}

.fin-more__grid {
  margin-top: clamp(28px, 3vw, 44px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.2vw, 30px);
}

.fin-more__card .fin-media {
  min-height: clamp(190px, 15vw, 250px);
}

.fin-more__card h3 {
  margin: 14px 0 0;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(1.46rem, 1.85vw, 2.15rem);
  line-height: 1.2;
  color: #515862;
  text-align: center;
}

.fin-more__card p {
  margin: 12px 0 0;
  font-size: clamp(1rem, 1.12vw, 1.25rem);
  line-height: 1.52;
}

.fin-more__card a {
  display: inline-block;
  margin-top: 14px;
  color: #ca0d00;
  text-decoration: none;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(1.02rem, 1.1vw, 1.2rem);
  border-bottom: 2px solid rgb(202 13 0 / 0.36);
  padding-bottom: 3px;
}

body.theme-dark .fin-section--light {
  color: #c9d5e4;
}

body.theme-dark .fin-section--light h2,
body.theme-dark .fin-section--light h3 {
  color: #e5eef8;
}

body.theme-dark .fin-secret__copy p,
body.theme-dark .fin-more__lead,
body.theme-dark .fin-more__card p {
  color: #bdccde;
}

@media (max-width: 1160px) {
  .fin-more__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .fin-page main {
    margin-top: 56px;
  }

  .fin-shell {
    width: min(1320px, 94vw);
  }

  .fin-section {
    padding: 42px 0;
  }

  .fin-hero {
    min-height: clamp(420px, 58vh, 560px);
  }

  .fin-hero__content h1,
  .fin-secret h2,
  .fin-secret__copy h3,
  .fin-titleline--tight h2 {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
  }

  .fin-hero__content p,
  .fin-secret__copy p,
  .fin-more__lead,
  .fin-more__card p {
    font-size: clamp(0.95rem, 4.2vw, 1.1rem);
  }

  .fin-titleline {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .fin-titleline span {
    display: none;
  }

  .fin-wave-divider {
    height: 28px;
  }
}