/* Signage Player download page. System fonts only, no third-party requests. */
:root {
  --paper: #f3eee3;
  --ink: #1a1714;
  --muted: #5a534a;
  --rule: #1a1714;
  --accent: #b83a08;
  --on-accent: #ffffff;
  --focus: #0b3fd1;
  --panel: #1a1714;
  --panel-ink: #f3eee3;
  --serif: Charter, "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14110e;
    --ink: #f1ebde;
    --muted: #b3aa9a;
    --rule: #f1ebde;
    --accent: #ff9d54;
    --on-accent: #14110e;
    --focus: #ffe066;
    --panel: #0b0a08;
    --panel-ink: #f1ebde;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 1rem/1.6 var(--sans); overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus { outline: none; }
:focus-visible, a:focus, summary:focus {
  outline: 5px solid var(--focus); outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }
.wrap { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .75rem 1rem; z-index: 9; }
.skip:focus { left: 0; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.1; margin: 0; font-weight: 700; }
.path { font-family: var(--mono); font-size: .88em; font-weight: 600; background: color-mix(in srgb, var(--ink) 9%, transparent); padding: .05em .35em; }
.addr, .key { font-family: var(--mono); font-weight: 700; }
.addr { background: var(--ink); color: var(--paper); padding: .1em .4em; overflow-wrap: anywhere; }
.key { border: 2px solid currentColor; padding: 0 .4em; }

/* Header */
.top { border-bottom: 3px solid var(--rule); }
.top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem; }
.brand { display: flex; align-items: center; gap: .65rem; font: 700 1.2rem var(--serif); text-decoration: none; padding: .8rem 0; min-height: 3.25rem; }
.brand img { display: block; }
nav { display: flex; flex-wrap: wrap; gap: 0 .25rem; }
nav a { padding: .8rem .75rem; min-height: 3.25rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; }
nav a:hover { text-decoration: underline; }

/* Hero */
.hero { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 62rem) { .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }
h1 { font-size: clamp(2.5rem, 7.5vw, 4.9rem); letter-spacing: -.02em; }
h1 em { font-style: italic; color: var(--accent); }
.lede { font-size: 1.2rem; max-width: 34rem; margin: 1.5rem 0 2rem; }
.cta { margin: 0; }
.button {
  display: inline-block; background: var(--accent); color: var(--on-accent);
  font: 700 1.5rem/1.2 var(--sans); padding: 1.15rem 2rem; min-height: 4rem;
  text-decoration: none; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  transition: transform .12s, box-shadow .12s; max-width: 100%;
}
.button:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.button:focus-visible, .button:focus { outline-offset: 6px; }
.release-info { margin: 1.25rem 0 0; font: 600 .95rem var(--mono); min-height: 1.5em; color: var(--muted); }
.fine { margin: .25rem 0 0; color: var(--muted); }
.fine a { color: var(--ink); font-weight: 600; }

/* Sign example */
.sign { margin: 0; }
.screen { container-type: inline-size; background: #000; padding: 10px; border: 3px solid var(--ink); aspect-ratio: 16 / 9; display: flex; box-shadow: 10px 10px 0 color-mix(in srgb, var(--ink) 18%, transparent); }
.menu { flex: 1; background: #1f3a2e; color: #f4efe0; padding: 4cqw 6cqw; display: flex; flex-direction: column; font-family: var(--serif); overflow: hidden; }
.menu-head { display: flex; justify-content: space-between; border-bottom: 2px solid #f4efe0; padding-bottom: 1cqw; font-size: 3.4cqw; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.menu ul { list-style: none; margin: 2cqw 0 0; padding: 0; font-size: 4.4cqw; }
.menu li { display: flex; align-items: baseline; gap: 1.4cqw; padding: .5cqw 0; }
.menu li i { flex: 1; border-bottom: 2px dotted rgba(244,239,224,.55); transform: translateY(-.25em); }
.menu li b { font-variant-numeric: tabular-nums; }
.menu p { margin: auto 0 0; font-style: italic; font-size: 2.9cqw; color: #f0c987; }
.sign figcaption { margin-top: 1.1rem; font: .85rem var(--mono); color: var(--muted); }

/* What it does */
.does { padding: 1rem 0 4rem; }
.does h2, .sec-head h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.does h2 { padding-bottom: .6rem; border-bottom: 3px solid var(--rule); }
dl { margin: 0; display: grid; column-gap: 4rem; }
@media (min-width: 46rem) { dl { grid-template-columns: 1fr 1fr; } }
dl > div { padding: 1.1rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 35%, transparent); }
dt { font: 700 1.3rem/1.2 var(--serif); }
dd { margin: .3rem 0 0; color: var(--muted); }
dd a { color: var(--ink); font-weight: 600; }

/* Warning */
.vega { background: var(--accent); color: var(--on-accent); padding: 3.5rem 0; border-block: 3px solid var(--ink); }
.vega-row { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 52rem) { .vega-row { grid-template-columns: 1fr 1.2fr; } }
.vega h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.vega p { margin: 0 0 .9rem; font-size: 1.1rem; }
.vega .path { background: rgba(0,0,0,.18); }
:root .vega .path { color: inherit; }

/* Steps */
.steps-sec { padding: 4.5rem 0; }
.sec-head { margin-bottom: 2.5rem; }
.sec-head p { margin: .6rem 0 0; color: var(--muted); font-size: 1.1rem; }
@media (min-width: 62rem) {
  .steps-sec { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; }
}
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 4.2rem 1fr; gap: 0 1rem; padding: 1.5rem 0; border-top: 3px solid var(--rule); }
.steps li:last-child { border-bottom: 3px solid var(--rule); }
.steps li::before { content: counter(s); grid-row: 1 / 3; font: 700 4rem/.9 var(--serif); color: var(--accent); }
.steps h3 { font-size: 1.6rem; }
.steps p { margin: .4rem 0 0; font-size: 1.1rem; max-width: 40rem; }
.steps a { font-weight: 600; }

.setup { background: var(--panel); color: var(--panel-ink); --rule: var(--panel-ink); --muted: #c9c0b0; --ink: var(--panel-ink); --paper: var(--panel); }
.setup .sec-head p { color: #c9c0b0; }
:root .setup { --accent: #ff9d54; --focus: #ffe066; }
@media (prefers-color-scheme: dark) { .setup { background: #221d18; border-block: 1px solid #3a342c; } }

/* FAQ */
.faq { padding: 4.5rem 0; }
.faq .sec-head { margin-bottom: 1.5rem; }
.faq-list { max-width: 48rem; border-top: 3px solid var(--rule); }
details { border-bottom: 1px solid color-mix(in srgb, var(--ink) 40%, transparent); }
summary { cursor: pointer; list-style: none; font: 700 1.3rem/1.3 var(--serif); padding: 1.1rem 3rem 1.1rem 0; min-height: 3.5rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .25rem; top: .75rem; font: 400 2rem/1 var(--sans); color: var(--accent); }
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 1.25rem; max-width: 40rem; }
details a { font-weight: 600; }

/* Footer */
.foot { border-top: 3px solid var(--rule); padding: 2rem 0 3rem; font-size: .95rem; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center; }
.foot p { margin: 0; max-width: 40rem; }
.foot a { color: var(--ink); font-weight: 700; padding: .8rem 0; min-height: 3rem; display: inline-block; }

@media (max-width: 30rem) {
  .button { font-size: 1.25rem; padding: 1rem 1.25rem; width: 100%; text-align: center; }
  .steps li { grid-template-columns: 2.8rem 1fr; }
  .steps li::before { font-size: 2.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
