body {
  position: relative;
  padding-top: 9.75rem;
  padding-bottom: 5.5rem;
}
html {
  scroll-padding-top: 10.5rem;
}

.l-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
[data-mm-header] {
  --mm-bg: #0f1c42;
  --mm-text: #ffffff;
  --mm-primary: #ffcd46;
  --mm-overlay-bg: rgba(4, 9, 24, 0.72);
}
.l-brandbar {
  flex: 1 1 0;
  min-width: 0;
  height: 4rem;
  padding: 0 max(1rem, 3vw);
}

.l-tabs {
  flex-basis: 100%;
  display: flex;
  align-items: flex-end;
  height: 3.125rem;
  padding: 0 max(1rem, 3vw);
  border-bottom: 2px solid var(--c-line);
  border-top: 1px solid var(--c-line-soft);
  background: var(--c-ink);
}

.l-body {
  flex: 1 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  width: min(94%, 1420px);
  margin: 0 auto;
  padding-top: 2rem;
}
.l-sidebar {
  flex: 0 0 17rem;
  position: sticky;
  top: 11.5rem;
}
.l-main {
  flex: 1 1 auto;
  min-width: 0;
}
.l-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.l-section {
  position: relative;
  width: 100%;
  padding: 4rem 2rem;
  border-radius: 18px;
  background: var(--c-ink-2);
}
.l-content > .l-section:nth-child(even):not(.is-cream) {
  background: var(--c-ink-3);
}
.l-section.is-cream {
  background: var(--c-cream);
  color: var(--c-ink);
}
.l-section.is-cream a {
  color: var(--c-cream-ink);
}
.l-section.is-curved {
  border-top-left-radius: 50% 60px;
  border-top-right-radius: 50% 60px;
  padding-top: 5.5rem;
}


.l-section.is-glow {
  background-color: var(--c-ink-2);
  background-image:
    radial-gradient(circle at 18% 30%, rgba(255, 106, 19, 0.28), transparent 42%),
    radial-gradient(circle at 82% 70%, rgba(255, 205, 70, 0.22), transparent 40%);
  background-attachment: fixed;
  background-size: 100% 100%;
}

.l-hero {
  padding: 4rem 1rem;
}
.l-hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "kick fig"
    "title fig"
    "copy fig";
  grid-template-rows: auto auto 1fr;
  column-gap: 3rem;
  row-gap: 1rem;
  align-items: start;
}
.l-hero .kicker {
  grid-area: kick;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-gold);
}
.l-hero .hero-title {
  grid-area: title;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  max-width: 22ch;
}
.l-hero .hero-figure {
  grid-area: fig;
  margin: 0;
}
.l-hero .hero-copy {
  grid-area: copy;
  min-width: 0;
}
.l-hero .lead {
  max-width: 55ch;
  font-size: 1.15rem;
  color: var(--c-text-2);
}

.l-footer {
  margin-top: 4rem;
  background: #070f26;
  color: var(--c-text-2);
  padding: 3rem 1rem 1.5rem;
  border-top: 1px solid var(--c-line);
}
.l-footer .footer-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}
.l-footer .footer-base {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-line-soft);
}

.l-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(4, 9, 24, 0.78);
}
.l-modal[hidden] {
  display: none;
}

@media (max-width: 1100px) {
  .l-body {
    flex-direction: column;
    align-items: stretch;
  }
  .l-sidebar {
    position: static;
    flex-basis: auto;
    order: 2;
  }
  .l-main {
    order: 1;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 6.6rem;
  }
  html {
    scroll-padding-top: 7.5rem;
  }
  .l-body {
    width: 100%;
    padding: 1rem 0.75rem 0;
  }
  .l-tabs {
    height: auto;
    flex-basis: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 3.75rem 1.5rem 1.5rem;
    border-bottom: 0;
    border-top: 0;
    background: var(--c-ink-2);
  }
  .l-section {
    padding: 2.75rem 1.1rem;
    border-radius: 14px;
  }
  .l-section.is-curved {
    border-top-left-radius: 50% 28px;
    border-top-right-radius: 50% 28px;
    padding-top: 3.5rem;
  }
  .l-section.is-glow {
    background-attachment: scroll;
  }
  .l-hero {
    padding: 1.5rem 1rem 2.5rem;
  }
  .l-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "kick"
      "title"
      "fig"
      "copy";
    grid-template-rows: auto;
    row-gap: 0.85rem;
  }
  .l-hero .hero-title {
    font-size: 2.3rem;
  }
  .l-footer .footer-row {
    flex-direction: column;
  }
}
