/* Generated by tools/export_theme_css.py from
   framework/src/fui/Palette.h (fu::palette::zen, fu::palette::light)
   and brand/palette.json. Do not edit; change the theme and rebuild. */
:root {
  color-scheme: dark;
  --bg: #07080a; /* zen.kDesk */
  --band: #0d0f12; /* zen.kBand */
  --panel: #171b20; /* zen.kPanel */
  --raised: #20252b; /* zen.kPlate */
  --hover: #353c45; /* zen.kHover */
  --field: #0c0f12; /* zen.kField */
  --control: #2a3038; /* zen.kControl */
  --control-frame: #2a3038; /* zen.kControl */
  --control-hover: #353c45; /* zen.kHover */
  --select: #e8ebed; /* zen.kSelection */
  --on-select: #07080a; /* zen.kOnSelection */
  --crosses: #171b20; /* zen.kPanel */
  --line: #2e343a; /* zen.kRule */
  --line-strong: #4a535c; /* zen.kNearFocus */
  --text: #e8ebed; /* zen.kText */
  --text-strong: #ffffff; /* zen.kTextStrong */
  --text-dim: #a3abb3; /* zen.kTextDim */
  --accent: #f2ec3a; /* zen.kAccent */
  --accent-hover: #f6f27a; /* zen.kAccentHover */
  --accent-pressed: #d8d11f; /* zen.kAccentPressed */
  --on-accent: #07080a; /* zen.kOnAccent */
  --focus: #e8ebed; /* zen.kFocusFrame */
  --positive: #3ce57f; /* zen.kPositive */
  --negative: #ff4b3e; /* zen.kNegative */
  --brand-ink: #07080a; /* brand.ink */
  --brand-paper: #f2f4f5; /* brand.paper */
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #e8ecf0; /* light.kWindow */
    --band: #f0f3f5; /* light.kPanel */
    --panel: #f7f9fa; /* light.kRaised */
    --raised: #f8fafb; /* light.kPopup */
    --hover: #dbe3e8; /* light.kHover */
    --field: #fcfdfd; /* light.kInput */
    --control: #dbe3e8; /* light.kHover */
    --control-frame: #b3bfc7; /* light.kBorder */
    --control-hover: color-mix(in srgb, #dbe3e8 60%, #b3bfc7); /* mix(light.kHover, 60, light.kBorder) */
    --select: #eee68e; /* light.kSelected */
    --on-select: #25313a; /* light.kText */
    --crosses: #dbe3e8; /* light.kHover */
    --line: #d0d9de; /* light.kSeparator */
    --line-strong: #b3bfc7; /* light.kBorder */
    --text: #25313a; /* light.kText */
    --text-strong: #25313a; /* light.kText */
    --text-dim: #536671; /* light.kTextDim */
    --accent: #615c00; /* light.kAccent */
    --accent-hover: #545000; /* light.kAccentHover */
    --accent-pressed: #474300; /* light.kAccentPressed */
    --on-accent: #ffffff; /* light.kOnAccent */
    --focus: #25313a; /* light.kText */
    --positive: #096d48; /* light.kPositive */
    --negative: #b42334; /* light.kNegative */
    --brand-ink: #07080a; /* brand.ink */
    --brand-paper: #f2f4f5; /* brand.paper */
  }
}

/* videocutlet.com. Every color is a token from the theme block above this
   file, generated from the app's own theme by tools/export_theme_css.py.
   No color literals here. Focus and the current page show through fill,
   frame, and text color; nothing draws a colored strip beside an element.

   The look is the app's Zen: flat plates separated from the page by value,
   square corners, no idle outlines, solid chips, a chalk selection block with
   ink words, a short bar under a heading, and registration crosses in place
   of a dot grid. Rules stay only between the rows of a list or a table. */

