      :root {
    --bg-color: radial-gradient(ellipse at top, #0b0c1a, #02010a 80%); 
	 /*--bg-color: #070512;*/
    --text-color: #e0e0f0;
	--colors--text:#e0e0f0;
    --accent-color: #8bb1ff;
    --secondary-color: #2c2f4a;
    --pulse-color: #8bb1ff;
}

  body {
            margin: 0;
            font-family: 'Inter', sans-serif;
            background: var(--bg-color);
            color: var(--text-color);
            line-height: 1.8;
            min-height: 100vh;
            position: relative;
        }
		
        nav a {
     /*     margin-left: 1.5rem;  */
			margin-right: 1.2rem;
            text-decoration: none;
            color: var(--text-color);
            font-size: 1rem;
        }
      
       
      
      
        @keyframes blink {
            50% { opacity: 0; }
        }
          
   
        .pulse {
            position: fixed;
            bottom: 1rem;
            left: 50%;
            transform: translateX(-50%);
            font-size: 1.5rem;
            color: var(--pulse-color);
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.2); }
        }
        .voices {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            justify-content: center;
            margin-top: 2rem;
        }
        .voice {
            background: var(--secondary-color);
            padding: 1rem;
            border-radius: 0.5rem;
            max-width: 300px;
            font-size: 0.9rem;
            animation: fadeIn 1s ease-in;
        }
        form {
            max-width: 500px;
            margin: 2rem auto;
        }
        textarea {
            width: 100%;
            padding: 1rem;
            border: 1px solid var(--secondary-color);
            border-radius: 0.5rem;
            background: transparent;
            color: var(--text-color);
            resize: vertical;
        }
        button {
            padding: 0.75rem 1.5rem;
            background: var(--accent-color);
            color: #fff;
            border: none;
            border-radius: 1.5rem;
            cursor: pointer;
            margin-top: 1rem;
        }
        button.gold {
            background: var(--gold-color);
            color: #000;
        }
        button:hover {
            background: #0097a7;
        }
        button.gold:hover {
            background: #e0b03a;
        }
        .tooltip {
            position: relative;
            cursor: help;
        }
        .tooltip:hover::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: var(--secondary-color);
            color: var(--text-color);
            padding: 0.5rem;
            border-radius: 0.3rem;
            font-size: 0.8rem;
            white-space: nowrap;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
		
		
		/* Global custom CSS */

  /* Apply font smoothing 
  body {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  }
  */

  /* Reset apple form styles */
  input, textarea, select { 
    -webkit-appearance: none; 
    -moz-appearance: none; 
    appearance: none; border-radius: 0; 
    background-image: none; 
  }

  /* Adjust input autofill to brand colors */
  input:-webkit-autofill,
  input:-webkit-autofill:focus {
    background-color: var(--colors--background) !important;
    color: var(--colors--text) !important;
    border-color: var(--colors--text) !important;
    -webkit-box-shadow: 0 0 0 50px var(--colors--background) inset;
    -webkit-text-fill-color: var(--colors--text);
  }

  /* Text Selection Color */
  ::selection {
    background: var(--colors--text);
    color: var(--colors--background);
  }
  ::-moz-selection {
    background: var(--colors--text);
    color: var(--colors--background);
  }

  /* Rich text modifiers */
  .w-richtext>:first-child {
    margin-top: 0;
  }
  .w-richtext>:last-child, .w-richtext ol li:last-child, .w-richtext ul li:last-child {
    margin-bottom: 0;
  }
  .rich-text h1, .rich-text h2, .rich-text h3, .rich-text h4 {
    text-wrap: balance;
  }

  /* Row/col gap modifiers */
  .row.row-gap-0 .col {
    margin: 0;
    padding: 0;
  }
  .row.row-gap-md .col {
    padding-left: calc(var(--_layout---grid--gap-md) / 2);
    padding-right: calc(var(--_layout---grid--gap-md) / 2);
  }
  .row.row-gap-sm .col {
    padding-left: calc(var(--_layout---grid--gap-sm) / 2);
    padding-right: calc(var(--_layout---grid--gap-sm) / 2);
  }

  /* Line clamp modifiers */
  .u-text-clamp-1 {
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
  .u-text-clamp-2 {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .u-text-clamp-3 {
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  /* Build mode modifiers */
  .slot.cc-column .btn {
    align-self: flex-start;
  }
  .slot.cc-column .accordion-item {
    margin: 0;
  }

  /* Modal mods */
  dialog.modal[open] {
    animation: fadein 400ms ease-out forwards;
  }
  dialog.modal::backdrop {
    background: color-mix(in srgb, var(--colors--text) 80%, transparent);
  }
  @keyframes fadein{
    0%{
      opacity:0;
    }
    100%{
      opacity:1;
    }
  }

  /* Dark/light toggle */
  .toggle-label:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: var(--colors--primary-accent);
    transition: 0s;
    border-radius: 50%;
  }
  .toggle-label.has-transition:before {
    transition: 0.2s;
  }
  .toggle-checkbox:checked + .toggle-label {
    background-color: var(--colors--text));
  }
  .toggle-checkbox:checked + .toggle-label:before {
    transform: translateX(20px);
  }
  .toggle-switch:focus:not(:focus-visible) .toggle-label {
    outline-color: none;
    outline: 0;
  }
  .toggle-switch .toggle-checkbox:focus-visible + .toggle-label {
    outline-color: var(--colors--text);
    outline-offset: 2px;
    outline-width: 2px;
    outline-style: solid;
  }

  /* List bullet before */
  .bullet-list_item::before {
    content: "•";
    font-size: 1em;
    margin-right: 0.3em;
    margin-left: -0.7em;
    display: inline-block;
  }

  /* Custom hr */
  hr {
    border: none;
    height: auto;
  }
  hr::after {
    content: "⟁";
    display: block;
    font-family: serif;
    font-weight: 200;
    font-size: 1.5em;
    margin: 0.4em auto;
    text-align: center;
  }

  /* TOC Container Width Mods on Desktop */
  @media screen and (min-width: 1230px) and (max-width: 1330px) {
    .toc-container {
      width: 25%;
    }
  }
  @media screen and (min-width: 992px) and (max-width: 1229px) {
    .toc-container {
      width: 20%;
    }
  }

  /* Footnotes pre-js styles */
  [data-footnotes="body"] h1 sup:not(:has(.footnote-ref)) {
    top: -2em;
  }
  [data-footnotes="body"] h1 .footnote-tooltip sup {
    top: -0.5em;
  }
  [data-footnotes="body"] sup:not(:has(.footnote-ref)) {
    z-index: 1;
    background-color: var(--colors--footnote-background);
    border-radius: 4px;
    margin-left: 2px;
    margin-right: 2px;
    padding: 3px 3px 1px;
    font-size: .75rem;
    font-weight: 500;
    text-decoration: none;
    position: relative;
  }
  [data-footnotes="body"] .footnote-tooltip sup {
    background-color: transparent;
    border-radius: 0;
    margin: 0;
    padding: 0;
    font-size: .75rem;
    top: -0.5em;
  }


  