@font-face { font-family: "Rajdhani"; font-weight: 500; font-display: swap; src: url(fonts/Rajdhani-500.woff2) format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 600; font-display: swap; src: url(fonts/Rajdhani-600.woff2) format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 700; font-display: swap; src: url(fonts/Rajdhani-700.woff2) format("woff2"); }
@font-face { font-family: "Kaushan Script"; font-display: swap; src: url(fonts/KaushanScript-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(fonts/Barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(fonts/Barlow-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/Barlow-600.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(fonts/JetBrainsMono-500.woff2) format("woff2"); }

/* Calm and flat: one dark ground, hairlines instead of boxes, thin uppercase
   display type, and NOVA blue only where something can be clicked. */
:root {
  --ink: #0a0d11;
  --deep: #0c1015;
  --panel: #0f141a;
  --line: #1a2029;
  --line-2: #262e39;
  --text: #e7ecf1;
  --mist: #98a2ae;
  --dim: #5f6976;
  --nova: #36a9f7;
  --nova-2: #1f84da;
  --nova-rgb: 54, 169, 247;
  --spike: #d9a24a;
  --good: #43d17a;
  --bad: #ff6b78;
  --display: "Rajdhani", "Segoe UI", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --gut: clamp(20px, 5vw, 64px);
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16.5px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--nova); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: .01em; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 12px; color: var(--dim); word-break: break-all; }

/* ── brand ── */
.wordmark { display: inline-flex; align-items: flex-end; text-decoration: none; line-height: 1; }
.wm-mark { width: 30px; height: 30px; margin-right: 10px; align-self: center; }
.wm-word { font: 600 24px/0.9 var(--display); letter-spacing: .06em; color: #fff; }
.wm-script { font: 21px/1 "Kaushan Script", cursive; margin-left: -8px; transform: rotate(-9deg) translateY(-7px); color: var(--nova); }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 5px; border: 1px solid transparent; font: 500 15px var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 16px; }
.btn-nova, .btn-primary { background: var(--nova); color: #04121e; font-weight: 600; }
.btn-nova:hover, .btn-primary:hover { background: #5cbaf9; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: #3a4554; background: rgba(255, 255, 255, .02); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ── nav ── */
/* full-width bar, content aligned with the page column */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 18px max(var(--gut), calc((100% - var(--max)) / 2)); background: rgba(10, 13, 17, .86); backdrop-filter: blur(10px); }
.nav-links { display: flex; gap: 34px; margin: 0 auto; }
.nav-links a, .nav-quiet { color: var(--mist); text-decoration: none; font: 500 12.5px var(--body); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; transition: color .15s; }
.nav-links a:hover, .nav-quiet:hover { color: #fff; }
.nav-end { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-links + .nav-end { margin-left: 0; }
.nav-quiet { padding-left: 22px; border-left: 1px solid var(--line-2); }

/* language menu (flags as in the app) */
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 7px 0 9px; border: 1px solid var(--line-2); border-radius: 5px; background: transparent; color: var(--mist); cursor: pointer; transition: border-color .15s, color .15s; }
.lang-btn:hover, .lang.open .lang-btn { border-color: #3a4554; color: #fff; }
.lang-btn > svg { width: 15px; height: 15px; transition: transform .15s; }
.lang.open .lang-btn > svg { transform: rotate(180deg); }
.flag { display: inline-flex; flex: none; width: 22px; height: 15px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.flag img { width: 100%; height: 100%; object-fit: cover; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; min-width: 170px; padding: 5px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--panel); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .15s, transform .15s; }
.lang.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu a { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 4px; color: var(--mist); text-decoration: none; font: 500 15px var(--body); transition: background .15s, color .15s; }
.lang-menu a:hover { background: rgba(255, 255, 255, .04); color: #fff; }
html[data-lang="de"] .lang-menu [data-lang-item="de"], html[data-lang="en"] .lang-menu [data-lang-item="en"] { color: #fff; }
html[data-lang="de"] .lang-menu [data-lang-item="de"]::after, html[data-lang="en"] .lang-menu [data-lang-item="en"]::after { content: ""; width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: var(--nova); }

/* pages that exist once carry both languages, lang.js picks one (German without JS) */
html:not([data-lang="en"]) [data-l="en"], html[data-lang="en"] [data-l="de"] { display: none !important; }

/* ── layout ── */
.wrap { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.label, .eyebrow, .kicker { font: 500 12.5px var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.sec { padding-top: clamp(80px, 13vh, 140px); scroll-margin-top: 60px; }
.sec > .label { margin-bottom: 34px; }
.side-note { max-width: 30em; margin: -6px 0 38px auto; color: var(--mist); font-size: 16px; }

/* ── hero ── */
.hero { padding: clamp(64px, 12vh, 130px) 0 clamp(56px, 8vh, 80px); border-bottom: 1px solid var(--line); }
.hero h1 { margin-top: 22px; max-width: 12em; font: 500 clamp(46px, 7.4vw, 92px)/1 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.lead { margin-top: 24px; max-width: 31em; color: var(--mist); font-size: clamp(16.5px, 1.3vw, 18px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.dots { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 44px 0 0; padding: 0; list-style: none; color: var(--mist); font-size: 15px; }
.dots li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 12px 3px 0; border-radius: 50%; background: var(--line-2); }

/* ── intro film (plays once, rests on the last frame) ── */
.intro { position: relative; margin: 56px 0 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #000; }
.intro video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; cursor: pointer; }
.intro-play { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px; transform: translate(-50%, -50%); border: 1px solid rgba(255, 255, 255, .14); border-radius: 5px; background: rgba(10, 13, 17, .74); backdrop-filter: blur(6px); color: var(--text); font: 500 12.5px var(--body); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: opacity .2s, border-color .15s; }
.intro-play:hover { border-color: var(--nova); }
.intro-play .ic { font-size: 15px; color: var(--nova); }
.intro[data-state="playing"] .intro-play { opacity: 0; pointer-events: none; }
.intro[data-state="ended"] .intro-play { top: auto; left: 18px; bottom: 18px; transform: none; }

/* ── statement ── */
.statement { max-width: 22em; font: 500 clamp(28px, 3.8vw, 48px)/1.18 var(--display); color: var(--text); }
.sign { display: flex; align-items: center; gap: 22px; margin-top: 40px; font-size: 18px; color: var(--text); }
.sign::before { content: ""; width: 48px; height: 1px; background: var(--nova); }

/* ── screenshot ── */
.shot { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel); }

/* ── features ── */
.feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.feat { padding: 22px 20px 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--deep); transition: border-color .2s; }
.feat:hover { border-color: var(--line-2); }
.ic { display: inline-flex; width: 1em; height: 1em; flex: none; }
.ic svg { width: 100%; height: 100%; }
.tile { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(var(--nova-rgb), .25); border-radius: 7px; background: rgba(var(--nova-rgb), .08); color: var(--nova); font-size: 17px; }
.feat h3 { margin-top: 22px; font: 500 18px var(--display); letter-spacing: .08em; text-transform: uppercase; }
.feat p { margin-top: 6px; color: var(--mist); font-size: 14.5px; line-height: 1.5; }

/* ── frame-time scope (illustrative) ── */
.scope { margin: 0; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--deep); }
.scope-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.scope-title { font: 500 12.5px var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.scope-toggle { display: flex; margin-left: auto; padding: 3px; border: 1px solid var(--line-2); border-radius: 6px; }
.scope-toggle button { height: 30px; padding: 0 14px; border: 0; border-radius: 4px; background: transparent; color: var(--mist); font: 500 14px var(--body); cursor: pointer; transition: background .2s, color .2s; }
.scope-toggle button.on { background: var(--line); color: #fff; }
#scope { display: block; width: 100%; height: auto; aspect-ratio: 960 / 280; }
.scope-read { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; border-top: 1px solid var(--line); }
.scope-read div { padding: 14px 0 0; }
.scope-read span { display: block; color: var(--dim); font-size: 13px; }
.scope-read b { display: block; margin-top: 2px; font: 500 26px var(--display); color: #fff; transition: color .3s; }
.scope[data-mode="off"] #rSpikes { color: var(--spike); }
.scope figcaption { margin-top: 14px; color: var(--dim); font-size: 13px; }

/* ── price rows ── */
.rows { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--deep); }
.row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) auto auto; align-items: center; gap: 24px; width: 100%; padding: 22px 26px; border: 0; border-top: 1px solid var(--line); background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: none; }
.row:first-child { border-top: 0; }
.row-name { font: 500 clamp(20px, 2vw, 26px) var(--display); letter-spacing: .06em; text-transform: uppercase; }
.row-meta { color: var(--dim); font: 500 12px var(--body); letter-spacing: .16em; text-transform: uppercase; }
.row-meta em { margin-left: 10px; padding: 2px 8px; border: 1px solid rgba(var(--nova-rgb), .4); border-radius: 3px; color: var(--nova); font-style: normal; letter-spacing: .12em; }
.row-price { font: 500 clamp(22px, 2.2vw, 28px) var(--display); }
.row-go { color: var(--dim); font: 500 12.5px var(--body); letter-spacing: .16em; text-transform: uppercase; transition: color .15s; }
.row-go::after { content: " →"; }
button.row { cursor: pointer; transition: background .15s; }
button.row:hover { background: rgba(255, 255, 255, .02); }
button.row:hover .row-go { color: var(--nova); }
.row-empty, .mod-empty { padding: 22px 26px; color: var(--dim); }
.pay-row { margin-top: 16px; color: var(--dim); font-size: 14.5px; }

/* ── faq ── */
.faq { max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font: 500 17px var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--dim); font: 400 22px var(--body); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 42em; color: var(--mist); }
.faq a { color: var(--nova); }

/* ── outro ── */
.outro { display: grid; justify-items: center; padding: clamp(110px, 18vh, 200px) 0 clamp(90px, 14vh, 150px); text-align: center; }
.outro p { color: var(--mist); font-size: 16px; }
.outro .hero-cta { margin-top: 22px; }

/* ── footer (simple on sub-pages, three columns on the home page) ── */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; max-width: calc(var(--max) + 2 * var(--gut)); margin: 80px auto 0; padding: 30px var(--gut) 40px; border-top: 1px solid var(--line); }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; }
.foot-links a { color: var(--mist); text-decoration: none; font-size: 14.5px; }
.foot-links a:hover { color: #fff; }
.foot-full { display: block; margin-top: 0; padding-top: 56px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.foot-cols nav { display: grid; align-content: start; gap: 10px; }
.foot-cols .label { margin-bottom: 8px; }
.foot-cols a { color: var(--mist); text-decoration: none; font-size: 15px; justify-self: start; }
.foot-cols a:hover { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }
.foot-meta { max-width: 520px; }

/* panels on the sub-pages (order, download) */
.hud { position: relative; border: 1px solid var(--line); border-radius: 8px; background: var(--deep); }

/* ── checkout dialog ── */
.checkout { width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); color: var(--text); box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.checkout::backdrop { background: rgba(5, 7, 10, .7); backdrop-filter: blur(3px); }
.co { display: flex; flex-direction: column; gap: 16px; padding: 22px 24px 24px; }
.co-head { display: flex; align-items: center; }
.co-head h2 { font: 500 26px var(--display); letter-spacing: .06em; text-transform: uppercase; }
.co-x { margin-left: auto; width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 5px; background: transparent; color: var(--mist); font-size: 20px; cursor: pointer; }
.co fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.co legend { margin-bottom: 8px; font: 500 12px var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.co-plans { grid-template-columns: repeat(3, 1fr); }
.co-p, .co-m { position: relative; display: flex; cursor: pointer; }
.co-p input, .co-m input { position: absolute; opacity: 0; }
.co-p span, .co-m span { flex: 1; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--ink); transition: border-color .15s, background .15s; }
.co-p b, .co-m b { display: block; font: 600 15.5px var(--body); }
.co-p small, .co-m small { display: block; margin-top: 2px; color: var(--mist); font-size: 13.5px; }
.co-p input:checked + span, .co-m input:checked + span { border-color: var(--nova); background: rgba(var(--nova-rgb), .07); }
.co-p input:focus-visible + span, .co-m input:focus-visible + span { outline: 2px solid var(--nova); outline-offset: 2px; }
.co-field { display: grid; gap: 6px; font-size: 14px; color: var(--mist); }
.co select, .co-pin { height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 5px; background: var(--ink); color: var(--text); font: 500 16px var(--body); }
.co-pin { width: 100%; margin-bottom: 8px; font-family: var(--mono); letter-spacing: .08em; }
.co-pin:focus, .co select:focus { outline: none; border-color: var(--nova); }
.co-add { align-self: flex-start; border: 0; background: none; color: var(--nova); font: 600 15px var(--body); cursor: pointer; padding: 0; }
.co-hint { margin-top: 6px; color: var(--dim); font-size: 13.5px; }
.co-consent { display: flex; gap: 12px; align-items: flex-start; color: var(--mist); font-size: 14.5px; cursor: pointer; }
.co-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--nova); flex: none; }
.co-consent a { color: var(--nova); }
.co-code-row { display: flex; gap: 12px; align-items: center; }
.co-code-row input { flex: 1; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 5px; background: var(--ink); color: var(--text); font: 500 16px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.co-code-row input:focus { outline: none; border-color: var(--nova); }
.co-code-row input::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--body); color: var(--dim); }
#coCouponMsg:empty { display: none; }
#coCouponMsg.ok { color: var(--nova); }
#coCouponMsg.bad { color: var(--bad); }
.co-p s { color: var(--dim); margin-right: 6px; }
.co-err { color: var(--bad); font-size: 14.5px; }
.co-err:empty { display: none; }
.co-go { width: 100%; }

@media (max-width: 1180px) {
  .nav, .nav-end { gap: 20px; }
  .nav-links { gap: 22px; }
}
/* below this the six page links no longer fit next to logo and account */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-links + .nav-end { margin-left: auto; }
}
@media (max-width: 980px) {
  .nav-quiet { border: 0; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-note { margin-left: 0; }
}
@media (max-width: 640px) {
  .nav { gap: 16px; }
  .nav-quiet { display: none; }
  .nav .btn { margin-left: auto; }
  .feat-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 18px 18px; }
  .row-meta { grid-column: 1; grid-row: 2; }
  .row-price { grid-column: 2; grid-row: 1; }
  .row-go { grid-column: 2; grid-row: 2; justify-self: end; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .co-plans { grid-template-columns: 1fr; }
  .scope-read b { font-size: 21px; }
  .hero-cta .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
