/*fern-site-stylesheet*/:root {
  --header-height: 64px;
  --header-height-real: 64px;
  --mobile-header-height-real: 64px;
  --content-width: 896px;
  --sidebar-width: 288px;
  --page-width: 1504px;
  --logo-height: 40px;
  --font-body: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-heading: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-code: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

:root {
  --typography-body-font-family: var(--font-body);
  --typography-heading-font-family: var(--font-heading);
  --typography-code-font-family: var(--font-code);
}


.light, :root {
  --accent-1: #fafefd;
  --accent-2: #f4fbf9;
  --accent-3: #e3f6f3;
  --accent-4: #d2f0eb;
  --accent-5: #c2e8e2;
  --accent-6: #b0ddd6;
  --accent-7: #99cec6;
  --accent-8: #75bab0;
  --accent-9: #347169;
  --accent-10: #24635b;
  --accent-11: #35726a;
  --accent-12: #1c3935;

  --accent-a1: #00cc9905;
  --accent-a2: #00a3740b;
  --accent-a3: #00ae921c;
  --accent-a4: #00aa8e2d;
  --accent-a5: #009f863d;
  --accent-a6: #00927b4f;
  --accent-a7: #00857166;
  --accent-a8: #00806d8a;
  --accent-a9: #004d43cb;
  --accent-a10: #004940db;
  --accent-a11: #004d43ca;
  --accent-a12: #00211ce3;

  --accent-contrast: #fff;
  --accent-surface: #f1faf8cc;
  --accent-indicator: #347169;
  --accent-track: #347169;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --accent-1: oklch(99.3% 0.004 184.1);
      --accent-2: oklch(98.2% 0.0072 184.1);
      --accent-3: oklch(95.8% 0.0204 184.1);
      --accent-4: oklch(93.2% 0.0316 184.1);
      --accent-5: oklch(90.2% 0.0409 184.1);
      --accent-6: oklch(86.4% 0.0482 184.1);
      --accent-7: oklch(81.3% 0.0569 184.1);
      --accent-8: oklch(74.2% 0.0716 184.1);
      --accent-9: oklch(50.6% 0.0647 184.1);
      --accent-10: oklch(45.6% 0.0647 184.1);
      --accent-11: oklch(50.9% 0.0647 184.1);
      --accent-12: oklch(31.9% 0.0361 184.1);

      --accent-a1: color(display-p3 0.0235 0.7569 0.5137 / 0.016);
      --accent-a2: color(display-p3 0.0235 0.6118 0.4157 / 0.04);
      --accent-a3: color(display-p3 0.0118 0.5882 0.5059 / 0.095);
      --accent-a4: color(display-p3 0.0039 0.5922 0.4902 / 0.153);
      --accent-a5: color(display-p3 0.0039 0.5569 0.4667 / 0.212);
      --accent-a6: color(display-p3 0.0039 0.502 0.4157 / 0.275);
      --accent-a7: color(display-p3 0.0039 0.451 0.3765 / 0.357);
      --accent-a8: color(display-p3 0.0039 0.4196 0.3529 / 0.479);
      --accent-a9: color(display-p3 0 0.2353 0.2 / 0.734);
      --accent-a10: color(display-p3 0 0.2196 0.1843 / 0.789);
      --accent-a11: color(display-p3 0 0.2353 0.2 / 0.73);
      --accent-a12: color(display-p3 0 0.0941 0.0824 / 0.863);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.9529 0.9804 0.9765 / 0.8);
      --accent-indicator: oklch(50.6% 0.0647 184.1);
      --accent-track: oklch(50.6% 0.0647 184.1);
    }
  }
}