@font-face {
  font-family: "Urbanist"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/urbanist-regular.9451e312d0.woff2") format("woff2");
}
@font-face {
  font-family: "Urbanist"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/assets/fonts/urbanist-bold.8062a4d516.woff2") format("woff2");
}

:root {
  --font: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px;
  --content: 1152px;
  --ease: 0.14s ease-out;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  background-color: var(--bg);
  color: var(--text);
  font: 400 18px/1.6 var(--font);
  overflow-wrap: break-word;
}
/* The crosses are a mask over the token color, so the tile carries no color
   and the CSP needs no data: images. They scroll with the page. */
body::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-color: var(--crosses);
  -webkit-mask: url("/assets/patterns/crosses.a4a6891183.svg") 0 0 / 128px 128px repeat;
  mask: url("/assets/patterns/crosses.a4a6891183.svg") 0 0 / 128px 128px repeat;
}
main { flex: 1; }
main:focus { outline: none; }
img, svg { display: block; max-width: 100%; height: auto; }
picture { display: contents; }

.wrap { width: 100%; max-width: var(--content); margin: 0 auto; padding: 0 var(--s4); }
@media (min-width: 720px) { .wrap { padding: 0 var(--s6); } }

/* Type */
h1, h2, h3, h4 { color: var(--text-strong); font-weight: 700; margin: 0 0 var(--s4); }
h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.06; letter-spacing: -0.015em; }
h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 21px; line-height: 1.3; }
h4 { font-size: 18px; line-height: 1.35; }
p { margin: 0 0 var(--s4); }
p:last-child { margin-bottom: 0; }
strong { color: var(--text-strong); }
code { font-family: var(--mono); font-size: 0.88em; }
.dim { color: var(--text-dim); }
.lede { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.5; color: var(--text-dim); max-width: 62ch; }
/* A heading that opens a section or a page earns a short solid bar: a page
   title, a section head, a feature, and a heading at the top of a section or
   of one of its columns. Headings inside a card or further down prose do not. */
.section-head h2::after, .page-head h1::after, .feature-text h2::after,
.section > h2:first-child::after, .section > .prose:first-child > h2:first-child::after,
.section > .grid-2 > * > h2:first-child::after {
  content: ""; display: block; width: 40px; height: 3px; margin-top: var(--s3);
  background: var(--text-strong);
}
.page-head h1::after { width: 56px; height: 4px; margin-top: var(--s4); }
.eyebrow {
  margin: 0 0 var(--s2); color: var(--text-dim);
  font-size: 14px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
}
.small { font-size: 15px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

a { color: var(--text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.skip {
  position: absolute; left: var(--s4); top: -100px; z-index: 10;
  padding: var(--s3) var(--s4);
  background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none;
}
.skip:focus { top: var(--s3); }

/* Header */
.site-header { background: var(--band); }
.header-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s2) var(--s5); min-height: 64px; padding-top: var(--s3); padding-bottom: var(--s3);
}
.brand { display: block; }
.brand img { height: 28px; width: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: var(--s1); margin: 0 0 0 calc(-1 * var(--s3)); padding: 0; list-style: none; }
.site-nav a {
  display: block; padding: var(--s2) var(--s3);
  color: var(--text-dim); font-size: 17px; font-weight: 700; text-decoration: none;
  transition: background-color var(--ease), color var(--ease);
}
.site-nav a:hover { color: var(--text); background: var(--hover); }
.site-nav a[aria-current="page"] { color: var(--on-select); background: var(--select); }
@media (min-width: 720px) { .site-nav ul { margin-left: 0; } }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s6) 0 var(--s4); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: var(--s3) 22px; border: 0; cursor: pointer;
  background: var(--control); color: var(--text); box-shadow: inset 0 0 0 1px var(--control-frame);
  font: 700 17px/1.25 var(--font); text-align: center; text-decoration: none;
  transition: background-color var(--ease), box-shadow var(--ease);
}
.btn:hover { background: var(--control-hover); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-pressed); }
.btn-small { min-height: 40px; padding: var(--s2) var(--s4); font-size: 16px; }

