/* Additions for the standalone site: the get form, warranty block, source and notice pages. */
.btn.btn-primary { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.jamesos-site .thanks-home { margin-top: 20px; }
.get, .warn { margin-top: 28px; }
.get .amounts { border: 0; padding: 0; margin: 0 0 18px; }
.get legend { font-weight: 650; margin-bottom: 10px; padding: 0; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: block; min-width: 72px; text-align: center; padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel-2); font-weight: 650; }
.chips input:checked + span { border-color: var(--green); background: #19c47b18; color: var(--green); }
.chips input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.field { display: block; margin: 0 0 16px; }
.field > span { display: block; font-weight: 650; margin-bottom: 6px; }
.field input { width: 100%; max-width: 420px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; }
.field input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; max-width: 60ch; }
.field .field-error { color: #ff9f93; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; max-width: 70ch; }
.check input { margin-top: 5px; accent-color: var(--green); }
.warn { border-color: #e3a41b55; background: linear-gradient(#e3a41b10, transparent 60%), var(--panel); }
.warn h2 { color: var(--gold); }
.warn li { margin: 8px 0; }
.doc { max-width: 920px; margin: 0 auto; padding: 8px 24px 80px; }
.doc h1 { font-size: clamp(32px, 4vw, 48px); margin: 24px 0 8px; }
.doc h2 { margin-top: 40px; }
.doc-screen { float: right; clear: right; width: min(100%, 240px); margin: 0 0 16px 24px; }
.doc-screen ~ :is(h2, h3) { clear: both; }
.doc-screen img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.monitor-example { display: block; position: relative; }
.monitor-example::after { content: ""; position: absolute; bottom: 0; left: 0; width: 58%; height: .8333%; background: rgb(0, 200, 230); }
.doc-screen figcaption { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.fm1-figure { margin: 24px 0 32px; max-width: 760px; }
.fm1-figure img { display: block; width: 100%; height: auto; }
.fm1-figure figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.4; }
@media (max-width: 620px) {
  .doc-screen { float: none; margin: 12px 0 16px; }
}
.track-badge {
  display: inline-block; min-width: 2.3em; padding: .14em .38em; color: #000;
  font: 900 .85em/1.15 var(--mono); text-align: center; vertical-align: .08em;
  clip-path: polygon(2px 0, calc(100% - 2px) 0, calc(100% - 2px) 2px, 100% 2px,
    100% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 100%,
    2px 100%, 2px calc(100% - 2px), 0 calc(100% - 2px), 0 2px, 2px 2px);
}
.track-badge[data-track="T1"] { background: #08b868; }
.track-badge[data-track="T2"] { background: #a048e0; }
.track-badge[data-track="T3"] { background: #2080f0; }
.track-badge:is([data-track="T4"], [data-track="DK"]) { background: #f04828; }
/* Inline references to FM-1 controls and on-screen parameter graphics. */
.fm-control, .interior-home, .fm-key, .fm-knob, .param-label { display: inline-flex; align-items: center; vertical-align: middle; white-space: nowrap; }
.fm-control, .interior-home { justify-content: center; color: #f0f0f1; background: #414145; border: 1px solid #74747a; font: 700 .72em/1 var(--sans); letter-spacing: .035em; }
.fm-face, .interior-home { width: 3.6em; height: 3.6em; padding: .1em; border-radius: .36em; font-size: .55em; }
.fm-oct { min-height: 1.75em; padding: .12em .48em; border-radius: .35em; }
.fm-key { justify-content: center; min-height: 2.35em; padding: .12em .45em; border-radius: .7em; font: 600 .72em/1 var(--sans); }
.fm-key-white { background: #eeeef2; color: #171719; border: 1px solid #aaaab0; }
.fm-key-black { background: #29292d; color: #eeeef2; border: 1px solid #77777d; }
.fm-knob { gap: .4em; padding: .28em .55em; background: #eeeef2; color: #171719; border-radius: .25em; font: 700 .75em/1.1 var(--sans); }
.fm-knob-icon { position: relative; width: 1.05em; height: 1.05em; border: .14em solid currentColor; border-radius: 50%; flex: none; }
.fm-knob-icon::after { content: ""; position: absolute; top: -.12em; left: 50%; width: .14em; height: .5em; background: currentColor; transform: translateX(-50%); }
.param-label { gap: .15em; }
.param-label img { width: 1.65em; height: 1.32em; object-fit: contain; image-rendering: pixelated; }
.parameter-guide { clear: both; margin: 20px 0 28px; padding: 16px 0; border-block: 1px solid var(--line); }
.parameter-guide-title { display: block; margin-bottom: 12px; color: var(--muted); font: 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.parameter-guide-items { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.parameter-reference { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font: 600 11px/1.3 var(--sans); }
.parameter-reference img { width: 42px; height: 42px; object-fit: contain; image-rendering: pixelated; }
.doc pre { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow-x: auto; font: 13px/1.5 var(--mono); }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc th { text-align: left; font: 600 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 9px 10px; border-bottom: 2px solid var(--line); }
.doc td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.srcwrap { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; max-width: 1280px; margin: 0 auto; padding: 0 24px 60px; }
.srcwrap aside { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; display: flex; flex-direction: column; max-height: 78vh; }
.srcwrap aside input { margin: 12px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; }
#tree { overflow: auto; padding: 0 6px 12px; font: 13px/1.7 var(--mono); }
#tree details > summary { cursor: pointer; padding: 1px 6px; border-radius: 6px; }
#tree details > summary:hover, #tree a:hover { background: var(--panel-2); }
#tree details > div { margin-left: 14px; border-left: 1px solid var(--line); padding-left: 6px; }
#tree a { display: block; padding: 1px 6px; color: var(--text); text-decoration: none; border-radius: 6px; overflow-wrap: anywhere; }
#tree a[aria-current] { background: #19c47b22; color: var(--green); }
#viewer { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); min-width: 0; }
#viewer header { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); }
#viewer pre { margin: 0; padding: 14px 0; overflow: auto; max-height: 72vh; font: 13px/1.55 var(--mono); counter-reset: line; }
#viewer pre code { display: block; }
#viewer .ln { display: block; padding: 0 16px 0 0; white-space: pre; }
#viewer .ln::before { counter-increment: line; content: counter(line); display: inline-block; width: 56px; padding-right: 14px; text-align: right; color: #5d6f68; user-select: none; }
.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; max-width: 1280px; margin: 0 auto; padding: 0 24px 24px; }
.dl .panel { padding: 18px 20px; margin: 0; }
@media (max-width: 860px) { .srcwrap { grid-template-columns: 1fr; } .srcwrap aside { max-height: 40vh; } }
.callout { border: 1px solid #e3a41b55; background: #e3a41b12; border-radius: 10px; padding: 12px 16px; color: var(--text); }
.doc ul, .doc ol { padding-left: 22px; } .doc li { margin: 5px 0; } .doc code { font: .88em var(--mono); background: var(--panel-2); padding: 1px 6px; border-radius: 5px; }
.doc .tw { overflow-x: auto; margin: 14px 0; }
.dl .fine { overflow-wrap: anywhere; }

/* JamesOS: a quiet, image-led instrument page. */
:root { --sans: "Helvetica Neue", Helvetica, Arial, sans-serif; --green: #eeeef2; --green-ink: #151515; }
body { background: #151515; }
a { color: var(--text); }
a:hover { color: #fff; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; background: #eeeef2; color: #151515; padding: 12px; }
.skip-link:focus { top: 12px; }
.top {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  max-width: none; padding: 16px 48px; min-height: 80px; gap: 24px;
  border-bottom: 1px solid var(--line); background: #111;
}
.top .brand { justify-self: start; }
.top .brand img { display: block; width: clamp(144px, 16vw, 200px); height: auto; }
.top nav { display: flex; flex-wrap: wrap; justify-content: flex-end; margin: 0; gap: 8px 24px; }
.top nav a { color: var(--text); font-size: 14px; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.home-header { grid-template-columns: 1fr auto 1fr; }
.home-header nav { display: flex; justify-content: flex-start; margin: 0; }
.home-header-logo { display: block; line-height: 0; }
.home-header-logo img { display: block; width: 100px; height: auto; filter: brightness(0) invert(1); }
.interior-header { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.interior-home {
  justify-self: start; text-decoration: none;
}
.interior-home:hover { background: #56565b; }
.interior-logo { display: block; line-height: 0; }
.interior-logo img { display: block; width: clamp(120px, 14vw, 170px); height: auto; }
.interior-header nav { display: flex; margin: 0; }
.pill, .pill.ok { border-radius: 0; background: transparent; border-color: var(--line); color: var(--muted); font: 11px/1.2 var(--mono); padding: 8px 10px; }
main { --page-gutter: 48px; max-width: 1600px; padding: 0 var(--page-gutter) 100px; }
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; padding: var(--page-gutter) 0 64px; }
.hero-logo { display: block; width: min(100%, 460px); height: auto; }
.eyebrow, .section-index { font: 11px/1.4 var(--mono); text-transform: uppercase; color: var(--muted); letter-spacing: .09em; margin: 0 0 28px; }
h1 { font-size: clamp(44px, 5.3vw, 82px); font-weight: 500; letter-spacing: -.065em; line-height: 1.02; margin-bottom: 28px; }
.lede { font-size: 17px; line-height: 1.5; color: #bcbcc1; max-width: 39ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.btn { border-radius: 0; font-size: 12px; font-weight: 600; letter-spacing: .035em; text-transform: uppercase; padding: 16px 20px; min-height: 48px; justify-content: center; }
.btn.btn-primary { border: 1px solid #eeeef2; color: #eeeef2; background: transparent; }
.btn.btn-primary:hover:not(:disabled) { background: #eeeef2; color: #151515; }
.btn-primary span { margin-left: 16px; font-size: 18px; line-height: .7; }
.btn-quiet { border-color: #555; }
.text-link { font-size: 12px; text-decoration: none; border-bottom: 1px solid #666; padding: 8px 0; }
.text-link span { margin-left: 16px; }
.hero-note { color: var(--muted); font-size: 12px; margin: 18px 0 0; }
.device { max-width: none; min-width: 0; background: #202020; align-self: stretch; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.display-label { display: flex; justify-content: space-between; gap: 12px; padding: 22px 24px; font: 10px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #aaaab0; }
.screen-stage { display: grid; place-items: center; flex: 1; padding: 26px 18%; min-height: 350px; overflow: hidden; perspective: 850px; touch-action: pan-y; user-select: none; }
.screen-track { display: grid; width: 100%; transform-style: preserve-3d; }
.screen-stage .glass {
  grid-area: 1 / 1; width: 100%; border-radius: 0; box-shadow: none; background: #000;
  backface-visibility: hidden; cursor: pointer;
}
/* Render neighboring screens before JavaScript initializes the carousel. */
.screen-initial-center { transform: translate3d(0, 0, 0); }
.screen-initial-next { transform: translate3d(83.66%, 0, -155.6px) rotateY(-54.9deg); }
.screen-initial-previous { transform: translate3d(-83.66%, 0, -155.6px) rotateY(54.9deg); }
.screen-stage .px { pointer-events: none; -webkit-user-drag: none; }
.glass::after { display: none; }
.device figcaption { padding: 22px 24px; font: 9px/1.5 var(--mono); letter-spacing: .02em; gap: 8px; color: var(--muted); flex-direction: column; align-items: flex-start; }
.device figcaption > span:first-child { min-height: 2.7em; }
.screen-controls { display: flex; align-items: center; gap: 10px; }
.screen-rotation { display: grid; place-items: center; background: none; border: 0; color: var(--text); padding: 5px; width: 32px; height: 32px; cursor: pointer; }
.screen-rotation[hidden], .screen-rotation svg[hidden] { display: none; }
.screen-rotation svg { display: block; width: 14px; height: 14px; }
.screen-rotation:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.dots { gap: 0; flex-shrink: 0; }
.dots button { position: relative; width: 18px; height: 24px; border-radius: 0; background: transparent; }
.dots button::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #666; left: 6px; top: 9px; }
.dots button[aria-pressed="true"]::after { width: 7px; height: 7px; left: 5px; top: 8px; background: #79e5a0; box-shadow: 0 0 8px #79e5a088; }
.facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 80px; }
.facts li { border: 0; border-right: 1px solid var(--line); border-radius: 0; background: none; padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; min-width: 0; }
.facts li:first-child { padding-left: 0; }
.facts li:last-child { border-right: 0; }
.fact-icon { display: block; width: 48px; height: auto; flex: 0 0 auto; image-rendering: pixelated; }
.fact-icon-mix { filter: brightness(1.8); }
.fact-copy { min-width: 0; }
.fact-heading { display: flex; align-items: baseline; gap: 10px; }
.fact-copy p { margin: 8px 0 0; font-size: 11px; line-height: 1.5; }
.facts b { font: 400 42px/1 var(--sans); letter-spacing: -.06em; }
.facts span { font-size: 11px; line-height: 1.5; margin: 0; }
.panel { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; padding: 40px 0 48px; margin: 0 auto; max-width: 1000px; scroll-margin-top: 24px; }
.installer-page > #installer-gate, .installer-page > #installer { border-top: 0; }
.panel-head { align-items: flex-end; margin-bottom: 32px; }
.panel .section-index { margin: 0 0 16px; color: var(--muted); font-size: 11px; }
.panel h2 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; }
.panel h3 { font-size: 27px; font-weight: 400; letter-spacing: -.035em; }
.panel h4 { font-weight: 400; }
.panel-head > p { margin: 0; font-size: 13px; }
.installer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.installer-meta p { margin: 0; font-size: 13px; }
.build-instrument { display: inline-block; padding: 2px 5px; border: 1px solid #55555a; color: #d2d2d7; font: 600 9px/1 var(--sans); letter-spacing: .03em; vertical-align: 1px; }
.get { margin-top: 0; }
#get-form { max-width: 640px; }
.chips { gap: 0; }
.chips span { border-radius: 0; border-color: #555; background: none; font-size: 14px; font-weight: 400; min-width: 78px; }
.chips label + label span { border-left: 0; }
.chips input:checked + span { background: #eeeef2; color: #151515; border-color: #eeeef2; }
.get legend, .field > span { font-size: 12px; font-weight: 400; }
.field { margin: 24px 0; }
.field input { max-width: none; background: #202020; border-radius: 0; border-color: #555; padding: 14px; }
.field small, .fine { font-size: 12px; line-height: 1.6; }
.check { font-size: 13px; }
.check input, .consent input { accent-color: #eeeef2; }
#get-form > .fine { margin-top: 24px; }
.warn { background: none; border-color: var(--line); padding-top: 28px; padding-bottom: 28px; }
.warn h2 { color: var(--text); font-size: 24px; letter-spacing: -.025em; }
.warn .section-index { margin-bottom: 12px; }
.warn .risk-summary { font-size: 14px; margin-top: 12px; max-width: 66ch; }
.risk-details { padding: 0; border: 0; }
.risk-details:last-child { border: 0; }
.risk-details summary { justify-content: flex-start; font-size: 12px; font-weight: 400; gap: 20px; text-decoration: underline; text-underline-offset: 4px; }
.risk-details > div { max-width: 78ch; margin-top: 24px; font-size: 14px; }
#installer { margin-top: 0; }
#installer-title { font-size: clamp(36px, 4.8vw, 64px); margin: 0; }
.stepper { margin: 34px 0 40px; }
.stepper i { border-radius: 0; clip-path: none; border-width: 1px; font-weight: 400; }
.stepper li { font-size: 12px; font-weight: 400; }
.stepper li::after { height: 1px; }
.stepper li.done i { background: #eeeef2; }
#installer .step > p { max-width: 68ch; font-size: 14px; }
.checklist li { font-size: 13px; }
.checklist i { border-width: 1px; }
.device-card, .backup, .banner, .alert, .log pre, .done-mark, .plan li::before, .stages li::before, .doc pre, .srcwrap aside, #viewer, .callout { border-radius: 0; }
.plan li::before, .stages li::before { background: #2c2c2c; }
.device-card dd { font-weight: 400; font-size: 13px; }
.consent label { color: #c7c7cc; font-size: 13px; max-width: 80ch; }
.bar, #bar-fill { border-radius: 0; height: 4px; }
.status { font-size: 12px; }
.done-mark { box-shadow: none; }
.cols { max-width: 1000px; gap: 64px; margin-top: 70px; }
.installer-help { grid-template-columns: 1fr; }
.cols .section-index { margin-bottom: 16px; }
.cols h2, .legal h2 { font-size: 27px; font-weight: 400; letter-spacing: -.035em; margin-bottom: 28px; }
details summary { font-size: 14px; font-weight: 400; }
details p, .installer-help details li { font-size: 13px; line-height: 1.6; }
.installer-help details li { color: #bbbbc0; }
.installer-help details :is(ul, ol) { color: #bbbbc0; margin: 10px 0 0; padding-left: 1.5em; }
.legal { max-width: 1000px; }
.legal p { font-size: 13px; }
footer { max-width: none; padding: 32px 48px; font-size: 11px; background: #111; }
.doc h1 { font-weight: 500; }
#tree a[aria-current] { background: #333; color: #eeeef2; }
@media (max-width: 1100px) {
  .top { padding-inline: 32px; }
  main { --page-gutter: 32px; }
  .hero { gap: 28px; }
  .facts li { padding: 22px 16px; gap: 10px; }
  .fact-icon { width: 40px; }
  .facts b { font-size: 34px; }
  .screen-stage { min-height: 300px; }
  .device figcaption { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 760px) {
  .top { padding: 12px 24px; min-height: 68px; gap: 16px; }
  .interior-header nav { grid-column: 1 / -1; justify-content: center; }
  .top nav { gap: 8px 16px; }
  .top nav a { font-size: 12px; }
  main { --page-gutter: 24px; padding-bottom: 64px; }
  .hero { grid-template-columns: 1fr; padding-bottom: 32px; gap: 40px; }
  h1 { font-size: clamp(43px,8.5vw,65px); }
  .hero-copy { max-width: 540px; }
  .eyebrow { margin-bottom: 24px; }
  .lede { font-size: 16px; max-width: 42ch; }
  .screen-stage { min-height: 0; padding: 24px 23%; }
  .device figcaption { flex-direction: column; align-items: flex-start; }
  .display-label { padding: 18px; }
  .facts { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 48px; }
  .facts li { padding: 24px 16px; }
  .facts li:first-child { padding-left: 16px; }
  .facts li:nth-child(2) { border-right: 0; }
  .facts li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .panel { padding: 32px 0; }
  .panel-head { gap: 18px; }
  .panel-head > p { font-size: 12px; }
  .installer-meta { align-items: flex-start; }
  .stepper li span { display: inline; }
  .stepper li { gap: 6px; padding-right: 6px; font-size: 10px; }
  .stepper i { width: 24px; height: 24px; font-size: 10px; }
  .stepper li::after { margin-left: 0; }
  .cols { gap: 40px; margin-top: 40px; }
  footer { padding: 24px; }
}
@media (max-width: 400px) {
  .top { padding-inline: 20px; gap: 12px; }
  .top nav { column-gap: 12px; }
  main { --page-gutter: 20px; }
  .hero-actions { gap: 16px; }
  .device figcaption { flex-direction: column; align-items: flex-start; gap: 8px; }
  .chips { flex-wrap: nowrap; }
  .chips label { flex: 1; }
  .chips span { min-width: 0; padding: 12px 14px; }
}

/* Long-form documentation shares the site's restrained type and navigation. */
.doc { max-width: 1000px; padding: 64px 32px 96px; color: #c7c7cc; font-size: 16px; line-height: 1.75; }
.doc h1 { color: var(--text); margin: 0 0 20px; font-size: clamp(38px, 5vw, 62px); letter-spacing: -.055em; }
.doc h2 { color: var(--text); font-size: 30px; font-weight: 500; letter-spacing: -.035em; line-height: 1.2; margin: 64px 0 24px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.doc h3 { color: var(--text); font-size: 22px; font-weight: 400; letter-spacing: -.02em; line-height: 1.3; margin: 40px 0 18px; scroll-margin-top: 24px; }
.doc p, .doc ul, .doc ol { max-width: 78ch; }
.doc strong { color: var(--text); font-weight: 600; }
.doc .callout { margin: 28px 0; padding: 20px 24px; font-size: 14px; line-height: 1.65; }
.doc .tw { margin: 24px 0; }
.doc table { font-size: 14px; line-height: 1.6; }
.doc th, .doc td { padding: 12px 14px; }
.doc table td:first-child { color: var(--text); }
.doc table td.unused { color: #77777d; }
/* The Quick Start reads like a compact insert within the JamesOS site. */
.quick-start { background: #1b1b1b; border: 1px solid var(--line); padding: clamp(24px, 5vw, 56px); scroll-margin-top: 24px; }
.quick-start-head { max-width: 680px; padding-bottom: 32px; }
.quick-start-head .quick-start-label { margin: 0 0 28px; color: var(--muted); font: 11px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.doc .quick-start h1 { color: var(--text); font-size: clamp(38px, 6vw, 68px); line-height: 1.02; margin: 0 0 20px; }
.quick-start-head p { max-width: 52ch; margin: 0 0 20px; }
.quick-start a { text-underline-offset: 4px; }
.quick-start-head a, .quick-start-end { font-size: 13px; }
.quick-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.quick-page-count { color: var(--muted); font: 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.quick-page-picker { display: flex; gap: 8px; }
.quick-page-picker button, .quick-controls button { color: var(--text); background: transparent; border: 1px solid #555; cursor: pointer; font: 600 12px/1 var(--sans); }
.quick-page-picker button { width: 38px; height: 38px; }
.quick-page-picker button[aria-current="step"] { background: var(--text); color: #151515; border-color: var(--text); }
.quick-page-picker button:hover, .quick-controls button:hover:not(:disabled) { border-color: var(--text); }
.quick-page-picker button:focus-visible, .quick-controls button:focus-visible { outline: 2px solid #eeeef2; outline-offset: 3px; }
.quick-step { border-bottom: 1px solid var(--line); padding: 26px 0; }
.doc .quick-step h2, .doc .quick-gestures h2 { color: var(--text); font-size: 20px; font-weight: 600; margin: 0 0 14px; padding: 0; border: 0; }
.quick-step p, .quick-step ul, .quick-step ol { margin: 0; }
.quick-step li + li { margin-top: 10px; }
.quick-gestures { padding: 32px 0 20px; }
.quick-gestures th, .quick-gestures td { border-color: var(--line); }
.quick-controls { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; }
.quick-controls button { min-height: 44px; padding: 0 18px; }
.quick-controls button:disabled { opacity: .4; cursor: default; }
.quick-start-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; }
.quick-start-end span { color: var(--muted); }
@media (max-width: 760px) {
  .quick-start-head { padding-bottom: 24px; }
  .quick-step { padding: 22px 0; }
}
.doc-contents { margin: 40px 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.doc-contents .section-index { margin: 0 0 16px; }
.doc-contents ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 8px; margin: 0; list-style-position: outside; padding-left: 22px; }
.doc-contents li { font-size: 14px; margin: 0; padding-left: 4px; }
.doc-contents a { text-decoration: none; }
.doc-contents a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .doc { padding: 40px 24px 64px; font-size: 15px; line-height: 1.7; }
  .doc h2 { font-size: 27px; margin-top: 48px; }
  .doc th, .doc td { padding: 10px; min-width: 100px; }
  .doc .tw { overflow-x: auto; }
  .doc-contents ol { grid-template-columns: 1fr; }
  .doc .callout { padding: 16px; }
}

.nowrap { white-space: nowrap; }
@media (max-width: 640px) {
  .doc .licence-summary, .doc .licence-summary tbody, .doc .licence-summary tr, .doc .licence-summary td { display: block; width: 100%; }
  .doc .licence-summary thead { display: none; }
  .doc .licence-summary tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .doc .licence-summary td { padding: 3px 0; border: 0; }
  .doc .licence-summary td:first-child { font-weight: 700; }
  .doc .licence-summary td:nth-child(2)::before { content: "Licence: "; color: var(--muted); }
  .doc .licence-summary td:nth-child(3)::before { content: "Rights holder: "; color: var(--muted); }
}

/* Compact, touch-friendly contribution controls on phones. */
@media (max-width: 760px) {
  .get .panel-head { margin-bottom: 20px; }
  .get > div > p { max-width: 42ch; line-height: 1.55; }
  .get .amounts { margin-bottom: 20px; }
  .get legend, .get .field > span { font-size: 13px; }
  .get .chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
  .get .chips label { min-width: 0; }
  .get .chips label + label span { border-left: 1px solid #555; }
  .get .chips span { min-width: 0; min-height: 48px; display: grid; place-items: center; padding: 10px 2px; }
  .get .chips input:checked + span { border-color: #eeeef2; }
  .get .field { margin: 20px 0; }
  .get .field input { font-size: 16px; min-height: 50px; }
  .get .check { align-items: flex-start; gap: 12px; line-height: 1.5; margin: 20px 0; }
  .get .check input { width: 18px; height: 18px; flex: none; margin: 1px 0 0; }
  .get .row { margin-top: 20px; }
  .get .row .btn { width: 100%; min-height: 52px; }
  .get .row .fine { width: 100%; }
}

/* Launch video: a card that opens YouTube. Nothing third-party loads here. */
.video { margin: 0 0 80px; }
.video-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; text-decoration: none; color: var(--text); }
.video-card:focus-visible { outline: 2px solid #eeeef2; outline-offset: 6px; }
.video-frame { position: relative; display: block; overflow: hidden; background: #202020; line-height: 0; }
.video-frame img { display: block; width: 100%; height: auto; opacity: .92; transition: transform .5s ease, opacity .3s ease; }
.video-card:hover .video-frame img, .video-card:focus-visible .video-frame img { opacity: 1; transform: scale(1.015); }
.video-play { position: absolute; left: 24px; bottom: 20px; display: grid; place-items: center; width: 64px; height: 64px; background: #eeeef2; color: #151515; }
.video-play svg { display: block; width: 26px; height: 26px; }
.video-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.video-copy .section-index { margin: 0; }
.video-title { font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; max-width: 20ch; text-wrap: balance; }
@media (max-width: 760px) {
  .video { margin-bottom: 48px; }
  .video-card { grid-template-columns: 1fr; gap: 24px; }
  .video-play { left: 50%; top: 50%; bottom: auto; width: 56px; height: 56px; transform: translate(-50%, -50%); }
  .video-copy { gap: 14px; }
}

/* Second ask and channel links on the installer's done screen. */
.support { margin-top: 32px; padding-top: 8px; border-top: 1px solid var(--line); }
.support .row { margin: 20px 0; }
a.btn { display: inline-flex; align-items: center; text-decoration: none; }
a.btn.btn-quiet { color: var(--text); }
@media (prefers-reduced-motion: reduce) {
  .video-frame img { transition: none; }
}
