/* Made by scripts/site.ts: the app's colours (src/ui/styles.css), its typeface (index.html), then site/site.css. */
:root {
  --suite: #1f2023;
  --well: #17181a;
  --panel: #27282c;
  --raise: #303136;
  --raise2: #393a40;
  --line: #3b3c42;
  --line-soft: #2f3035;
  --text: #ebe8e2;
  --muted: #9d9a93;
  --faint: #6c6a66;
  --playhead: #f2564c;
  --video: #58a8e6;
  --image: #dca546;
  --audio: #5fc99a;
  --text-clip: #c57cf0;
  --effect: #f0679e;
  --filter: #e8915a;
  --asset: #3fc6c0;
  --caption: #ffd84d;
  --snap: #ffd84d;
  --warn: #f0b35a;
  --accent: #ffd84d;
  color-scheme: dark;
}
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 300 800; font-stretch: 62% 125%; font-display: swap; src: url(/fonts/Archivo-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 300 800; font-stretch: 62% 125%; font-display: swap; src: url(/fonts/Archivo-latin.woff2) format('woff2'); 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; }
/* oo.video's website (docs/features/site.md). scripts/site.ts writes the app's own colours (src/ui/styles.css :root) and its typeface's
   @font-face rules (index.html: Archivo, served from /fonts/) before these lines: no colour or font is chosen here. One column, dark
   like the app, nothing moves but a hover. The Content-Security-Policy allows this file and nothing inline: no style attribute. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--suite); color: var(--text);
  font-family: "Archivo", system-ui, -apple-system, sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
a { color: var(--video); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* the top: the app's icon and name, two links */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 19px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; display: block; }
.top nav { display: flex; gap: 22px; }
.top nav a { color: var(--muted); font-weight: 500; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

main { padding: 28px 0 80px; }
h1 { font-size: clamp(32px, 6.4vw, 50px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 18px; }
h2 { font-size: 25px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 650; margin: 60px 0 14px; scroll-margin-top: 16px; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 650; margin: 36px 0 8px; }
.card h3 { margin-top: 0; }
p { margin: 0 0 14px; }
.lead { font-size: clamp(19px, 3vw, 22px); line-height: 1.5; color: var(--muted); margin: 0 0 28px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.faint { color: var(--faint); }

/* the "soon" home: the icon, the name, "Coming soon." in the middle of the window; the quiet foot under it */
body.soon-home .wrap { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.soon-home main { flex: 1; display: grid; place-items: center; padding: 64px 0; }
.soon { text-align: center; }
.soon img { width: 96px; height: 96px; border-radius: 22px; display: block; margin: 0 auto 26px; }
.soon h1 { font-size: clamp(36px, 7vw, 48px); margin: 0 0 8px; }
.soon p { color: var(--muted); font-size: 20px; margin: 0; }
body.soon-home .foot { text-align: center; }
body.soon-home .foot nav { justify-content: center; }

/* the home page's first screen */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 10px;
  font-weight: 650; background: var(--accent); color: var(--well); border: 1px solid var(--accent);
}
.button:hover { text-decoration: none; background: color-mix(in srgb, var(--accent) 88%, #fff); }
.button.quiet { background: var(--raise); color: var(--text); border-color: var(--line); }
.button.quiet:hover { border-color: var(--muted); background: var(--raise); }
.under { color: var(--muted); font-size: 15px; margin: 0 0 48px; }

/* where a picture of the editor will go: plainly a slot */
.slot {
  display: grid; place-items: center; text-align: center; aspect-ratio: 16 / 10; margin: 0 0 56px; padding: 16px;
  border: 1.5px dashed var(--faint); border-radius: 14px; background: var(--well); color: var(--faint); font-size: 15px;
}
.slot.link { aspect-ratio: auto; min-height: 60px; margin: 14px 0 18px; border-radius: 10px; }

/* what is not true yet, said where it can't be missed */
.notice {
  border: 1px solid var(--accent); border-radius: 12px; padding: 16px 20px; margin: 0 0 36px;
  background: color-mix(in srgb, var(--accent) 11%, var(--suite));
}
.notice strong { display: block; color: var(--accent); font-size: 21px; line-height: 1.3; font-weight: 700; }
.notice p { margin: 6px 0 0; }
.tag {
  display: inline-block; vertical-align: middle; margin-left: 8px; padding: 1px 8px; border-radius: 99px; font-size: 13px; font-weight: 600;
  color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); letter-spacing: 0;
}

.cards { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 0 0 16px; }
@media (min-width: 700px) { .cards.two { grid-template-columns: 1fr 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 14px; padding: 20px 22px; }
/* the Download page's check (Project Litmus: its script fills and shows it; hidden with scripts off) and the card of the system it saw */
.check { border-left: 3px solid var(--muted); padding: 2px 0 2px 16px; margin: 0 0 28px; }
.check[hidden], .check [hidden] { display: none; }
.check h2 { margin: 0 0 4px; font-size: 15px; color: var(--muted); font-weight: 600; }
.check .verdict { margin: 0; font-size: 19px; font-weight: 650; }
.check .small { margin: 4px 0 0; }
.check[data-verdict="cant"], .check[data-verdict="modest"] { border-color: var(--accent); }
.card[data-here] { border-color: var(--accent); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .ref { font-size: 14px; color: var(--muted); }
.big { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; margin: 4px 0 4px; }
.big small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }

ul.plain { margin: 0 0 14px; padding-left: 20px; }
ul.plain li { margin: 0 0 6px; }
.quote { border-left: 2px solid var(--line); padding-left: 16px; color: var(--text); }
.quote .ref { display: block; color: var(--faint); font-size: 14px; margin-top: 2px; }
ul.clauses { margin: 0 0 14px; padding-left: 20px; }
ul.clauses li { margin: 0 0 10px; color: var(--text); }
ul.clauses .refs { margin-left: 4px; }
a.refs:hover { color: var(--text); }

table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line-soft); }
th { color: var(--muted); font-weight: 500; font-size: 15px; }
td.price { font-weight: 650; white-space: nowrap; }
/* the pricing page's tables line up with each other: the first column the same width in each */
table[data-table] { table-layout: fixed; }
table[data-table] th:first-child, table[data-table] td:first-child { width: 42%; }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0 0 18px; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }
@media (max-width: 560px) { dl.facts { grid-template-columns: 1fr; gap: 0; } dl.facts dd { margin: 0 0 12px; } }

/* a configure line: one line, scrolled sideways inside its box (never the page) */
pre { white-space: pre; overflow-x: auto; max-width: 100%; background: var(--well); border: 1px solid var(--line-soft); border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.5; color: var(--muted); margin: 6px 0 16px; }

/* the legal pages: the band at the top ("oo.video isn't released yet…" at "soon"; an earlier version's line), the short version, then
   the text as the app's reader parts it */
.band {
  border: 1px solid var(--accent); border-radius: 10px; padding: 10px 16px; margin: 0 0 28px; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 11%, var(--suite)); font-weight: 650; font-size: 15px;
}
.meta { color: var(--muted); font-size: 15px; margin: -6px 0 30px; }
ol.short { list-style: none; margin: 0 0 14px; padding: 0; counter-reset: b; }
ol.short li { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
ol.short li:first-child { border-top: 1px solid var(--line-soft); }
ol.short b { font-weight: 650; }
.refs { color: var(--faint); font-size: 14px; white-space: nowrap; }
.binds { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
article.legal { margin-top: 56px; }
.legal > .title { font-size: clamp(26px, 4.6vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 14px; }
.legal h2 { font-size: 21px; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--text); }
.legal .cn { color: var(--muted); font-variant-numeric: tabular-nums; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin: 0 0 6px; }
.legal li.d1 { margin-left: 22px; }
.legal li.d2 { margin-left: 44px; }
.legal li.cont { list-style: none; }
.legal [id] { scroll-margin-top: 16px; }
.table { margin: 6px 0 18px; }
.table td, .table th { font-size: 15px; }
@media (max-width: 640px) {
  .table thead { display: none; }
  .table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .table td { display: block; border: 0; padding: 3px 0; }
  .table td::before { content: attr(data-th); display: block; color: var(--muted); font-size: 13px; }
}

/* the model cancellation form */
.form { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; margin: 8px 0 18px; }
.form p:last-child { margin-bottom: 0; }

ol.versions { list-style: none; padding: 0; margin: 0; }
ol.versions > li { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
ol.versions > li:first-child { border-top: 1px solid var(--line-soft); }
ol.versions h3 { margin: 0 0 6px; }
ol.versions ul { margin: 8px 0 0; padding-left: 20px; list-style: disc; }
ol.versions ul li { margin: 0 0 8px; }

.foot { border-top: 1px solid var(--line-soft); padding: 28px 0 56px; color: var(--muted); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 14px; }
.foot nav a { color: var(--muted); }
.foot nav a:hover { color: var(--text); }
.foot .company { color: var(--faint); font-size: 14px; margin: 0; }