/* Sections */
.section { padding: var(--s8) 0; }
.section-head { max-width: 760px; margin-bottom: var(--s6); }
.section-head p { color: var(--text-dim); }
.page-head { padding: var(--s8) 0 var(--s5); }
.page-head h1 { font-size: clamp(34px, 5vw, 52px); }
.page-head .lede { margin-bottom: 0; }
.page-head + .section, .page-head + .feature { padding-top: var(--s5); }

/* Home hero */
.hero { padding-top: var(--s8); padding-bottom: var(--s6); }
.hero-logo img { width: min(440px, 100%); }
.hero h1 { margin-top: var(--s7); }
.platforms { margin: 0; color: var(--text-dim); font-size: 16px; }
.platforms strong { color: var(--text); }
.facts {
  display: flex; flex-wrap: wrap; gap: var(--s2);
  margin: var(--s5) 0 0; padding: 0; list-style: none;
}
.facts li {
  padding: 6px 14px;
  background: var(--panel); color: var(--text); font-size: 15px;
}
.hero-shot { padding-bottom: var(--s7); }

/* Screenshots */
.shot { margin: 0; }
.shot-frame { overflow: hidden; background: var(--panel); }
.shot-frame img { width: 100%; }
.shot figcaption { margin-top: var(--s3); color: var(--text-dim); font-size: 15px; }
.shot-missing {
  display: grid; place-items: center; aspect-ratio: 16 / 9; padding: var(--s5);
  border: 1px dashed var(--line-strong);
  color: var(--text-dim); font-size: 15px; text-align: center;
}

/* Feature rows */
.feature {
  display: grid; gap: var(--s5); align-items: center;
  padding: var(--s7) 0;
}
.feature-text p { color: var(--text-dim); max-width: 52ch; }
.feature-text .more { margin-top: var(--s4); font-size: 16px; }
@media (min-width: 960px) {
  .feature { grid-template-columns: 5fr 7fr; gap: 56px; padding: var(--s7) 0; }
  .feature.flip { grid-template-columns: 7fr 5fr; }
  .feature.flip .feature-text { order: 2; }
}

.code {
  margin: 0; padding: var(--s4) var(--s5);
  background: var(--panel); color: var(--text);
  font: 14px/1.7 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere;
}
.code .dim { color: var(--text-dim); }
/* On a plate, a code block is a well. */
.card .code { background: var(--field); }

/* Cards and groups */
.card {
  padding: var(--s5); background: var(--panel);
}
.card-raised { background: var(--raised); }
.card h2, .card h3 { margin-bottom: var(--s3); }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
@media (min-width: 720px) { .card { padding: var(--s6); } }
.grid-2, .grid-3 { display: grid; gap: var(--s4); }
@media (min-width: 800px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Pricing */
.price-grid { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 880px) { .price-grid { grid-template-columns: 6fr 5fr; } }
.prices { display: grid; gap: var(--s3); margin: var(--s4) 0 var(--s5); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3); margin: 0; }
.price { color: var(--text-strong); font-size: 40px; font-weight: 700; line-height: 1.1; }
.price-note { color: var(--text-dim); font-size: 16px; }
.status {
  margin: 0 0 var(--s5); padding: var(--s4);
  background: var(--field); font-size: 16px;
}
.status strong { color: var(--text-strong); }

