
:root {
    --bg: #050505;
    --bg-soft: #0a0a0a;
    --surface: #0d0d0d;
    --surface-2: #111111;

    --text: #f4f4f4;
    --muted: #8b8b8b;
    --dim: #555555;

    --line: #1d1d1d;
    --line-light: #2a2a2a;

    --white: #ffffff;

    cursor: cell;

    --max-width: 1280px;
    --nav-height: 82px;

    --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}

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

button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}


/* NAVIGATION */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: var(--nav-height);

    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5%;

    background: rgba(5, 5, 5, .72);
    border-bottom: 1px solid rgba(255,255,255,.06);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    font-weight: 700;
}

.brand-mark {
    font-size: 19px;
    letter-spacing: .08em;
}

.brand-text {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    position: relative;

    color: var(--muted);

    font-size: 13px;
    font-weight: 500;

    transition:
        color .25s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--white);

    transition:
        width .3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--line-light);
    background: var(--surface);

    cursor: pointer;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 17px;
    height: 1px;
    background: var(--white);

    transition:
        transform .25s ease,
        opacity .25s ease;
}


/* COMMON */

.section {
    position: relative;

    max-width: var(--max-width);

    margin: 0 auto;

    padding:
        150px
        5%;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 80px;

    color: var(--muted);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .2em;
    text-transform: uppercase;
}

.section-label span {
    color: var(--white);
    font-family: monospace;
}

.kicker {
    color: var(--muted);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .18em;
    text-transform: uppercase;
}

.section-heading h2,
.about-section h2,
.v8-intro h2,
.evolution-intro h2,
.roadmap-intro h2,
.ysh-one-heading h2 {
    margin-top: 14px;

    font-size: clamp(42px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 700;
}

em {
    font-style: normal;
    color: #777;
}

.button {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 22px;

    border: 1px solid var(--line-light);

    font-size: 13px;
    font-weight: 700;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--white);
    color: #050505;
    border-color: var(--white);
}

.button-primary:hover {
    background: transparent;
    color: var(--white);
}

.button-secondary {
    background: transparent;
    color: var(--white);
}

.button-secondary:hover {
    background: var(--white);
    color: #050505;
}


/* HERO SECTION  */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    text-align: center;

    transform: translateY(8px);
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    mask-image:
        radial-gradient(
            ellipse at center,
            black 10%,
            transparent 72%
        );

    opacity: .45;
}

.hero::before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    border-radius: 50%;

    background: #ffffff;

    filter: blur(180px);

    opacity: .035;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(900px, 90%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 12px;

    border: 1px solid var(--line-light);

    color: var(--muted);

    font-family: monospace;
    font-size: 10px;

    letter-spacing: .13em;
}

.status-mark::before {
    content: ">";
    font-family: monospace;
}

.hero h1 {
    margin-top: 35px;

    font-size: clamp(120px, 25vw, 310px);

    line-height: .68;

    letter-spacing: -.12em;

    font-weight: 900;
}

.hero h1 span {
    color: #666;
}

.hero-title {
    margin-top: 65px;

    font-size: 25px;
    font-weight: 600;

    letter-spacing: -.02em;
}

.hero-description {
    margin: 12px auto 0;

    max-width: 500px;

    color: var(--muted);

    font-size: 16px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 10px;

    margin-top: 32px;
}

.hero-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 40px;
}

.hero-meta span {
    padding: 6px 9px;

    border: 1px solid var(--line);

    color: var(--dim);

    font-family: monospace;
    font-size: 9px;

    letter-spacing: .15em;
}

.hero-scroll {
    position: absolute;

    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--dim);

    font-family: monospace;
    font-size: 9px;

    letter-spacing: .15em;
}


/* ABOUT */

.about-section {
    border-bottom: 1px solid var(--line);
}

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, .9fr)
        minmax(0, 1.1fr);

    gap: 100px;
}

.about-copy {
    max-width: 620px;

    color: var(--muted);

    font-size: 15px;
}

.about-copy p + p {
    margin-top: 22px;
}

.about-copy .large-copy {
    color: var(--text);

    font-size: 29px;
    line-height: 1.25;

    letter-spacing: -.025em;
}

.about-stats {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    /* grid-template-columns: repeat(4, 1fr); */
    grid-template-columns: repeat(2, 1fr);

    margin-top: 55px;

    border-top: 1px solid var(--line);
}

.about-stats div {
    padding: 24px 15px 0 0;
}