.light, :root {
  --grayscale-1: #fbfdfc;
  --grayscale-2: #f7f9f8;
  --grayscale-3: #eef1f0;
  --grayscale-4: #e6e9e8;
  --grayscale-5: #dfe2e0;
  --grayscale-6: #d7dad9;
  --grayscale-7: #cbcfcd;
  --grayscale-8: #b8bcba;
  --grayscale-9: #868e8b;
  --grayscale-10: #7c8481;
  --grayscale-11: #5f6563;
  --grayscale-12: #1a211e;

  --grayscale-a1: #00804004;
  --grayscale-a2: #00402008;
  --grayscale-a3: #002d1e11;
  --grayscale-a4: #001f1519;
  --grayscale-a5: #00180820;
  --grayscale-a6: #00140d28;
  --grayscale-a7: #00140a34;
  --grayscale-a8: #000f0847;
  --grayscale-a9: #00110b79;
  --grayscale-a10: #00100a83;
  --grayscale-a11: #000a07a0;
  --grayscale-a12: #000805e5;

  --grayscale-contrast: #000;
  --grayscale-surface: #ffffffcc;
  --grayscale-indicator: #868e8b;
  --grayscale-track: #868e8b;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --grayscale-1: color(display-p3 0.986 0.992 0.988);
      --grayscale-2: color(display-p3 0.97 0.977 0.974);
      --grayscale-3: color(display-p3 0.935 0.944 0.94);
      --grayscale-4: color(display-p3 0.904 0.913 0.909);
      --grayscale-5: color(display-p3 0.875 0.885 0.88);
      --grayscale-6: color(display-p3 0.844 0.854 0.849);
      --grayscale-7: color(display-p3 0.8 0.811 0.806);
      --grayscale-8: color(display-p3 0.725 0.738 0.732);
      --grayscale-9: color(display-p3 0.531 0.556 0.546);
      --grayscale-10: color(display-p3 0.492 0.515 0.506);
      --grayscale-11: color(display-p3 0.377 0.395 0.389);
      --grayscale-12: color(display-p3 0.107 0.129 0.118);

      --grayscale-a1: #00804004;
      --grayscale-a2: #00402008;
      --grayscale-a3: #002d1e11;
      --grayscale-a4: #001f1519;
      --grayscale-a5: #00180820;
      --grayscale-a6: #00140d28;
      --grayscale-a7: #00140a34;
      --grayscale-a8: #000f0847;
      --grayscale-a9: #00110b79;
      --grayscale-a10: #00100a83;
      --grayscale-a11: #000a07a0;
      --grayscale-a12: #000805e5;

      --grayscale-contrast: #000;
      --grayscale-surface: color(display-p3 1 1 1 / 80%);
      --grayscale-indicator: color(display-p3 0.531 0.556 0.546);
      --grayscale-track: color(display-p3 0.531 0.556 0.546);
    }
  }
}


.dark {
  --accent-1: #0c100f;
  --accent-2: #141918;
  --accent-3: #1b2523;
  --accent-4: #1f2f2c;
  --accent-5: #263835;
  --accent-6: #2f4340;
  --accent-7: #3b524e;
  --accent-8: #4f6a66;
  --accent-9: #9cc5be;
  --accent-10: #92bab3;
  --accent-11: #96bfb8;
  --accent-12: #dff1ed;

  --accent-a1: #8b8f0002;
  --accent-a2: #dcf7710b;
  --accent-a3: #b5f9b418;
  --accent-a4: #a1ffc822;
  --accent-a5: #a8fdd32c;
  --accent-a6: #affcdc38;
  --accent-a7: #b5fde248;
  --accent-a8: #beffec61;
  --accent-a9: #c9fef3c2;
  --accent-a10: #c9fff3b6;
  --accent-a11: #c9fff4bb;
  --accent-a12: #ebfefaf1;

  --accent-contrast: #052824;
  --accent-surface: #1d231c80;
  --accent-indicator: #9cc5be;
  --accent-track: #9cc5be;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --accent-1: oklch(16.7% 0.0064 183.6);
      --accent-2: oklch(20.8% 0.0077 183.6);
      --accent-3: oklch(25.5% 0.0147 183.6);
      --accent-4: oklch(28.9% 0.0213 183.6);
      --accent-5: oklch(32.4% 0.0234 183.6);
      --accent-6: oklch(36.4% 0.0251 183.6);
      --accent-7: oklch(41.9% 0.0285 183.6);
      --accent-8: oklch(50.2% 0.0335 183.6);
      --accent-9: oklch(79.2% 0.0446 183.6);
      --accent-10: oklch(75.8% 0.0446 183.6);
      --accent-11: oklch(77.4% 0.0446 183.6);
      --accent-12: oklch(94.3% 0.0194 183.6);

      --accent-a1: color(display-p3 0.8353 0.8431 0 / 0.005);
      --accent-a2: color(display-p3 0.8902 0.9961 0.4549 / 0.042);
      --accent-a3: color(display-p3 0.7725 1 0.7216 / 0.092);
      --accent-a4: color(display-p3 0.6941 0.9961 0.7843 / 0.134);
      --accent-a5: color(display-p3 0.7373 1 0.8353 / 0.171);
      --accent-a6: color(display-p3 0.7686 1 0.8902 / 0.213);
      --accent-a7: color(display-p3 0.7882 1 0.902 / 0.275);
      --accent-a8: color(display-p3 0.8078 1 0.9333 / 0.375);
      --accent-a9: color(display-p3 0.8353 0.9961 0.9608 / 0.755);
      --accent-a10: color(display-p3 0.8353 1 0.9569 / 0.709);
      --accent-a11: color(display-p3 0.8314 1 0.9608 / 0.73);
      --accent-a12: color(display-p3 0.9412 1 0.9882 / 0.938);

      --accent-contrast: #052824;
      --accent-surface: color(display-p3 0.1176 0.1333 0.1098 / 0.5);
      --accent-indicator: oklch(79.2% 0.0446 183.6);
      --accent-track: oklch(79.2% 0.0446 183.6);
    }
  }
}


