/*@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Geist+Mono:wght@100..900&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Instrument+Serif:ital@0;1&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');*/

/* local fonts!*/
@font-face {
  font-family: 'Instrument Serif';
  font-weight: 400;
  src: url('assets/fonts/instrument-serif/InstrumentSerif-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Serif';
  font-weight: 400;
  font-style: italic;
  src: url('assets/fonts/instrument-serif/InstrumentSerif-Italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-weight: 400;
  src: url('assets/fonts/inter/Inter-Regular.woff2') format('woff2');
}

@font-face {
font-family: 'Instrument Sans';
font-weight: 400;
src: url('assets/fonts/instrument-sans/InstrumentSans-VariableFont_wdth,wght.woff2') format('woff2');
}


:root {
    --serif: 'Instrument Serif', serif;
    --sans-serif: 'Inter', sans-serif;
    /*--mono: 'Geist Mono', monospace;*/
    --sans: 'Instrument Sans', sans-serif;
    /*--mond: 'EB Garamond', serif;*/

    /* colors */
    --bg-blue: #3232FF;
    --white: #ffffff;
    --text-white: var(--white);
    --text-black: #000000;
    --dark-mode: #151515;

    /* theme surfaces — 10.22.2026
       default ("dark") is the blue field; light is warm paper */
    --page-bg: var(--bg-blue);
    --page-text: #ffffff;
    --page-soft: rgba(255, 255, 255, 0.86);
    --page-line: rgba(255, 255, 255, 0.22);
    --panel-bg: rgba(255, 255, 255, 0.08);
    --panel-border: rgba(255, 255, 255, 0.16);
    --panel-hover: rgba(255, 255, 255, 0.17);
    --panel-hover-border: rgba(255, 255, 255, 0.3);
    --cta-bg: #ffffff;
    --cta-text: var(--bg-blue);

    color-scheme: dark;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

html[data-theme="light"] {
    --page-bg: #f6f4ef;
    --page-text: #0b0b10;
    --page-soft: #4b4b55;
    --page-line: rgba(11, 11, 16, 0.16);
    --panel-bg: rgba(11, 11, 16, 0.035);
    --panel-border: rgba(11, 11, 16, 0.12);
    --panel-hover: rgba(11, 11, 16, 0.07);
    --panel-hover-border: rgba(11, 11, 16, 0.24);
    --cta-bg: var(--bg-blue);
    --cta-text: #ffffff;

    color-scheme: light;
    scrollbar-color: rgba(11, 11, 16, 0.28) transparent;
}

@media (prefers-color-scheme: light) {
    html[data-theme="device"] {
        --page-bg: #f6f4ef;
        --page-text: #0b0b10;
        --page-soft: #4b4b55;
        --page-line: rgba(11, 11, 16, 0.16);
        --panel-bg: rgba(11, 11, 16, 0.035);
        --panel-border: rgba(11, 11, 16, 0.12);
        --panel-hover: rgba(11, 11, 16, 0.07);
        --panel-hover-border: rgba(11, 11, 16, 0.24);
        --cta-bg: var(--bg-blue);
        --cta-text: #ffffff;

        color-scheme: light;
        scrollbar-color: rgba(11, 11, 16, 0.28) transparent;
    }
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--page-bg);
    color: var(--page-text);
    font-family: var(--sans-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

.page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px;
    box-sizing: border-box;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
    color: inherit;
}
p {
    font-family: var(--sans-serif);
    font-size: 1rem;
    margin: 0.5rem 0;
    line-height: 1.5;       
}









/*body.center-msg {
    margin: 0;
    padding: 40px 24px;
    background-color: var(--bg-blue);
    color: #ffffff;
    font-family: var(--sans-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}*/
h1.center-msg {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 4rem;
    margin: 0 0 1rem 0;
}
p.center-msg {
    font-family: var(--sans-serif);
    font-size: 1rem;
    margin: 0.5rem 0;
    line-height: 1.5;
}
a.button {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.65rem 1.3rem;
    background-color: var(--panel-bg);
    color: var(--page-text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 160ms ease;
}
a.button:hover {
    background-color: var(--panel-hover);
}










/* formatting */
.underline {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.italic {
    font-style: italic;
}
.serif {
    font-family: var(--serif);
    font-size: 1.3rem;
}
.sans-serif {
    font-family: var(--sans-serif);
    font-size: 1.3rem;
}
.center-msg {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}













/* Navigation */
/* 10.22.2026 — floating white pill navbar, centered, ~50vw wide */
.nitrox-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 50vw;
    min-width: max-content;
    max-width: calc(100vw - 32px);
    margin: 28px auto 3rem auto;
    padding: 10px 22px;
    box-sizing: border-box;
    background-color: var(--white);
    border-radius: 100vmax;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 10;
}

/* collapsible menu — 10.22.2026
   desktop: contents, so .nav-links stays a direct child of the pill
   mobile (<=720px): the pill wraps and .nav-menu drops below the brand row */
.nav-menu {
    display: contents;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 0;
    margin-left: auto;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-black);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.nav-toggle:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--bg-blue);
    outline-offset: 2px;
}

.nav-toggle-line {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background-color: currentColor;
    transition: transform 0.22s ease, opacity 0.16s ease;
}

.nitrox-nav.is-open .nav-toggle-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nitrox-nav.is-open .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nitrox-nav.is-open .nav-toggle-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* theme picker — 10.22.2026 */
.nav-theme {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    padding: 3px;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.05);
}

.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.theme-btn svg {
    display: block;
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.theme-btn:hover {
    color: var(--text-black);
    background-color: rgba(0, 0, 0, 0.07);
}

.theme-btn[aria-pressed="true"] {
    background-color: var(--white);
    color: var(--text-black);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.theme-btn:focus-visible {
    outline: 2px solid var(--bg-blue);
    outline-offset: 1px;
}

html[data-theme="light"] .nitrox-nav {
    box-shadow: 0 8px 20px rgba(11, 11, 16, 0.12);
}

@keyframes nav-menu-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-buttons {
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-black);
    text-decoration: none;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    display: inline-block;
    white-space: nowrap;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.nav-buttons:hover {
    background-color: rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.nav-buttons.active {
    color: var(--bg-blue);
    background-color: rgba(0, 0, 0, 0.06);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}

.nav-brand-text {
    font-family: var(--sans);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-black);
    letter-spacing: -0.01em;
    display: inline-block;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-brand-text:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.nav-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 4px;
    border-radius: 8px;
    opacity: 1;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-logo-link:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.nav-logo-img {
    width: 24px;
    height: auto;
    display: block;
}

/* small screens: the pill collapses to brand + three lines, and expands
   into a list panel when the toggle is pressed */
@media (max-width: 720px) {
    .nitrox-nav {
        width: auto;
        min-width: 0;
        max-width: none;
        margin: 28px 12px 2rem;
        gap: 0.5rem 1rem;
        padding: 8px 12px;
        flex-wrap: wrap;
        justify-content: space-between;
        border-radius: 100vmax;
    }

    .nitrox-nav.is-open {
        border-radius: 22px;
    }

    .nav-menu {
        display: none;
        order: 3;
        flex-basis: 100%;
        width: 100%;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding-top: 4px;
    }

    .nav-theme {
        order: 1;
        margin-left: auto;
    }

    .nav-toggle {
        order: 2;
        display: inline-flex;
        margin-left: 0;
    }

    .nitrox-nav.is-open .nav-menu {
        display: block;
        animation: nav-menu-in 0.18s ease both;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .nav-buttons {
        display: flex;
        align-items: center;
        width: 100%;
        font-size: 1rem;
        padding: 0.7rem 0.65rem;
        border-radius: 10px;
        position: relative;
    }

    .nav-buttons:hover {
        transform: none;
    }

    .nav-links .nav-buttons + .nav-buttons::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0.65rem;
        right: 0.65rem;
        height: 1px;
        background-color: rgba(0, 0, 0, 0.08);
    }

    .nav-brand-text {
        font-size: 1.05rem;
    }
}

@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
    .nav-toggle-line {
        transition: none;
    }

    .nitrox-nav.is-open .nav-menu {
        animation: none;
    }
}

/* more */
/* Tooltip for navbar links - appears on hover */
/* idk why its not working - 10.18.2026 */
/* fix 10.22.2026: the link itself needs to be the positioning context */
.nav-bsod {
  position: relative;
}

.nav-bsod:hover::after {
  content: "bsod";
  position: absolute;
  bottom: 100%; /* Position below the link */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Center the text */
  background-color: #000;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-family: var(--serif);
  font-size: 14px;
  white-space: nowrap;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.2s;
}

/* Show tooltip when hovering */
.nav-bsod:hover::after,
.nav-bsod:hover::after:hover {
  opacity: 1;
}

/* Hide tooltip when mouse leaves */
.nav-bsod:not(:hover)::after {
  display: none;
}











/* Hero */
.hero {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin-bottom: 3rem;
}

.hero-logo img {
    width: 48px;
    height: auto;
    display: block;
    margin-bottom: 0;
}

.hero-tagline {
    font-family: var(--serif);
    font-size: 1.85rem;
    font-weight: 400;
    line-height: 1.35;
    margin: 0.25rem 0 0 0;
    max-width: 600px;
}

/* the join between mission copy and the about letter (10.22.2026) */
.about-rule {
    margin-top: 2.75rem;
    padding-top: 2.25rem;
    border-top: 1px solid var(--page-line);
}





















/* Product Descriptions */
.product-descriptions {
    margin-bottom: 2.5rem;
}

.product-descriptions p {
    font-family: var(--sans-serif);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 1.25rem 0;
    max-width: 560px;
}


/* PT 2 IDK - 10.17.2026 04:41pm *
/* Product Descriptions */
.yap {
    margin-bottom: 2.5rem;
}

.yap p {
    font-family: var(--sans-serif);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 1.25rem 0;
    max-width: 560px;
}

.product-name {
    font-family: var(--serif);
    font-size: 1.15rem;
}

/* P.S. Section */
.ps-section {
    margin-bottom: 3.5rem;
}

.ps-label {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.05rem;
    margin: 0 0 0.25rem 0;
}

.ps-section p:last-child {
    font-family: var(--sans-serif);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
    max-width: 560px;
}

/* Community — big buttons (10.22.2026) */
.big-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 560px;
    margin: 0 0 3rem 0;
}

.big-button {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.1rem 1.4rem;
    border-radius: 28px;
    box-sizing: border-box;
    background-color: var(--panel-bg);
    border: 1px solid var(--panel-border);
    color: var(--page-text);
    text-align: left;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.big-button:hover {
    background-color: var(--panel-hover);
    border-color: var(--panel-hover-border);
    transform: translateY(-2px);
}

.big-button-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: block;
}

.big-button-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.big-button-title {
    font-family: var(--sans);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.2;
}

.big-button-sub {
    font-family: var(--sans-serif);
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.82;
}

.big-button-arrow {
    margin-left: auto;
    padding-left: 0.75rem;
    font-family: var(--sans);
    font-size: 1.15rem;
    opacity: 0.7;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.big-button:hover .big-button-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Join us CTA */
.join-us {
    margin-bottom: 3rem;
}

.join-us-button {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 100vmax;
    background-color: var(--cta-bg);
    color: var(--cta-text);
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.join-us-button:hover {
    background-color: var(--cta-bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* Footer */
.site-footer {
    margin-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.site-footer p {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.site-footer .underline {
    font-style: normal;
}

/* Products Section */
.products-section {
    padding: 0;
    margin-bottom: 3rem;
    width: 100%;
    box-sizing: border-box;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 0;
    max-width: 100%;
    margin: 0;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 380px;
    padding: 28px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background: var(--panel-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--panel-border);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    border-radius: 20px 20px 0 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.tesseract-card {
    border-color: rgba(161, 97, 234, 0.15);
}

.tesseract-card::before {
    background: linear-gradient(90deg, transparent, rgba(161, 97, 234, 0.5), transparent);
}

.tesseract-card:hover {
    box-shadow: 0 12px 40px rgba(161, 97, 234, 0.2);
    border-color: rgba(161, 97, 234, 0.4);
}

.prism-card {
    border-color: rgba(100, 250, 83, 0.15);
}

.prism-card::before {
    background: linear-gradient(90deg, transparent, rgba(100, 250, 83, 0.5), transparent);
}

.prism-card:hover {
    box-shadow: 0 12px 40px rgba(100, 250, 83, 0.2);
    border-color: rgba(100, 250, 83, 0.4);
}

.niko-card {
    border-color: rgba(65, 105, 225, 0.15);
}

.niko-card::before {
    background: linear-gradient(90deg, transparent, rgba(65, 105, 225, 0.5), transparent);
}

.niko-card:hover {
    box-shadow: 0 12px 40px rgba(65, 105, 225, 0.2);
    border-color: rgba(65, 105, 225, 0.4);
}

.secret-card {
    border-color: rgba(255, 255, 255, 0.06);
}

.secret-card::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.secret-card:hover {
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.card-icon-container {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon {
    width: 40px;
    height: 40px;
}

.card-title {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 400;
    margin: 0;
    color: var(--page-text);
    letter-spacing: -0.01em;
}

.card-description {
    font-family: var(--sans-serif);
    font-weight: 400;
    color: var(--page-text);
    opacity: 0.85;
    margin-top: auto;
    line-height: 1.5;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.card-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: all 200ms ease;
    font-size: 0.85rem;
}

.btn-card {
    background: transparent;
    color: var(--page-text);
    border: 1px solid var(--page-line);
}

.btn-card:hover {
    background: var(--panel-hover);
    border-color: var(--panel-hover-border);
    transform: translateY(-2px);
}

/* Decorative background icon */
.card-bg-icon {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 220px;
    height: 220px;
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
}

.card-bg-icon svg {
    width: 100%;
    height: 100%;
}