.about-stats strong {
    display: block;

    color: var(--text);

    font-family: monospace;
    font-size: 16px;
}

.about-stats span {
    color: var(--dim);

    font-size: 11px;
}


/* V8 */

.v8-section {
    border-bottom: 1px solid var(--line);
}

.v8-intro,
.evolution-intro,
.roadmap-intro {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(0, .9fr);

    gap: 100px;

    align-items: end;
}

.v8-intro > p,
.evolution-intro > p,
.roadmap-intro > p {
    max-width: 500px;

    color: var(--muted);

    font-size: 15px;
}

.v8-feature-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    margin-top: 90px;

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.v8-feature {
    position: relative;

    min-height: 260px;

    padding: 38px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    transition:
        background .35s ease;
}

.v8-feature:hover {
    background: var(--surface);
}

.v8-feature-large {
    grid-column: span 2;

    min-height: 300px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-number {
    color: var(--dim);

    font-family: monospace;
    font-size: 12px;
}

.v8-feature h3 {
    margin-top: 35px;

    font-size: 26px;
    letter-spacing: -.035em;
}

.v8-feature p {
    max-width: 500px;

    margin-top: 10px;

    color: var(--muted);

    font-size: 14px;
}

.v8-feature strong {
    color: var(--text);
}

.feature-tag {
    align-self: flex-end;

    color: var(--dim);

    font-family: monospace;
    font-size: 9px;

    letter-spacing: .15em;
}

.v8-statement {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 70px;

    padding-top: 25px;

    border-top: 1px solid var(--line);

    font-family: monospace;
    font-size: 11px;
}

.v8-statement span {
    color: var(--white);
}

.v8-statement p {
    color: var(--dim);
}


/* SHOWCASE */

.showcase-section {
    border-bottom: 1px solid var(--line);
}

.showcase-heading {
    max-width: 700px;

    margin-bottom: 110px;
}

.showcase-heading > p:last-child {
    margin-top: 25px;

    color: var(--muted);

    font-size: 15px;
}

.showcase-feature {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(260px, .6fr);

    gap: 70px;

    align-items: center;

    margin-bottom: 150px;
}

.showcase-reverse {
    grid-template-columns:
        minmax(260px, .6fr)
        minmax(0, 1.4fr);
}

.showcase-reverse .showcase-image {
    order: 2;
}

.showcase-reverse .showcase-info {
    order: 1;
}

.showcase-image {
    overflow: hidden;

    background: #090909;

    border: 1px solid var(--line);

    box-shadow:
        0 30px 80px rgba(0,0,0,.4);
}

.showcase-image img {
    width: 100%;
    height: auto;

    transition:
        transform .7s var(--ease);
}

.showcase-image:hover img {
    transform: scale(1.025);
}

.showcase-info {
    max-width: 360px;
}

.showcase-index {
    color: var(--dim);

    font-family: monospace;
    font-size: 10px;

    letter-spacing: .15em;
}

.showcase-info h3 {
    margin-top: 18px;

    font-size: clamp(32px, 4vw, 52px);

    line-height: 1;

    letter-spacing: -.05em;
}

.showcase-info p {
    margin-top: 22px;

    color: var(--muted);

    font-size: 14px;
}

.showcase-group {
    margin: 160px 0;
}

.developer-showcase {
    margin-top: 40px;
}

.showcase-group-heading {
    margin-bottom: 40px;
}

.showcase-group-heading span {
    color: var(--dim);

    font-family: monospace;
    font-size: 10px;

    letter-spacing: .15em;
}

.showcase-group-heading h3 {
    margin-top: 12px;

    font-size: 42px;

    line-height: 1;

    letter-spacing: -.045em;
}

.showcase-group-heading p {
    max-width: 520px;

    margin-top: 15px;

    color: var(--muted);

    font-size: 14px;
}

.image-grid {
    display: grid;

    gap: 15px;
}

.image-grid-three {
    grid-template-columns: repeat(3, 1fr);
}

.image-grid-two {
    grid-template-columns: repeat(2, 1fr);
}

.image-grid figure,
.theme-grid figure {
    overflow: hidden;

    margin: 0;

    background: #090909;

    border: 1px solid var(--line);
}

.image-grid img {
    width: 100%;
    height: auto;

    transition:
        transform .5s var(--ease);
}

.image-grid figure:hover img {
    transform: scale(1.025);
}

figcaption {
    padding: 14px 16px;

    border-top: 1px solid var(--line);

    color: var(--muted);

    font-family: monospace;
    font-size: 10px;

    letter-spacing: .05em;
}

.theme-section {
    margin-top: 160px;
}

.theme-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.theme-grid figure {
    transition:
        transform .3s ease,
        border-color .3s ease;
}

.theme-grid figure:hover {
    transform: translateY(-4px);

    border-color: var(--line-light);
}

.theme-grid img {
    width: 100%;
    height: auto;
}


/* EVOLUTION SECTION */

.evolution-section {
    border-bottom: 1px solid var(--line);
}

.timeline {
    margin-top: 100px;

    border-top: 1px solid var(--line);
}

.timeline-item {
    position: relative;

    display: grid;

    grid-template-columns: 100px 1fr auto;

    gap: 30px;

    align-items: start;

    padding: 38px 0;

    border-bottom: 1px solid var(--line);

    transition:
        padding .35s ease;
}

.timeline-item:hover {
    padding-left: 12px;
}

.timeline-number {
    color: var(--dim);

    font-family: monospace;
    font-size: 12px;
}

.timeline-label {
    color: var(--dim);

    font-family: monospace;
    font-size: 9px;

    letter-spacing: .15em;
}

.timeline-item h3 {
    margin-top: 8px;

    font-size: 30px;

    letter-spacing: -.035em;
}

.timeline-item p {
    max-width: 560px;

    margin-top: 5px;

    color: var(--muted);

    font-size: 13px;
}

.timeline-current h3 {
    color: var(--white);
}

.current-badge {
    padding: 6px 9px;

    border: 1px solid var(--line-light);

    color: var(--white);

    font-family: monospace;
    font-size: 9px;

    letter-spacing: .15em;
}

.github-history {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-top: 55px;

    padding: 25px 0;

    border-top: 1px solid var(--line);

    color: var(--muted);

    font-size: 13px;
}

.github-history > div {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.github-history a {
    padding: 9px 12px;

    border: 1px solid var(--line);

    color: var(--text);

    font-family: monospace;
    font-size: 10px;

    transition:
        background .25s ease,
        color .25s ease;
}

.github-history a:hover {
    background: var(--white);
    color: #050505;
}


/* ROADMAP */

.roadmap-section {
    border-bottom: 1px solid var(--line);
}

.roadmap-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    margin-top: 100px;

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.roadmap-card {
    min-height: 320px;

    padding: 38px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    transition:
        background .3s ease;
}

.roadmap-card:hover {
    background: var(--surface);
}

.roadmap-card > span {
    color: var(--dim);

    font-family: monospace;
    font-size: 11px;
}

.roadmap-card h3 {
    margin-top: 35px;

    font-size: 28px;

    letter-spacing: -.04em;
}

.roadmap-card ul {
    display: flex;
    flex-direction: column;
    gap: 7px;

    margin-top: 20px;

    list-style: none;

    color: var(--muted);

    font-size: 13px;
}

.roadmap-card li::before {
    content: "— ";

    color: var(--dim);
}

.roadmap-card code {
    color: var(--text);

    font-family: monospace;
}

.roadmap-card-featured {
    position: relative;
}

.roadmap-secret {
    position: absolute;

    right: 35px;
    bottom: 30px;

    color: var(--dim);

    font-family: monospace;
    font-size: 9px;

    letter-spacing: .08em;
}


/* YSH ONE */

.ysh-one-section {
    border-bottom: 1px solid var(--line);
}

.ysh-one-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 110px;
}

.ysh-one-copy {
    color: var(--muted);

    font-size: 15px;
}

.ysh-one-copy > p + p {
    margin-top: 20px;
}

.ysh-one-copy .large-copy {
    color: var(--white);

    font-size: 28px;

    line-height: 1.2;
}

.hardware-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    margin-top: 55px;

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.hardware-grid div {
    min-height: 120px;

    padding: 20px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.hardware-grid span {
    display: block;

    color: var(--dim);

    font-family: monospace;
    font-size: 9px;

    letter-spacing: .12em;
}

.hardware-grid strong {
    display: block;

    margin-top: 10px;

    color: var(--text);

    font-size: 14px;
}

.ysh-one-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 100px;

    padding-top: 25px;

    border-top: 1px solid var(--line);
}

.ysh-one-footer span {
    color: var(--white);

    font-family: monospace;
    font-size: 11px;
}

.ysh-one-footer p {
    color: var(--dim);

    font-size: 13px;
}

.final-section {
    min-height: 70vh;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 120px 5%;

    border-bottom: 1px solid var(--line);
}

.final-buttons {
    display: flex;
    gap: 12px;
    
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.final-section h2 {
    margin-top: 18px;

    font-size: clamp(60px, 10vw, 130px);

    line-height: .9;

    letter-spacing: -.07em;
}

.final-section > p:not(.kicker) {
    max-width: 500px;

    margin: 25px auto 35px;

    color: var(--muted);
}

.final-section > .button {
    margin: 8px 0;
}


/* FOOTER */

.footer {
    max-width: var(--max-width);

    margin: 0 auto;

    padding: 70px 5% 35px;
}

.footer-top {
    display: flex;

    justify-content: space-between;

    gap: 50px;

    padding-bottom: 50px;

    border-bottom: 1px solid var(--line);
}

.footer-brand {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.footer-top p {
    color: var(--dim);

    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

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

    font-size: 12px;

    transition: color .2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding-top: 30px;
}

.footer-bottom > p {
    color: var(--dim);

    font-size: 11px;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icons a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--line);

    color: var(--muted);

    font-size: 14px;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.social-icons a:hover {
    color: #050505;

    background: var(--white);

    border-color: var(--white);
}


/* REVEAL */

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity .8s var(--ease),
        transform .8s var(--ease);
}

.reveal-visible {
    opacity: 1;

    transform: translateY(0);
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .nav-links {
        position: absolute;

        top: var(--nav-height);
        left: 0;

        width: 100%;

        display: none;
        flex-direction: column;
        align-items: flex-start;

        padding: 20px 5% 25px;

        background: rgba(5,5,5,.96);

        border-bottom: 1px solid var(--line);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        width: 100%;

        padding: 10px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .about-grid,
    .v8-intro,
    .evolution-intro,
    .roadmap-intro,
    .ysh-one-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .showcase-feature,
    .showcase-reverse {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .showcase-reverse .showcase-image,
    .showcase-reverse .showcase-info {
        order: initial;
    }

    .showcase-info {
        max-width: 650px;
    }

    .theme-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 650px) {

    :root {
        --nav-height: 70px;
    }

    .navbar {
        height: var(--nav-height);

        padding: 0 6%;
    }

    .brand-text {
        display: none;
    }

    .section {
        padding:
            100px
            6%;
    }

    .section-label {
        margin-bottom: 55px;
    }

    .hero {
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 110px;

        letter-spacing: -.1em;
    }

    .hero-title {
        margin-top: 50px;

        font-size: 21px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;

        width: 100%;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-stats div {
        padding:
            20px 0;

        border-bottom: 1px solid var(--line);
    }

    .v8-feature-grid,
    .roadmap-grid {
        grid-template-columns: 1fr;
    }

    .v8-feature-large {
        grid-column: auto;
    }

    .v8-feature {
        min-height: 220px;

        padding: 28px;
    }

    .v8-statement,
    .github-history,
    .ysh-one-footer,
    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .showcase-feature {
        margin-bottom: 100px;
    }

    .showcase-group {
        margin: 100px 0;
    }

    .image-grid-three,
    .image-grid-two {
        grid-template-columns: 1fr;
    }

    .theme-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-item {
        grid-template-columns: 45px 1fr;

        gap: 15px;
    }

    .current-badge {
        grid-column: 2;

        width: max-content;
    }

    .hardware-grid {
        grid-template-columns: 1fr;
    }

    .final-section {
        min-height: 60vh;
    }

    .footer {
        padding-left: 6%;
        padding-right: 6%;
    }
}

/* POLISH */

.eyebrow {
    transform: translateY(10px);
}

.section-label {
    position: relative;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.section-label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 70px;
    height: 1px;
    background: var(--white);
}

.v8-feature-large {
    min-height: 300px;
}

.developer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    gap: 15px;
}

.developer-media,
.achievement-media {
    overflow: hidden;
    background: #090909;
    border: 1px solid var(--line);
}

.developer-media {
    display: flex;
    flex-direction: column;
}

.developer-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.achievement-media {
    align-self: start;
}

.achievement-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.developer-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
}

.developer-caption span {
    color: var(--muted);
    font-family: monospace;
    font-size: 10px;
    letter-spacing: .12em;
}

.developer-caption small {
    color: var(--dim);
    font-size: 10px;
}

.command-explorer {
    margin-top: 15px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.command-explorer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 22px;
}

.command-explorer-header span {
    color: var(--white);
    font-family: monospace;
    font-size: 10px;
    letter-spacing: .15em;
}

.command-explorer-header p {
    margin-top: 5px;
    color: var(--dim);
    font-size: 12px;
}

.command-open {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border: 1px solid var(--line-light);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-family: monospace;
    font-size: 10px;
    transition:
        background .25s ease,
        color .25s ease;
}

.command-open:hover {
    background: var(--white);
    color: #050505;
}

.generation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 100px;
}

.generation-card {
    overflow: hidden;
    background: #090909;
    border: 1px solid var(--line);
    transition:
        border-color .3s ease,
        transform .3s ease;
}

.generation-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-light);
}

