@font-face {
    font-family: "M PLUS Rounded 1c";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/m-plus-rounded-1c-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "M PLUS Rounded 1c";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/m-plus-rounded-1c-latin-500.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "M PLUS Rounded 1c";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/fonts/m-plus-rounded-1c-latin-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "M PLUS Rounded 1c";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/fonts/m-plus-rounded-1c-latin-800.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "M PLUS Rounded 1c";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("/fonts/m-plus-rounded-1c-latin-900.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@property --yakoru-scrollbar-hover-mix {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

html {
    --yakoru-scrollbar-track: rgba(5, 5, 6, 0.58);
    --yakoru-scrollbar-track-glow: rgba(var(--yakoru-brand-gold-rgb), 0.1);
    --yakoru-scrollbar-thumb: rgba(var(--yakoru-brand-gold-rgb), 0.78);
    --yakoru-scrollbar-thumb-hover: rgba(var(--yakoru-brand-gold-rgb), 0.82);
    --yakoru-scrollbar-hover-mix: 0;
    --yakoru-scrollbar-hover-duration: 260ms;
    --yakoru-scrollbar-native-width: 12px;
    scrollbar-gutter: auto;
    scrollbar-color: transparent transparent;
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
    background: transparent;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    border: 3px solid transparent;
    border-radius: 999px;
    background: transparent;
    background-clip: padding-box;
    box-shadow: none;
    transition:
        background-color var(--yakoru-scrollbar-hover-duration) ease,
        box-shadow var(--yakoru-scrollbar-hover-duration) ease;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: transparent;
    background-clip: padding-box;
    box-shadow: none;
}

html.yakoru-scrollbar-edge-hover {
    scrollbar-color: transparent transparent;
}

html.yakoru-scrollbar-edge-hover::-webkit-scrollbar-thumb,
html.yakoru-scrollbar-edge-hover body::-webkit-scrollbar-thumb {
    background: transparent;
    background-clip: padding-box;
    box-shadow: none;
}

html::-webkit-scrollbar-thumb:active,
body::-webkit-scrollbar-thumb:active {
    background: transparent;
    background-clip: padding-box;
}

.yakoru-scrollbar-visual {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2147483000;
    width: 12px;
    height: 100dvh;
    background:
        linear-gradient(180deg, var(--yakoru-scrollbar-track-glow), rgba(var(--yakoru-brand-gold-rgb), 0.07)),
        var(--yakoru-scrollbar-track);
    border-left: 1px solid rgba(var(--yakoru-brand-gold-rgb), 0.12);
    box-sizing: border-box;
    pointer-events: auto;
    user-select: none;
    contain: strict;
}

.yakoru-scrollbar-visual[hidden] {
    display: none;
}

.yakoru-scrollbar-visual__thumb {
    position: absolute;
    top: 0;
    right: 3px;
    width: 6px;
    min-height: 44px;
    height: var(--yakoru-scrollbar-visual-thumb-height, 44px);
    border-radius: 999px;
    background:
        linear-gradient(
            180deg,
            rgba(var(--yakoru-brand-gold-rgb), calc(var(--yakoru-scrollbar-hover-mix) * 0.88)),
            rgba(var(--yakoru-brand-gold-rgb), calc(var(--yakoru-scrollbar-hover-mix) * 0.78))
        ),
        linear-gradient(180deg, rgba(var(--yakoru-brand-gold-rgb), 0.96), rgba(var(--yakoru-brand-gold-rgb), 0.78));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.24),
        0 0 16px rgba(var(--yakoru-brand-gold-rgb), 0.2);
    transform: translate3d(0, var(--yakoru-scrollbar-visual-thumb-top, 0px), 0);
    transition:
        box-shadow var(--yakoru-scrollbar-hover-duration) ease,
        width var(--yakoru-scrollbar-hover-duration) ease,
        right var(--yakoru-scrollbar-hover-duration) ease;
    pointer-events: none;
    will-change: transform, background, box-shadow;
}

html.yakoru-scrollbar-edge-hover .yakoru-scrollbar-visual__thumb {
    right: 2px;
    width: 7px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.34),
        0 0 18px rgba(var(--yakoru-brand-gold-rgb), 0.32);
}

.yakoru-scrollbar-dust-layer {
    position: fixed;
    top: 0;
    right: 12px;
    z-index: 2147482999;
    width: 96px;
    height: 100dvh;
    overflow: visible;
    pointer-events: none;
    user-select: none;
    contain: layout style;
}

.yakoru-scrollbar-dust-layer[hidden] {
    display: none;
}

.yakoru-scrollbar-dust {
    position: absolute;
    left: var(--yakoru-scrollbar-dust-x, 88px);
    top: var(--yakoru-scrollbar-dust-y, 0px);
    width: var(--yakoru-scrollbar-dust-size, 4px);
    height: var(--yakoru-scrollbar-dust-size, 4px);
    border-radius: 999px;
    background:
        radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.34) 32%, transparent 64%),
        var(--yakoru-scrollbar-dust-fill, rgba(var(--yakoru-brand-gold-rgb), 0.9));
    box-shadow:
        0 0 0 1px rgba(5, 5, 6, 0.46),
        0 2px 5px rgba(5, 5, 6, 0.56),
        0 0 8px var(--yakoru-scrollbar-dust-glow, rgba(var(--yakoru-brand-gold-rgb), 0.42)),
        0 0 18px rgba(255, 255, 255, 0.2);
    opacity: 0;
    filter: drop-shadow(0 2px 3px rgba(5, 5, 6, 0.5));
    transform: translate3d(0, 0, 0) rotate(var(--yakoru-scrollbar-dust-rotate, 0deg)) scale(0.78);
    animation: yakoruScrollbarDustFloat var(--yakoru-scrollbar-dust-duration, 760ms) cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

.yakoru-scrollbar-dust--gold {
    --yakoru-scrollbar-dust-fill: rgba(var(--yakoru-brand-gold-rgb), 0.92);
    --yakoru-scrollbar-dust-glow: rgba(var(--yakoru-brand-gold-rgb), 0.46);
}

.yakoru-scrollbar-dust--spark {
    --yakoru-scrollbar-dust-fill: rgba(var(--yakoru-brand-gold-rgb), 0.88);
    --yakoru-scrollbar-dust-glow: rgba(var(--yakoru-brand-gold-rgb), 0.42);
}

.yakoru-scrollbar-dust--white {
    --yakoru-scrollbar-dust-fill: rgba(255, 250, 226, 0.9);
    --yakoru-scrollbar-dust-glow: rgba(255, 250, 226, 0.38);
}

.yakoru-scrollbar-dust--diamond {
    border-radius: 2px;
}

html:has(.lpPremiumBottom.is-in-view) .yakoru-scrollbar-dust-layer,
html:has(.lpPremiumBottom.is-in-view) .yakoru-scrollbar-dust,
html.yakoru-scrollbar-dust-reduce .yakoru-scrollbar-dust-layer,
html.yakoru-scrollbar-dust-reduce .yakoru-scrollbar-dust {
    display: none;
}

@keyframes yakoruScrollbarDustFloat {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(var(--yakoru-scrollbar-dust-rotate, 0deg)) scale(0.72);
    }

    14% {
        opacity: 0.88;
    }

    100% {
        opacity: 0;
        transform:
            translate3d(
                var(--yakoru-scrollbar-dust-drift-x, -42px),
                var(--yakoru-scrollbar-dust-drift-y, 34px),
                0
            )
            rotate(var(--yakoru-scrollbar-dust-end-rotate, 48deg))
            scale(0.34);
    }
}

.app-shell.app-shell--tool-demo .tmd-phone-view {
    display: none;
}

.app-shell.app-shell--tool-demo .tmd-family-name-shell {
    container-type: inline-size;
    min-width: 0;
    align-items: center;
    padding: 0 8px;
    overflow: hidden;
}