.checks, .limits { margin: 0 0 var(--s5); padding: 0; list-style: none; }
.checks li, .limits li { position: relative; margin: var(--s2) 0; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 3px; top: 0.42em;
  width: 13px; height: 7px; border: solid var(--positive); border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.limits li::before {
  content: ""; position: absolute; left: 5px; top: 0.72em;
  width: 9px; height: 2px; background: var(--text-dim);
}

/* Tables */
.table-wrap { overflow-x: auto; background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { color: var(--text-dim); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
tbody th { color: var(--text-strong); font-weight: 700; }
@media (max-width: 480px) { th, td { padding: 10px var(--s3); } }

/* FAQ */
.faq { display: grid; gap: 2px; max-width: 820px; }
.faq details { background: var(--panel); }
.faq summary {
  position: relative; padding: 18px 48px 18px var(--s5);
  color: var(--text-strong); font-weight: 700; cursor: pointer;
  list-style: none; transition: background-color var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--hover); }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 9px; height: 9px; margin-top: -7px;
  border: solid var(--text-dim); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.faq details[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.faq .answer { padding: var(--s1) var(--s5) var(--s5); color: var(--text-dim); max-width: 70ch; }
.faq .answer p { margin-bottom: var(--s3); }
.faq .answer strong, .faq .answer a { color: var(--text); }
.faq + p { margin-top: var(--s5); }

/* Prose pages */
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--s7); font-size: clamp(23px, 3vw, 28px); }
.prose h3 { margin-top: var(--s6); }
.prose h4 { margin: var(--s5) 0 var(--s2); }
.prose ul, .prose ol { margin: 0 0 var(--s4); padding-left: 1.3em; }
.prose li { margin: var(--s2) 0; }
.prose li::marker { color: var(--text-dim); }
.prose dl { margin: 0 0 var(--s4); }
.prose dt { color: var(--text-strong); font-weight: 700; }
.prose dd { margin: 0 0 var(--s3); }
.prose code {
  padding: 1px 6px; background: var(--panel);
}
.prose .code code { padding: 0; background: none; }
.updated { color: var(--text-dim); font-size: 16px; }

/* Download */
.os-grid { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 1000px) { .os-grid { grid-template-columns: repeat(3, 1fr); } }
.os-card h2 { font-size: 26px; margin-bottom: var(--s2); }
.os-card .req { color: var(--text-dim); font-size: 16px; margin-bottom: var(--s4); }
.file { padding: var(--s4) 0 0; margin-top: var(--s4); border-top: 1px solid var(--line); }
.file h3 { font-size: 18px; margin-bottom: var(--s1); }
.file p { font-size: 15px; color: var(--text-dim); margin-bottom: var(--s3); }
.file .btn { width: 100%; }
.file-meta { margin: var(--s3) 0 0; font-size: 14px; color: var(--text-dim); }
.file-meta dt { margin-top: var(--s2); color: var(--text-dim); font-weight: 700; }
.file-meta dd { margin: 2px 0 0; color: var(--text); }
/* Forms and notices on the pages the application renders: sign-in, the
   account, checkout results, and withdrawal. A problem notice is framed all
   the way round in the negative token; nothing marks one edge. */
.form { display: grid; gap: var(--s2); max-width: 560px; margin: var(--s5) 0; }
.form label { color: var(--text-strong); font-size: 16px; font-weight: 700; }
.form label:not(:first-child) { margin-top: var(--s3); }
.form input[type="email"], .form input[type="text"], .form textarea {
  width: 100%; min-height: 48px; padding: var(--s3) var(--s4);
  border: 1px solid var(--line-strong); border-radius: 0;
  background: var(--field); color: var(--text); font: 400 17px/1.4 var(--font);
}
.form textarea { min-height: 120px; resize: vertical; }
.form .check {
  display: flex; align-items: flex-start; gap: var(--s3);
  color: var(--text); font-weight: 400;
}
.form input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--accent); }
.form .btn { justify-self: start; margin-top: var(--s3); }
.form .hint { margin: var(--s2) 0 0; }
.hint { color: var(--text-dim); font-size: 16px; }
.notice {
  max-width: 760px; margin: 0 0 var(--s5); padding: var(--s4) var(--s5);
  background: var(--raised);
}
.notice > :first-child { margin-top: 0; }
.notice > :last-child { margin-bottom: 0; }
.notice-problem { box-shadow: inset 0 0 0 2px var(--negative); }
.account-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s4); }
.account-head .lede { margin-bottom: 0; }
.card .hint { margin: 0; }
.card .form { margin-bottom: 0; }
.table-wrap + p { margin-top: var(--s3); }
.orders td:first-child, .orders td:nth-child(2) { white-space: nowrap; }
.files td:nth-child(3) { white-space: nowrap; }
.files td:last-child { min-width: 14em; }
/* At phone width each file is a block of its own, so the checksum is read
   whole instead of behind a sideways scroll. */