.dark {
  --grayscale-1: #111113;
  --grayscale-2: #18191b;
  --grayscale-3: #212225;
  --grayscale-4: #272a2d;
  --grayscale-5: #2e3135;
  --grayscale-6: #363a3f;
  --grayscale-7: #43484e;
  --grayscale-8: #5a6169;
  --grayscale-9: #696e77;
  --grayscale-10: #777b84;
  --grayscale-11: #b0b4ba;
  --grayscale-12: #edeef0;

  --grayscale-a1: #00000000;
  --grayscale-a2: #d8f4f609;
  --grayscale-a3: #ddeaf814;
  --grayscale-a4: #d3edf81d;
  --grayscale-a5: #d9edfe25;
  --grayscale-a6: #d6ebfd30;
  --grayscale-a7: #d9edff40;
  --grayscale-a8: #d9edff5d;
  --grayscale-a9: #dfebfd6d;
  --grayscale-a10: #e5edfd7b;
  --grayscale-a11: #f1f7feb5;
  --grayscale-a12: #fcfdffef;

  --grayscale-contrast: #fff;
  --grayscale-surface: rgba(0, 0, 0, 0.05);
  --grayscale-indicator: #696e77;
  --grayscale-track: #696e77;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --grayscale-1: color(display-p3 0.067 0.067 0.074);
      --grayscale-2: color(display-p3 0.095 0.098 0.105);
      --grayscale-3: color(display-p3 0.13 0.135 0.145);
      --grayscale-4: color(display-p3 0.156 0.163 0.176);
      --grayscale-5: color(display-p3 0.183 0.191 0.206);
      --grayscale-6: color(display-p3 0.215 0.226 0.244);
      --grayscale-7: color(display-p3 0.265 0.28 0.302);
      --grayscale-8: color(display-p3 0.357 0.381 0.409);
      --grayscale-9: color(display-p3 0.415 0.431 0.463);
      --grayscale-10: color(display-p3 0.469 0.483 0.514);
      --grayscale-11: color(display-p3 0.692 0.704 0.728);
      --grayscale-12: color(display-p3 0.93 0.933 0.94);

      --grayscale-a1: #00000000;
      --grayscale-a2: #d8f4f609;
      --grayscale-a3: #ddeaf814;
      --grayscale-a4: #d3edf81d;
      --grayscale-a5: #d9edfe25;
      --grayscale-a6: #d6ebfd30;
      --grayscale-a7: #d9edff40;
      --grayscale-a8: #d9edff5d;
      --grayscale-a9: #dfebfd6d;
      --grayscale-a10: #e5edfd7b;
      --grayscale-a11: #f1f7feb5;
      --grayscale-a12: #fcfdffef;

      --grayscale-contrast: #fff;
      --grayscale-surface: color(display-p3 0 0 0 / 5%);
      --grayscale-indicator: color(display-p3 0.415 0.431 0.463);
      --grayscale-track: color(display-p3 0.415 0.431 0.463);
    }
  }
}