.generation-card-link:first-child {
    grid-column: 1 / -1;
}

.generation-card-link:last-child {
    grid-column: 1 / -1;
}

.generation-card-link:first-child .generation-image,
.generation-card-link:last-child .generation-image {
    aspect-ratio: auto;
}

.generation-card-link:first-child .generation-image img,
.generation-card-link:last-child .generation-image img {
    height: auto;
    object-fit: contain;
}

/* MAYBE */
.generation-current {
    grid-column: auto !important;
}

/* =========================================
   EVOLUTION GRID — FINAL
   ========================================= */

.generation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.generation-card-link {
    display: block;
    min-width: 0;
}

.generation-current {
    grid-column: auto !important;
}

.generation-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #080808;
}

.generation-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* MAYBE */

.generation-image {
    overflow: hidden;
    background: #080808;
}

.generation-image img {
    width: 100%;
    height: auto;
    transition: transform .6s var(--ease);
}

.generation-card:hover .generation-image img {
    transform: scale(1.02);
}

.generation-info {
    position: relative;
    display: grid;
    grid-template-columns: 55px 1fr auto;
    gap: 20px;
    align-items: start;
    padding: 22px;
    border-top: 1px solid var(--line);
}

.generation-info > span {
    color: var(--dim);
    font-family: monospace;
    font-size: 12px;
}

