.design-page {
    background: #f6f8fb;
    color: #1f2d3d;
    opacity: 1;
}

.design-page .container {
    max-width: 1320px;
}

.design-nav-logo {
    text-decoration: none;
}

.dl-hero {
    margin-top: 70px;
    min-height: 520px;
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #0d0d0d;
    color: #ffffff;
}

.dl-hero-scene {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 900ms ease;
}

.dl-hero-scene.is-active {
    opacity: 1;
}

.dl-hero-scene.nullv {
    background:
        linear-gradient(135deg, rgba(13, 13, 13, 0.9), rgba(21, 21, 21, 0.78)),
        linear-gradient(to right, rgba(255, 102, 0, 0.28) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 102, 0, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, #0d0d0d, #151515);
    background-size: auto, 32px 32px, 32px 32px, auto;
}

.dl-hero-scene.nullv::before {
    content: "";
    position: absolute;
    inset: 12% 8% auto auto;
    width: min(420px, 46vw);
    height: 230px;
    border: 1px solid rgba(255, 102, 0, 0.72);
    background:
        linear-gradient(90deg, transparent 0 62%, rgba(255, 102, 0, 0.26) 62% 100%),
        linear-gradient(#cc0000, #cc0000) 24px 34px / 150px 8px no-repeat,
        linear-gradient(#ff6600, #ff6600) 24px 66px / 250px 2px no-repeat,
        linear-gradient(#ff6600, #ff6600) 24px 98px / 190px 2px no-repeat;
}

.dl-hero-scene.nullv::after {
    content: "RECEIVING\A VECTOR LOCK\A 03.218\A DETECTING";
    white-space: pre;
    position: absolute;
    right: 12%;
    bottom: 13%;
    width: min(340px, 38vw);
    min-height: 150px;
    padding: 18px;
    border: 1px solid rgba(255, 102, 0, 0.86);
    border-left: 8px solid #cc0000;
    background:
        linear-gradient(90deg, rgba(255, 102, 0, 0.16), transparent 46%),
        #151515;
    color: #ff6600;
    font-family: "DotGothic16", monospace;
    font-size: clamp(0.9rem, 1.4vw, 1.2rem);
    line-height: 1.8;
    letter-spacing: 0.06em;
}

.dl-hero-scene.sky {
    background:
        linear-gradient(135deg, rgba(39, 72, 111, 0.58), rgba(247, 251, 255, 0.18)),
        radial-gradient(circle at 76% 25%, rgba(168, 140, 255, 0.44), transparent 26%),
        radial-gradient(circle at 18% 74%, rgba(87, 216, 183, 0.34), transparent 30%),
        linear-gradient(135deg, #f7fbff, #ddf4ff 48%, #5cb8ff);
}

.dl-hero-scene.sky::before,
.dl-hero-scene.sky::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(207, 230, 250, 0.9);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 48px rgba(68, 126, 180, 0.2);
}

.dl-hero-scene.sky::before {
    width: min(430px, 46vw);
    height: 210px;
    right: 9%;
    top: 17%;
}

.dl-hero-scene.sky::after {
    width: min(260px, 32vw);
    height: 120px;
    right: 24%;
    bottom: 17%;
}

.dl-hero-scene.sky .sky-hero-card {
    display: none;
}

.dl-hero-scene.sky {
    overflow: hidden;
}

.dl-hero-scene.sky {
    --sky-line: rgba(45, 95, 154, 0.14);
}

.dl-hero-scene.sky::before {
    background:
        linear-gradient(#5cb8ff, #5cb8ff) 28px 34px / 170px 8px no-repeat,
        linear-gradient(#57d8b7, #57d8b7) 28px 74px / 78% 12px no-repeat,
        linear-gradient(#ddf4ff, #ddf4ff) 28px 108px / 64% 12px no-repeat,
        linear-gradient(#a88cff, #a88cff) 28px 142px / 48% 12px no-repeat,
        rgba(255, 255, 255, 0.58);
}

.dl-hero-scene.sky::after {
    background:
        radial-gradient(circle at 24px 24px, #ff6fa8 0 9px, transparent 10px),
        linear-gradient(#2d5f9a, #2d5f9a) 54px 20px / 120px 7px no-repeat,
        linear-gradient(#cfe6fa, #cfe6fa) 24px 58px / 76% 8px no-repeat,
        linear-gradient(#57d8b7, #57d8b7) 24px 82px / 58% 8px no-repeat,
        rgba(255, 255, 255, 0.62);
}

.dl-hero-scene.memori {
    background:
        linear-gradient(135deg, rgba(24, 50, 74, 0.66), rgba(29, 91, 158, 0.24)),
        linear-gradient(90deg, #d1ccbc, #e8e3d5 42%, #dde4cb);
}

.dl-hero-scene.memori::before {
    content: "";
    position: absolute;
    right: 8%;
    top: 12%;
    width: min(480px, 48vw);
    aspect-ratio: 4 / 3;
    border: 22px solid #e8e3d5;
    outline: 4px solid #b7b29f;
    background:
        linear-gradient(#1d5b9e, #1d5b9e) 0 0 / 100% 54px no-repeat,
        linear-gradient(to right, rgba(24, 50, 74, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(24, 50, 74, 0.08) 1px, transparent 1px),
        #dde4cb;
    background-size: 100% 54px, 16px 16px, 16px 16px, auto;
}

.dl-hero-scene.memori::after {
    content: "";
    position: absolute;
    right: 13%;
    bottom: 13%;
    width: min(390px, 42vw);
    height: 150px;
    background:
        linear-gradient(#1d5b9e, #1d5b9e) 0 0 / 46% 62px no-repeat,
        linear-gradient(#1d5b9e, #1d5b9e) 54% 0 / 46% 62px no-repeat,
        linear-gradient(#1d5b9e, #1d5b9e) 0 88px / 46% 62px no-repeat,
        linear-gradient(#b13d37, #b13d37) 54% 88px / 46% 62px no-repeat;
    border: 14px solid #e8e3d5;
    outline: 3px solid #b7b29f;
}

.dl-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(13, 13, 13, 0.86), rgba(13, 13, 13, 0.42) 56%, rgba(13, 13, 13, 0.16)),
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.12), transparent 22%);
}

.dl-hero-inner {
    position: relative;
    z-index: 2;
}

.dl-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #5cb8ff;
    margin-bottom: 14px;
}

.dl-hero h1 {
    max-width: 820px;
    font-size: 3.2rem;
    line-height: 1.18;
    margin-bottom: 22px;
}

.dl-lead {
    max-width: 720px;
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.86);
}

.dl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.dl-primary-link,
.dl-secondary-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
}

.dl-primary-link {
    background: #5cb8ff;
    color: #0d2238;
}

.dl-secondary-link {
    border: 1px solid rgba(255, 255, 255, 0.62);
    color: #ffffff;
}

.dl-section {
    padding: 82px 0;
}

.dl-section-head {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.dl-section-head h2 {
    font-size: 2.35rem;
    margin-bottom: 14px;
    color: #23384d;
}

.dl-section-head p:last-child {
    color: #61758a;
}

.dl-language-switcher {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.dl-switch {
    min-height: 78px;
    border: 1px solid #dce6ef;
    background: #ffffff;
    color: #23384d;
    border-radius: 8px;
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
}

.dl-switch span,
.dl-switch small {
    display: block;
}

.dl-switch span {
    font-weight: 800;
    margin-bottom: 4px;
}

.dl-switch small {
    color: #6f8397;
}

.dl-switch.is-active {
    border-color: #5cb8ff;
    background: #edf8ff;
}

.dl-focus-panel {
    display: none;
    grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
    gap: 40px;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #dce6ef;
    border-radius: 8px;
    padding: 30px;
}

.dl-focus-panel.is-active {
    display: grid;
}

.dl-focus-copy h3 {
    font-size: 2rem;
    line-height: 1.35;
    margin-bottom: 16px;
    color: #23384d;
}

.dl-focus-copy p {
    color: #53687d;
    line-height: 1.9;
}

.dl-feature-list {
    list-style: none;
    margin-top: 22px;
}

.dl-feature-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    color: #435a70;
}

.dl-feature-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    background: #5cb8ff;
    position: absolute;
    left: 0;
    top: 0.72em;
}

.dl-preview {
    width: 100%;
    min-height: 340px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    overflow: hidden;
}

.sky-preview {
    padding: 28px;
    background:
        linear-gradient(145deg, rgba(221, 244, 255, 0.92), rgba(247, 251, 255, 0.9)),
        radial-gradient(circle at 82% 18%, rgba(168, 140, 255, 0.2), transparent 34%),
        radial-gradient(circle at 16% 82%, rgba(87, 216, 183, 0.18), transparent 30%);
}

.sky-dashboard {
    width: min(520px, 100%);
    padding: 24px;
    border: 1px solid #cfe6fa;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 251, 255, 0.76));
    box-shadow: 0 14px 36px rgba(68, 126, 180, 0.18);
    backdrop-filter: blur(10px);
}

.sky-card-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    color: #27486f;
}

.sky-card-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-weight: 800;
}

.sky-card-head strong {
    flex: 0 0 auto;
    font-size: 2.35rem;
    line-height: 1;
    color: #2d5f9a;
}

.sky-meter {
    height: 10px;
    margin: 22px 0;
    border-radius: 999px;
    background: #ddf4ff;
    overflow: hidden;
}

.sky-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5cb8ff, #57d8b7);
}

.sky-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.sky-metric-grid div {
    min-height: 74px;
    padding: 14px;
    border: 1px solid rgba(207, 230, 250, 0.82);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.58);
}

.sky-metric-grid small,
.sky-metric-grid strong {
    display: block;
}

.sky-metric-grid small {
    color: #6f8397;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.sky-metric-grid strong {
    color: #27486f;
    font-size: 1.15rem;
}

.sky-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sky-chip-row span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f7fbff;
    color: #2d5f9a;
    font-size: 0.8rem;
    font-weight: 700;
}

.sky-choice {
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    border: 0;
    border-radius: 12px;
    padding: 12px 18px;
    background: #2d5f9a;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(45, 95, 154, 0.22);
}

.sky-choice:hover {
    background: #244f80;
}

.memori-preview {
    background: #d1ccbc;
}

.memori-machine-mini {
    width: min(500px, 92%);
    padding: 22px;
    background: #e8e3d5;
    border: 4px solid #b7b29f;
    font-family: "DotGothic16", "MS Gothic", monospace;
    color: #18324a;
}

.memori-header-mini {
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
    background: #1d5b9e;
    color: #f7f6e8;
    border-bottom: 3px solid #124273;
}

.memori-message {
    margin: 0;
    padding: 28px 16px;
    background: #dde4cb;
    border-left: 4px solid #58655d;
    border-right: 4px solid #58655d;
    text-align: center;
    font-size: 1.35rem;
    line-height: 1.55;
}

.memori-key-grid-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 14px;
    background: #dde4cb;
    border: 4px solid #58655d;
    border-top: 0;
}

.memori-key-mini {
    min-height: 54px;
    border: 3px solid #1d5b9e;
    border-radius: 2px;
    background: #d7e6f4;
    color: #18324a;
    font: inherit;
    cursor: pointer;
}

.memori-key-mini:active,
.memori-key-mini.is-selected {
    background: #1d5b9e;
    color: #f7f6e8;
}

.memori-cancel-mini {
    border-color: #b13d37;
    background: #f2d2c9;
    color: #b13d37;
}

.nullv-preview {
    background-color: #0d0d0d;
    background-image:
        linear-gradient(to right, #333333 1px, transparent 1px),
        linear-gradient(to bottom, #333333 1px, transparent 1px);
    background-size: 24px 24px;
}

.nullv-frame {
    width: min(470px, 92%);
    background: #151515;
    border: 1px solid #333333;
    color: #ff6600;
    font-family: "DotGothic16", monospace;
    padding: 16px;
}

.nullv-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ff6600;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.nullv-readout {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 18px;
    min-height: 110px;
}

.nullv-readout p {
    margin: 0;
    color: #00cc33;
}

.nullv-readout strong {
    font-size: 2.6rem;
    color: #ff6600;
}

.nullv-button {
    width: 100%;
    min-height: 44px;
    margin-top: 12px;
    border: 1px solid #ff6600;
    background: #151515;
    color: #ff6600;
    font: inherit;
    cursor: pointer;
}

.nullv-button:hover,
.nullv-button.is-active {
    background: #ff6600;
    color: #0d0d0d;
}

@keyframes nullv-blink-step {
    0%, 49.9% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

.nullv-blink {
    color: #cc0000;
    animation: nullv-blink-step 0.2s step-end infinite;
}

.dl-token-section {
    background: #ffffff;
}

.token-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.token-card {
    border: 1px solid #dce6ef;
    border-radius: 8px;
    padding: 22px;
    background: #f8fbfd;
}

.token-card h3 {
    margin-bottom: 16px;
    color: #23384d;
}

.swatches {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.swatches button {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #dce6ef;
    border-radius: 6px;
    background: #ffffff;
    color: #23384d;
    font-weight: 700;
    cursor: pointer;
}

.swatches button::before {
    content: "";
    width: 24px;
    height: 24px;
    margin-left: 8px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: var(--swatch);
}

.token-card p {
    color: #61758a;
}

.copy-status {
    min-height: 24px;
    margin-top: 16px;
    text-align: center;
    color: #2d5f9a;
    font-weight: 700;
}

.dl-comparison {
    background: #f6f8fb;
}

.comparison-table {
    border: 1px solid #dce6ef;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.comparison-row {
    display: grid;
    grid-template-columns: 0.8fr 1.3fr 1.4fr 1.2fr;
}

.comparison-row > div {
    padding: 16px;
    border-bottom: 1px solid #dce6ef;
    color: #435a70;
}

.comparison-row > div + div {
    border-left: 1px solid #dce6ef;
}

.comparison-row:last-child > div {
    border-bottom: 0;
}

.comparison-head > div {
    background: #23384d;
    color: #ffffff;
    font-weight: 800;
}

@media screen and (max-width: 1100px) {
    .dl-focus-panel {
        grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
        gap: 28px;
    }
}

@media screen and (max-width: 900px) {
    .dl-language-switcher,
    .dl-focus-panel,
    .token-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-head {
        display: none;
    }

    .comparison-row > div + div {
        border-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .dl-hero {
        margin-top: 60px;
        min-height: 500px;
    }

    .dl-hero h1 {
        font-size: 2.1rem;
    }

    .dl-section {
        padding: 58px 0;
    }

    .dl-section-head h2,
    .dl-focus-copy h3 {
        font-size: 1.75rem;
    }

    .dl-focus-panel {
        padding: 20px;
    }

    .sky-preview {
        padding: 18px;
    }

    .sky-dashboard {
        padding: 18px;
    }

    .sky-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .sky-metric-grid {
        grid-template-columns: 1fr;
    }
}