.app-shell.app-shell--tool-demo .tmd-family-name-text {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    color: #4a4f55;
    font-size: clamp(0.72rem, 8.5cqw, 1.25rem);
    line-height: 1.18;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-shell.app-shell--tool-demo .tmd-family-name-input .mud-input-root {
    font-size: clamp(0.75rem, 7.5cqw, 1rem);
}

.app-shell.app-shell--tool-demo .tmd-back-projects {
    min-height: 36px;
    margin-left: 4px;
    color: white !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: nowrap;
}

.app-shell.app-shell--tool-demo .tmd-app-title {
    margin-left: 16px;
    color: white;
    font-size: 15px;
    font-weight: 500;
}

@media (max-width: 760px) {
    .app-shell.app-shell--tool-demo .tmd-back-projects {
        margin-left: 0;
        padding-inline: 6px;
        min-width: 0;
        font-size: 0.72rem;
    }

    .app-shell.app-shell--tool-demo .tmd-app-title {
        margin-left: 8px;
        font-size: 13px;
    }

    .app-shell.app-shell--tool-demo .tmd-desktop-table {
        display: none;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-view {
        display: block;
        padding: 0 0 2rem;
    }

    .app-shell.app-shell--tool-demo .tmd-main-container {
        padding: 0 8px 24px;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-toolbar {
        position: sticky;
        top: 64px;
        z-index: 20;
        margin: 0 0 10px;
        padding: 10px;
        border: 1px solid #d7dce3;
        border-radius: 8px;
        background: #fff;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-toolbar-search {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-search {
        flex: 1 1 auto;
        min-width: 0;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-sort .mud-button-root,
    .app-shell.app-shell--tool-demo .tmd-phone-sort .mud-icon-button {
        min-width: 44px;
        width: 44px;
        height: 44px;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-view .mud-icon-button,
    .app-shell.app-shell--tool-demo .tmd-phone-pagination .mud-button-root,
    .app-shell.app-shell--tool-demo .tmd-phone-pagination .mud-pagination-item {
        min-width: 44px;
        width: 44px;
        height: 44px;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-toolbar-actions,
    .app-shell.app-shell--tool-demo .tmd-phone-paste-row {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-toolbar-actions .mud-button-root,
    .app-shell.app-shell--tool-demo .tmd-phone-paste-row .mud-button-root {
        flex: 1 1 96px;
        min-height: 44px;
        padding-inline: 10px;
        white-space: normal;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-cancel-confirm,
    .app-shell.app-shell--tool-demo .tmd-phone-details-panel {
        width: 100%;
        margin-top: 10px;
        padding: 10px;
        border: 2px solid #ddd;
        border-radius: 12px;
        background: #fff;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-confirm-title {
        display: block;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-confirm-list .mud-list-item {
        padding-inline: 0;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-filter-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #e0e0e0;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-tree {
        display: flex;
        flex-direction: column;
        gap: 10px;
        min-width: 0;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-card {
        min-width: 0;
        padding: 12px;
        border: 2px solid #e0e0e0;
        border-left-width: 4px;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
        box-sizing: border-box;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-family {
        border-left-color: #0f58d6;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-kit {
        margin-left: 10px;
        border-left-color: #5e96ec;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-assembly {
        margin-left: 12px;
        border-left-color: #95b8f2;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-part {
        margin-left: 12px;
        border-left-color: #c6d8f8;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-card-header {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        min-width: 0;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-card-header--expandable {
        align-items: flex-start;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-title-group {
        flex: 1 1 auto;
        min-width: 0;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-header-side {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 2px;
        margin-left: auto;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-eyebrow,
    .app-shell.app-shell--tool-demo .tmd-phone-label {
        display: block;
        color: #3b4450;
        font-size: 0.75rem;
        font-weight: 500;
        line-height: 1.2;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-title,
    .app-shell.app-shell--tool-demo .tmd-phone-value {
        display: block;
        min-width: 0;
        color: #212529;
        font-size: 1rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-family-title {
        font-size: clamp(0.82rem, 4.2vw, 1rem);
        line-height: 1.22;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-count {
        flex: 0 0 auto;
        color: #8b949e;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-field-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        min-width: 0;
        width: 100%;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-field {
        min-width: 0;
        padding-bottom: 4px;
        border-bottom: 1px solid #bdbdbd;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-children {
        display: flex;
        flex-direction: column;
        gap: 10px;
        min-width: 0;
        margin-top: 10px;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        margin-top: 10px;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-actions .mud-icon-button {
        width: 44px;
        height: 44px;
        margin: 0;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-actions .mud-button-root {
        min-height: 44px;
        margin: 0;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-details-button {
        margin-left: auto !important;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-card .mud-input-control {
        width: 100%;
        margin-top: 8px;
        margin-bottom: 0;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-card .mud-input-slot,
    .app-shell.app-shell--tool-demo .tmd-phone-toolbar .mud-input-slot,
    .app-shell.app-shell--tool-demo .tmd-phone-card .mud-input-root,
    .app-shell.app-shell--tool-demo .tmd-phone-toolbar .mud-input-root {
        min-width: 0;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-add-button {
        align-self: flex-start;
        min-width: 96px;
        min-height: 44px;
    }

    .app-shell.app-shell--tool-demo .tmd-phone-pagination {
        justify-content: center;
        padding: 16px 0 0;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    font-family: var(--font);
    font-synthesis: none;
    font-synthesis-weight: none;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
}

body {
    overflow-x: hidden;
}

.yakoruClickRing {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2147483000;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.36);
    transform-origin: center;
    animation: yakoruClickRing 700ms cubic-bezier(0.18, 0.88, 0.24, 1) forwards;
    will-change: opacity, transform;
}

.yakoruClickRing::before,
.yakoruClickRing::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.yakoruClickRing::before {
    border: 1.5px solid rgba(var(--yakoru-brand-gold-rgb), 0.68);
    background: transparent;
    box-shadow: inset 0 0 0 1px rgba(var(--yakoru-brand-gold-rgb), 0.16);
    opacity: 0.9;
    animation: yakoruClickRippleOuter 700ms ease-out forwards;
    will-change: opacity;
}

.yakoruClickRing::after {
    inset: 3px;
    background: rgba(var(--yakoru-brand-gold-rgb), 0.72);
    box-shadow: 0 0 0 1px rgba(var(--yakoru-brand-gold-rgb), 0.2);
    opacity: 0.92;
    animation: yakoruClickRippleCore 700ms ease-out forwards;
    will-change: opacity;
}

@keyframes yakoruClickRing {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.36);
    }

    10% {
        opacity: 1;
    }

    66% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3.7);
    }
}

@keyframes yakoruClickRippleOuter {
    0% {
        opacity: 0.72;
    }

    100% {
        opacity: 0;
    }
}

@keyframes yakoruClickRippleCore {
    0% {
        opacity: 0.92;
    }

    34% {
        opacity: 0.55;
    }

    100% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .yakoruClickRing {
        animation: yakoruClickRingReduced 220ms ease-out forwards;
    }

    .yakoruClickRing::before,
    .yakoruClickRing::after {
        animation: none;
    }
}

@keyframes yakoruClickRingReduced {
    from {
        opacity: 0.55;
        transform: translate(-50%, -50%) scale(0.85);
    }

    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

.yakoru-route-transition-pending {
    cursor: wait;
}

html.yakoru-home-motion-pending .lpHeroSentence,
html.yakoru-home-motion-pending .lpHeroOutcome__line {
    animation: none !important;
}

html.yakoru-home-motion-pending .lpHeroSentence:not(:first-child),
html.yakoru-home-motion-pending .lpHeroOutcome__line:not(:first-child) {
    opacity: 0 !important;
}

html.yakoru-home-motion-pending .lpHeroSentence:first-child,
html.yakoru-home-motion-pending .lpHeroOutcome__line:first-child {
    opacity: 1 !important;
}

html.yakoru-route-crossfade-pending #content {
    opacity: 0;
}

.yakoru-route-crossfade-ghost {
    position: fixed;
    inset: 0;
    z-index: 45;
    overflow: hidden;
    pointer-events: none;
    contain: layout paint style;
    isolation: isolate;
}

.yakoru-route-crossfade-ghost__content {
    position: absolute;
    margin: 0 !important;
    max-width: none !important;
    contain: layout paint style;
    isolation: isolate;
    transform: translateZ(0);
    transform-origin: top left;
}

.yakoru-route-crossfade-ghost__content *,
.yakoru-route-crossfade-ghost__content *::before,
.yakoru-route-crossfade-ghost__content *::after {
    animation-play-state: paused !important;
    transition-property: none !important;
}

#content.yakoru-route-crossfade-live {
    animation: yakoruRouteCrossfadeIn 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
    will-change: opacity;
}

.yakoru-route-crossfade-ghost.is-leaving {
    animation: yakoruRouteCrossfadeOut 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
    will-change: opacity;
}

@keyframes yakoruRouteCrossfadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes yakoruRouteCrossfadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html.yakoru-route-crossfade-pending #content {
        opacity: 1;
    }

    #content.yakoru-route-crossfade-live,
    .yakoru-route-crossfade-ghost.is-leaving {
        animation: none;
        will-change: auto;
    }
}

#content {
    width: 100%;
    min-width: 0;
}

.app-shell:not(.app-shell--tool-demo):not(.app-shell--mguard-demo):not(.app-shell--operations-hub-demo) #content {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.app-shell:not(.app-shell--tool-demo):not(.app-shell--mguard-demo):not(.app-shell--operations-hub-demo) #content:has(.modalBackdrop) {
    overflow: visible;
    z-index: 40;
}

:where(.contactPage, .login-page, .auth-page) {
    --signal-angle: 112deg;
    --signal-angle-alt: 42deg;
    --signal-grid: 96px;
    --signal-grid-x: 0px;
    --signal-grid-y: 0px;
    --signal-strength: 0.46;
    --signal-trace-strength: 0.42;
    --signal-mask-focus: 50% 30%;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.contactPage {
    --signal-angle: 108deg;
    --signal-angle-alt: 18deg;
    --signal-grid-x: -18px;
    --signal-grid-y: 18px;
    --signal-mask-focus: 58% 40%;
}

.login-page,
.auth-page {
    --signal-angle: 112deg;
    --signal-angle-alt: 68deg;
    --signal-grid: 84px;
    --signal-grid-x: 12px;
    --signal-grid-y: 12px;
    --signal-mask-focus: 50% 48%;
}

.contactPage::before,
.contactPage::after,
:where(.login-page, .auth-page)::before,
:where(.login-page, .auth-page)::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.contactPage::before,
:where(.login-page, .auth-page)::before {
    inset: 0;
    background:
        linear-gradient(90deg, rgba(var(--yakoru-brand-gold-rgb), 0.035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(var(--yakoru-brand-gold-rgb), 0.04) 1px, transparent 1px),
        repeating-linear-gradient(var(--signal-angle),
            transparent 0 146px,
            rgba(var(--yakoru-brand-gold-rgb), 0.045) 147px 148px,
            transparent 149px 290px),
        repeating-linear-gradient(var(--signal-angle-alt),
            transparent 0 190px,
            rgba(var(--yakoru-brand-gold-rgb), 0.055) 191px 192px,
            transparent 193px 360px);
    background-size:
        var(--signal-grid) var(--signal-grid),
        var(--signal-grid) var(--signal-grid),
        680px 680px,
        760px 760px;
    background-position:
        var(--signal-grid-x) var(--signal-grid-y),
        var(--signal-grid-x) var(--signal-grid-y),
        12% 24%,
        82% 16%;
    opacity: var(--signal-strength);
}

.contactPage::after,
:where(.login-page, .auth-page)::after {
    inset: 0;
    background:
        linear-gradient(var(--signal-angle),
            transparent 0%,
            transparent 35%,
            rgba(var(--yakoru-brand-gold-rgb), 0.16) 35.18%,
            rgba(var(--yakoru-brand-gold-rgb), 0.16) 35.45%,
            transparent 35.8%,
            transparent 100%),
        linear-gradient(var(--signal-angle),
            transparent 0%,
            transparent 58%,
            rgba(var(--yakoru-brand-gold-rgb), 0.08) 58.14%,
            transparent 58.55%,
            transparent 100%),
        linear-gradient(var(--signal-angle-alt),
            transparent 0%,
            transparent 48%,
            rgba(var(--yakoru-brand-gold-rgb), 0.105) 48.18%,
            transparent 48.55%,
            transparent 100%);
    background-size: 180% 180%, 145% 145%, 160% 160%;
    background-position: 8% 48%, 70% 18%, 40% 74%;
    opacity: var(--signal-trace-strength);
    mix-blend-mode: screen;
}

.contactPage::before {
    animation: none;
}

.contactPage::after {
    animation: none;
    mix-blend-mode: normal;
}

:where(.login-page, .auth-page)::before {
    animation: yakoruSignalField 42s linear infinite;
    will-change: background-position;
}

:where(.login-page, .auth-page)::after {
    animation: yakoruSignalTrace 26s ease-in-out infinite alternate;
    will-change: background-position, opacity;
}

:where(.contactPage, .login-page, .auth-page) > :not(.login-bg):not(.auth-bg) {
    position: relative;
    z-index: 1;
}

.login-bg,
.auth-bg {
    z-index: 0;
}

@keyframes yakoruSignalField {
    0% {
        background-position:
            var(--signal-grid-x) var(--signal-grid-y),
            var(--signal-grid-x) var(--signal-grid-y),
            12% 24%,
            82% 16%;
    }

    100% {
        background-position:
            calc(var(--signal-grid-x) + 44px) calc(var(--signal-grid-y) + 22px),
            calc(var(--signal-grid-x) + 44px) calc(var(--signal-grid-y) + 22px),
            72% 54%,
            26% 76%;
    }
}

@keyframes yakoruSignalTrace {
    0% {
        background-position: 8% 48%, 70% 18%, 40% 74%;
        opacity: 0.3;
    }

    50% {
        background-position: 52% 54%, 38% 44%, 72% 36%;
        opacity: var(--signal-trace-strength);
    }

    100% {
        background-position: 88% 50%, 12% 72%, 18% 42%;
        opacity: 0.34;
    }
}

@media (max-width: 640px) {
    .contactPage::before,
    :where(.login-page, .auth-page)::before {
        opacity: 0.34;
    }

    .contactPage::after,
    :where(.login-page, .auth-page)::after {
        opacity: 0.24;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contactPage::before,
    .contactPage::after,
    :where(.login-page, .auth-page)::before,
    :where(.login-page, .auth-page)::after {
        animation: none !important;
    }
}

:root {
    /* Font */
    --font-system: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    --font: "M PLUS Rounded 1c", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", var(--font-system);
    /* Typography — Kicker / label */
    --fs-kicker: 12px;
    --fw-kicker: 800;
    --ls-kicker: 0.14em;
    /* Typography — Page title */
    --fs-title: 56px;
    --fw-title: 700;
    --ls-title: 0.02em;
    --lh-title: 1.04;
    /* Typography — Section heading */
    --fs-heading: 36px;
    --fw-heading: 700;
    --lh-heading: 1.2;
    /* Typography — Card / item title */
    --fs-card-title: 19px;
    --fw-card-title: 600;
    /* Typography — Body / lead */
    --fs-body: 16px;
    --lh-body: 1.7;
    /* Typography — Small / description */
    --fs-small: 14px;
    /* Typography — Tags */
    --fs-tag: 12px;
    --fw-tag: 500;
    /* Base */
    --bg: #11151a;
    --bg2: #1f252b;
    --surface: rgba(34,39,44,0.96);
    --surface2: rgba(52,61,70,0.8);
    /* Borders & dividers */
    --border: rgba(226,232,235,0.3);
    --border2: rgba(var(--yakoru-brand-gold-rgb),0.48);
    --divider: rgba(226,232,235,0.24);
    /* Text */
    --text: rgba(249,251,252,0.96);
    --muted: rgba(238,243,246,0.88);
    --subtle: rgba(214,224,230,0.72);
    /* Accents */
    --gold: var(--yakoru-brand-gold);
    --goldSoft: rgba(var(--yakoru-brand-gold-rgb),0.24);
    --goldBorder: rgba(var(--yakoru-brand-gold-rgb),0.52);
    --aqua: var(--yakoru-brand-gold);
    --shoreBlue: var(--yakoru-brand-gold);
    --aquaSoft: rgba(var(--yakoru-brand-gold-rgb),0.18);
    --shoreBlueSoft: rgba(var(--yakoru-brand-gold-rgb), 0.22);
    --panel-gradient: linear-gradient(145deg, rgba(34,39,44,0.96), rgba(18,23,29,0.98));
    --yakoru-logo-hover-filter: hue-rotate(184deg) saturate(1.86) brightness(0.92) contrast(1.12);
    --yakoru-logo-hover-gradient: linear-gradient(180deg, var(--yakoru-brand-gold) 0%, var(--yakoru-brand-gold) 45%, var(--yakoru-brand-gold) 100%);
    --yakoru-logo-hover-mask: url("/images/brand/yakoru-lockup-light.svg");
    --yakoru-hero-height: clamp(560px, 84vh, 720px);
    --yakoru-hero-gradient-base: linear-gradient(180deg, rgba(25, 27, 31, 0.5), rgba(14, 16, 19, 0.14) 46%, rgba(15, 18, 23, 0.82));
    --yakoru-hero-gradient-base-mobile: linear-gradient(180deg, rgba(25, 27, 31, 0.46), rgba(14, 16, 19, 0.15) 42%, rgba(12, 14, 17, 0.84));
    --yakoru-hero-gradient-sweep:
        linear-gradient(90deg,
            rgba(var(--yakoru-brand-gold-rgb), 0.14) 0%,
            rgba(var(--yakoru-brand-gold-rgb), 0.085) 12%,
            rgba(var(--yakoru-brand-gold-rgb), 0.16) 25%,
            rgba(var(--yakoru-brand-gold-rgb), 0.07) 38%,
            rgba(var(--yakoru-brand-gold-rgb), 0.13) 50%,
            rgba(var(--yakoru-brand-gold-rgb), 0.08) 62%,
            rgba(var(--yakoru-brand-gold-rgb), 0.16) 75%,
            rgba(var(--yakoru-brand-gold-rgb), 0.075) 88%,
            rgba(var(--yakoru-brand-gold-rgb), 0.14) 100%);
    --yakoru-hero-gradient-mask: radial-gradient(ellipse 78% 68% at 50% 48%, #000 0%, rgba(0, 0, 0, 0.74) 54%, transparent 88%);
    --yakoru-hero-gradient-mask-mobile: radial-gradient(ellipse 82% 68% at 50% 44%, #000 0%, rgba(0, 0, 0, 0.68) 52%, transparent 86%);
    /* Shadows */
    --shadow: 0 20px 64px rgba(0,0,0,0.46);
    --mobile-bottom-nav-height: 76px;
}

@keyframes yakoruHeroGradientSweep {
    0% {
        background-position: 0 50%;
    }

    100% {
        background-position: 170vw 50%;
    }
}

a, .btn-link {
    color: var(--aqua);
}

.btn-primary {
    color: #11120f;
    background-color: var(--gold);
    border-color: rgba(var(--yakoru-brand-gold-rgb),0.64);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem rgba(247,250,255,0.86), 0 0 0 0.25rem rgba(var(--yakoru-brand-gold-rgb), 0.28);
}

.content {
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.text-danger {
    color: #ff7d7d !important;
}

.table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text);
}

.table th,
.table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.table thead th {
    color: var(--muted);
    font-weight: 700;
}

.lpBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.92);
}

.lpBtn:hover {
    background: rgba(255,255,255,0.06);
}

.lpBtn--ghost {
    background: rgba(255,255,255,0.03);
}

.lpNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,.45), rgba(0,0,0,0));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.lpNav__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
}

.lpBrand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
}

.lpBrand__mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    color: rgba(0,0,0,.9);
    background: linear-gradient(135deg, rgba(var(--yakoru-brand-gold-rgb),1), rgba(255,255,255,.75));
    box-shadow: 0 10px 30px rgba(var(--yakoru-brand-gold-rgb),.18);
}

.lpBrand__name {
    font-weight: 900;
    letter-spacing: .10em;
    font-size: 13px;
    opacity: .92;
}

.lpNav__links {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 18px;
}

.lpNav__link {
    text-decoration: none;
    color: rgba(255,255,255,.78);
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 700;
}

.lpNav__link:hover {
    color: #fff;
    background: rgba(255,255,255,.08);
}

.lpNav__actions {
    justify-self: end;
}

.siteTopbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    font-family: var(--font);
    background: linear-gradient(to bottom, rgba(15,18,23,.96), rgba(18,22,28,.9) 58%, rgba(18,22,28,.42));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(var(--yakoru-brand-gold-rgb), .26);
    box-shadow: 0 16px 42px rgba(0,0,0,.22);
}

html:has(#content .contactPage) .siteTopbar {
    background: linear-gradient(to bottom, rgba(15,18,23,.98), rgba(18,22,28,.96) 58%, rgba(18,22,28,.72));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html:has(#content .contactPage) .siteBrand__logo,
html:has(#content .contactPage) .siteBrand:hover .siteBrand__logo,
html:has(#content .contactPage) .siteBrand:focus-visible .siteBrand__logo {
    filter: none;
}

html:has(#content .contactPage) .siteBrand::after {
    filter: none;
}

html:has(#content .contactPage) .yakoru-scrollbar-visual__thumb {
    will-change: transform;
}

.siteTopbar__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.siteBrand {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
}

.siteBrand__logo {
    display: block;
    width: 136px;
    height: 38px;
    max-width: min(42vw, 136px);
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,.28));
    transition: filter .18s ease, opacity .18s ease, transform .18s ease;
}

.siteBrand:hover .siteBrand__logo,
.siteBrand:focus-visible .siteBrand__logo {
    filter: var(--yakoru-logo-hover-filter) drop-shadow(0 10px 24px rgba(var(--yakoru-brand-gold-rgb), .28));
    transform: translateY(-1px);
}

@supports ((mask: url("") center / contain no-repeat) or (-webkit-mask: url("") center / contain no-repeat)) {
    .siteBrand::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: 0;
        background: var(--yakoru-logo-hover-gradient);
        filter: drop-shadow(0 10px 24px rgba(var(--yakoru-brand-gold-rgb), .3));
        -webkit-mask: var(--yakoru-logo-hover-mask) center / contain no-repeat;
        mask: var(--yakoru-logo-hover-mask) center / contain no-repeat;
        transition: opacity .18s ease, transform .18s ease;
    }

    .siteBrand:hover .siteBrand__logo,
    .siteBrand:focus-visible .siteBrand__logo {
        opacity: 0;
    }

    .siteBrand:hover::after,
    .siteBrand:focus-visible::after {
        opacity: 1;
        transform: translateY(-1px);
    }
}

.siteTopbar__links {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 18px;
}

.siteTopbar__link {
    text-decoration: none;
    color: rgba(238,243,246,.88);
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.siteTopbar__link:hover {
    color: rgba(249,251,252,.98);
    border-color: rgba(var(--yakoru-brand-gold-rgb), .28);
    background: rgba(var(--yakoru-brand-gold-rgb), .075);
}

.siteTopbar__link.active {
    color: rgba(var(--yakoru-brand-gold-rgb),.98);
    border-color: rgba(var(--yakoru-brand-gold-rgb),.36);
    background: rgba(var(--yakoru-brand-gold-rgb),.14);
}

.siteTopbar__actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: center;
    min-width: 0;
}

.siteLanguageFlag {
    position: relative;
    min-width: 0;
}

.siteLanguageFlag__button {
    width: 46px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(var(--yakoru-brand-gold-rgb), .26);
    border-radius: 12px;
    color: rgba(247,250,255,.94);
    background:
        linear-gradient(135deg, rgba(var(--yakoru-brand-gold-rgb),.12), rgba(var(--yakoru-brand-gold-rgb), .08)),
        rgba(14,17,20,.9);
    cursor: pointer;
    list-style: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.siteLanguageFlag__button::-webkit-details-marker {
    display: none;
}

.siteLanguageFlag__button:hover,
.siteLanguageFlag__button:focus-visible,
.siteLanguageFlag[open] .siteLanguageFlag__button {
    border-color: rgba(var(--yakoru-brand-gold-rgb), .44);
    background:
        linear-gradient(135deg, rgba(var(--yakoru-brand-gold-rgb),.16), rgba(var(--yakoru-brand-gold-rgb), .11)),
        rgba(14,17,20,.96);
    outline: none;
}

.siteLanguageFlag__button:hover {
    transform: translateY(-1px);
}

.siteLanguageFlag__flag {
    position: relative;
    display: inline-block;
    width: 28px;
    height: 20px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 3px;
    background: #111827;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.34),
        0 0 0 2px rgba(8,10,12,.42),
        0 6px 10px rgba(0,0,0,.22);
}

.siteLanguageFlag__flag--en {
    background: repeating-linear-gradient(
        to bottom,
        #b22234 0 1.55px,
        #fff 1.55px 3.08px
    );
}

.siteLanguageFlag__flag--en::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 40%;
    height: 54%;
    background:
        radial-gradient(circle at 19% 24%, #fff 0 1px, transparent 1.1px),
        radial-gradient(circle at 50% 24%, #fff 0 1px, transparent 1.1px),
        radial-gradient(circle at 81% 24%, #fff 0 1px, transparent 1.1px),
        radial-gradient(circle at 34% 56%, #fff 0 1px, transparent 1.1px),
        radial-gradient(circle at 66% 56%, #fff 0 1px, transparent 1.1px),
        #3c3b6e;
}

.siteLanguageFlag__flag--sv {
    background:
        linear-gradient(to bottom, transparent 0 38%, #fecc00 38% 56%, transparent 56%),
        linear-gradient(to right, transparent 0 31%, #fecc00 31% 45%, transparent 45%),
        #006aa7;
}

.siteLanguageFlag__flag--ja {
    background: #fff;
}

.siteLanguageFlag__flag--ja::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #bc002d;
    transform: translate(-50%, -50%);
}

.siteLanguageFlag__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.siteLanguageFlag__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 154px;
    padding: 6px;
    border: 1px solid rgba(214,218,220,.24);
    border-radius: 14px;
    background: rgba(15,18,23,.98);
    box-shadow: 0 18px 42px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform-origin: top right;
}

html:has(#content .contactPage) .siteLanguageFlag__menu {
    background: rgba(15,18,23,.995);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.siteLanguageFlag[open] .siteLanguageFlag__menu {
    animation: siteLanguageFlagMenuIn .2s cubic-bezier(.2,.82,.2,1) both;
}

html:has(#content .contactPage) .siteLanguageFlag[open] .siteLanguageFlag__menu {
    animation: siteLanguageFlagMenuContactIn .2s cubic-bezier(.2,.82,.2,1) both;
}

.siteLanguageFlag__option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 7px 10px;
    border-radius: 10px;
    color: rgba(230,236,236,.84);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.siteLanguageFlag[open] .siteLanguageFlag__option {
    animation: siteLanguageFlagOptionIn .18s cubic-bezier(.2,.82,.2,1) both;
}

.siteLanguageFlag[open] .siteLanguageFlag__option:nth-child(2) {
    animation-delay: .025s;
}

.siteLanguageFlag[open] .siteLanguageFlag__option:nth-child(3) {
    animation-delay: .05s;
}

.siteLanguageFlag__option:hover,
.siteLanguageFlag__option:focus-visible,
.siteLanguageFlag__option.is-active {
    color: rgba(249,251,252,.96);
    background: linear-gradient(135deg, rgba(var(--yakoru-brand-gold-rgb),.14), rgba(var(--yakoru-brand-gold-rgb), .08));
    outline: none;
}

@keyframes siteLanguageFlagMenuIn {
    from {
        opacity: 0;
        transform: translateY(-7px) scale(.96);
        filter: blur(2px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes siteLanguageFlagMenuContactIn {
    from {
        opacity: 0;
        transform: translateY(-7px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes siteLanguageFlagOptionIn {
    from {
        opacity: 0;
        transform: translateX(5px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

html:has(#content .contactPage) .lpFooterBrand__lockup,
html:has(#content .contactPage) .lpFooterBrand:hover .lpFooterBrand__lockup,
html:has(#content .contactPage) .lpFooterBrand:focus-visible .lpFooterBrand__lockup {
    filter: none;
}

html:has(#content .contactPage) .lpFooterBrand::after {
    filter: none;
}

@media (prefers-reduced-motion: reduce) {
    .siteLanguageFlag[open] .siteLanguageFlag__menu,
    .siteLanguageFlag[open] .siteLanguageFlag__option {
        animation: none;
    }
}

.mobileBottomNav {
    display: none;
}

@media (max-width: 980px) {
    .lpNav__links,
    .siteTopbar__links {
        display: none;
    }

    body {
        padding-bottom: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom));
    }

    :root {
        --fs-title: 38px;
        --fs-heading: 28px;
        --fs-body: 16px;
        --fs-card-title: 18px;
        --ls-title: 0;
        --ls-kicker: 0;
        --lh-body: 1.62;
    }

    .siteTopbar {
        z-index: 70;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: 0 10px 24px rgba(0,0,0,.28);
    }

    .siteTopbar__inner {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        padding: 10px 16px;
    }

    .siteLanguageFlag__button {
        width: 42px;
        height: 34px;
        border-radius: 11px;
    }

    .siteLanguageFlag__flag {
        width: 26px;
        height: 18px;
        border-radius: 4px;
    }

    .siteLanguageFlag__menu {
        min-width: 142px;
        top: calc(100% + 8px);
    }

    .mobileBottomNav {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        z-index: 60;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        min-height: 62px;
        padding: 7px;
        border: 1px solid rgba(var(--yakoru-brand-gold-rgb), .26);
        border-radius: 18px;
        background: rgba(15,18,23,.96);
        box-shadow: 0 10px 26px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.07);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        opacity: 1;
        transform: translate3d(0, 0, 0);
        transition:
            transform 0.32s cubic-bezier(.22, 1, .36, 1),
            opacity 0.22s ease;
        will-change: transform, opacity;
    }

    .mobileBottomNav.mobileBottomNav--hidden {
        opacity: 0;
        pointer-events: none;
        transform: translate3d(0, calc(100% + max(22px, env(safe-area-inset-bottom))), 0) scale(.98);
    }

    .mobileBottomNav__link {
        min-width: 0;
        min-height: 48px;
        border-radius: 13px;
        display: grid;
        place-items: center;
        align-content: center;
        gap: 3px;
        color: rgba(238,243,246,.84);
        text-decoration: none;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0;
        line-height: 1;
        -webkit-tap-highlight-color: transparent;
    }

    .mobileBottomNav__link:hover,
    .mobileBottomNav__link:focus-visible,
    .mobileBottomNav__link.active {
        color: rgba(var(--yakoru-brand-gold-rgb),.98);
        background: linear-gradient(135deg, rgba(var(--yakoru-brand-gold-rgb),.16), rgba(var(--yakoru-brand-gold-rgb), .08));
        outline: none;
    }

    .mobileBottomNav__icon {
        position: relative;
        width: 22px;
        height: 22px;
        color: currentColor;
    }

    .mobileBottomNav__icon::before,
    .mobileBottomNav__icon::after {
        content: "";
        position: absolute;
        box-sizing: border-box;
    }

    .mobileBottomNav__link--home .mobileBottomNav__icon::before {
        left: 5px;
        top: 3px;
        width: 12px;
        height: 12px;
        border-left: 2px solid currentColor;
        border-top: 2px solid currentColor;
        transform: rotate(45deg);
        border-radius: 2px 0 0 0;
    }

    .mobileBottomNav__link--home .mobileBottomNav__icon::after {
        left: 6px;
        bottom: 3px;
        width: 10px;
        height: 9px;
        border: 2px solid currentColor;
        border-top: 0;
        border-radius: 0 0 3px 3px;
    }

    .mobileBottomNav__link--about .mobileBottomNav__icon::before {
        left: 9px;
        top: 4px;
        width: 4px;
        height: 4px;
        border-radius: 999px;
        background: currentColor;
    }

    .mobileBottomNav__link--about .mobileBottomNav__icon::after {
        left: 9px;
        top: 10px;
        width: 4px;
        height: 9px;
        border-radius: 999px;
        background: currentColor;
    }

    .mobileBottomNav__link--projects .mobileBottomNav__icon::before {
        left: 4px;
        top: 4px;
        width: 6px;
        height: 6px;
        border: 2px solid currentColor;
        border-radius: 3px;
        box-shadow: 8px 0 0 0 currentColor, 0 8px 0 0 currentColor, 8px 8px 0 0 currentColor;
    }

    .mobileBottomNav__link--contact .mobileBottomNav__icon::before {
        left: 3px;
        top: 5px;
        width: 16px;
        height: 12px;
        border: 2px solid currentColor;
        border-radius: 4px;
    }

    .mobileBottomNav__link--contact .mobileBottomNav__icon::after {
        left: 5px;
        top: 7px;
        width: 12px;
        height: 8px;
        border-left: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(-45deg);
        transform-origin: center;
    }

    a,
    button,
    input,
    textarea,
    select {
        touch-action: manipulation;
    }

    input,
    textarea,
    select {
        font-size: 16px;
    }
}

@media (max-width: 520px) {
    :root {
        --fs-title: 34px;
        --fs-heading: 26px;
        --fs-kicker: 11px;
        --fs-small: 13px;
        --fs-tag: 11px;
    }

    .siteBrand__logo {
        width: 112px;
        height: 33px;
        max-width: 34vw;
    }

    .siteBrand {
        gap: 0;
    }

    .siteLanguageFlag__button {
        width: 38px;
        height: 32px;
    }

    .pageShell {
        padding-inline: 18px;
    }
}

@media (max-width: 640px) {
    .auth-page {
        min-height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .auth-shell {
        min-height: auto;
        place-items: start center;
        padding: 94px 14px 26px;
    }

    .auth-bg {
        inset: 0;
    }

    .auth-card {
        width: 100%;
        border-radius: 18px;
        padding: 18px 16px 16px;
    }

    .auth-brand {
        gap: 10px;
    }

    .password-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .ghost-btn {
        min-height: 44px;
        padding-inline: 12px;
    }

    .row,
    .footer {
        align-items: flex-start;
        line-height: 1.4;
    }

    .primary-btn {
        min-height: 46px;
    }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}





.project {
    display: grid;
    margin: 0 auto;
    align-content: center; /* centers the grid content vertically */
}



.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0,0,0,0.12);
}

    /* Optional readability gradient (like many game UIs) */
    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,0) 45%, rgba(0,0,0,.70));
        pointer-events: none;
    }



.nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(0,0,0,.35);
    color: white;
    font-size: 26px;
    display: grid;
    place-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.thumb-strip {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 120px;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 10px;

    width: min(900px, calc(100vw - 32px));
}


.thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: none;
    /* 👇 IMPORTANT: do NOT use flex: 1 here */
    flex: 0 1 auto;
}

    .thumbs::-webkit-scrollbar {
        display: none;
    }
/* chrome */

.thumb {
    flex: 0 1 auto;
    width: 200px;
    height: 85px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.20);
    background-size: cover;
    background-position: center;
    background-color: rgba(0,0,0,.25);
}

    .thumb.active {
        outline: 2px solid rgba(255,255,255,.75);
        outline-offset: 2px;
    }

/* Bottom overlay */
.project-description {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 35px 22px;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.18);
    color: white;
    /* 🔥 THIS is the key */
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;
}

.project-description-title {
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
}

.project-description-description {
    font-weight: 500;
    opacity: 0.85;
    max-width: none; /* let grid control width */
}

@media (max-width: 700px) {
    .project-description {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}



/* ===== THEME ===== */
.home {
    background: var(--bg);
    min-height: 100vh;
    color: var(--text);
}


/* ===== HERO ===== */
/* full-screen section with internal scroll */
.hero-home {
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        padding-top: 84px; /* space for your top bar */
        padding-bottom: 28px;
        background: radial-gradient(1200px 700px at 18% 0%, rgba(var(--yakoru-brand-gold-rgb),0.10), rgba(0,0,0,0) 60%), radial-gradient(900px 600px at 78% 18%, rgba(var(--yakoru-brand-gold-rgb), 0.10), rgba(0,0,0,0) 55%), linear-gradient(to bottom, rgba(255,255,255,0.03), rgba(255,255,255,0.00));
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;

    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 26px;
    align-items: start;
}

/* HERO layout */
.heroRow {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 26px;
    align-items: start;
}
/* section spacing */
.sectionBlock {
    display: grid;
    gap: 14px;
}

/* subtle dividers give “chapters” */
.sectionDivider {
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.00), rgba(255,255,255,0.12), rgba(255,255,255,0.00));
    margin: 6px 0;
}
/* THE structure: fixed content width + consistent side padding */
.pageShell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 30px 40px 30px;
    display: grid;
    gap: 26px;
}
.kicker {
    color: rgba(var(--yakoru-brand-gold-rgb),0.92);
    letter-spacing: var(--ls-kicker);
    text-transform: uppercase;
    font-size: var(--fs-kicker);
    font-weight: var(--fw-kicker);
}

.hero-title {
    margin: 10px 0 10px 0;
    font-size: var(--fs-title);
    font-weight: var(--fw-title);
    letter-spacing: var(--ls-title);
    line-height: var(--lh-title);
    color: rgba(255,255,255,0.94);
    text-shadow: 0 4px 18px rgba(0,0,0,0.55);
}

.hero-lead {
    margin: 0;
    max-width: 58ch;
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--muted);
}

.hero-cta {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
}

    .btn.primary {
        background: var(--goldSoft);
        border-color: var(--goldBorder);
        color: rgba(255,255,255,0.92);
    }

        .btn.primary:hover {
            background: rgba(var(--yakoru-brand-gold-rgb),0.24);
        }

    .btn.ghost {
        background: rgba(255,255,255,0.03);
        color: rgba(255,255,255,0.86);
    }

        .btn.ghost:hover {
            background: rgba(0,0,0,0.28);
        }

.hero-meta {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pill {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    letter-spacing: 0.02em;
}

.hero-card {
    border-radius: 18px;
    background: rgba(10,12,16,0.55); /* not pure black */
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}
.card-title {
    color: var(--text);
}

.hero-card-top {
    padding: 16px 16px 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-card-title {
    font-weight: 800;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.92);
}

.hero-card-sub {
    margin-top: 6px;
    font-size: 13px;
    color: var(--subtle);
}

.hero-card-body {
    padding: 14px 16px;
    display: grid;
    gap: 12px;
}

.stat-label {
    font-size: 12px;
    color: var(--subtle);
}

.stat-value {
    margin-top: 4px;
    font-weight: 700;
    color: var(--text);
}

.hero-card-footer {
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.miniLink {
    color: rgba(var(--yakoru-brand-gold-rgb),0.92);
    text-decoration: none;
    font-weight: 700;
}

    .miniLink:hover {
        text-decoration: underline;
    }

.hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 46px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(42,40,43,1));
}

/* ===== SECTIONS ===== */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px 30px 10px 30px;
}

.section-header {
    display: grid;
    gap: 10px;
    padding-bottom: 14px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(var(--yakoru-brand-gold-rgb),0.92);
}

.section-rule {
    height: 2px;
    background: linear-gradient(to right, rgba(var(--yakoru-brand-gold-rgb),0.55), rgba(255,255,255,0.12));
}

/* ===== CARDS ===== */
/* grids: make them visually even */
.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

/* equalize service cards a bit */
.card {
    height: 100%;
    display: grid;
    align-content: start;
    gap: 8px;
}
.cards .card {
    border-radius: 16px;
    background: rgba(0,0,0,0.16);
}
.section-sub {
    margin-top: -6px;
    color: var(--subtle);
    font-size: 13px;
}

.card-title {
    font-weight: 800;
    color: rgba(255,255,255,0.92);
}

.card-text {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,0.72);
}

.tagRow {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.16);
    color: rgba(255,255,255,0.74);
}

/* ===== WORK ===== */
.workWrap {
    margin-top: 8px;
}

/* --- Carousel (peek + no drift) --- */
.imgViewport {
    height: 60vh;
    position: relative;
    border: 1px solid rgba(255,255,255,0.10);
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    --peek: 10%;
    --gap: 18px;
    --slideW: calc(100% - var(--peek));
    --step: calc(var(--slideW) + var(--gap));
}

.imgTrack {
    height: 100%;
    display: flex;
    gap: var(--gap);
    transition: transform 450ms ease;
    will-change: transform;
    /* reserve peek-space so the next slide is visible */
    padding-right: var(--peek);
    box-sizing: border-box;
}

.imgSlide {
    flex: 0 0 var(--slideW);
    height: 100%;
    border: 0;
    padding: 0;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: block;
    outline: none;
    background-color: transparent;
}

    .imgSlide:focus-visible {
        box-shadow: 0 0 0 3px rgba(var(--yakoru-brand-gold-rgb),0.55);
    }

.imgOverlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.70), rgba(0,0,0,0));
}

.imgTitle {
    color: var(--yakoru-brand-gold);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.imgSubtitle {
    margin-top: 6px;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
}

/* Nav buttons */
.navBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.35);
    color: rgba(255,255,255,0.9);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(6px);
    z-index: 5;
}

    .navBtn:hover {
        background: rgba(0,0,0,0.55);
    }

    .navBtn.prev {
        left: 14px;
    }

    .navBtn.next {
        right: 14px;
    }

/* Dots */
.dots {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);
    cursor: pointer;
}

    .dot.active {
        background: var(--yakoru-brand-gold);
        border-color: rgba(var(--yakoru-brand-gold-rgb),0.9);
    }

.hero-bottom {
    margin-left: 2px;
    margin-top: 16px;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #f0eadc;
    text-shadow: 0 4px 18px rgba(0,0,0,0.75), 0 0 30px rgba(0,0,0,0.6);
}

/* ===== WHY ===== */

/* why grid is lighter + tighter */
.whyGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.whyCard {
    border-radius: 18px;
    background: rgba(10,12,16,0.55); /* not pure black */
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px;
}

.whyTitle {
    font-weight: 800;
    color: var(--text);
}

.whyText {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

/* ===== ABOUT + CTA ===== */
.aboutCta {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 14px;
    align-items: stretch;
}

.about, .cta {
    border-radius: 18px;
    background: rgba(10,12,16,0.55); /* not pure black */
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 18px;
}

.aboutTitle, .ctaTitle {
    font-weight: 900;
    color: var(--text);
    letter-spacing: 0.02em;
}

.aboutText, .ctaText {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.ctaButtons {
    margin-top: 14px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== MODAL ===== */
.modalBackdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
}

.modalPanel--wide {
    width: 100%;
    height: 100%;
}

.modalClose {
    position: sticky;
    top: 0;
    margin-left: auto;
    margin-bottom: 30px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.35);
    color: rgba(255,255,255,0.9);
    font-size: 26px;
    cursor: pointer;
    z-index: 1;
}

/* ===== RESPONSIVE ===== */
/* responsive: keep structure */
@media (max-width: 1100px) {
    .heroRow {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .whyGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .whyGrid {
        grid-template-columns: 1fr;
    }
}





.app-shell {
    min-height: 100vh;
    width: 100%;
    background: #0b0d10;
    display:flex;
    flex-direction: column;
}

html:has(.app-shell--tool-demo),
body:has(.app-shell--tool-demo) {
    --font: var(--font-system);
    font-family: var(--font-system);
    background: #f5f7fa;
    color: #202124;
}

html:has(.app-shell--mguard-demo),
body:has(.app-shell--mguard-demo) {
    --font: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-family: var(--font);
    background: #f5f5f5;
    color: #202124;
    padding-bottom: 0 !important;
}

html:has(.app-shell--operations-hub-demo),
body:has(.app-shell--operations-hub-demo) {
    --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-family: var(--font);
    background: #f4f6f2;
    color: #161616;
    padding-bottom: 0 !important;
}

html:has(.app-shell--tool-demo) {
    scroll-behavior: smooth;
}

html:has(.app-shell--mguard-demo) {
    scroll-behavior: auto;
}

html:has(.app-shell--operations-hub-demo) {
    scroll-behavior: auto;
}

.app-shell.app-shell--tool-demo,
#content.content--tool-demo {
    display: block;
    min-height: 100vh;
    width: 100%;
    background: #f5f7fa;
}

.app-shell.app-shell--tool-demo {
    font-family: var(--font-system);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
}

.app-shell.app-shell--tool-demo .mud-layout,
.app-shell.app-shell--tool-demo .mud-main-content {
    min-height: 100vh;
    background: #f5f7fa;
}

.app-shell.app-shell--mguard-demo,
#content.content--mguard-demo {
    display: block;
    min-height: 100vh;
    width: 100%;
    background: #f5f5f5;
}

.app-shell.app-shell--mguard-demo {
    font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
}

.app-shell.app-shell--mguard-demo .mud-layout,
.app-shell.app-shell--mguard-demo .mud-main-content {
    min-height: 100vh;
    background: #f5f5f5;
}

.app-shell.app-shell--operations-hub-demo,
#content.content--operations-hub-demo {
    display: block;
    min-height: 100vh;
    width: 100%;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f4f6f2;
}

:where(.app-shell.app-shell--mguard-demo table) {
    caption-side: bottom;
    border-collapse: collapse;
}

:where(.app-shell.app-shell--mguard-demo th) {
    text-align: inherit;
    text-align: -webkit-match-parent;
}

:where(.app-shell.app-shell--mguard-demo tbody),
:where(.app-shell.app-shell--mguard-demo td),
:where(.app-shell.app-shell--mguard-demo tfoot),
:where(.app-shell.app-shell--mguard-demo th),
:where(.app-shell.app-shell--mguard-demo thead),
:where(.app-shell.app-shell--mguard-demo tr) {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

:where(.app-shell.app-shell--tool-demo table) {
    caption-side: bottom;
    border-collapse: collapse;
}

:where(.app-shell.app-shell--tool-demo th) {
    text-align: inherit;
    text-align: -webkit-match-parent;
}

:where(.app-shell.app-shell--tool-demo tbody),
:where(.app-shell.app-shell--tool-demo td),
:where(.app-shell.app-shell--tool-demo tfoot),
:where(.app-shell.app-shell--tool-demo th),
:where(.app-shell.app-shell--tool-demo thead),
:where(.app-shell.app-shell--tool-demo tr) {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

.app-shell.app-shell--tool-demo .loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.2s ease-in-out;
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.app-shell.app-shell--tool-demo .loading-overlay.active {
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.app-shell.app-shell--tool-demo .rotate-center {
    animation: tmdRotateCenter 1.6s ease-in-out infinite both;
    transform-origin: center;
}

.app-shell.app-shell--tool-demo .tracking-in-expand {
    animation: tmdTrackingInExpand 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

.app-shell.app-shell--tool-demo .mud-collapse-container,
.app-shell.app-shell--tool-demo .mud-collapse-entering {
    animation-duration: 0.2s !important;
}

.app-shell.app-shell--tool-demo .fade-in {
    animation: tmdFadeIn 0.2s ease-in-out;
}

.app-shell.app-shell--tool-demo .slide-down {
    animation: tmdSlideDown 0.2s ease-in-out;
}

.app-shell.app-shell--tool-demo .hover-scale {
    transition: transform 0.3s ease-in-out;
}

.app-shell.app-shell--tool-demo .hover-scale:hover {
    transform: scale(1.05);
}

.app-shell.app-shell--tool-demo .mark-for-delete {
    border-color: red !important;
    animation: tmdPulseRed 2s infinite, tmdSubtleShake 0.3s;
}

.app-shell.app-shell--tool-demo .mark-for-insert {
    border-color: lawngreen !important;
    animation: tmdFadeIn 0.2s ease-in-out, tmdSlideDown 0.2s ease-in-out, tmdPulseGreen 2s infinite;
}

.app-shell.app-shell--tool-demo .interactive-icon {
    margin: 0.3rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.app-shell.app-shell--tool-demo .interactive-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.app-shell.app-shell--tool-demo .interactive-button {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    cursor: pointer;
}

.app-shell.app-shell--tool-demo .interactive-button:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.app-shell.app-shell--tool-demo .mud-table-toolbar {
    align-items: center;
    min-height: 62px;
    padding: 10px 16px 6px;
}

.app-shell.app-shell--tool-demo .tmd-table-toolbar {
    display: grid;
    grid-template-columns: max-content minmax(280px, 1fr) max-content;
    align-items: center;
    column-gap: 24px;
    width: 100%;
    min-width: 0;
}

.app-shell.app-shell--tool-demo .tmd-toolbar-add {
    align-self: center;
    justify-self: start;
    margin-left: 0 !important;
    white-space: nowrap;
}

.app-shell.app-shell--tool-demo .tmd-toolbar-search {
    width: 100%;
    min-width: 0;
}

.app-shell.app-shell--tool-demo .tmd-toolbar-search .mud-input-control {
    margin-top: 0;
    margin-bottom: 0;
}

.app-shell.app-shell--tool-demo .tmd-toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: max-content;
}

.app-shell.app-shell--tool-demo .tmd-toolbar-actions .interactive-button {
    margin-left: 0;
}

.app-shell.app-shell--tool-demo .tmd-cancel-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.app-shell.app-shell--tool-demo .tmd-cancel-confirmation {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 100;
    border: 3px solid #ddd;
    border-radius: 15px;
}

.app-shell.app-shell--tool-demo .scrollButton,
.app-shell.app-shell--tool-demo .scrollAddFamily {
    position: static;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.app-shell.app-shell--tool-demo .scrollButton.pop,
.app-shell.app-shell--tool-demo .scrollAddFamily.pop {
    animation: tmdPopEffect 0.3s ease-in-out;
}

.app-shell.app-shell--tool-demo .scrollConfirmation {
    z-index: 1000;
    transition: position 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.app-shell.app-shell--tool-demo .pop-up-animation {
    animation: tmdPopup 0.2s ease-out forwards;
}

.app-shell.app-shell--tool-demo .hover-container {
    position: relative;
}

.app-shell.app-shell--tool-demo .details-container {
    position: relative;
    z-index: 20;
    overflow: visible;
}

.app-shell.app-shell--tool-demo .details-container.tmd-details-open {
    z-index: 260;
}

.app-shell.app-shell--tool-demo .details-text {
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.app-shell.app-shell--tool-demo .tmd-details-button,
.app-shell.app-shell--tool-demo .tmd-phone-details-button {
    min-width: 88px;
    margin: 0 !important;
    transform: translateY(0) scale(1);
    transform-origin: center;
    transition: transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
    will-change: transform;
}

.app-shell.app-shell--tool-demo .tmd-details-button:hover,
.app-shell.app-shell--tool-demo .tmd-phone-details-button:hover {
    transform: translateY(-1px) scale(1.025);
    box-shadow: 0 4px 10px rgba(var(--yakoru-brand-gold-rgb), 0.24);
}

.app-shell.app-shell--tool-demo .tmd-details-button:active,
.app-shell.app-shell--tool-demo .tmd-phone-details-button:active {
    transform: translateY(0) scale(0.97);
    transition-duration: 0.07s;
}

.app-shell.app-shell--tool-demo .hover-text {
    cursor: pointer;
}

.app-shell.app-shell--tool-demo .hidden-text {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transform-origin: center left;
    transition: visibility 0.2s ease-in-out;
    z-index: 999;
    background: white;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.app-shell.app-shell--tool-demo .assembly-list-item {
    list-style: none;
    padding-top: 0;
    padding-bottom: 0;
}

.app-shell.app-shell--tool-demo .tmd-cascade-list {
    --tmd-cascade-step: clamp(2.75rem, 3.2vw, 4rem);
    margin: 0;
    padding: 0 !important;
}

.app-shell.app-shell--tool-demo .tmd-assembly-list {
    width: calc(100% + 42px);
}

.app-shell.app-shell--tool-demo .tmd-view-mode .tmd-assembly-list {
    width: 100%;
}

.app-shell.app-shell--tool-demo .tmd-view-mode .tmd-part-list {
    --tmd-cascade-step: clamp(2.25rem, 2.6vw, 3rem);
    width: 100%;
}

.app-shell.app-shell--tool-demo .tmd-view-mode {
    container-type: inline-size;
}

.app-shell.app-shell--tool-demo .tmd-cascade-item {
    list-style: none;
    box-sizing: border-box;
    padding: 0;
}

.app-shell.app-shell--tool-demo .tmd-assembly-item,
.app-shell.app-shell--tool-demo .tmd-part-item {
    width: calc(100% - var(--tmd-cascade-step));
    margin-left: var(--tmd-cascade-step);
}

.app-shell.app-shell--tool-demo .part-list-item {
    list-style: none;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
}

.app-shell.app-shell--tool-demo .tmd-view-mode .part-list-item {
    margin-bottom: 0.35rem;
    padding: 0.1rem 0.25rem 0.25rem;
    border-bottom: 0;
}

.app-shell.app-shell--tool-demo .no-negative-margin {
    margin-left: 0 !important;
}

.app-shell.app-shell--tool-demo .tmd-view-row.mud-grid {
    --tmd-name-column: clamp(220px, calc(59cqw - 215px), 710px);
    --tmd-status-column: clamp(104px, 10cqw, 128px);
    display: grid !important;
    column-gap: clamp(12px, 1.2cqw, 20px);
    align-items: center;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.app-shell.app-shell--tool-demo .tmd-kit-view-row.mud-grid {
    grid-template-columns: minmax(0, var(--tmd-name-column)) minmax(0, 1fr);
    padding-left: clamp(60px, 4.4cqw, 72px) !important;
    padding-right: clamp(48px, 4.8cqw, 80px) !important;
    position: relative;
}

.app-shell.app-shell--tool-demo .tmd-kit-panel {
    position: relative;
}

.app-shell.app-shell--tool-demo .tmd-kit-panel:has(.tmd-summary-trigger:hover),
.app-shell.app-shell--tool-demo .tmd-kit-panel:has(.tmd-summary-popup:hover) {
    z-index: 60;
}

.app-shell.app-shell--tool-demo .tmd-assembly-view-row.mud-grid {
    grid-template-columns: minmax(0, var(--tmd-name-column)) minmax(0, 1fr) var(--tmd-status-column);
}

.app-shell.app-shell--tool-demo .tmd-part-view-row.mud-grid {
    grid-template-columns: minmax(0, var(--tmd-name-column)) minmax(0, 1fr);
}

.app-shell.app-shell--tool-demo .tmd-view-row > .mud-grid-item {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    padding: 0 !important;
}

.app-shell.app-shell--tool-demo .tmd-assembly-view-row > .mud-grid-item:nth-child(2):last-child {
    grid-column: span 2;
}

.app-shell.app-shell--tool-demo .tmd-view-summary {
    display: flex;
    position: absolute;
    left: 0;
    top: 50%;
    width: 48px;
    transform: translateY(-50%);
    justify-content: center;
    align-items: center;
    z-index: 20;
}

.app-shell.app-shell--tool-demo .tmd-view-summary .hover-container {
    width: 44px !important;
    margin-top: 0 !important;
}

.app-shell.app-shell--tool-demo .tmd-view-summary .tmd-summary-trigger {
    overflow: visible;
}

.app-shell.app-shell--tool-demo .tmd-summary-popup {
    position: absolute;
    left: calc(100% + 14px) !important;
    top: 50%;
    z-index: 1000;
    width: min(680px, calc(100vw - 48px));
    width: clamp(320px, 58cqw, 680px);
    max-width: calc(100vw - 48px);
    margin-top: 0 !important;
    padding: 12px !important;
    background: #fefefe;
    border: 2px solid #ccc !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14) !important;
    transform: translateY(-50%) scale(0.96);
    transform-origin: center left;
    cursor: default;
}

.app-shell.app-shell--tool-demo .tmd-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 12px;
    align-items: start;
    min-width: 0;
}

.app-shell.app-shell--tool-demo .tmd-summary-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 14px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.app-shell.app-shell--tool-demo .tmd-summary-card-header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px 14px;
    align-items: start;
}

.app-shell.app-shell--tool-demo .tmd-summary-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
    min-width: 0;
}

.app-shell.app-shell--tool-demo .tmd-summary-meta--article {
    justify-content: flex-start;
}

.app-shell.app-shell--tool-demo .tmd-summary-label {
    flex: 0 0 auto;
    color: #333;
    font-weight: 700;
    white-space: nowrap;
}

.app-shell.app-shell--tool-demo .tmd-summary-value {
    min-width: 0;
    color: #555;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.app-shell.app-shell--tool-demo .tmd-summary-meta--article .tmd-summary-value {
    white-space: normal;
}

.app-shell.app-shell--tool-demo .tmd-summary-parts-count {
    margin: 10px 0 6px;
    color: #007bff;
    font-weight: 700;
}

.app-shell.app-shell--tool-demo .tmd-summary-parts-list {
    gap: 8px;
}

.app-shell.app-shell--tool-demo .tmd-summary-part-grid.mud-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(96px, 0.8fr);
    gap: 8px;
    width: 100%;
    margin: 0;
}

.app-shell.app-shell--tool-demo .tmd-summary-part-grid > .mud-grid-item {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    padding: 0 !important;
}

.app-shell.app-shell--tool-demo .tmd-summary-part-pill {
    display: block;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fafafa;
    color: #444;
    overflow-wrap: anywhere;
}

.app-shell.app-shell--tool-demo .tmd-view-field .mud-input-control {
    margin-top: 0;
    margin-bottom: 0;
}

.app-shell.app-shell--tool-demo .tmd-view-count {
    color: #C5C4C4;
    display: block;
    margin-top: 2px;
    margin-bottom: 0;
    padding-right: 2px;
    font-size: 0.75rem;
    line-height: 1;
}

.app-shell.app-shell--tool-demo .tmd-view-status {
    padding-right: 8px !important;
}

.app-shell.app-shell--tool-demo .tmd-edit-row.mud-grid {
    display: grid !important;
    grid-template-columns: 132px minmax(280px, 1.1fr) minmax(260px, 1fr) 132px;
    column-gap: 24px;
    align-items: center;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.app-shell.app-shell--tool-demo .tmd-part-edit-row.mud-grid {
    padding-right: 16px;
}

.app-shell.app-shell--tool-demo .tmd-edit-row > .mud-grid-item {
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
}

.app-shell.app-shell--tool-demo .tmd-edit-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.app-shell.app-shell--tool-demo .tmd-edit-actions .interactive-icon {
    margin: 0;
}

.app-shell.app-shell--tool-demo .tmd-edit-actions .mud-tooltip-root {
    display: inline-flex;
    align-items: center;
}

.app-shell.app-shell--tool-demo .tmd-edit-field {
    min-width: 0;
    margin-left: 0 !important;
}

.app-shell.app-shell--tool-demo .tmd-edit-details {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    justify-self: stretch;
    min-width: 132px;
    margin-top: 0 !important;
    position: relative;
    z-index: 30;
}

.app-shell.app-shell--tool-demo .tmd-edit-details .mud-button-root {
    min-width: 88px;
    position: relative;
    z-index: 31;
}

.app-shell.app-shell--tool-demo .tmd-edit-details-popup {
    width: min(760px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
    padding: 12px 14px;
    border: 3px solid #ddd;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.14);
}

.app-shell.app-shell--tool-demo .tmd-edit-details-popup--compact {
    width: min(520px, calc(100vw - 48px));
}

.app-shell.app-shell--tool-demo .tmd-edit-details-popup .mud-input-control {
    margin-top: 0;
}

.app-shell.app-shell--tool-demo .mud-icon-root.mud-svg-icon.mud-expand-panel-icon {
    fill: rgb(var(--yakoru-brand-gold-rgb)) !important;
    color: rgb(var(--yakoru-brand-gold-rgb)) !important;
}

.app-shell.app-shell--tool-demo .hover-container:hover .hidden-text {
    opacity: 1;
    visibility: visible;
    transform: translateY(50px) scale(0);
    animation: tmdHoverPopup 0.3s cubic-bezier(0.27, 0.53, 0.28, 1.23) forwards;
}

.app-shell.app-shell--tool-demo .tmd-view-summary .hover-container:hover .tmd-summary-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(0.96);
    animation: tmdSummaryPopup 0.22s cubic-bezier(0.27, 0.53, 0.28, 1.23) forwards;
}

.app-shell.app-shell--tool-demo .hidden-details,
.app-shell.app-shell--tool-demo .hidden-details-family {
    position: absolute;
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    scale: 1;
    background: #fff;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: tmdDetailsPopoverIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 250;
    will-change: opacity, translate, scale;
}

.app-shell.app-shell--tool-demo .hidden-details {
    top: calc(100% + 8px);
    right: 0 !important;
    transform: none !important;
    transform-origin: top right;
}

.app-shell.app-shell--tool-demo .hidden-details-family {
    top: calc(100% + 8px);
    left: 0 !important;
    transform: none !important;
    transform-origin: top left;
}

@media (max-width: 760px) {
    .app-shell.app-shell--tool-demo .tmd-edit-row.mud-grid {
        display: flex !important;
        flex-wrap: wrap;
        gap: 12px;
    }

    .app-shell.app-shell--tool-demo .tmd-part-edit-row.mud-grid {
        padding-right: 0;
    }

    .app-shell.app-shell--tool-demo .tmd-cascade-list {
        --tmd-cascade-step: 1.25rem;
    }

    .app-shell.app-shell--tool-demo .tmd-assembly-list {
        width: 100%;
    }

    .app-shell.app-shell--tool-demo .tmd-view-mode .tmd-part-list {
        width: 100%;
    }

    .app-shell.app-shell--tool-demo .tmd-view-row.mud-grid {
        display: flex !important;
        flex-wrap: wrap;
        gap: 12px;
    }

    .app-shell.app-shell--tool-demo .tmd-kit-view-row.mud-grid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .app-shell.app-shell--tool-demo .tmd-view-row > .mud-grid-item {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        min-width: 0;
    }

    .app-shell.app-shell--tool-demo .tmd-view-summary {
        position: static;
        width: 100%;
        transform: none;
        justify-content: flex-start;
    }

    .app-shell.app-shell--tool-demo .tmd-summary-popup {
        position: static;
        width: 100%;
        max-width: 100%;
        margin-top: 8px !important;
        transform: none;
    }

    .app-shell.app-shell--tool-demo .tmd-summary-grid {
        grid-template-columns: 1fr;
    }

    .app-shell.app-shell--tool-demo .tmd-edit-row > .mud-grid-item:first-child,
    .app-shell.app-shell--tool-demo .tmd-edit-actions,
    .app-shell.app-shell--tool-demo .tmd-edit-field,
    .app-shell.app-shell--tool-demo .tmd-edit-details {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        min-width: 0;
        justify-content: flex-start;
    }
}

@keyframes tmdFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes tmdRotateCenter {
    0% {
        transform: rotate(0);
        transform-origin: center;
    }

    100% {
        transform: rotate(360deg);
        transform-origin: center;
    }
}

@keyframes tmdTrackingInExpand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

@keyframes tmdSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tmdPulseRed {
    0% {
        box-shadow: 0 0 5px red;
    }

    50% {
        box-shadow: 0 0 10px red;
    }

    100% {
        box-shadow: 0 0 5px red;
    }
}

@keyframes tmdPulseGreen {
    0% {
        box-shadow: 0 0 3px green;
    }

    50% {
        box-shadow: 0 0 3px green;
    }

    100% {
        box-shadow: 0 0 3px green;
    }
}

@keyframes tmdSubtleShake {
    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-2px);
    }

    75% {
        transform: translateX(2px);
    }
}

@keyframes tmdPopEffect {
    0% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(1.1, 0.9);
    }

    100% {
        transform: scale(1, 1);
    }
}

@keyframes tmdPopup {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    80% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes tmdHoverPopup {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes tmdSummaryPopup {
    0% {
        opacity: 0;
        transform: translateY(calc(-50% + 20px)) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

@keyframes tmdDetailsPopup {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes tmdDetailsPopoverIn {
    0% {
        opacity: 0;
        translate: 0 -7px;
        scale: 0.985;
    }

    100% {
        opacity: 1;
        translate: 0 0;
        scale: 1;
    }
}

@keyframes tmdDetailsFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.topbar {
    position: absolute;
    display: flex;
    left: 1px;
    right: 1px;
    z-index: 10;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0) 100% );
    backdrop-filter: blur(12px);
    mask-image: linear-gradient( to bottom, black 0%, black 60%, transparent 100% );
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}


.topbar-inner {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto; /* brand | centered nav | profile */
    align-items: center;
    padding: 10px 18px; /* optional */
    box-sizing: border-box;
}

.brand {
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: white;
    white-space: nowrap;
}

/* This makes the center nav truly centered regardless of left/right width */
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    padding: 8px 10px;
    border-radius: 10px;
}

    .nav-link:hover {
        color: #fff;
        background: rgba(255,255,255,0.08);
    }

    /* Blazor adds .active to NavLink when it matches */
    .nav-link.active {
        color: #fff;
        background: rgba(255,255,255,0.14);
    }

.nav-right {
    margin-left: auto; /* pushes this container to the far right */
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 40px; /* helps keep center stable */
    justify-content: flex-end;
}

.content {
    flex: 1;
    
    
}





/*REGISTER*/
/* Shared look with Login */
.auth-page {
    min-height: 100vh;
    background: #11151a;
    position: relative;
    overflow: hidden;
    color: var(--text);
}

.auth-bg {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(closest-side at 18% 20%, rgba(var(--yakoru-brand-gold-rgb),0.16), transparent 62%),
        radial-gradient(closest-side at 82% 28%, rgba(var(--yakoru-brand-gold-rgb), 0.075), transparent 60%),
        linear-gradient(135deg, rgba(var(--yakoru-brand-gold-rgb), 0.035), rgba(var(--yakoru-brand-gold-rgb),0.04) 46%, transparent 72%);
    filter: blur(4px);
    opacity: 0.95;
    pointer-events: none;
}

.auth-shell {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px 18px;
}

.auth-card {
    width: min(520px, 96vw);
    border-radius: 20px;
    border: 1px solid rgba(226,232,235,0.3);
    background:
        var(--panel-gradient),
        var(--surface);
    box-shadow: 0 28px 92px rgba(0,0,0,0.46), inset 0 1px 0 rgba(255,255,255,0.065);
    backdrop-filter: blur(16px);
    padding: 22px 22px 18px;
}

.auth-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(226,232,235,0.24);
}

.brand-mark {
    width: 59px;
    height: 44px;
    border-radius: 0;
    display: block;
    object-fit: contain;
    padding: 0;
    border: 0;
    background: transparent;
    filter: drop-shadow(0 12px 34px rgba(var(--yakoru-brand-gold-rgb),0.14));
}

.brand-lockup {
    display: block;
    width: 118px;
    height: 33px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,0.22));
    transition: filter .18s ease, transform .18s ease;
}

.auth-brand:hover .brand-lockup,
.login-brand:hover .brand-lockup {
    filter: var(--yakoru-logo-hover-filter) drop-shadow(0 10px 22px rgba(var(--yakoru-brand-gold-rgb), 0.24));
    transform: translateY(-1px);
}

.brand-sub {
    color: rgba(214,224,230,0.72);
    font-size: 13px;
    margin-top: 2px;
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 520px) {
    .grid2 {
        grid-template-columns: 1fr;
    }
}

.field {
    margin-top: 14px;
}

label {
    display: block;
    color: rgba(238,243,246,0.88);
    font-size: 13px;
    margin-bottom: 8px;
}

.input {
    width: 100%;
    border-radius: 13px;
    border: 1px solid rgba(226,232,235,0.28);
    background: rgba(18,23,29,0.86);
    color: rgba(249,251,252,0.94);
    padding: 12px 12px;
    outline: none;
    box-sizing: border-box;
}

    .input:focus {
        border-color: rgba(var(--yakoru-brand-gold-rgb), 0.48);
        box-shadow: 0 0 0 3px rgba(var(--yakoru-brand-gold-rgb), 0.18), inset 0 0 0 1px rgba(var(--yakoru-brand-gold-rgb),0.16);
        background: rgba(25,31,38,0.94);
    }

.password-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.ghost-btn {
    border-radius: 13px;
    border: 1px solid rgba(var(--yakoru-brand-gold-rgb), 0.26);
    background: rgba(var(--yakoru-brand-gold-rgb), 0.075);
    color: rgba(224,241,250,0.9);
    padding: 10px 12px;
    cursor: pointer;
}

    .ghost-btn:hover {
        border-color: rgba(var(--yakoru-brand-gold-rgb), 0.4);
        background: rgba(var(--yakoru-brand-gold-rgb), 0.16);
    }

.row {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.check {
    position: relative; /* ✅ anchor the absolute native input */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    color: rgba(230,236,236,0.82);
    font-size: 13px;
    line-height: 1.2;
}

/* ✅ hide native checkbox but keep it focusable/accessibility-friendly */
.checkNative {
    position: absolute;
    inset: 0 auto auto 0; /* top-left of label */
    width: 16px;
    height: 16px;
    margin: 0;
    opacity: 0;
    appearance: none;
    -webkit-appearance: none;
}

/* visible custom box */
.checkCustom {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    border: 1px solid rgba(226,232,235,0.34);
    background: rgba(18,23,29,0.86);
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    box-shadow: 0 0 0 3px rgba(0,0,0,0);
}

    .checkCustom::after {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 2px;
        background: rgba(var(--yakoru-brand-gold-rgb),0.95);
        transform: scale(0);
        transition: transform 140ms ease;
    }

.checkNative:checked + .checkCustom::after {
    transform: scale(1);
}

.checkNative:focus-visible + .checkCustom {
    border-color: rgba(var(--yakoru-brand-gold-rgb), 0.54);
    box-shadow: 0 0 0 3px rgba(var(--yakoru-brand-gold-rgb), 0.18);
}

.checkText {
    transform: translateY(1px);
}


.link {
    color: rgba(var(--yakoru-brand-gold-rgb),0.94);
    text-decoration: none;
    font-size: 13px;
}

    .link:hover {
        text-decoration: underline;
    }

.primary-btn {
    width: 100%;
    margin-top: 16px;
    border-radius: 14px;
    border: 1px solid rgba(var(--yakoru-brand-gold-rgb),0.64);
    background: linear-gradient(135deg, var(--yakoru-brand-gold), var(--yakoru-brand-gold) 54%, var(--yakoru-brand-gold-deep));
    color: rgba(15,17,14,0.96);
    padding: 12px 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
}

    .primary-btn:hover {
        border-color: rgba(255,229,166,0.8);
        background: linear-gradient(135deg, #ffdf8a, var(--yakoru-brand-gold) 54%, var(--yakoru-brand-gold-deep));
    }

    .primary-btn:disabled {
        opacity: 0.55;
        cursor: not-allowed;
    }

.footer {
    margin-top: 14px;
    text-align: center;
    color: rgba(202,210,214,0.62);
    font-size: 12px;
}

.val-summary {
    color: rgba(255,120,120,0.95);
    font-size: 13px;
    margin-top: 10px;
}

.val {
    color: rgba(255,120,120,0.95);
    font-size: 12px;
    margin-top: 6px;
    display: block;
}

.status {
    margin-top: 14px;
    border: 1px solid rgba(var(--yakoru-brand-gold-rgb), 0.22);
    border-radius: 13px;
    padding: 12px;
    color: rgba(224,241,250,0.88);
    background: rgba(var(--yakoru-brand-gold-rgb), 0.075);
}




/* --- Modern layout tweaks --- */
.heroRow.modern {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: start;
}

/* On smaller screens, stack */
@media (max-width: 920px) {
    .heroRow.modern {
        grid-template-columns: 1fr;
    }
}

/* --- Info panel: not a “card”, more like a crisp panel --- */
.infoPanel {
    background: rgba(10,12,16,0.55); /* not pure black */
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 18px 18px 14px;
    backdrop-filter: saturate(120%);
}

.infoSpec {
    background: rgba(10,12,16,0.55); /* not pure black */
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.infoPanelHeader {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 12px;
}

.infoTitle {
    font-weight: 650;
    letter-spacing: 0.2px;
}

.infoHint {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.60);
}

/* Definition list “spec” look */
.specList {
    margin: 0;
    padding: 0;
}

.specRow {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px;
    padding: 10px 0;
}

    .specRow + .specRow {
        border-top: 1px solid rgba(255,255,255,0.06);
    }

    .specRow dt {
        margin: 0;
        font-size: 0.85rem;
        color: rgba(255,255,255,0.60);
        text-transform: none;
        letter-spacing: 0.2px;
    }

    .specRow dd {
        margin: 0;
        font-weight: 520;
        color: rgba(255,255,255,0.92);
        line-height: 1.35;
    }

@media (max-width: 520px) {
    .specRow {
        grid-template-columns: 1fr;
        gap: 6px;
    }

        .specRow dt {
            font-size: 0.8rem;
        }
}

/* --- Section header modernization --- */
.section-header.modern {
    margin-top: 44px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
}

    .section-header.modern .section-rule {
        height: 1px;
        background: rgba(255,255,255,0.10);
    }

/* --- Why Yakoru: “features” instead of “cards” --- */
.featureGrid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 22px;
}

@media (max-width: 920px) {
    .featureGrid {
        grid-template-columns: 1fr;
    }
}

.feature {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    border-radius: 14px;
    padding: 14px 16px;
}

.featureHead {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.featureIcon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

.featureTitle {
    font-weight: 650;
    letter-spacing: 0.2px;
}

.featureText {
    color: rgba(255,255,255,0.72);
    line-height: 1.5;
    max-width: 60ch;
}

/* Optional: make everything feel less “soft” */
.hero-home .btn {
    border-radius: 12px;
}

@media (max-width: 980px) {
    input,
    textarea,
    select,
    .input {
        font-size: 16px;
    }

    .btn,
    .lpBtn,
    .primary-btn,
    .secondary-btn,
    .ghost-btn {
        min-height: 44px;
    }
}

@media (max-width: 640px) {
    .auth-page {
        min-height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .auth-shell {
        min-height: auto;
        place-items: start center;
        padding: 94px 14px 26px;
    }

    .auth-bg {
        inset: 0;
    }

    .auth-card {
        width: 100%;
        border-radius: 18px;
        padding: 18px 16px 16px;
    }

    .auth-brand {
        gap: 10px;
    }

    .password-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .row,
    .footer {
        align-items: flex-start;
        line-height: 1.4;
    }

    .check {
        min-height: 44px;
    }

    .checkNative {
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .link {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}
