@font-face {
    font-family: "DMWeb TinyFont";
    src: url("/assets/common/fonts/tinyfont.ttf") format("truetype");
    font-display: swap;
    font-style: normal;
    font-weight: 400 900;
}

:root {
    color-scheme: dark;
    --quick-bg: #06101a;
    --quick-deep: #02060d;
    --quick-panel: #06101a;
    --quick-ink: #f7fbff;
    --quick-muted: #9ab0b9;
    --quick-line: #10506b;
    --quick-cyan: #20dcff;
    --quick-yellow: #ff347d;
    --quick-header-height: 80px;
    font-family: "DMWeb TinyFont", "Courier New", ui-monospace, monospace;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 300px;
    background: var(--quick-deep);
}

body.quick-start-page {
    min-height: 100vh;
    margin: 0;
    padding-top: var(--quick-header-height);
    overflow: hidden;
    color: var(--quick-ink);
    background:
        linear-gradient(rgba(2, 7, 17, .9), rgba(2, 6, 13, .98)),
        linear-gradient(rgba(16, 80, 107, .1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 80, 107, .1) 1px, transparent 1px),
        url("/assets/common/SystemBackground.png") center / 384px repeat;
    background-size: auto, 32px 32px, 32px 32px, 384px 384px;
    image-rendering: pixelated;
}

body.quick-start-page::before {
    position: fixed;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    content: "";
    opacity: .22;
    background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .04) 3px 4px);
}

.icon-filter-white {
    filter: brightness(0) saturate(100%) invert(1);
}

a {
    color: var(--quick-cyan);
}

a:focus-visible {
    outline: 3px solid var(--quick-yellow);
    outline-offset: 3px;
}

.quick-header {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: var(--quick-header-height);
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 13px clamp(16px, 4vw, 58px);
    border-bottom: 4px solid #10506b;
    background: rgba(2, 7, 17, .97);
    box-shadow: 0 6px 0 rgba(0, 0, 0, .45);
}

.quick-brand {
    display: flex;
    min-width: 210px;
    align-items: center;
    gap: 14px;
    color: var(--quick-ink);
    text-decoration: none;
}

.quick-brand img {
    width: auto;
    max-width: 190px;
    max-height: 52px;
    height: auto;
    object-fit: contain;
    image-rendering: auto;
}

.quick-brand span {
    padding-left: 14px;
    border-left: 2px solid var(--quick-line);
    color: var(--quick-yellow);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
    display: none;
}

.site-nav a {
    padding: 8px;
    border: 2px solid transparent;
    color: var(--quick-muted);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    border-color: var(--quick-line);
    color: var(--quick-ink);
    background: #14292f;
    box-shadow: 3px 3px 0 var(--quick-deep);
}

.quick-viewport {
    position: relative;
    z-index: 1;
    width: 100%;
    height: calc(100dvh - var(--quick-header-height));
    overflow: hidden;
}

.quick-scroll {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #4f8581 #07171a;
}

.quick-scroll::-webkit-scrollbar {
    width: 12px;
}

.quick-scroll::-webkit-scrollbar-track {
    border-left: 2px solid #29494d;
    background: #07171a;
}

.quick-scroll::-webkit-scrollbar-thumb {
    border: 3px solid #07171a;
    background: #4f8581;
    box-shadow: inset 0 0 0 2px #7db4af;
}

.quick-hero {
    position: relative;
    display: grid;
    width: min(1380px, calc(100% - 48px));
    min-height: 480px;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: clamp(30px, 7vw, 100px);
    margin: 28px auto 24px;
    padding: clamp(36px, 7vw, 84px);
    overflow: hidden;
    border: 4px solid #3d6566;
    background:
        linear-gradient(90deg, rgba(6, 25, 30, .96), rgba(9, 39, 44, .7)),
        url("/assets/common/welcome/bg_room_2.png") center / cover no-repeat;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, .55);
}

.quick-hero::after {
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 330px;
    height: 250px;
    border: 22px solid rgba(88, 224, 220, .08);
    content: "";
    transform: rotate(45deg);
}

