/* videonxt.app (temporary site). Tokens: brand/tokens (videoNXT Brandbook v1.1), dark theme. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
    color-scheme: dark;
    --font-sans: Inter, system-ui, Arial, sans-serif;
    --color-canvas: #050505;
    --color-surface: #111111;
    --color-surface-raised: #1b1b1b;
    --color-text: #f5f5f5;
    --color-text-muted: #b8b8b8;
    --color-rule: #343434;
    --color-control-border: #767676;
    --color-link: #66d9ff;
    --color-focus: #66d9ff;
    --color-action: #f5f5f5;
    --color-action-text: #111111;
    --color-action-hover: #dadada;
    --brand-spectrum: linear-gradient(180deg, #00c8ee 0%, #3868ff 50%, #9347f5 100%);
    --radius-button: 4px;
    --radius-panel: 8px;
    --motion-fast: 160ms;
    --max: 1200px;
    --gutter: 24px;
    --section: 104px;
}
@media (max-width: 767px) {
    :root {
        --gutter: 20px;
        --section: 56px;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--color-canvas);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
a {
    color: var(--color-link);
    text-underline-offset: 3px;
}
:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}
h1,
h2,
h3 {
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-wrap: balance;
}
p {
    margin: 0;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    :root {
        --motion-fast: 0ms;
    }
}

.wrap {
    max-width: calc(var(--max) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.skip {
    position: absolute;
    left: 8px;
    top: -60px;
    padding: 10px 16px;
    background: var(--color-action);
    color: var(--color-action-text);
    border-radius: var(--radius-button);
    z-index: 10;
}
.skip:focus {
    top: 8px;
}
.eyebrow {
    font-size: 11px;
    line-height: 16px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.muted {
    color: var(--color-text-muted);
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--color-rule);
}
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}
.brand {
    display: block;
    padding: 8px 0;
}
.brand img {
    width: 150px;
}
.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav a:not(.btn) {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    padding: 12px 0;
}
.nav a:not(.btn):hover {
    color: var(--color-text);
}
@media (max-width: 767px) {
    .nav a:not(.btn) {
        display: none;
    }
    .brand img {
        width: 124px;
    }
}

/* Buttons: white on dark (brand primary), bordered secondary */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: var(--radius-button);
    border: 1px solid transparent;
    font: 500 15px/20px var(--font-sans);
    text-decoration: none;
    transition: background-color var(--motion-fast), border-color var(--motion-fast);
}
.btn-primary {
    background: var(--color-action);
    color: var(--color-action-text);
}
.btn-primary:hover {
    background: var(--color-action-hover);
    color: var(--color-action-text);
}
.btn-secondary {
    border-color: var(--color-control-border);
    color: var(--color-text);
}
.btn-secondary:hover {
    border-color: var(--color-text-muted);
    color: var(--color-text);
}
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

/* Hero */
.hero {
    padding: 96px 0 var(--section);
}
.hero .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: center;
}
.hero h1 {
    margin-top: 16px;
    font-size: 56px;
    line-height: 60px;
}
.hero .lead {
    margin-top: 24px;
    font-size: 18px;
    line-height: 28px;
    color: var(--color-text-muted);
    max-width: 34em;
}
.hero .note {
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text-muted);
}
@media (max-width: 1023px) {
    .hero .wrap {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}
@media (max-width: 767px) {
    .hero {
        padding-top: 56px;
    }
    .hero h1 {
        font-size: 36px;
        line-height: 40px;
    }
}

/* Product sketch (illustration, drawn in CSS) with one subtle spectrum edge */
.sketch {
    position: relative;
    margin: 0;
}
.sketch::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    border-radius: 2px;
    background: var(--brand-spectrum);
}
.frame {
    background: var(--color-surface);
    border: 1px solid var(--color-rule);
    border-radius: var(--radius-panel);
    overflow: hidden;
}
.frame-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--color-rule);
}
.dots {
    display: flex;
    gap: 6px;
}
.dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #343434;
}
.url {
    flex: 1;
    font-size: 12px;
    line-height: 16px;
    color: var(--color-text-muted);
    background: var(--color-canvas);
    border-radius: var(--radius-button);
    padding: 5px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.url b {
    color: var(--color-text);
    font-weight: 500;
}
.frame-body {
    padding: 16px;
    display: grid;
    gap: 12px;
}
.ch-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    line-height: 16px;
    color: var(--color-text-muted);
}
.ch-logo {
    width: 56px;
    height: 12px;
    border-radius: 2px;
    background: #e9c46a;
    margin-right: 6px;
}
.ch-feature {
    position: relative;
    aspect-ratio: 16 / 7;
    border-radius: var(--radius-button);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    background: linear-gradient(135deg, #3a2a1a 0%, #7a4b2a 45%, #e9c46a 100%);
}
.ch-feature::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 5, 5, 0.7), transparent 60%);
}
.ch-feature span {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
}
.ch-feature b {
    display: block;
    width: 150px;
    height: 10px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.92);
}
.ch-feature em {
    display: block;
    width: 96px;
    height: 7px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.55);
}
.ch-play {
    position: absolute;
    z-index: 1;
    right: 14px;
    bottom: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
}
.ch-play::before {
    content: '';
    margin-left: 3px;
    border-left: 10px solid #111;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}
.ch-row-title {
    width: 90px;
    height: 8px;
    border-radius: 2px;
    background: #343434;
}
.ch-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.ch-row i {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-button);
    background: var(--color-surface-raised);
}
.ch-row i:nth-child(1) {
    background: linear-gradient(135deg, #2c5f5d, #1b1b1b);
}
.ch-row i:nth-child(2) {
    background: linear-gradient(135deg, #6b3a4a, #1b1b1b);
}
.ch-row i:nth-child(3) {
    background: linear-gradient(135deg, #4a5a2a, #1b1b1b);
}
.sketch figcaption {
    margin-top: 12px;
    font-size: 12px;
    line-height: 16px;
    color: var(--color-text-muted);
}

/* Sections */
section {
    scroll-margin-top: 16px;
}
.section {
    padding: var(--section) 0;
    border-top: 1px solid var(--color-rule);
}
.section-head {
    max-width: 44em;
    margin-bottom: 48px;
}
.section-head h2 {
    margin-top: 12px;
    font-size: 32px;
    line-height: 40px;
}
.section-head p:not(.eyebrow) {
    margin-top: 16px;
    color: var(--color-text-muted);
    max-width: 40em;
}
@media (max-width: 767px) {
    .section-head h2 {
        font-size: 26px;
        line-height: 34px;
    }
    .section-head {
        margin-bottom: 32px;
    }
}

/* Manage / Launch / Build */
.routes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.route {
    background: var(--color-surface);
    border: 1px solid var(--color-rule);
    border-radius: var(--radius-panel);
    padding: 24px;
}
.route h3 {
    font-size: 22px;
    line-height: 30px;
}
.route > p {
    margin-top: 8px;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 20px;
}
.route ul {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}
.route li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--color-rule);
    font-size: 15px;
    line-height: 22px;
}
.status {
    flex: none;
    font-size: 11px;
    line-height: 16px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    border: 1px solid var(--color-rule);
    border-radius: var(--radius-button);
    padding: 2px 6px;
    white-space: nowrap;
}
.status-beta {
    color: var(--color-text);
    border-color: var(--color-control-border);
}
.legend {
    margin-top: 24px;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text-muted);
    max-width: 60em;
}
@media (max-width: 1023px) {
    .routes {
        grid-template-columns: 1fr;
    }
}