.light, :root {
  color-scheme: light;
  --accent: rgba(52, 113, 105, 1);
  --background: rgba(255, 255, 255, 1);
  --border: initial;
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #fff;
}

.dark {
  color-scheme: dark;
  --accent: rgba(156, 197, 190, 1);
  --background: rgba(11, 15, 20, 1);
  --border: initial;
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #0b0f14;
}

/* SmartX filled navbar button → teal pill */
.fern-header-navbar-links .fern-button[class*="filled"] {
  background-color: #347169 !important;
  background-image: linear-gradient(45deg, #347169, #9cc5be) !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
}

.fern-header-navbar-links .fern-button[class*="filled"]:hover {
  background-image: none !important;
  background-color: #347169 !important;
}
.fern-header-navbar-links .fern-button[class*="filled"]:focus-visible {
  background-image: none !important;
  background-color: #347169 !important;
}

/* Subtle accent gradient wash at the top of the page background */
.fern-background-image {
  background-image: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent) 15%, transparent) 0%,
    transparent 50%
  );
}

/* ── Home / landing page ──────────────────────────────────────────────── */

/* Hide the auto page heading inside the animated hero */
.unicorn-anchor .fern-page-heading,
.unicorn-anchor .fern-page-heading-wrapper,
.unicorn-anchor header.my-8 {
  display: none;
}

.unicorn-anchor {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 24px 64px;
  text-align: center;
}

.unicorn-anchor h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 12px;
  pointer-events: none;
  cursor: default;
}

.unicorn-anchor .landing-subtitle {
  font-size: 1.4rem;
  opacity: 0.7;
  margin-bottom: 8px;
}

.unicorn-anchor .browse-all-btn,
.unicorn-anchor .browse-secondary-btn {
  display: inline-block;
  padding: 10px 28px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.unicorn-anchor .browse-all-btn {
  background-color: #347169;
  background-image: linear-gradient(45deg, #347169, #9cc5be);
  border: 0;
  color: #fff;
}

.unicorn-anchor .browse-all-btn:hover {
  background-image: none;
  background-color: #347169;
}
.unicorn-anchor .browse-all-btn:focus-visible {
  background-image: none;
  background-color: #347169;
}

.unicorn-anchor .browse-secondary-btn {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.unicorn-anchor .browse-secondary-btn:hover {
  background-color: color-mix(in srgb, var(--accent) 10%, transparent);
}
.unicorn-anchor .browse-secondary-btn:focus-visible {
  background-color: color-mix(in srgb, var(--accent) 10%, transparent);
}

.unicorn-anchor .fern-card {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.01);
  text-align: left;
}

.unicorn-anchor .fern-card .font-semibold {
  font-size: 1.25rem;
}

.landing-bottom-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 64px;
  text-align: center;
}

.landing-bottom-section .landing-help {
  margin-top: 32px;
}

/* ── UnicornStudio canvas inside Fern's background container ───────────── */

#unicorn-embed {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 85%);
  mask-image: linear-gradient(to bottom, black 40%, transparent 85%);
}

/* Soft accent glow behind the animation */
#unicorn-embed::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  translate: -50% 0;
  width: 60%;
  height: 50%;
  background: radial-gradient(ellipse at center, var(--accent), transparent 70%);
  filter: blur(80px);
  mix-blend-mode: screen;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/* Colorize the black-on-white scene to the SmartX accent via SVG filter */
#unicorn-embed canvas {
  position: relative;
  z-index: 0;
  filter: url(#accent-colorize);
}

:root.light #unicorn-embed canvas {
  opacity: 1;
}

:root.dark #unicorn-embed canvas {
  opacity: 0.8;
}