.quick-kicker {
    margin: 0 0 10px;
    color: var(--quick-cyan);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.quick-hero h1 {
    max-width: 820px;
    margin: 0;
    color: #fff2bc;
    font-size: clamp(2.5rem, 5.5vw, 4.75rem);
    line-height: .9;
    letter-spacing: -.075em;
    text-transform: uppercase;
    text-shadow: 6px 6px 0 #173b40;
}

.quick-hero-copy > p:not(.quick-kicker) {
    max-width: 720px;
    margin: 24px 0 0;
    color: #c4d5d2;
    font-family: "DMWeb TinyFont", "Courier New", monospace;
    font-size: clamp(.95rem, 1.5vw, 1.08rem);
    line-height: 1.7;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.quick-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    border: 3px solid #4b7472;
    color: #d6e7e3;
    background: #0a2024;
    box-shadow: 4px 4px 0 #020a0c;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}

.quick-button.primary {
    border-color: #ffe38b;
    color: #142026;
    background: var(--quick-yellow);
    box-shadow: 4px 4px 0 #885e16;
}

.quick-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #020a0c;
}

.quick-hero-device {
    position: relative;
    z-index: 1;
    display: grid;
    width: 280px;
    height: 300px;
    place-items: center;
    border: 6px solid var(--quick-cyan);
    background:
        linear-gradient(rgba(7, 31, 36, .68), rgba(4, 16, 19, .9)),
        url("/assets/rosters/dmc-v1/background.png") center / cover no-repeat;
    box-shadow: 10px 10px 0 #061619, inset 0 0 0 6px #21474c;
}

.quick-hero-device img {
    width: 148px;
    height: 148px;
    object-fit: contain;
    image-rendering: pixelated;
}

.quick-hero-device b {
    position: absolute;
    bottom: 20px;
    color: var(--quick-yellow);
    font-size: .68rem;
    letter-spacing: .14em;
}

.device-scanline {
    position: absolute;
    right: 18px;
    left: 18px;
    top: 36px;
    height: 3px;
    background: rgba(88, 224, 220, .65);
    box-shadow: 0 0 14px var(--quick-cyan);
}

.quick-section,
.quick-care-loop,
.quick-tip {
    width: min(1380px, calc(100% - 48px));
    margin: 24px auto;
}

.quick-section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.quick-section-title h2,
.quick-care-loop h2,
.quick-tip h2 {
    margin: 0;
    color: #fff2bc;
    font-size: clamp(1.7rem, 3vw, 2.75rem);
    line-height: .95;
    letter-spacing: -.055em;
    text-transform: uppercase;
    text-shadow: 4px 4px 0 #173b40;
}

.quick-section-title > span {
    color: #507977;
    font-size: .78rem;
}

.quick-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.quick-step {
    position: relative;
    min-height: 300px;
    padding: 20px;
    overflow: hidden;
    border: 3px solid #355c5d;
    background:
        linear-gradient(155deg, rgba(18, 54, 61, .88), rgba(5, 20, 24, .96) 62%),
        var(--step-bg) center / cover no-repeat;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .55);
}

.quick-step::after {
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 170px;
    height: 170px;
    content: "";
    opacity: .12;
    background: var(--step-mark) center / contain no-repeat;
    filter: grayscale(1) brightness(1.8);
    transform: rotate(-8deg);
}

.quick-step.monochrome-mark::after {
    filter: brightness(0) saturate(100%) invert(1);
}

.quick-step-number {
    position: absolute;
    top: 14px;
    right: 15px;
    color: #70918f;
    font-size: .68rem;
}

.quick-step-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    margin-bottom: 22px;
    border: 3px solid #4b7673;
    background: rgba(5, 20, 23, .92);
    box-shadow: 4px 4px 0 #061215;
}

.quick-step-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: pixelated;
}

.quick-step h3,
.quick-step p {
    position: relative;
    z-index: 1;
}

.quick-step h3 {
    margin: 0;
    color: #fff2bc;
    font-size: 1rem;
    line-height: 1.25;
    text-transform: uppercase;
}

.quick-step p {
    margin: 12px 0 0;
    color: #b8cbca;
    font-family: "DMWeb TinyFont", "Courier New", monospace;
    font-size: .92rem;
    line-height: 1.65;
}

.quick-care-loop {
    display: grid;
    grid-template-columns: minmax(240px, .7fr) 1.3fr;
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
    padding: clamp(28px, 5vw, 54px);
    border: 4px solid #3c6464;
    background: #0a2024;
    box-shadow: 7px 7px 0 rgba(0, 0, 0, .5);
}

.quick-care-loop > div > p:last-child,
.quick-tip > div > p:last-child {
    color: #adbfbd;
    font-family: "DMWeb TinyFont", "Courier New", monospace;
    line-height: 1.7;
}

.quick-care-loop ol {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    margin: 0;
    padding: 3px;
    background: #365d5e;
    list-style: none;
}

.quick-care-loop li {
    display: grid;
    min-height: 130px;
    place-items: center;
    padding: 16px 10px;
    background: #07181c;
    text-align: center;
}

.quick-care-loop li img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    image-rendering: pixelated;
}

.quick-care-loop li span {
    display: grid;
    gap: 6px;
}

.quick-care-loop li b {
    color: var(--quick-cyan);
    font-size: .75rem;
    text-transform: uppercase;
}

.quick-care-loop li small {
    color: #789794;
    font-size: .64rem;
}

