/* Copyright 2026, GenieTerm. Apache-2.0. */
@font-face {
    font-family: Inter;
    src: url(fonts/inter-latin.woff2) format("woff2");
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: Hack;
    src: url(fonts/hack-regular.woff2) format("woff2");
    font-weight: 400;
    font-display: swap;
}
:root {
    --bg: #101010;
    --panel: #161616;
    --ink: #eeede9;
    --muted: #999995;
    --line: #30302e;
    --accent: #dfdcd1;
    --mono: Hack, ui-monospace, monospace;
    --sans: Inter, system-ui, sans-serif;
}
* {
    box-sizing: border-box;
}
html {
    scroll-padding-top: 24px;
    color-scheme: dark;
}
body {
    margin: 0;
    color: var(--ink);
    font: 14px/1.6 var(--sans);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: #fff;
}
button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}
a,
button {
    touch-action: manipulation;
}
button:disabled {
    cursor: default;
}
h1,
h2,
h3,
p {
    margin: 0;
}
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
[hidden] {
    display: none !important;
}
::selection {
    background: var(--accent);
    color: var(--bg);
}
.wrap {
    width: min(1180px, calc(100% - 80px));
    margin-inline: auto;
}
.site-header {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand h1 {
    font-size: 24px;
    font-weight: 550;
    letter-spacing: -0.7px;
}
.site-header nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 12px;
    color: var(--muted);
}
.github-action {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
}
.github-action svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}
.nav-download {
    padding: 9px 16px;
    border: 1px solid #62625e;
    color: var(--ink);
}
.nav-download:hover {
    background: var(--ink);
    color: var(--bg);
}
.launchpad {
    padding-top: 14px;
}
.launch-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}
.launch-heading p {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.4px;
}
.launch-heading > span {
    font-size: 11px;
    color: var(--muted);
}
.film-shell {
    background: #080909;
}
.film-poster {
    display: block;
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.film-poster video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.film-play {
    position: absolute;
    bottom: 25px;
    left: 25px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 18px;
    background: #eeede9;
    color: #181816;
    font-size: 12px;
    font-weight: 500;
    border: 0;
}
.film-play svg {
    width: 14px;
    height: 14px;
}
.film-poster:hover .film-play {
    background: #fff;
}
.interface-section {
    padding-top: 65px;
}
.section-heading {
    margin-bottom: 23px;
}
.section-heading h2 {
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -0.5px;
}
.interface-deck {
    border: 1px solid var(--line);
    background: #111;
}
.view-tabs {
    display: flex;
    border-bottom: 1px solid var(--line);
}
.view-tabs button {
    flex: 1;
    min-width: 0;
    padding: 16px 6px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    font-size: 12px;
    color: var(--muted);
}
.view-tabs button[aria-selected="true"] {
    color: var(--ink);
    border-bottom-color: var(--accent);
}
.view-tabs button:hover {
    color: #fff;
}
.ui-panel {
    padding: 24px;
}
.ui-render {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 330px;
    background: #101012;
}
.terminal-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}
.terminal-pair figure {
    margin: 0;
    min-width: 0;
}
.terminal-pair figcaption {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 12px;
}
.terminal-pair img {
    display: block;
    width: 100%;
    height: auto;
}
.live-interface {
    display: block;
    width: 100%;
    height: 760px;
    border: 0;
    background: #101012;
}
.no-js .live-interface {
    display: none;
}
.fallback-interface {
    display: block;
    width: 100%;
    height: auto;
}
.ui-render img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 680px;
    object-fit: contain;
}
.session-states {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding: 13px 24px;
}
.session-states button {
    background: none;
    border: 1px solid var(--line);
    font-size: 11px;
    padding: 8px 12px;
}
.session-states button[aria-pressed="true"] {
    border-color: var(--accent);
    color: var(--ink);
}
.community {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-block: 50px;
    border-bottom: 1px solid var(--line);
}
.community h2 {
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -0.4px;
}
.contribution-links {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--muted);
    font-size: 12px;
}
.downloads {
    padding-block: 35px 27px;
}
.download-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}
.download-heading h2 {
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -0.4px;
}
.release-link {
    font-size: 11px;
    color: var(--muted);
}
.download-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 0.8fr;
    gap: 30px;
}
.platform h3 {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 13px;
}
.platform h3 span {
    font-size: 9px;
    color: var(--muted);
    margin-left: 5px;
}
.platform a {
    font-size: 11px;
    color: #c1c0ba;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.platform a:hover {
    color: #fff;
}
.platform:not(:first-child) {
    border-left: 1px solid var(--line);
    padding-left: 30px;
}
.download-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.platform:nth-child(2) .download-links {
    display: grid;
    grid-template-columns: 38px max-content max-content;
    gap: 9px 18px;
}
.download-links > span {
    font-size: 9px;
    color: var(--muted);
    align-self: center;
}
.download-foot {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    color: var(--muted);
    margin-top: 27px;
}
footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding-block: 24px 32px;
    font-size: 10px;
    color: var(--muted);
}
footer > div {
    display: flex;
    gap: 23px;
}
.muted {
    color: var(--line);
}
dialog {
    color: var(--ink);
    background: var(--bg);
    border: 1px solid #60605b;
    padding: 0;
    width: min(1240px, 94vw);
    max-height: 94vh;
}
dialog::backdrop {
    background: #050505eb;
    backdrop-filter: blur(8px);
}
.dialog-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
}
.dialog-top button {
    background: none;
    border: 1px solid var(--line);
    padding: 7px 12px;
    font-size: 10px;
}
.film-dialog video {
    display: block;
    width: 100%;
    max-height: 83vh;
}
.image-scroll {
    max-height: 78vh;
    overflow: auto;
    padding: 16px;
    background: #101012;
}
.image-scroll img {
    display: block;
    width: max(100%, 1000px);
    height: auto;
}
.fallback-views {
    padding: 20px 0;
    color: var(--muted);
    font-size: 11px;
}
.fallback-views a {
    text-decoration: underline;
}
.skip {
    position: fixed;
    top: 12px;
    left: 20px;
    padding: 12px;
    background: var(--accent);
    color: var(--bg);
    z-index: 100;
}
.skip:not(:focus),
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
@media (max-width: 1000px) {
    .wrap {
        width: calc(100% - 48px);
    }
    .download-grid {
        gap: 22px;
    }
    .platform:not(:first-child) {
        padding-left: 22px;
    }
    .ui-panel {
        padding: 16px;
    }
}
@media (max-width: 700px) {
    .wrap {
        width: calc(100% - 32px);
    }
    .site-header {
        height: 78px;
        gap: 12px;
    }
    .brand {
        gap: 8px;
    }
    .brand h1 {
        font-size: 20px;
    }
    .brand img {
        width: 28px;
        height: 28px;
    }
    .site-header nav {
        font-size: 10px;
        gap: 14px;
    }
    .nav-download {
        padding: 8px 10px;
    }
    .launchpad {
        padding-top: 13px;
    }
    .launch-heading {
        margin-bottom: 20px;
        gap: 14px;
    }
    .launch-heading p {
        font-size: 16px;
    }
    .launch-heading > span {
        font-size: 9px;
        max-width: 60px;
        text-align: right;
    }
    .film-play {
        bottom: 13px;
        left: 13px;
        padding: 9px 12px;
        font-size: 10px;
        gap: 8px;
    }
    .film-play svg {
        width: 12px;
        height: 12px;
    }
    .interface-section {
        padding-top: 38px;
    }
    .section-heading {
        margin-bottom: 17px;
    }
    .section-heading h2 {
        font-size: 20px;
    }
    .view-tabs button {
        font-size: 10px;
        padding: 13px 4px;
    }
    .ui-panel {
        padding: 10px;
    }
    .ui-render {
        min-height: 175px;
    }
    .ui-render img {
        max-height: none;
    }
    .terminal-pair figcaption {
        min-height: 32px;
        font-size: 10px;
    }
    .session-states {
        padding: 12px;
        gap: 8px;
    }
    .session-states button {
        font-size: 9px;
        padding: 7px 10px;
    }
    .community {
        padding-block: 32px;
        gap: 15px;
        flex-wrap: wrap;
    }
    .community h2 {
        font-size: 19px;
    }
    .contribution-links {
        gap: 18px;
        font-size: 10px;
    }
    .downloads {
        padding-top: 28px;
    }
    .download-heading h2 {
        font-size: 20px;
    }
    .download-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .platform:not(:first-child) {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 17px 0 0;
    }
    .download-foot {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 9px;
    }
    footer {
        flex-wrap: wrap;
        font-size: 9px;
        gap: 15px;
    }
    .image-scroll {
        padding: 8px;
    }
    .image-scroll img {
        width: 1000px;
    }
    .dialog-top {
        font-size: 10px;
    }
}
@media (prefers-reduced-motion: no-preference) {
    a,
    button {
        transition:
            color 0.16s,
            background-color 0.16s,
            border-color 0.16s;
    }
}
