/* DeepSire — shared visual system. Page behavior and product assets remain local. */
.site-design {
    --site-base: #080b12;
    --site-panel: #101621;
    --site-ink: #f5f1f0;
    --site-muted: #a5a6b2;
    --site-line: rgba(200, 198, 218, 0.13);
    --site-accent: #d4a5a5;
    --site-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --site-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --site-width: 1440px;
    background: var(--site-base);
    color: var(--site-ink);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.7;
    overflow-x: clip;
}

.site-design h1,
.site-design h2,
.site-design h3,
.site-design h4 {
    text-wrap: balance;
}

.site-design p {
    text-wrap: pretty;
}

.site-design .grid > *,
.site-design [class*="-grid"] > * {
    min-width: 0;
}

.site-design img,
.site-design video {
    max-width: 100%;
}

.site-design :focus-visible {
    outline: 2px solid var(--site-accent);
    outline-offset: 5px;
}

.site-design [id] {
    scroll-margin-top: 112px;
}

.site-skip {
    position: fixed;
    inset: 12px auto auto 12px;
    z-index: 3000;
    padding: 12px 20px;
    border-radius: 8px;
    background: var(--site-ink);
    color: var(--site-base);
    translate: 0 -180%;
}

.site-skip:focus {
    translate: 0 0;
}

.site-reading-line {
    position: fixed;
    inset: 0 0 auto;
    z-index: 2000;
    height: 2px;
    background: linear-gradient(90deg, #d4a5a5, #a6a0e5);
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}

.site-nav {
    font-family: 'Lexend', 'Inter', sans-serif;
}

.site-design .site-nav .lang-btn {
    min-height: 44px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--site-line);
    color: #d7c7d5;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.site-design .site-nav .lang-dropdown {
    background: #121720;
    border-color: var(--site-line);
    box-shadow: 0 24px 64px rgba(3, 7, 16, 0.4);
    transform-origin: top right;
    transition: opacity 200ms ease, transform 200ms var(--site-ease-out), visibility 200ms;
}

.site-design .site-nav .lang-dropdown button {
    transition: background-color 160ms ease, color 160ms ease;
}

.site-design .site-nav a {
    text-transform: none;
    letter-spacing: 0.015em;
}

