/* Graphite and mint fallbacks for the inherited landing components. */
:root:root {
  --color-v2-primary-black: #080908;
  --color-v2-primary-neutral-0: #f4f7f5;
  --color-v2-primary-neutral-100: #e7eee9;
  --color-v2-primary-neutral-200: #dce6e0;
  --color-v2-primary-neutral-300: #cedbd3;
  --color-v2-primary-neutral-400: #becdc4;
  --color-v2-primary-neutral-500: #abb9b0;
  --color-v2-primary-neutral-600: #61736a;
  --color-v2-primary-neutral-700: #46574f;
  --color-v2-primary-neutral-900: #202c26;
  --color-v2-primary-neutral-950: #1a221e;
  --color-v2-primary-neutral-1000: #111814;
  --color-v2-primary-green-100: #c0dfce;
  --color-v2-primary-green-200: #9bc8b4;
  --color-v2-primary-green-300: #31584a;
  --color-v2-op-green-10: #c0dfce1a;
  --color-v2-op-green-200-5: #9bc8b40d;
  --color-v2-op-green-300-10: #31584a1a;
  --color-v2-op-green-400-70: #263e33b3;
  --color-v2-op-nav-bg-dark: #111814f2;
  --color-marketing-muted-green: #abb9b0;
  --marketing-gradient: linear-gradient(25deg, #c0dfce, #8fbca8 45%, #5d8f7e 75%, #31584a);
}

.v2-hero-glow {
  background-image: radial-gradient(ellipse at 70% 78%, #29463a 0%, #142920 43%, transparent 76%);
}

.logo-panel.docked.svelte-10mjysc {
  background-color: #101b16f0;
  box-shadow: 0 -1px #ffffff12, 0 -16px 32px #101b164d;
}

[data-v2-page] .bg-c-green-100 {
  background-color: #c0dfce;
}

/* The old renderer mounts its shared canvas before the inherited content.
   Retire it and the generated closing panel even when hydration changes heading IDs. */
body:has(> .hedge-hero) .marketing-shell > .relative > canvas,
body:has(> .hedge-hero) .marketing-shell > section[class~="select-none"][class~="bg-v2-primary-black"][class~="overflow-hidden"] {
  display: none !important;
}

body:has(> .hedge-hero) .marketing-shell :is(
  img[src*="/hero.Drhi2uOl.webp"],
  img[src*="/prefooter.CFD0FB7d.webp"],
  img[src*="/prefooter-mobile.C5ILOxZ-.webp"]
) {
  filter: grayscale(1) brightness(.85) contrast(.92) sepia(.18) hue-rotate(86deg) saturate(.78);
}

/* Archival prints illustrating the quote, collateral, and settlement sequence. */
.v2-dim-siblings:where([class~="v2-tablet-lg:v2-cols-24"]) > .group > .aspect-square {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #292d23;
  border: 1px solid #9c8a6159;
  border-radius: 0.375rem;
}
.v2-dim-siblings:where([class~="v2-tablet-lg:v2-cols-24"]) > .group > .aspect-square::before,
.v2-dim-siblings:where([class~="v2-tablet-lg:v2-cols-24"]) > .group > .aspect-square::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}
.v2-dim-siblings:where([class~="v2-tablet-lg:v2-cols-24"]) > .group > .aspect-square::before {
  background: var(--platform-print) var(--platform-position, center) / cover no-repeat;
  filter: sepia(.23) saturate(.76) brightness(1.04) contrast(1.04);
}
.v2-dim-siblings:where([class~="v2-tablet-lg:v2-cols-24"]) > .group > .aspect-square::after {
  background: linear-gradient(180deg,#c3b18a0f,transparent 42%,#10181135);
  box-shadow: inset 0 0 0 5px #0c110c24, inset 0 0 22px #0b130b38;
}
.v2-dim-siblings:where([class~="v2-tablet-lg:v2-cols-24"]) > .group > .aspect-square > svg {
  visibility: hidden;
}
.v2-dim-siblings:where([class~="v2-tablet-lg:v2-cols-24"]) > .group:nth-child(1) {
  --platform-print: url("/assets/hedge-desk-quote-print.jpg");
  --platform-position: 59% 47%;
}
.v2-dim-siblings:where([class~="v2-tablet-lg:v2-cols-24"]) > .group:nth-child(2) {
  --platform-print: url("/assets/hedge-desk-collateral-print.jpg");
  --platform-position: 43% 47%;
}
.v2-dim-siblings:where([class~="v2-tablet-lg:v2-cols-24"]) > .group:nth-child(3) {
  --platform-print: url("/assets/hedge-desk-settlement-print.jpg");
  --platform-position: 58% 49%;
}

#hedge-settlement .v2-dim-siblings { --v2-dim-opacity:.9; }
#hedge-settlement .aspect-square { container-type:inline-size; }