.generation-info small {
    color: var(--dim);
    font-family: monospace;
    font-size: 9px;
    letter-spacing: .15em;
}

.generation-info h3 {
    margin-top: 6px;
    font-size: 25px;
    letter-spacing: -.035em;
}

.generation-info p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
}

.generation-info b {
    padding: 5px 8px;
    border: 1px solid var(--line-light);
    color: var(--white);
    font-family: monospace;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .12em;
}

.generation-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.generation-card {
    cursor: pointer;
}

.late-night {
    overflow: hidden;
    margin: 0;
    background: #090909;
    border: 1px solid var(--line);
}

.late-night img {
    width: 100%;
    height: auto;
}

.command-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.command-modal.open {
    display: flex;
}

.command-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.command-modal-window {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: min(720px, 85vh);
    overflow: hidden;
    background: #080808;
    border: 1px solid var(--line-light);
    box-shadow: 0 40px 100px rgba(0,0,0,.65);
}

.command-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px;
    border-bottom: 1px solid var(--line);
}

.command-modal-header span {
    color: var(--white);
    font-family: monospace;
    font-size: 11px;
    letter-spacing: .15em;
}

.command-modal-header p {
    margin-top: 5px;
    color: var(--dim);
    font-size: 12px;
}

.command-close {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition:
        background .2s ease,
        color .2s ease;
}