.quick-tip {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    border: 3px solid #476f6c;
    border-left: 9px solid var(--quick-yellow);
    background:
        linear-gradient(90deg, rgba(8, 28, 33, .96), rgba(10, 42, 47, .9)),
        url("/assets/rosters/dmc-v1/background-night.png") center / cover no-repeat;
}

.quick-tip > img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    image-rendering: pixelated;
}

.quick-tip h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.quick-tip p {
    margin-bottom: 0;
}

.quick-footer {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 38px;
    padding: 22px clamp(18px, 4vw, 58px);
    border-top: 3px solid #29484c;
    color: var(--quick-muted);
    background: #050e11;
    font-size: .72rem;
}

.quick-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.quick-footer a {
    color: var(--quick-muted);
}

/* Palette shared with the trailer recording scenes. */
.quick-brand span {
    color: #ff74ad;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    border-color: #10506b;
    background: #07111c;
}

.quick-scroll {
    scrollbar-color: #20dcff #020711;
}

.quick-scroll::-webkit-scrollbar-track {
    border-color: #10506b;
    background: #020711;
}

.quick-scroll::-webkit-scrollbar-thumb {
    border-color: #020711;
    background: #20dcff;
    box-shadow: inset 0 0 0 2px #55dffc;
}

.quick-hero {
    border-color: #10506b;
    background:
        linear-gradient(90deg, rgba(2, 7, 17, .95), rgba(9, 38, 55, .72)),
        url("/assets/common/welcome/bg_room_2.png") center / cover no-repeat;
}

.quick-hero h1,
.quick-section-title h2,
.quick-care-loop h2,
.quick-tip h2,
.quick-step h3 {
    color: #f7fbff;
}

.quick-hero-device {
    border-color: #20dcff;
    background:
        linear-gradient(rgba(9, 38, 55, .7), rgba(2, 7, 17, .92)),
        url("/assets/rosters/dmc-v1/background.png") center / cover no-repeat;
    box-shadow: 10px 10px 0 #020711, inset 0 0 0 6px #102535;
}

.quick-button {
    border-color: #10506b;
    background: #06101a;
    box-shadow: 4px 4px 0 #020711;
}

.quick-button.primary {
    border-color: #ff74ad;
    color: #f7fbff;
    background: #ff347d;
    box-shadow: 4px 4px 0 #5d1235;
}

.quick-step {
    border-color: #10506b;
    background:
        linear-gradient(155deg, rgba(9, 38, 55, .84), rgba(2, 7, 17, .96) 62%),
        var(--step-bg) center / cover no-repeat;
}

.quick-step-icon {
    border-color: #20dcff;
    background: rgba(2, 7, 17, .94);
}

.quick-care-loop {
    border-color: #10506b;
    background: #06101a;
}

.quick-care-loop ol {
    background: #10506b;
}

.quick-care-loop li {
    background: #07111c;
}

.quick-tip {
    border-color: #10506b;
    border-left-color: #ff347d;
    background:
        linear-gradient(90deg, rgba(2, 7, 17, .96), rgba(41, 10, 33, .88)),
        url("/assets/rosters/dmc-v1/background-night.png") center / cover no-repeat;
}

@media (max-width: 940px) {
    body.quick-start-page {
        --quick-header-height: 124px;
    }

    .quick-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .quick-hero {
        grid-template-columns: minmax(0, 1fr) 210px;
        padding: 42px;
    }

    .quick-hero-device {
        width: 205px;
        height: 235px;
    }

    .quick-hero-device img {
        width: 110px;
        height: 110px;
    }

    .quick-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-care-loop {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body.quick-start-page {
        --quick-header-height: 142px;
    }

    .quick-header {
        padding: 12px;
    }

    .quick-brand {
        min-width: 0;
    }

    .quick-brand img {
        width: 160px;
        max-height: 52px;
    }

    .quick-brand span {
        font-size: .66rem;
    }

    .site-nav {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .site-nav a {
        white-space: nowrap;
    }

    .quick-hero,
    .quick-section,
    .quick-care-loop,
    .quick-tip {
        width: calc(100% - 20px);
    }

    .quick-hero {
        display: block;
        min-height: 0;
        margin-top: 10px;
        padding: 32px 20px;
    }

    .quick-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.25rem);
    }

    .quick-hero-device {
        width: 100%;
        height: 200px;
        margin-top: 34px;
    }

    .quick-step-grid {
        grid-template-columns: 1fr;
    }

    .quick-step {
        min-height: 270px;
    }

    .quick-care-loop {
        padding: 28px 18px;
    }

    .quick-care-loop ol {
        grid-template-columns: 1fr 1fr;
    }

    .quick-tip {
        grid-template-columns: 58px 1fr;
        padding: 20px 16px;
    }

    .quick-tip > img {
        width: 50px;
        height: 50px;
    }

    .quick-tip .quick-button {
        grid-column: 1 / -1;
    }

    .quick-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
    }
}
