html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4/SourceSerif4-VariableFont_opsz,wght.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("../fonts/switzer/Switzer-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("../fonts/switzer/Switzer-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("../fonts/switzer/Switzer-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("../fonts/switzer/Switzer-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --sans: "Source Serif 4", Georgia, "Times New Roman", serif;
  --heading: "Source Serif 4", Georgia, "Times New Roman", serif;
  --secondary: "Switzer", system-ui, "Segoe UI", Roboto, sans-serif;
  --hero-title-size: 6.8rem;
  --section-heading-size: 3.388rem;
  --cta-footer-overlap: clamp(15rem, 24vw, 22rem);
  color: #111111;
  background: #fff5ea;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #fff5ea;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  background: #fff5ea;
}

body,
button,
input,
textarea,
select {
  font: 400 1rem/1.5 var(--sans);
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-heading {
  font-family: var(--heading);
}

.section-heading {
  font-size: var(--section-heading-size);
  font-weight: 500;
  line-height: 1.2;
}

.home-section-eyebrow {
  margin: 0;
  color: rgb(17 24 39 / 0.7);
  font-family: var(--secondary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.618;
  text-transform: uppercase;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
  font-family: var(--secondary);
}

img,
svg {
  display: block;
  max-width: 100%;
}

#root {
  min-height: 100svh;
}

[hidden] {
  display: none !important;
}

.fund-details-section__metric-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

::selection {
  background: #111111;
  color: #ffffff;
}

@media (max-width: 768px) {
  :root {
    --sans: Georgia, "Times New Roman", serif;
    --heading: Georgia, "Times New Roman", serif;
    --secondary: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
}

.analytics-consent {
  position: fixed;
  z-index: 900;
  right: 1.25rem;
  bottom: 1.25rem;
  left: auto;
  display: flex;
  width: min(35.5rem, calc(100% - 2.5rem));
  min-height: 12rem;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid rgb(10 52 34 / 0.15);
  background: #fff;
  color: #070707;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1.5rem, 4vw, 1.75rem);
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 0.24);
}

.analytics-consent__content {
  width: min(100%, 30rem);
}

.analytics-consent__content p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.4;
}

.analytics-consent__content a,
.analytics-consent__actions button {
  color: currentColor;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.analytics-consent__actions {
  display: flex;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.analytics-consent__actions button {
  background: transparent;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0;
}

.analytics-consent__actions button:hover,
.analytics-consent__content a:hover {
  color: #0a3422;
  text-decoration-thickness: 2px;
}

.analytics-consent__actions button:focus-visible,
.analytics-consent__content a:focus-visible {
  outline: 3px solid #0a3422;
  outline-offset: 4px;
}

@media (max-width: 640px) {
  :root {
    --section-heading-size: 2.617rem;
    --cta-footer-overlap: clamp(10rem, 32vw, 13rem);
  }

  .analytics-consent {
    right: 0.75rem;
    bottom: 0.75rem;
    left: auto;
    width: calc(100% - 1.5rem);
    min-height: 0;
    padding: 1.25rem;
  }

  .analytics-consent__content p {
    font-size: 0.95rem;
  }

  .analytics-consent__actions {
    margin-top: 1.5rem;
  }
}