.site-design .site-primary,
.site-design .btn-primary,
.site-design .btn-secondary,
.site-design .vessel-soul-btn,
.site-design .sri-neon-btn {
    min-height: 48px;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    animation: none;
    transition: transform 160ms var(--site-ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.site-design .btn-primary,
.site-design .site-primary {
    background: #d4a5a5;
    color: #151019;
    box-shadow: none;
}

.site-design .btn-primary::before,
.site-design .btn-secondary::before {
    display: none;
}

.site-design .btn-secondary {
    border: 1px solid rgba(230, 222, 231, 0.28);
    background: rgba(9, 12, 21, 0.18);
    color: var(--site-ink);
    box-shadow: none;
}

.site-design .site-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.site-design .site-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
}

.site-design .footer-shops {
    position: relative;
    display: block;
    width: max-content;
    max-width: 100%;
    margin-inline-start: auto;
    color: var(--site-muted);
    font: 400 12px/1.8 'Inter', system-ui, sans-serif;
    text-align: start;
    z-index: 2;
}

.site-design .footer-shops[open] { z-index: 30; }

.site-design .footer-shops summary {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 3px;
    color: inherit;
    cursor: pointer;
    list-style: none;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    border-radius: 3px;
    transition: color 160ms ease, transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}

.site-design .footer-shops summary::-webkit-details-marker { display: none; }
.site-design .footer-shops summary::marker { content: ''; }

.site-design .footer-shops summary::after {
    content: '';
    position: absolute;
    inset-inline: 3px;
    bottom: 7px;
    height: 1px;
    background: #b1a2d1;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.site-design .footer-shops[open] summary::after { transform: scaleX(1); }
.site-design .footer-shops summary:active { transform: scale(0.97); }

.site-design .footer-shops-menu {
    position: absolute;
    inset-inline-end: -10px;
    bottom: calc(100% + 14px);
    width: 288px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    padding: 18px 8px 8px;
    margin: 0;
    border: 1px solid rgba(205, 197, 222, 0.14);
    border-radius: 14px;
    background: linear-gradient(145deg, #1b1923 0%, #121118 72%);
    box-shadow: 0 1px 0 rgba(238, 228, 255, 0.045) inset,
        0 12px 32px rgba(0, 0, 0, 0.34), 0 2px 8px rgba(0, 0, 0, 0.2);
    text-transform: none;
    letter-spacing: normal;
    transform-origin: calc(100% - 24px) 100%;
    z-index: 1;
}

.site-design[dir="rtl"] .footer-shops-menu,
.site-design [dir="rtl"] .footer-shops-menu { transform-origin: 24px 100%; }

.site-design .footer-shops:not([open]) .footer-shops-menu { display: none; }
.site-design .footer-shops[open] .footer-shops-menu {
    animation: footer-shops-enter 200ms cubic-bezier(0.23, 1, 0.32, 1) both;
}

.site-design .footer-shops .footer-shops-heading {
    margin: 0 12px 12px;
    padding: 0;
    color: #9c94ad;
    font: 500 9px/1.4 'Inter', system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.site-design .footer-shops-options { display: grid; gap: 3px; }

.site-design .footer-shops-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 12px;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #eeeaf3;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    transition: background-color 150ms ease, border-color 150ms ease,
        transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}

.site-design .footer-store-mark {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(194, 175, 226, 0.17);
    border-radius: 9px;
    background: linear-gradient(145deg, rgba(181, 153, 224, 0.13), rgba(181, 153, 224, 0.035));
    color: #cbb8e8;
    font: 500 10px/1 'Inter', system-ui, sans-serif;
    letter-spacing: 0.015em;
}

.site-design [data-store-link="bestfunx"] .footer-store-mark {
    border-color: rgba(221, 175, 177, 0.17);
    background: linear-gradient(145deg, rgba(212, 165, 165, 0.12), rgba(212, 165, 165, 0.025));
    color: #dcbbbb;
}

.site-design .footer-store-copy { display: grid; gap: 4px; min-width: 0; }
.site-design .footer-shops .footer-store-name {
    color: #eeeaf3;
    font: 500 13px/1.35 'Inter', system-ui, sans-serif;
    letter-spacing: -0.015em;
}
.site-design .footer-shops .footer-store-description {
    color: #97919f;
    font: 400 11px/1.45 'Inter', system-ui, sans-serif;
    letter-spacing: 0;
}

.site-design .footer-shops summary:hover,
.site-design .footer-shops[open] summary { color: var(--site-ink); }

@media (hover: hover) and (pointer: fine) {
    .site-design .footer-shops-menu a:hover {
        background: rgba(198, 183, 225, 0.055);
        border-color: rgba(198, 183, 225, 0.1);
    }
}

.site-design .footer-shops-menu a:active { transform: scale(0.985); }
.site-design .footer-shops summary:focus-visible,
.site-design .footer-shops-menu a:focus-visible {
    outline: 2px solid #bba8df;
    outline-offset: 3px;
}

@keyframes footer-shops-enter {
    from { opacity: 0; transform: translateY(6px) scale(0.975); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.site-design .footer-shops[data-keyboard-open] .footer-shops-menu { animation: none; }
@media (prefers-reduced-motion: reduce) {
    .site-design .footer-shops[open] .footer-shops-menu { animation: none; }
    .site-design .footer-shops summary,
    .site-design .footer-shops summary::after,
    .site-design .footer-shops-menu a { transition: none; }
}

/* One brand opening; the product gallery is the first chapter after it. */
.site-home .hero-carousel {
    height: auto;
    min-height: 100svh;
}

.site-home .hero-section {
    min-height: 100svh;
    height: auto;
    max-height: none;
}

.site-home .hero-bg {
    inset: -32px;
    width: auto;
    height: auto;
    will-change: transform;
}

.site-home .hero-content-wrapper {
    left: max(48px, calc((100vw - 1440px) / 2));
    top: 50%;
    max-width: 640px;
    padding-block: 96px;
}

.site-home .hero-main-title {
    max-width: 640px;
    margin: 20px 0 28px;
    font-size: clamp(52px, 5.8vw, 92px);
    line-height: 1.04;
    letter-spacing: -0.055em;
    font-weight: 500;
}

.site-home .hero-description {
    max-width: 460px;
    color: #d3ccd0;
    font-size: clamp(16px, 1.15vw, 18px);
    line-height: 1.8;
}

.site-home .hero-label {
    padding: 0;
    border: 0;
    background: none;
    color: var(--site-accent);
    letter-spacing: 0.14em;
}

.site-home .hero-actions {
    margin-block: 32px;
}

.site-home .hero-tagline {
    margin-top: 32px;
    color: #a69aa7;
    font-size: 10px;
    letter-spacing: 0.18em;
}

.site-home .spirit-realm-tagline {
    max-width: 440px;
    margin-top: 12px;
    color: #a9a5b2;
    font-size: 12px;
}

.site-home .main-content,
.site-home .vessels,
.site-home .neural-core,
.site-home .download,
.site-home .manifesto,
.site-home .spirit-realm-intro,
.site-home footer {
    background: var(--site-base);
}

.site-home .container {
    max-width: var(--site-width);
    padding-inline: 48px;
}

.site-home .site-nav .container {
    max-width: 1600px;
}

.site-home #ecosystem {
    padding: 112px 0 80px;
    background: radial-gradient(ellipse at 50% 45%, rgba(123, 107, 164, 0.06), transparent 68%), var(--site-base);
}

.site-home .section-title,
.site-home .ecosystem .section-title {
    max-width: 920px;
    margin-inline: auto;
}

.site-home .section-title,
.site-home .ecosystem h2,
.site-home .download-text h2 {
    font-weight: 500;
    font-size: clamp(34px, 3.5vw, 56px);
    letter-spacing: -0.04em;
    line-height: 1.14;
}

.site-home .ecosystem .section-title p,
.site-home .section-header p {
    font-size: 15px;
    line-height: 1.8;
}

.site-home .vessels {
    padding: 96px 0 32px;
}

.site-home .vessel-item {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(48px, 7vw, 112px);
    margin-bottom: 112px;
    align-items: center;
}

.site-home .vessel-item.reverse {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.site-home .vessel-title {
    font-size: clamp(52px, 6vw, 88px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.05em;
}

.site-home .vessel-image-wrapper {
    padding: 0;
    border-radius: 24px;
}

.site-home .vessel-image-inner {
    border-radius: 24px;
    background: #10151e;
    border-color: var(--site-line);
}

.site-home .vessel-image-inner::before,
.site-home .vessel-image-inner::after {
    display: none;
}

.site-home .vessel-desc {
    max-width: 38ch;
    color: var(--site-muted);
    font-size: 16px;
    line-height: 1.85;
}

.site-home .neural-core {
    padding: 112px 0;
    border-block: 1px solid var(--site-line);
}

.site-home .neural-grid {
    gap: 24px;
}

.site-home .neural-card {
    padding: 40px;
    background: #0e131d;
    border: 1px solid var(--site-line);
    border-radius: 16px;
    backdrop-filter: none;
    transition: border-color 200ms ease;
}

.site-home .neural-card:first-child {
    background: linear-gradient(145deg, rgba(212, 165, 165, 0.09), #0e131d);
}

.site-home .neural-card p {
    color: var(--site-muted);
    line-height: 1.8;
}

.site-home .legacy-intro,
.site-home .spirit-realm-intro,
.site-home .download {
    padding-block: 128px;
}

.site-home .legacy-layout {
    gap: 80px;
}

.site-home .legacy-record {
    border-color: rgba(190, 162, 120, 0.24);
    border-radius: 20px;
    background: radial-gradient(ellipse at 15% 0%, rgba(190, 162, 120, 0.07), transparent 65%), #0f141e;
}

.site-home .legacy-lede {
    color: var(--site-muted);
    max-width: 40ch;
}

.site-home .download-content {
    gap: 96px;
}

.site-home .download-text p {
    max-width: 40ch;
    line-height: 1.8;
}

.site-home .download-btn {
    box-shadow: none;
    border-color: var(--site-line);
    background: #10151e;
    transition: transform 160ms var(--site-ease-out), border-color 160ms ease;
}

.site-home .manifesto {
    border-top: 1px solid var(--site-line);
    padding: 96px 0;
}

.site-home .manifesto-heading {
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 400;
}

.site-home .manifesto-text p {
    color: #ada8b5;
    line-height: 1.9;
}

/* Product pages use one exhibition grammar, with their own photographs. */
.site-product {
    --background: #080b12;
    --surface: #0d121b;
    --surface-container: #111721;
    --surface-container-lowest: #0a0f18;
    --surface-container-low: #10151e;
    --outline: #a5a6b2;
}

.site-product > header {
    background: rgba(8, 11, 18, 0.86);
    box-shadow: 0 1px var(--site-line);
    backdrop-filter: blur(16px);
}

.site-product .site-nav {
    max-width: 1600px;
    margin-inline: auto;
    min-height: 80px;
    padding-inline: 40px;
    gap: 24px;
}

.site-product main {
    padding-top: 0;
}

.site-product .site-product-hero {
    min-height: 100svh;
    height: auto;
    padding-block: 144px 112px;
    justify-content: flex-start;
}

.site-product .site-product-hero > .absolute::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 8, 15, 0.82), rgba(5, 8, 15, 0.15) 85%), linear-gradient(0deg, #080b12, transparent 40%);
}

.site-product .site-product-hero > .relative {
    max-width: var(--site-width);
    padding-inline: 64px;
    text-align: start;
}

.site-product .text-pressure-container {
    width: 100%;
    max-width: 980px;
    height: auto;
    margin-inline: 0;
    justify-content: flex-start;
    text-align: start;
}

.site-product .text-pressure-title {
    justify-content: flex-start;
    font-size: clamp(80px, 12vw, 180px);
    letter-spacing: -0.065em;
    line-height: 1.05;
    text-shadow: none;
}

.site-product .site-product-hero p {
    max-width: 36ch;
    margin-top: 24px;
    color: #d4c6d2;
    font-size: clamp(18px, 1.6vw, 24px);
    line-height: 1.65;
}

.site-product .site-product-hero .site-actions {
    margin-top: 40px;
}

.site-product .site-chapter {
    width: 100%;
    max-width: none;
    padding: 112px 64px;
    margin: 0;
    border-color: var(--site-line);
}

.site-product .site-chapter:nth-child(2n) {
    background: radial-gradient(ellipse at 0% 50%, rgba(137, 124, 168, 0.04), transparent 55%), #0b1019;
}

.site-product .site-chapter > div {
    max-width: var(--site-width);
    margin-inline: auto;
}

.site-product .site-chapter > [class*="max-w-"] {
    padding-inline: 0;
}

.site-product main h2 {
    font-size: clamp(34px, 3.8vw, 64px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.045em;
}

.site-product main h2[class*="text-[12px]"],
.site-product main h2[class*="text-[0."] {
    font-size: 12px;
    letter-spacing: 0.14em;
    line-height: 1.6;
}

.site-product main p {
    line-height: 1.85;
}

.site-product .product-card,
.site-product .card-hover {
    background: #101620;
    border: 1px solid var(--site-line);
    border-radius: 20px;
    box-shadow: none;
    animation: none;
    transition: border-color 160ms ease;
}

.site-product .product-card:hover,
.site-product .card-hover:hover,
.site-product .btn-scroll-reveal.visible {
    transform: none;
}

.site-product .site-media {
    border-radius: 20px;
    border: 1px solid var(--site-line);
    box-shadow: 0 24px 64px rgba(2, 6, 14, 0.25);
}

.site-product .fuzzy-text,
.site-product .site-reading-copy {
    filter: none;
    opacity: 1;
}

.site-product .unified-footer {
    background: #080b12;
    border-top: 1px solid var(--site-line);
}

/* The archive keeps its evidence colors, with more breathing room. */
.site-legacy {
    --site-base: #070e1c;
    --site-panel: #0d1a2d;
    --site-accent: #b59afa;
}

.site-legacy .container {
    max-width: 1440px;
}

.site-legacy .hero {
    padding-top: 160px;
    padding-bottom: 112px;
}

.site-legacy .hero-grid {
    gap: 80px;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.site-legacy .hero h1 {
    font-size: clamp(48px, 5vw, 80px);
    line-height: 1.08;
    letter-spacing: -0.05em;
    font-weight: 500;
}

.site-legacy .hero-lead {
    max-width: 42ch;
    color: #acb8cb;
    font-size: 16px;
    line-height: 1.9;
}

.site-legacy .evidence,
.site-legacy .explorer,
.site-legacy .protocol,
.site-legacy .dialogue {
    padding-block: 112px;
}

.site-legacy .legacy-dashboard {
    padding-block: 80px 112px;
}

.site-legacy .reveal {
    transform: none;
    transition: opacity 600ms ease, transform 600ms var(--site-ease-out);
}

.site-legacy .relationship-node:focus-visible img {
    transform: none;
}

/* Realm: wider compositions with focused, visible-only atmosphere. */
.site-realm .container {
    max-width: 1440px;
    padding-inline: 48px;
}

.site-realm .sr-hero {
    min-height: 100svh;
    height: auto;
    padding-block: 176px 128px;
    display: flex;
    align-items: center;
}

.site-realm .sr-hero-content {
    width: 100%;
    text-align: start;
}

.site-realm .sr-hero-title {
    max-width: 760px;
    font-size: clamp(56px, 6.5vw, 104px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.site-realm .sr-hero-subtitle {
    max-width: 42ch;
    margin-inline: 0;
    color: #b9b4c4;
    font-size: 18px;
    line-height: 1.8;
}

.site-realm .sr-hero-overlay {
    background: linear-gradient(90deg, rgba(5, 9, 17, 0.65), transparent 90%);
}

.site-realm .sr-section {
    padding-block: 112px;
    background: var(--site-base);
    border-top: 1px solid var(--site-line);
}

.site-realm .sr-section-title {
    max-width: 24ch;
    font-size: clamp(36px, 4vw, 64px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.site-realm .sr-vision-grid {
    gap: 96px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.site-realm .sr-vision-content p {
    max-width: 50ch;
    color: var(--site-muted);
    line-height: 1.9;
}

.site-realm .sr-glimpse-card {
    border-radius: 20px;
    border-color: var(--site-line);
    box-shadow: none;
}

.site-realm .sr-timeline-content {
    border: 1px solid var(--site-line);
    background: #0f1520;
    border-radius: 16px;
}

/* Download and help surfaces share the same hierarchy, not the same density. */
.site-download .shell {
    width: min(1440px, calc(100% - 96px));
}

.site-download .hero {
    min-height: 88svh;
    padding-top: 112px;
    padding-bottom: 96px;
    gap: 80px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.site-download .hero h1 {
    font-size: clamp(48px, 5.8vw, 88px);
    line-height: 1.06;
    font-weight: 500;
    letter-spacing: -0.055em;
}

.site-download .hero-description {
    max-width: 40ch;
    font-size: 16px;
    line-height: 1.85;
}

.site-download .flow,
.site-download .resource-section {
    padding-block: 96px;
    border-top: 1px solid var(--site-line);
}

.site-download .flow-grid {
    gap: 32px;
}

.site-download .flow-grid > * {
    padding: 32px;
    border-radius: 16px;
    background: #0f1520;
    border-color: var(--site-line);
}

.site-support .wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 32px;
    max-width: 1320px;
    padding: 144px 48px 96px;
    margin-inline: auto;
}

.site-support .hero {
    grid-column: 1 / -1;
    text-align: start;
    margin-bottom: 40px;
    max-width: 800px;
}

.site-support .hero h1 {
    font: 500 clamp(44px, 5vw, 76px)/1.12 'Lexend', sans-serif;
    letter-spacing: -0.045em;
}

.site-support .hero p {
    max-width: 52ch;
    margin: 24px 0 0;
    color: var(--site-muted);
    font-size: 16px;
    line-height: 1.85;
}

.site-support .card {
    margin: 0;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--site-line);
    background: #0f1520;
}

.site-support .card:nth-of-type(3) {
    grid-column: 2;
    grid-row: 2 / 5;
}

.site-support .card h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px;
}

.site-support .block {
    padding-block: 24px;
    border-color: var(--site-line);
}

.site-support .block p,
.site-support .block li {
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.9;
}

.site-guide > .container,
.site-guide > main,
.site-guide > .header,
.site-guide > .step-nav {
    max-width: 1120px;
    margin-inline: auto;
}

.site-guide .header {
    padding-top: 72px;
    padding-bottom: 56px;
    text-align: start;
}

.site-guide .header h1,
.site-guide .header-title {
    font: 500 clamp(40px, 5vw, 68px)/1.14 'Lexend', sans-serif;
    letter-spacing: -0.045em;
}

.site-guide .header-subtitle {
    max-width: 60ch;
    margin-inline: 0;
    color: var(--site-muted);
    line-height: 1.85;
}

.site-guide .guide-card {
    padding: 40px;
    margin-bottom: 32px;
    border-radius: 20px;
    background: #101620;
    border-color: var(--site-line);
    animation: none;
    opacity: 1;
    transform: none;
}

.site-guide .guide-card:hover {
    transform: none;
}

.site-guide .step-number {
    box-shadow: none;
    background: rgba(212, 165, 165, 0.1);
    border: 1px solid rgba(212, 165, 165, 0.25);
    color: var(--site-accent);
}

.site-guide .step-description {
    line-height: 1.9;
}

.site-guide .guide-figure,
.site-guide .screenshot-container {
    border-radius: 16px;
    border-color: var(--site-line);
    box-shadow: none;
}

.site-guide .site-step-links {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    padding: 16px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    background: rgba(8, 11, 18, 0.94);
    backdrop-filter: blur(12px);
}

.site-step-links a {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--site-muted);
    text-decoration: none;
}

.site-step-links a[aria-current="step"] {
    background: rgba(212, 165, 165, 0.12);
    color: var(--site-accent);
}

/* Additive transform properties keep entrances independent from hover transforms. */
.site-design.site-motion-ready .site-reveal {
    transition: opacity 600ms ease, translate 600ms var(--site-ease-out);
    transition-delay: var(--site-reveal-delay, 0ms);
}

.site-design.site-motion-ready .site-reveal:not(.is-visible) {
    opacity: 0;
    translate: 0 24px;
}

.site-design.site-motion-ready .site-reveal.is-visible {
    opacity: 1;
    translate: 0 0;
}

.site-design .site-hover {
    position: relative;
    isolation: isolate;
    transition: transform 200ms var(--site-ease-out), border-color 160ms ease;
}

.site-design .site-spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 360px;
    height: 360px;
    z-index: 3;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 182, 201, 0.14), transparent 68%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 200ms ease;
}

.site-design .site-hover.site-pointer-over .site-spotlight {
    opacity: 1;
}

.site-design .site-hover {
    overflow: hidden;
}

.site-design.site-keyboard *,
.site-design.site-keyboard *::before,
.site-design.site-keyboard *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
    scroll-behavior: auto !important;
}

@media (hover: hover) and (pointer: fine) {
    .site-design .btn-primary:hover,
    .site-design .btn-secondary:hover,
    .site-design .site-primary:hover {
        transform: translateY(-2px);
        box-shadow: none;
    }

    .site-design .btn-primary:active,
    .site-design .btn-secondary:active,
    .site-design .site-primary:active {
        transform: scale(0.97);
    }

.site-home .download-btn:hover {
        transform: translateY(-4px);
        border-color: rgba(212, 165, 165, 0.5);
    }
}

@media (max-width: 1280px) {
    .site-design .site-nav-enhanced #navLinks {
        display: none !important;
    }

    .site-design .site-nav-enhanced[data-site-menu="open"] #navLinks {
        display: flex !important;
        position: absolute;
        top: 100%;
        inset-inline: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        max-height: calc(100svh - 88px);
        overflow-y: auto;
        padding: 24px;
        background: #101620;
        border-bottom: 1px solid var(--site-line);
    }

    .site-design .site-nav-enhanced #navLinks a {
        padding: 12px 8px;
        white-space: normal;
    }

    .site-design .site-nav-enhanced #navHamburger {
        display: flex !important;
        min-width: 44px;
        min-height: 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        background: transparent;
        border: 0;
        color: var(--site-ink);
    }

    .site-nav-enhanced #navHamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: currentColor;
    }
}

@media (min-width: 1281px) {
    .site-design .site-nav-enhanced #navHamburger {
        display: none !important;
    }

    .site-design .site-nav-enhanced #navLinks {
        display: flex !important;
        gap: clamp(12px, 1.6vw, 24px);
    }
}

