@font-face {
    font-family: Bowler;
    src: url('/assets/fonts/Bowler.otf') format('opentype');
    font-display: swap;
}
@font-face {
    font-family: Manrope;
    src: url('/assets/fonts/Manrope.ttf') format('truetype');
    font-weight: 200 800;
    font-display: swap;
}
@font-face {
    font-family: Geist;
    src: url('/assets/fonts/Geist-cyrillic.woff2') format('woff2');
    font-weight: 600 800;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: Geist;
    src: url('/assets/fonts/Geist-latin.woff2') format('woff2');
    font-weight: 600 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    color-scheme: dark;
    --bg: #101012;
    --panel: #181719;
    --ink: #f7f1e8;
    --muted: #bdb3ac;
    --line: #3e3635;
    --accent: #ffb289;
    --heading: Geist, Manrope, sans-serif;
    --radius: 16px;
    --gutter: clamp(19px, 4.2vw, 78px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 500 16px/1.6 Manrope, sans-serif;
    -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: wait; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}
.skip { position: fixed; inset: 8px auto auto 8px; padding: 9px 18px; z-index: 4; background: var(--bg); transform: translateY(-155%); }
.skip:focus { transform: none; }
.wrap { width: min(1500px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.site-header { position: absolute; z-index: 3; inset: 0 0 auto; background: #101012a6; border-bottom: 1px solid #ffffff2e; }
.header-row, .footer { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; min-height: 44px; gap: 11px; align-items: center; white-space: nowrap; font: 400 20px/1 Bowler, Manrope, sans-serif; }
.brand img { display: block; object-fit: contain; }
.header-row nav, .footer nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 46px); }
.header-row nav a, .footer nav a, .header-download, .hero-watch {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
}
.header-row nav a:hover, .footer nav a:hover, .header-download:hover, .hero-watch:hover { color: var(--ink); }
.header-row nav a { color: #e4dcd3; }
.header-download { color: var(--accent); }
.icon { width: 18px; height: 18px; flex: none; filter: invert(1); }
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: end;
    min-height: 100vh;
    min-height: 100svh;
    padding-block: 112px clamp(42px, 8vh, 106px);
    background: #201b1b;
}
.hero-poster, .hero > video, .hero::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-poster { z-index: -3; }
.hero-poster img, .hero > video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.hero > video { z-index: -2; visibility: hidden; }
.hero > video[data-ready] { visibility: visible; }
.hero::after {
    content: '';
    z-index: -1;
    background: linear-gradient(0deg, #100d10 1%, #121014e8 14%, #1411165c 58%, #17121815 82%),
                linear-gradient(90deg, #14111691, #17121805 74%);
}
.hero-content { position: relative; }
.hero-copy { max-width: 860px; }
h1 {
    font: 750 clamp(50px, 6.4vw, 108px)/.98 var(--heading);
    letter-spacing: -.063em;
    text-wrap: balance;
}
h1 span { display: block; color: var(--accent); }
.hero-copy > p {
    margin: 22px 0 25px;
    color: #ece0d7;
    max-width: 49ch;
    font-size: clamp(16px, 1.35vw, 20px);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    width: fit-content;
    min-height: 52px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    transition: background .18s ease, border-color .18s ease;
}
.primary { background: var(--accent); color: #27170f; }
.primary:hover { background: #ffceb4; }
.primary .icon { filter: none; }
.secondary { background: transparent; border-color: #786258; color: var(--ink); }
.secondary:hover { border-color: var(--accent); }
.hero-watch { min-height: 52px; border-color: #ffffff65; background: #1814169c; color: var(--ink); }
.hero-watch:hover { border-color: var(--accent); background: #181416; }
.hero-watch .icon { width: 15px; height: 15px; }
video { display: block; width: 100%; height: auto; background: #1e1b1a; }
.video-toggle, .dialog-header button {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    color: var(--ink);
    border: 1px solid #ffffff80;
    border-radius: 50%;
    background: #151315eb;
}
.video-toggle { position: absolute; bottom: 0; right: 0; }
.video-toggle:hover, .dialog-header button:hover { border-color: var(--accent); }
.video-toggle .icon:last-child, .video-toggle[data-playing] .icon:first-child { display: none; }
.video-toggle[data-playing] .icon:last-child { display: inline; }
.section { border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 112px); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: end; gap: 22px; margin-bottom: clamp(21px, 3vw, 42px); }
.section-heading > p, .feature-grid p, .workflow ul { color: var(--muted); }
h2 {
    font: 700 clamp(34px, 4.05vw, 66px)/1.04 var(--heading);
    letter-spacing: -.047em;
}
h3 { font: 700 19px/1.25 var(--heading); }
.examples-grid, .feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 32px); }
.examples-grid figure, .feature-grid article, .workflow, .price-card, .faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.examples-grid figure { min-width: 0; overflow: hidden; }
.examples-grid video { aspect-ratio: 16/9; object-fit: contain; }
.examples-grid figcaption, .feature-grid article { padding: clamp(17px, 2.2vw, 31px); }
.examples-grid p, .feature-grid p { color: var(--muted); margin-top: 9px; }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.workflow { margin-top: clamp(20px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; overflow: hidden; }
.workflow img { display: block; width: 100%; height: auto; }
.workflow > div { padding: clamp(22px, 4vw, 55px); }
.workflow h3 { font-size: clamp(22px, 2.75vw, 40px); }
.workflow ul { padding-left: 21px; margin: 16px 0 0; }
.workflow li + li { margin-top: 8px; }
.workflow li::marker { color: var(--accent); }
.setup, .purchase-grid, .faq {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(34px, 8vw, 145px);
}
.setup p, .purchase p, .faq details p { color: var(--muted); }
.setup > div > p, #download > p { margin: 20px 0 0; max-width: 40ch; }
.guide { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: var(--accent); font-size: 14px; }
.guide:hover { text-decoration: underline; text-underline-offset: 4px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    counter-increment: step;
}
.steps li:first-child { padding-top: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--accent); font-variant-numeric: tabular-nums; font-size: 13px; }
.steps p { margin-top: 8px; font-size: 15px; }
.purchase { background: #191518; border-block: 1px solid var(--line); padding-block: clamp(50px, 7vw, 110px); }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.price-card { padding: clamp(19px, 3vw, 38px); border-color: #594640; }
.price-card .price { color: var(--ink); font-size: clamp(46px, 5vw, 78px); font-weight: 750; letter-spacing: -.075em; line-height: 1.1; margin: 12px 0; }
.price span { color: var(--accent); font-size: .57em; }
.price-card > p { max-width: 38ch; }
.price-card .licence-inclusions { margin-top: 12px; }
.price-card .sales-status { color: var(--accent); font-size: 14px; margin-top: 16px; }
#checkout { display: grid; gap: 10px; margin-top: 16px; }
#checkout > input:not([type=hidden]) { background: var(--bg); border: 1px solid #786258; border-radius: 8px; min-height: 46px; color: var(--ink); padding: 10px; }
#checkout .consent { display: flex; align-items: center; gap: 8px; }
#checkout a { text-decoration: underline; text-underline-offset: 3px; }
#checkout-status:empty { display: none; }
.faq h2 { font-size: clamp(32px, 3vw, 52px); }
.faq details { padding-inline: clamp(12px, 2vw, 23px); }
.faq details + details { margin-top: 8px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; list-style: none; min-height: 52px; padding: 8px 0; gap: 12px; font-weight: 750; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding-bottom: 17px; font-size: 15px; }
.footer { border-top: 1px solid var(--line); flex-wrap: wrap; padding-block: 20px; }
.footer p { font-size: 13px; color: var(--muted); }
dialog { width: min(1050px, calc(100% - 24px)); max-height: calc(100% - 30px); padding: 15px; border: 1px solid #786258; border-radius: var(--radius); color: var(--ink); background: var(--panel); }
dialog::backdrop { background: #0b090bee; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.dialog-header h2 { font-size: clamp(22px, 4vw, 37px); }
dialog video { max-height: 76vh; object-fit: contain; }
@media (max-width: 920px) {
    .header-row nav, .footer nav { gap: 20px; }
}
@media (max-width: 720px) {
    .header-row { min-height: 63px; }
    .header-row nav { display: none; }
    .brand { font-size: 17px; }
    .hero { padding-block: 126px max(28px, env(safe-area-inset-bottom)); }
    .hero::after { background: linear-gradient(0deg, #100d10 1%, #141116ec 21%, #14111680 46%, #17121815 82%); }
    h1 { font-size: clamp(35px, 10.2vw, 64px); text-wrap: initial; }
    .hero-copy > p { margin: 16px 0 18px; }
    .hero-actions { display: grid; justify-items: start; gap: 9px; }
    .video-toggle { top: 74px; right: var(--gutter); bottom: auto; }
    .hero-content { position: static; }
    .examples-grid, .feature-grid, .workflow, .section-heading, .setup, .purchase-grid, .faq { grid-template-columns: 1fr; }
    .section-heading { gap: 12px; }
    .examples-grid { gap: 16px; }
    .faq { gap: 12px; }
    .footer { gap: 7px 16px; }
    .footer nav { flex-wrap: wrap; gap: 0 16px; }
    .footer nav a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