.command-close:hover {
    background: var(--white);
    color: #050505;
}

.command-list {
    max-height: calc(min(720px, 85vh) - 90px);
    overflow-y: auto;
    padding: 10px;
}

.command-list div {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    padding: 13px 14px;
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.command-list div:hover {
    background: var(--surface);
}

.command-list code {
    color: var(--white);
    font-family: monospace;
    font-size: 12px;
}

.command-list span {
    color: var(--muted);
    font-size: 12px;
}

.footer-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 35px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.footer-actions a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-family: monospace;
    font-size: 10px;
    letter-spacing: .08em;
    transition:
        background .25s ease,
        color .25s ease;
}

.footer-actions a:hover {
    background: var(--white);
    color: #050505;
}

@media (max-width: 900px) {

    .developer-layout {
        grid-template-columns: 1fr;
    }

    .generation-grid {
        grid-template-columns: 1fr;
    }

    .generation-current {
        grid-column: auto;
    }

    .footer-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {

    .eyebrow {
        transform: translateY(6px);
    }

    .command-modal {
        padding: 15px;
    }

    .command-list div {
        grid-template-columns: 120px 1fr;
        gap: 12px;
    }

    .command-explorer-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .generation-info {
        grid-template-columns: 40px 1fr;
    }

    .generation-info b {
        grid-column: 2;
        width: max-content;
    }

    .developer-caption {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

/* =========================================
   TRY YSH — Browser Demo
   ========================================= */

.hero {
    display: block;
    min-height: auto;
    padding:
        calc(var(--nav-height) + 90px)
        5%
        100px;
    overflow: hidden;
}

.hero-grid {
    pointer-events: none;
}

.hero::before {
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 5;
    width: min(900px, 100%);
    margin: 0 auto;
    text-align: center;
}

.hero-scroll {
    z-index: 10;
    pointer-events: auto;
}

.try-ysh {
    position: relative;
    z-index: 5;

    width: min(1050px, 100%);
    margin: 90px auto 0;

    text-align: left;
}

.try-ysh-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 24px;
}

.try-ysh-label {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .18em;
}

.try-ysh-header h2 {
    margin: 0;

    color: var(--text);

    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;

    letter-spacing: -.035em;
}

.try-ysh-status {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--muted);

    font-family: monospace;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: .14em;

    white-space: nowrap;
}

.try-ysh-status span {
    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 0 10px rgba(255,255,255,.55);
}

.try-ysh-terminal {
    position: relative;

    overflow: hidden;

    border: 1px solid var(--line-light);

    background: #030303;

    box-shadow:
        0 30px 90px rgba(0,0,0,.45);
}

.try-ysh-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 46px;

    padding: 0 18px;

    border-bottom: 1px solid var(--line);

    color: var(--dim);

    font-family: monospace;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: .14em;

    user-select: none;
}