@media (max-width: 1000px) {
    .site-home .vessel-item,
    .site-home .vessel-item.reverse,
    .site-home .legacy-layout,
    .site-home .download-content,
    .site-legacy .hero-grid,
    .site-realm .sr-vision-grid,
    .site-download .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .site-home .vessel-item.reverse .vessel-image-wrapper {
        order: 0;
    }

    .site-home .vessel-item.reverse .vessel-content {
        order: 1;
    }

    .site-legacy .hero,
    .site-realm .sr-hero {
        padding-top: 128px;
    }
}

@media (max-width: 768px) {
    .site-home .container,
    .site-realm .container,
    .site-product .site-product-hero > .relative {
        padding-inline: 24px;
    }

    .site-home .hero-content-wrapper {
        left: 24px;
        right: 24px;
        max-width: none;
        padding-block: 112px 64px;
    }

    .site-home .hero-main-title {
        max-width: 560px;
        font-size: clamp(44px, 10vw, 72px);
    }

    .site-home .hero-description {
        max-width: 34ch;
        font-size: 15px;
    }

    .site-home #ecosystem,
    .site-home .vessels,
    .site-home .neural-core,
    .site-home .legacy-intro,
    .site-home .spirit-realm-intro,
    .site-home .download,
    .site-home .manifesto {
        padding-block: 72px;
    }

    .site-home .vessel-item {
        margin-bottom: 80px;
        gap: 32px;
    }

    .site-home .neural-card {
        padding: 28px;
    }

    .site-product .site-product-hero {
        min-height: 88svh;
        padding-block: 128px 80px;
    }

    .site-product .site-nav {
        padding-inline: 16px;
        gap: 12px;
    }

    .site-product .site-chapter {
        padding: 72px 24px;
    }

    .site-product .text-pressure-title {
        font-size: clamp(64px, 18vw, 128px);
    }

    .site-product .site-product-hero p {
        font-size: 18px;
    }

    .site-legacy .evidence,
    .site-legacy .explorer,
    .site-legacy .protocol,
    .site-legacy .dialogue,
    .site-realm .sr-section {
        padding-block: 72px;
    }

    .site-download .shell {
        width: calc(100% - 48px);
    }

    .site-download .hero {
        padding-block: 80px 64px;
        min-height: 0;
    }

    .site-download .flow,
    .site-download .resource-section {
        padding-block: 64px;
    }

    .site-support .wrap {
        display: block;
        padding: 112px 24px 64px;
    }

    .site-support .card {
        padding: 28px;
        margin-bottom: 24px;
    }

    .site-guide .guide-card {
        padding: 24px;
        border-radius: 16px;
    }

    .site-guide .header {
        padding-block: 48px 40px;
    }
}

