@font-face {
    font-family: Inter;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: Outfit;
    src: url('../fonts/outfit-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --bg: #05050d;
    --surface: #0d0d19;
    --cyan: #00d9ff;
    --purple: #7c3aed;
    --text: #e2e8f0;
    --secondary: #94a3b8;
    --line: #252536;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.7 Inter, system-ui, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: var(--cyan); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, summary { cursor: pointer; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Outfit, system-ui, sans-serif; font-weight: 600; line-height: 1.1; }
h1 { font-size: clamp(40px, 4.8vw, 70px); letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 3.3vw, 46px); letter-spacing: -0.025em; }
h3 { font-size: 24px; letter-spacing: -0.015em; }
::selection { background: var(--cyan); color: var(--bg); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[id] { scroll-margin-top: 100px; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 96px; }
.eyebrow { color: var(--cyan); font-size: 13px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; }
.muted, .caption { color: var(--secondary); }
.caption { font-size: 14px; line-height: 1.65; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; transform: translateY(-180%); background: var(--cyan); color: var(--bg); padding: 12px 20px; border-radius: 4px; }
.skip-link:focus { transform: none; }
.site-header { z-index: 5; background: rgba(5, 5, 13, 0.96); border-bottom: 1px solid var(--line); }
.js .site-header { position: sticky; top: 0; }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: Outfit, system-ui, sans-serif; font-size: 21px; font-weight: 600; line-height: 1.15; text-decoration: none; flex-shrink: 0; }
.brand img { width: 36px; height: 36px; }
.brand span span { color: var(--cyan); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.button) { color: #b7c3d4; font-size: 14px; text-decoration: none; padding-block: 12px; }
.site-nav > a:hover { color: white; }
.button { display: inline-flex; min-height: 50px; justify-content: center; align-items: center; gap: 12px; padding: 12px 22px; border: 1px solid var(--cyan); border-radius: 6px; background: var(--cyan); color: var(--bg); font-size: 15px; font-weight: 650; line-height: 1.4; text-align: center; text-decoration: none; transition: background 150ms, border-color 150ms; }
.button:hover { background: #68e9ff; border-color: #68e9ff; color: var(--bg); }
.button-secondary { background: transparent; color: var(--text); border-color: #45455b; }
.button-secondary:hover { background: #151523; border-color: #8292ab; color: white; }
.button-small { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.button svg { width: 18px; height: 18px; flex-shrink: 0; }
.menu-toggle { display: none; min-width: 56px; min-height: 44px; border: 1px solid #45455b; border-radius: 5px; background: transparent; font-size: 14px; }
.hero { position: relative; padding-block: 64px 80px; background: radial-gradient(ellipse at 80% 32%, #10233180, transparent 48%), radial-gradient(ellipse at 56% 86%, #38167345, transparent 42%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.game-tag { display: inline-block; color: #bcefff; font-size: 13px; line-height: 1.6; border: 1px solid #184558; border-radius: 4px; padding: 6px 11px; margin-bottom: 24px; background: #0a1a24; }
.hero h1 span { color: var(--cyan); }
.hero-copy > p { margin-top: 24px; max-width: 520px; font-size: 17px; color: #b7c3d4; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.platform { color: var(--secondary); font-size: 13px; margin-top: 14px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 13px; color: #bcc9da; }
.hero-notes span::before { content: '✓'; margin-right: 8px; color: var(--cyan); }
.hero-examples { min-width: 0; }
.game-frames { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.game-frame { min-width: 0; }
.game-frame figcaption { margin-bottom: 12px; color: #d9e5f3; font: 500 16px/1.4 Outfit, system-ui, sans-serif; }
.game-frame figcaption::before { content: ''; display: inline-block; width: 16px; height: 2px; background: var(--cyan); vertical-align: middle; margin-right: 9px; }
.game-frame:last-child figcaption::before { background: #ae8aff; }
.game-frame img { width: 100%; border: 1px solid #2c4654; border-radius: 6px; background: black; object-fit: contain; box-shadow: 0 18px 55px #0007; }
.game-frame:last-child img { border-color: #483562; }
.hero-examples > .caption { margin-top: 16px; max-width: 500px; }
.demo-section { border-top: 1px solid var(--line); background: linear-gradient(180deg, #0c0c17, var(--bg)); }
.section-heading { margin-bottom: 32px; }
.section-heading .eyebrow, .feature-copy .eyebrow { margin-bottom: 16px; }
.demo-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.demo-heading > p { max-width: 315px; font-size: 15px; color: var(--secondary); }
.demo-content { max-width: 960px; margin-inline: auto; }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.demo-tabs button { min-height: 46px; padding: 10px 20px; border: 1px solid #383849; border-radius: 5px; background: transparent; color: #b7c3d4; font-size: 14px; }
.demo-tabs button[aria-selected='true'] { background: #0b2c39; border-color: #268299; color: #a9efff; }
.video-stage { position: relative; width: 100%; aspect-ratio: 16/9; min-height: 202px; overflow: hidden; border: 1px solid #343447; border-radius: 8px; background: #0c0c17; }
.video-stage > img { width: 100%; height: 100%; object-fit: contain; }
.video-stage iframe { display: block; position: absolute; inset: 0; border: 0; width: 100%; height: 100%; }
.video-play { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; justify-items: center; width: 100%; border: 0; background: #05050d35; }
.play-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--cyan); color: var(--bg); box-shadow: 0 6px 40px #000b; transition: background 150ms; }
.play-icon svg { width: 28px; height: 28px; margin-left: 4px; }
.play-label { padding: 7px 15px; color: white; background: #05050df2; border: 1px solid #434359; border-radius: 4px; font-size: 14px; }
.video-play:hover .play-icon { background: #a5f2ff; }
.video-play:focus-visible { outline-offset: -6px; }
.demo-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 14px; }
.demo-meta p { color: var(--secondary); }
.demo-meta a { flex-shrink: 0; }
.video-privacy { margin-top: 12px; font-size: 14px; color: var(--secondary); }
.video-privacy a { color: #b8c5d7; }
.features-section { padding-bottom: 72px; }
.feature-row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.feature-row + .feature-row { margin-top: 80px; grid-template-columns: 1.2fr 0.8fr; }
.feature-row + .feature-row .feature-copy { order: 2; }
.feature-copy > p:not(.eyebrow) { margin-top: 22px; color: #acbbcd; }
.feature-figure img { border: 1px solid var(--line); border-radius: 7px; }
.feature-figure figcaption { margin-top: 12px; }
.local-note { display: flex; align-items: flex-start; gap: 18px; border-block: 1px solid var(--line); padding: 28px 0; margin-top: 64px; }
.local-note svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--cyan); margin-top: 5px; }
.local-note p { max-width: 910px; color: var(--secondary); font-size: 15px; }
.local-note strong { color: var(--text); }
.workflow-section { padding-top: 32px; }
.workflow-grid { display: grid; grid-template-columns: 0.76fr 1.24fr; gap: 64px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: steps; }
.steps li { position: relative; padding-left: 54px; counter-increment: steps; }
.steps li::before { content: '0' counter(steps); position: absolute; left: 0; top: 0; color: var(--cyan); font: 500 19px/1.3 Outfit, system-ui, sans-serif; }
.steps li + li { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.steps li + li::before { top: 28px; }
.steps h3 { font-size: 22px; }
.steps p { color: #acbbcd; font-size: 15px; margin-top: 10px; }
.workflow-image img { border: 1px solid #373747; border-radius: 7px; }
.workflow-image figcaption { margin-top: 12px; }
.faq-section { border-top: 1px solid var(--line); background: #090912; }
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 80px; align-items: start; }
.faq-intro > p { margin-top: 20px; color: var(--secondary); }
.faq-intro > a { display: inline-block; margin-top: 20px; padding-block: 8px; }
.faq-list { border-top: 1px solid #363645; }
.faq-list details { border-bottom: 1px solid #363645; }
.faq-list summary { padding: 21px 36px 21px 0; position: relative; font-size: 16px; font-weight: 550; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 17px; font-size: 23px; color: var(--cyan); font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { padding: 0 28px 23px 0; color: #acbbcd; font-size: 15px; }
.closing { text-align: center; background: radial-gradient(ellipse at 50% 100%, #25205b70, transparent 68%); }
.closing h2 { max-width: 650px; margin: 0 auto 26px; font-size: clamp(36px, 4vw, 54px); }
.site-footer { border-top: 1px solid var(--line); padding-block: 44px 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 30px; }
.social-links, .legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.social-links a, .legal-links a { color: #b3c0d2; font-size: 14px; padding-block: 10px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--line); }
.ffmpeg-notice { max-width: 980px; margin: 16px 0 20px; font-size: 14px; color: var(--secondary); }
.ffmpeg-notice a { color: #b3c0d2; }
.trademarks { max-width: 1070px; color: var(--secondary); font-size: 12px; line-height: 1.8; }
.copyright { color: var(--secondary); font-size: 12px; margin-top: 16px; }
.legal-main { max-width: 850px; padding-block: 64px 96px; }
.legal-main h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 28px; }
.legal-main h2 { font-size: 28px; margin-block: 44px 18px; }
.legal-main h3 { font-size: 23px; margin-block: 30px 14px; }
.legal-main h4 { font-size: 18px; margin-block: 24px 12px; }
.legal-main p, .legal-main ul { margin-bottom: 18px; color: #bdc8d7; }
.legal-main li { margin-bottom: 10px; }
.legal-main a { overflow-wrap: anywhere; }
.legal-main .eyebrow { color: var(--cyan); margin-bottom: 18px; }
.legal-jump { padding: 18px 22px; border-left: 2px solid var(--cyan); background: var(--surface); }
.legal-jump a { display: inline-block; padding-block: 8px; }
.app-policy { border-top: 1px solid #414154; margin-top: 44px; }
.notices-main { overflow-wrap: anywhere; }
.notices-main table { width: 100%; border-collapse: collapse; margin-block: 24px; font-size: 14px; }
.notices-main th, .notices-main td { padding: 12px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.notices-main th:nth-child(2), .notices-main td:nth-child(2) { white-space: nowrap; }
.notices-main th { background: var(--surface); }
.notices-main pre { margin-block: 18px 32px; padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); white-space: pre-wrap; font-size: 14px; line-height: 1.7; }
.notices-main code { font-family: Consolas, 'Liberation Mono', monospace; }

@media (max-width: 1100px) {
    .hero-grid, .feature-row, .feature-row + .feature-row, .workflow-grid { gap: 36px; }
    .site-nav { gap: 18px; }
    .faq-grid { gap: 44px; }
    .brand { font-size: 19px; }
}

@media (max-width: 1023px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-copy { max-width: 640px; }
    .hero h1 { font-size: clamp(42px, 7.5vw, 64px); }
    .hero-examples { width: min(560px, 100%); margin-inline: auto; }
    .feature-row, .feature-row + .feature-row, .workflow-grid { grid-template-columns: 1fr; }
    .feature-row + .feature-row .feature-copy { order: 0; }
    .feature-copy { max-width: 640px; }
    .workflow-image { max-width: 760px; }
    .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .steps li { padding: 38px 0 0; }
    .steps li + li { margin: 0; padding-top: 38px; border: 0; }
    .steps li + li::before { top: 0; }
    .faq-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-top { align-items: flex-start; }
}

@media (max-width: 767px) {
    .container { width: calc(100% - 40px); }
    .section { padding-block: 64px; }
    .header-inner { min-height: 72px; flex-wrap: wrap; gap: 0 12px; padding-block: 12px; }
    .brand { font-size: 18px; gap: 7px; }
    .brand img { width: 30px; height: 30px; }
    .site-nav { flex-basis: 100%; flex-wrap: wrap; gap: 8px 20px; padding: 20px 0 8px; }
    .js .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .js .site-nav { display: none; }
    .js .site-nav.is-open { display: flex; }
    .js .site-nav > a { width: 100%; }
    .js .site-nav { max-height: calc(100dvh - 88px); overflow-y: auto; }
    .hero { padding-block: 44px 56px; }
    .hero h1 { font-size: clamp(38px, 8.5vw, 52px); }
    .hero-copy > p { font-size: 16px; }
    .hero-actions { gap: 10px; margin-top: 26px; }
    .hero-notes { margin-top: 24px; gap: 8px 18px; }
    .game-frames { gap: 12px; }
    .game-frame figcaption { font-size: 14px; min-height: 40px; display: flex; align-items: center; }
    .game-frame figcaption::before { flex-shrink: 0; width: 10px; margin-right: 6px; }
    .hero-examples > .caption { margin-top: 16px; }
    .demo-heading { display: block; }
    .demo-heading > p { margin-top: 18px; max-width: none; }
    .demo-tabs { gap: 8px; }
    .demo-tabs button { padding-inline: 12px; font-size: 13px; }
    .demo-meta { flex-direction: column; gap: 5px; }
    .demo-meta a { align-self: flex-start; padding-block: 6px; }
    .play-icon { width: 58px; height: 58px; }
    .play-icon svg { width: 22px; height: 22px; }
    .feature-row, .feature-row + .feature-row { gap: 28px; }
    .feature-row + .feature-row { margin-top: 64px; }
    .local-note { margin-top: 44px; gap: 14px; }
    .workflow-section { padding-top: 0; }
    .steps { display: block; }
    .steps li { padding: 0 0 0 48px; }
    .steps li + li { margin-top: 26px; padding: 24px 0 0 48px; border-top: 1px solid var(--line); }
    .steps li + li::before { top: 24px; }
    .footer-top { flex-direction: column; gap: 20px; }
    .social-links, .legal-links { gap: 4px 20px; }
    .legal-main { padding-block: 44px 64px; }
    .legal-main ul { padding-left: 24px; }
}

@media (max-width: 360px) {
    .container { width: calc(100% - 32px); }
    .brand { font-size: 16px; }
    .brand img { width: 26px; height: 26px; }
    .hero-actions .button { width: 100%; }
    .game-tag { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