@media (max-width: 640px) {
  .files thead { display: none; }
  .files tr { display: grid; gap: var(--s1); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
  .files tbody tr:last-child { border-bottom: 0; }
  .files td { padding: 0; border: 0; }
  .files td:first-child { color: var(--text-dim); font-size: 14px; }
  .files td:nth-child(3) { color: var(--text-dim); font-size: 14px; }
  .files td:last-child { min-width: 0; margin-top: var(--s1); }
  .orders thead { display: none; }
  .orders tr { display: grid; gap: var(--s1); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
  .orders tbody tr:last-child { border-bottom: 0; }
  .orders td { padding: 0; border: 0; }
  .orders td:first-child { color: var(--text-strong); font-weight: 700; }
  .orders td[data-label]::before {
    content: attr(data-label); display: inline-block; min-width: 4.5em;
    color: var(--text-dim); font-size: 14px;
  }
}
.older { margin-top: var(--s5); }
.older summary { padding: var(--s2) 0; color: var(--text-strong); font-weight: 700; cursor: pointer; }
.older h3 { margin: var(--s5) 0 var(--s3); }
.buy-form { margin: 0 0 var(--s4); }

.hash {
  display: block; padding: 6px var(--s2);
  background: var(--field); color: var(--text); font: 13px/1.5 var(--mono);
  overflow-wrap: anywhere; word-break: break-all;
}
.empty-state { max-width: 760px; }
.source-list { margin: 0; padding: 0; list-style: none; }
.source-list li { padding: var(--s4) 0; border-top: 1px solid var(--line); }
.source-list li:first-child { border-top: 0; padding-top: 0; }
.source-list .file-name { font-weight: 700; }

/* Press */
.logo-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.logo-tile { margin: 0; padding: var(--s3); background: var(--panel); }
.logo-tile .swatch {
  display: grid; place-items: center; height: 140px; padding: var(--s5);
}
.logo-tile .swatch img { max-height: 72px; width: auto; }
.swatch-ink { background: var(--brand-ink); }
.swatch-paper { background: var(--brand-paper); }
.logo-tile figcaption { margin-top: var(--s2); font-size: 15px; }
.logo-tile .links { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s1); }
.shot-grid { display: grid; gap: var(--s6) var(--s5); }
@media (min-width: 800px) { .shot-grid { grid-template-columns: 1fr 1fr; } }
.shot-grid .links { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s2); font-size: 15px; }

/* Changelog */
.release { padding: var(--s6) 0; border-top: 1px solid var(--line); }
.release:first-of-type { border-top: 0; padding-top: 0; }
.release h2 { margin-bottom: var(--s1); }

/* 404 */
.not-found { padding: var(--s9) 0 var(--s8); max-width: 720px; }
.not-found ul { padding-left: 1.2em; }

/* Footer */
.site-footer {
  margin-top: var(--s8); padding: var(--s7) 0 var(--s6);
  background: var(--band);
  color: var(--text-dim); font-size: 16px;
}
.footer-grid { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.site-footer h2 {
  margin: 0 0 var(--s2); color: var(--text-dim);
  font-size: 14px; letter-spacing: 0.09em; text-transform: uppercase;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-facts { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.footer-facts p { margin: 0 0 6px; font-size: 14px; }

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