.try-ysh-dots {
    display: flex;
    gap: 6px;
}

.try-ysh-dots span {
    width: 7px;
    height: 7px;

    border: 1px solid var(--dim);
    border-radius: 50%;
}

.try-ysh-output {
    height: 360px;

    overflow-y: auto;
    overflow-x: hidden;

    padding: 24px;

    color: var(--muted);

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-size: 14px;
    line-height: 1.7;

    scrollbar-width: thin;

    scrollbar-color:
        var(--line-light)
        transparent;
}

.try-ysh-output::-webkit-scrollbar {
    width: 8px;
}

.try-ysh-output::-webkit-scrollbar-track {
    background: transparent;
}

.try-ysh-output::-webkit-scrollbar-thumb {
    background: var(--line-light);
}

.try-ysh-output div {
    min-height: 1.7em;

    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.try-ysh-output strong {
    color: var(--text);
    font-weight: 700;
}

.try-ysh-command {
    color: var(--text);
}

.try-ysh-success {
    color: var(--text);
}

.try-ysh-error {
    color: #999;
}

.try-ysh-muted {
    color: var(--dim);
}

.try-ysh-form {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 58px;

    padding:
        0 24px;

    border-top: 1px solid var(--line);

    background: #050505;
}

.try-ysh-prompt {
    flex-shrink: 0;

    color: var(--text);

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-size: 14px;
    font-weight: 700;
}

.try-ysh-input {
    width: 100%;
    min-width: 0;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text);

    caret-color: var(--white);

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-size: 14px;
    line-height: 1.5;

    appearance: none;
}

.try-ysh-input:focus {
    outline: none;
    box-shadow: none;
}

.try-ysh-input::selection {
    background: rgba(255,255,255,.18);
}

.try-ysh-note {
    margin: 14px 0 0;

    color: var(--dim);

    font-size: 11px;

    letter-spacing: .03em;
}


/* =========================================
   TRY YSH — Responsive
   ========================================= */

@media (max-width: 900px) {

    .hero {
        padding-left: 6%;
        padding-right: 6%;
    }

    .try-ysh {
        margin-top: 70px;
    }

}

@media (max-width: 650px) {

    .hero {
        padding:
            calc(var(--nav-height) + 65px)
            6%
            80px;
    }

    .try-ysh {
        margin-top: 60px;
    }

    .try-ysh-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .try-ysh-header h2 {
        font-size: 28px;
    }

    .try-ysh-output {
        height: 320px;

        padding: 18px;

        font-size: 13px;
    }

    .try-ysh-form {
        min-height: 54px;

        padding:
            0 18px;
    }

    .try-ysh-note {
        line-height: 1.5;
    }

}