/* Audiences */
.audiences {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
}
.audiences h3 {
    margin-top: 8px;
    font-size: 22px;
    line-height: 30px;
}
.audiences p {
    margin-top: 12px;
    color: var(--color-text-muted);
}
@media (max-width: 1023px) {
    .audiences {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Story */
.story {
    max-width: 52em;
}
.story h2 {
    font-size: 32px;
    line-height: 40px;
}
.story p:not(.eyebrow) {
    margin-top: 24px;
    font-size: 18px;
    line-height: 28px;
    color: var(--color-text-muted);
}
.story .tagline {
    margin-top: 32px;
    font-size: 22px;
    line-height: 30px;
    font-weight: 500;
    color: var(--color-text);
}
@media (max-width: 767px) {
    .story h2 {
        font-size: 26px;
        line-height: 34px;
    }
}

/* Facts */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}
.facts {
    list-style: none;
    margin: 0;
    padding: 0;
}
.facts li {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--color-rule);
}
.facts li:last-child {
    border-bottom: 1px solid var(--color-rule);
}
.facts span {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 26px;
}
@media (max-width: 767px) {
    .split {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .facts li {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

/* Contact */
.contact {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 48px;
    align-items: end;
}
.contact h2 {
    font-size: 32px;
    line-height: 40px;
}
.contact p:not(.eyebrow) {
    margin-top: 16px;
    color: var(--color-text-muted);
}
.contact address {
    font-style: normal;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 22px;
}
.contact address a {
    font-size: 16px;
    font-weight: 500;
}
@media (max-width: 767px) {
    .contact {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact h2 {
        font-size: 26px;
        line-height: 34px;
    }
}

/* Legal pages */
.doc {
    padding: 80px 0 32px;
}
.doc .wrap {
    max-width: calc(720px + 2 * var(--gutter));
}
.doc h1 {
    font-size: 40px;
    line-height: 48px;
}
.doc .updated {
    margin-top: 12px;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 20px;
}
.doc h2 {
    margin: 40px 0 8px;
    font-size: 22px;
    line-height: 30px;
}
.doc p,
.doc li {
    color: #d4d4d4;
}
.doc p + p {
    margin-top: 12px;
}
.doc ul {
    margin: 12px 0 0;
    padding-left: 20px;
}
.doc li + li {
    margin-top: 6px;
}
@media (max-width: 767px) {
    .doc {
        padding-top: 48px;
    }
    .doc h1 {
        font-size: 32px;
        line-height: 40px;
    }
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--color-rule);
    padding: 40px 0 56px;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text-muted);
}
.site-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px 48px;
}
.site-footer img {
    width: 120px;
    margin-bottom: 16px;
}
.site-footer p + p {
    margin-top: 4px;
}
.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    align-items: flex-start;
}
.site-footer a {
    color: var(--color-text-muted);
}
.site-footer a:hover {
    color: var(--color-text);
}

.mt-12 {
    margin-top: 12px;
}