@media (max-width: 480px) {
    .site-home .site-nav .container,
    .site-product .site-nav {
        padding-inline: 12px;
        gap: 8px;
    }

    .site-product .site-nav .nav-brand {
        font-size: 18px !important;
        gap: 8px !important;
    }

    .site-product .site-nav .nav-brand img {
        height: 28px !important;
    }

    .site-product .site-nav .lang-btn {
        padding-inline: 8px;
        gap: 4px;
        font-size: 12px;
    }

    .site-product .site-nav .lang-btn > .material-symbols-outlined:first-child {
        display: none;
    }

    .site-home .site-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
    }

    .site-home .hero-tagline,
    .site-home .spirit-realm-tagline {
        display: none;
    }

.site-product .site-product-hero .site-actions {
        align-items: stretch;
    }

    .site-product .site-actions a {
        width: 100%;
    }
}

@media (hover: none), (pointer: coarse) {
    .site-design .site-hover,
    .site-legacy .relationship-node:hover img,
    .site-product .product-card:hover,
    .site-product .card-hover:hover {
        transform: none !important;
    }

    .site-design .btn-primary:hover,
    .site-design .btn-secondary:hover,
    .site-product .group:hover img,
    .site-product .group:hover video,
    .site-product .card-hover:hover .card-icon {
        transform: none !important;
        filter: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-design *,
    .site-design *::before,
    .site-design *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .site-design .site-reveal,
    .site-design .reveal,
    .site-design .hero-bg,
    .site-design .site-hover {
        translate: none !important;
        transform: none !important;
        opacity: 1 !important;
        animation: none !important;
        transition: opacity 200ms ease;
        transition-delay: 0ms !important;
    }

    .site-design .site-spotlight,
    .site-design .particle,
    .site-design .sr-particles-bg {
        display: none;
    }

    .site-product .group:hover img,
    .site-product .group:hover video,
    .site-product .card-hover:hover .card-icon {
        transform: none !important;
        filter: none !important;
    }

    .site-design *,
    .site-design *::before,
    .site-design *::after {
        scroll-behavior: auto !important;
    }
}
