/* dipolarr.com: the app's 1-bit look. Two inks, square panels with a dithered shadow, pixel numerals.
   Colors are the app's DT tokens (Apple/Dipolarr/Shared/Design/DesignTokens.swift): Dark, and Paper for a light
   system setting. */

@font-face { font-family: "Redaction"; src: url("/fonts/Redaction50-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Redaction"; src: url("/fonts/Redaction50-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Redaction"; src: url("/fonts/Redaction50-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Jersey 15"; src: url("/fonts/Jersey15-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url("/fonts/Silkscreen-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  color-scheme: dark light;
  --base: #161616; --panel: #1F1F1E; --raised: #2B2B29;
  --ink: #E9E5D6; --text-2: #B8B4A6; --text-past: #8F8B80;
  --signal: #9BFF6A; --dither: #4A4A46; --stripe: #3A3A37;
  --c-violet: #C29BFF; --c-magenta: #FF6FCF; --c-green: #9BFF6A;
  --c-cyan: #5CE1FF; --c-yellow: #F2EA5C; --c-blue: #7FA8FF;
  --read: "Redaction", Georgia, "Times New Roman", serif;
  --pixel: "Jersey 15", ui-monospace, monospace;
  --label: "Silkscreen", ui-monospace, monospace;
  --px: 4px;
}
/* Paper: the app's light theme. It follows the system setting until the header switch picks one
   (theme.js puts data-theme="dark" or "paper" on <html> and remembers it). */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --base: #E9E5D6; --panel: #DDD9C9; --raised: #D0CBBA;
    --ink: #161616; --text-2: #4A4740; --text-past: #5E5A50;
    --signal: #161616; --dither: #8F8B80; --stripe: #C4BFAE;
    --c-violet: #5A2FC2; --c-magenta: #9A1272; --c-green: #1A6010;
    --c-cyan: #075A74; --c-yellow: #8F7600; --c-blue: #2848B8;
  }
}
:root[data-theme="paper"] {
  color-scheme: light;
  --base: #E9E5D6; --panel: #DDD9C9; --raised: #D0CBBA;
  --ink: #161616; --text-2: #4A4740; --text-past: #5E5A50;
  --signal: #161616; --dither: #8F8B80; --stripe: #C4BFAE;
  --c-violet: #5A2FC2; --c-magenta: #9A1272; --c-green: #1A6010;
  --c-cyan: #075A74; --c-yellow: #8F7600; --c-blue: #2848B8;
}
:root[data-theme="dark"] { color-scheme: dark; }

/* The theme switch in the header: a pixel sun to go to Paper, a pixel moon to go to Dark */
.theme-toggle { display: none; }
.js-theme .theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0;
  color: var(--text-2); background: none; border: 1px solid transparent; cursor: pointer; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle:hover, .theme-toggle:focus-visible { color: var(--ink); border-color: var(--ink); outline: none; }
.theme-toggle .to-dark { display: none; }
.is-paper .theme-toggle .to-dark { display: block; }
.is-paper .theme-toggle .to-paper { display: none; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--base); color: var(--ink);
  font: 400 1.125rem/1.55 var(--read);
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--signal); }
a:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: var(--base); padding: .5rem .75rem; z-index: 2; }

.wrap { width: min(100% - 2.5rem, 60rem); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 42rem); margin-inline: auto; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
.top .home { display: flex; align-items: center; gap: .6rem; text-decoration: none; padding: .3rem .55rem .2rem; margin-left: -.55rem; }
.top .home svg { width: 32px; height: 28px; }
.top .home span { font: 2rem/1 var(--pixel); }
/* Hovering the set or the wordmark at the top left pixelates in the launch video's glow behind
   that one element: a dithered oval in the lit channel's color, its cells arriving in Bayer order (g0 first) and
   leaving in reverse. While it's lit the color steps through the six channels; on the set that channel's bar
   stands taller, as in the video. */
.glow-host { position: relative; isolation: isolate; }
.glow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  color: var(--lit, var(--c-green)); overflow: visible; max-width: none; }
.hero .mark .glow { width: 200%; height: calc(200% * 240 / 280); }
.top .home .glow { width: 9rem; height: 4.5rem; }
.glow path { opacity: 0; transition: opacity 0s; }
/* On Paper the glow's dots sit on a light page, so they print darker: the dense middle at .9, the edge at .5
   (Dark keeps the video's .5 and .22). */
.is-paper .glow path[fill-opacity=".5"] { fill-opacity: .9; }
.is-paper .glow path[fill-opacity=".22"] { fill-opacity: .5; }
/* The top-left wordmark keeps its glow lit all the time, stepping through the six channel colors. */
.top .home .glow path { opacity: 1; transition: none; }
.top .home:hover, .top .home:focus-visible { color: var(--ink); outline: none; }
.glow .g0 { transition-delay: 180ms; }
.glow .g1 { transition-delay: 160ms; }
.glow .g2 { transition-delay: 140ms; }
.glow .g3 { transition-delay: 120ms; }
.glow .g4 { transition-delay: 100ms; }
.glow .g5 { transition-delay: 80ms; }
.glow .g6 { transition-delay: 60ms; }
.glow .g7 { transition-delay: 40ms; }
.glow .g8 { transition-delay: 20ms; }
.glow .g9 { transition-delay: 0ms; }
.glow-host:hover .glow .g0, .top .home:focus-visible .glow .g0 { opacity: 1; transition-delay: 0ms; }
.glow-host:hover .glow .g1, .top .home:focus-visible .glow .g1 { opacity: 1; transition-delay: 35ms; }
.glow-host:hover .glow .g2, .top .home:focus-visible .glow .g2 { opacity: 1; transition-delay: 70ms; }
.glow-host:hover .glow .g3, .top .home:focus-visible .glow .g3 { opacity: 1; transition-delay: 105ms; }
.glow-host:hover .glow .g4, .top .home:focus-visible .glow .g4 { opacity: 1; transition-delay: 140ms; }
.glow-host:hover .glow .g5, .top .home:focus-visible .glow .g5 { opacity: 1; transition-delay: 175ms; }
.glow-host:hover .glow .g6, .top .home:focus-visible .glow .g6 { opacity: 1; transition-delay: 210ms; }
.glow-host:hover .glow .g7, .top .home:focus-visible .glow .g7 { opacity: 1; transition-delay: 245ms; }
.glow-host:hover .glow .g8, .top .home:focus-visible .glow .g8 { opacity: 1; transition-delay: 280ms; }
.glow-host:hover .glow .g9, .top .home:focus-visible .glow .g9 { opacity: 1; transition-delay: 315ms; }
/* One clock for the whole page: <html> steps --lit through the six channels every 1.5 s, and the top-left glow,
   the set's glow and the set's tall bar all follow it, so whichever color the glow is on, that bar stands tall.
   Pointing at a bar holds that channel everywhere; the clock keeps running underneath, so letting go picks the
   cycle up where it is. (Holding uses !important because a running animation outranks normal rules.) */
:root { animation: logo-channels 9s step-end infinite; }
@keyframes logo-channels {
  0% { --lit: var(--c-green); } 16.667% { --lit: var(--c-cyan); } 33.333% { --lit: var(--c-yellow); }
  50% { --lit: var(--c-blue); } 66.667% { --lit: var(--c-violet); } 83.333% { --lit: var(--c-magenta); }
}
.hero .mark .bar { transform-box: fill-box; transform-origin: 50% 50%; animation: bar-lit 9s step-end infinite; }
@keyframes bar-lit { 0% { transform: scaleY(1.3333); } 16.667% { transform: none; } }
.hero .mark .bar-green { animation-delay: 0s; }
.hero .mark .bar-cyan { animation-delay: 1.5s; }
.hero .mark .bar-yellow { animation-delay: 3s; }
.hero .mark .bar-blue { animation-delay: 4.5s; }
.hero .mark .bar-violet { animation-delay: 6s; }
.hero .mark .bar-magenta { animation-delay: 7.5s; }
/* The set's six bars keep the brand's bright colors in both themes, as the app's logo does. */
.hero .mark .bar-violet { fill: #C29BFF; }
.hero .mark .bar-magenta { fill: #FF6FCF; }
.hero .mark .bar-green { fill: #9BFF6A; }
.hero .mark .bar-cyan { fill: #5CE1FF; }
.hero .mark .bar-yellow { fill: #F2EA5C; }
.hero .mark .bar-blue { fill: #7FA8FF; }
body:has(.hero .mark .bar-green:hover) { --lit: var(--c-green); }
body:has(.hero .mark .bar-cyan:hover) { --lit: var(--c-cyan); }
body:has(.hero .mark .bar-yellow:hover) { --lit: var(--c-yellow); }
body:has(.hero .mark .bar-blue:hover) { --lit: var(--c-blue); }
body:has(.hero .mark .bar-violet:hover) { --lit: var(--c-violet); }
body:has(.hero .mark .bar-magenta:hover) { --lit: var(--c-magenta); }
.hero .mark:has(.bar:hover) .bar { transform: none !important; }
.hero .mark:has(.bar:hover) .bar:hover { transform: scaleY(1.3333) !important; }

@media (prefers-reduced-motion: reduce) {
  .glow path { transition: none !important; }
  :root, .hero .mark .bar { animation: none; }
}
.top nav { display: flex; align-items: center; gap: 1.25rem; font: .8rem/1 var(--label); text-transform: uppercase; }
.top nav a { text-decoration: none; color: var(--text-2); }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink); }

/* Pixel caps label */
.label { font: .8rem/1.3 var(--label); text-transform: uppercase; letter-spacing: .02em; color: var(--signal); margin: 0 0 .5rem; }

/* Hero */
.hero { text-align: center; padding-block: 3.5rem 3rem; }
.hero .logo { display: inline-block; padding: 1.25rem 1.75rem 1.5rem; }
.hero .mark { width: calc(16 * 10px); margin: 0 auto 1.5rem; }
.hero h1 { font: 400 clamp(4.5rem, 14vw, 8rem)/.8 var(--pixel); margin: 0; letter-spacing: .01em; }
.hero .tagline { font: 400 1.6rem/1.2 var(--read); color: var(--text-2); margin: .2rem 0 1.75rem; }
.hero .lede { font-size: 1.3rem; max-width: 34rem; margin: 0 auto; }
.hero .status { margin: 1.75rem auto 0; color: var(--text-2); max-width: 34rem; }

/* Channel strip: the six colors with their numbers */
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.strip li { background: var(--panel); padding: .3rem .6rem .1rem; font: 1.9rem/1 var(--pixel); }

/* 1-bit panel: striped title bar, solid body, dithered shadow in the signal color */
.panel { position: relative; background: var(--panel); margin: 0 0 calc(var(--px) * 3); }
.panel::after {
  content: ""; position: absolute; inset: 0; transform: translate(calc(var(--px) * 2), calc(var(--px) * 2)); z-index: -1;
  background: repeating-conic-gradient(var(--shadow, var(--signal)) 0 25%, transparent 0 50%) 0 0 / calc(var(--px) * 2) calc(var(--px) * 2);
}
.panel > .bar {
  margin: 0; padding: .55rem 1rem .45rem; font: .8rem/1 var(--label); text-transform: uppercase; color: var(--text-2);
  background: repeating-linear-gradient(to bottom, var(--stripe) 0 2px, transparent 2px 4px);
}
.panel > .bar span { background: var(--panel); padding-right: .5rem; }
.panel > .body { padding: 1rem 1.25rem 1.25rem; }
.panel > .body > :first-child { margin-top: 0; }
.panel > .body > :last-child { margin-bottom: 0; }
.panel img { width: 100%; height: auto; }
.stack { isolation: isolate; }

/* Sections */
section { padding-block: 2.5rem; }
h2 { font: 700 1.9rem/1.2 var(--read); margin: 0 0 1rem; }
h3 { font: 700 1.25rem/1.3 var(--read); margin: 1.75rem 0 .4rem; }
p { margin: 0 0 1rem; }
ul.plain { padding-left: 1.2rem; margin: 0 0 1rem; }
ul.plain li { margin-bottom: .35rem; }
.muted { color: var(--text-2); }

.grid { display: grid; gap: 1.75rem 2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.feature h3 { margin-top: 0; }
.feature .num { font: 2.2rem/1 var(--pixel); display: block; margin-bottom: .2rem; }


.measure { max-width: 42rem; }

/* Device labels: a row of pixel-caps buttons; the chosen one is filled with the ink */
.devices { margin-top: 2.75rem; }
.platforms { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 1.75rem; }
.platforms a {
  font: .8rem/1 var(--label); text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--ink); padding: .6rem .7rem .5rem; color: var(--ink); background: transparent;
}
.platforms a:hover { color: var(--base); background: var(--text-2); border-color: var(--text-2); }
.platforms a[aria-selected="true"] { color: var(--base); background: var(--ink); }
.platforms a:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* A device's screenshots, each in a pixel-drawn device: the brand mark's way of drawing, a one-pixel ink outline
   around a dark body, with the device's own details. The screenshot is cut to the device's screen shape. --p is one
   art pixel; corners are pixel-art circles (long runs along the edge, short ones near the side), each layer one
   pixel tighter than the one around it. */
.device { margin: 0; }
.device[hidden] { display: none; }
.device figcaption { font-size: .95rem; color: var(--text-2); margin-top: 1.25rem; }
.screens { padding: .5rem 0 0; display: flex; justify-content: center; align-items: flex-end; gap: 2.5rem; }

.art { --p: 4px; --bz: var(--p); position: relative; min-width: 0; }
.art :is(img, video) { display: block; width: 100%; height: auto; }
.art .shell { background: var(--ink); padding: var(--p); }
.art .screen, .art .deck { position: relative; display: block; background: var(--base); padding: var(--bz); }
.art .cam { display: none; }
.art.phone .shell { clip-path: polygon(0 calc(var(--p) * 7), 0 calc(var(--p) * 4), var(--p) calc(var(--p) * 4), var(--p) calc(var(--p) * 3), calc(var(--p) * 2) calc(var(--p) * 3), calc(var(--p) * 2) calc(var(--p) * 2), calc(var(--p) * 3) calc(var(--p) * 2), calc(var(--p) * 3) var(--p), calc(var(--p) * 4) var(--p), calc(var(--p) * 4) 0, calc(100% - var(--p) * 4) 0, calc(100% - var(--p) * 4) var(--p), calc(100% - var(--p) * 3) var(--p), calc(100% - var(--p) * 3) calc(var(--p) * 2), calc(100% - var(--p) * 2) calc(var(--p) * 2), calc(100% - var(--p) * 2) calc(var(--p) * 3), calc(100% - var(--p)) calc(var(--p) * 3), calc(100% - var(--p)) calc(var(--p) * 4), 100% calc(var(--p) * 4), 100% calc(var(--p) * 7), 100% calc(100% - var(--p) * 7), 100% calc(100% - var(--p) * 4), calc(100% - var(--p)) calc(100% - var(--p) * 4), calc(100% - var(--p)) calc(100% - var(--p) * 3), calc(100% - var(--p) * 2) calc(100% - var(--p) * 3), calc(100% - var(--p) * 2) calc(100% - var(--p) * 2), calc(100% - var(--p) * 3) calc(100% - var(--p) * 2), calc(100% - var(--p) * 3) calc(100% - var(--p)), calc(100% - var(--p) * 4) calc(100% - var(--p)), calc(100% - var(--p) * 4) 100%, calc(var(--p) * 4) 100%, calc(var(--p) * 4) calc(100% - var(--p)), calc(var(--p) * 3) calc(100% - var(--p)), calc(var(--p) * 3) calc(100% - var(--p) * 2), calc(var(--p) * 2) calc(100% - var(--p) * 2), calc(var(--p) * 2) calc(100% - var(--p) * 3), var(--p) calc(100% - var(--p) * 3), var(--p) calc(100% - var(--p) * 4), 0 calc(100% - var(--p) * 4), 0 calc(100% - var(--p) * 7)); }
.art.phone .screen, .art.tablet .shell, .art.fold .shell { clip-path: polygon(0 calc(var(--p) * 6), 0 calc(var(--p) * 4), var(--p) calc(var(--p) * 4), var(--p) calc(var(--p) * 2), calc(var(--p) * 2) calc(var(--p) * 2), calc(var(--p) * 2) var(--p), calc(var(--p) * 4) var(--p), calc(var(--p) * 4) 0, calc(100% - var(--p) * 4) 0, calc(100% - var(--p) * 4) var(--p), calc(100% - var(--p) * 2) var(--p), calc(100% - var(--p) * 2) calc(var(--p) * 2), calc(100% - var(--p)) calc(var(--p) * 2), calc(100% - var(--p)) calc(var(--p) * 4), 100% calc(var(--p) * 4), 100% calc(var(--p) * 6), 100% calc(100% - var(--p) * 6), 100% calc(100% - var(--p) * 4), calc(100% - var(--p)) calc(100% - var(--p) * 4), calc(100% - var(--p)) calc(100% - var(--p) * 2), calc(100% - var(--p) * 2) calc(100% - var(--p) * 2), calc(100% - var(--p) * 2) calc(100% - var(--p)), calc(100% - var(--p) * 4) calc(100% - var(--p)), calc(100% - var(--p) * 4) 100%, calc(var(--p) * 4) 100%, calc(var(--p) * 4) calc(100% - var(--p)), calc(var(--p) * 2) calc(100% - var(--p)), calc(var(--p) * 2) calc(100% - var(--p) * 2), var(--p) calc(100% - var(--p) * 2), var(--p) calc(100% - var(--p) * 4), 0 calc(100% - var(--p) * 4), 0 calc(100% - var(--p) * 6)); }
.art.phone :is(img, video), .art.tablet .screen, .art.fold .screen { clip-path: polygon(0 calc(var(--p) * 5), 0 calc(var(--p) * 3), var(--p) calc(var(--p) * 3), var(--p) var(--p), calc(var(--p) * 3) var(--p), calc(var(--p) * 3) 0, calc(100% - var(--p) * 3) 0, calc(100% - var(--p) * 3) var(--p), calc(100% - var(--p)) var(--p), calc(100% - var(--p)) calc(var(--p) * 3), 100% calc(var(--p) * 3), 100% calc(var(--p) * 5), 100% calc(100% - var(--p) * 5), 100% calc(100% - var(--p) * 3), calc(100% - var(--p)) calc(100% - var(--p) * 3), calc(100% - var(--p)) calc(100% - var(--p)), calc(100% - var(--p) * 3) calc(100% - var(--p)), calc(100% - var(--p) * 3) 100%, calc(var(--p) * 3) 100%, calc(var(--p) * 3) calc(100% - var(--p)), var(--p) calc(100% - var(--p)), var(--p) calc(100% - var(--p) * 3), 0 calc(100% - var(--p) * 3), 0 calc(100% - var(--p) * 5)); }
.art.fold :is(img, video), .art.thor > .shell { clip-path: polygon(0 calc(var(--p) * 4), 0 calc(var(--p) * 2), var(--p) calc(var(--p) * 2), var(--p) var(--p), calc(var(--p) * 2) var(--p), calc(var(--p) * 2) 0, calc(100% - var(--p) * 2) 0, calc(100% - var(--p) * 2) var(--p), calc(100% - var(--p)) var(--p), calc(100% - var(--p)) calc(var(--p) * 2), 100% calc(var(--p) * 2), 100% calc(var(--p) * 4), 100% calc(100% - var(--p) * 4), 100% calc(100% - var(--p) * 2), calc(100% - var(--p)) calc(100% - var(--p) * 2), calc(100% - var(--p)) calc(100% - var(--p)), calc(100% - var(--p) * 2) calc(100% - var(--p)), calc(100% - var(--p) * 2) 100%, calc(var(--p) * 2) 100%, calc(var(--p) * 2) calc(100% - var(--p)), var(--p) calc(100% - var(--p)), var(--p) calc(100% - var(--p) * 2), 0 calc(100% - var(--p) * 2), 0 calc(100% - var(--p) * 4)); }
.art.tablet :is(img, video), .art.thor > .shell:first-child .screen, .art.thor .deck { clip-path: polygon(0 calc(var(--p) * 3), 0 var(--p), var(--p) var(--p), var(--p) 0, calc(100% - var(--p)) 0, calc(100% - var(--p)) var(--p), 100% var(--p), 100% calc(var(--p) * 3), 100% calc(100% - var(--p) * 3), 100% calc(100% - var(--p)), calc(100% - var(--p)) calc(100% - var(--p)), calc(100% - var(--p)) 100%, var(--p) 100%, var(--p) calc(100% - var(--p)), 0 calc(100% - var(--p)), 0 calc(100% - var(--p) * 3)); }
.art.tv .shell, .art.thor :is(img, video), .art.phone .cam { clip-path: polygon(0 calc(var(--p) * 2), 0 var(--p), var(--p) var(--p), var(--p) 0, calc(100% - var(--p)) 0, calc(100% - var(--p)) var(--p), 100% var(--p), 100% calc(var(--p) * 2), 100% calc(100% - var(--p) * 2), 100% calc(100% - var(--p)), calc(100% - var(--p)) calc(100% - var(--p)), calc(100% - var(--p)) 100%, var(--p) 100%, var(--p) calc(100% - var(--p)), 0 calc(100% - var(--p)), 0 calc(100% - var(--p) * 2)); }
.art.tv .screen { clip-path: polygon(0 var(--p), 0 0, 100% 0, 100% var(--p), 100% calc(100% - var(--p)), 100% 100%, 0 100%, 0 calc(100% - var(--p))); }

/* TV: thin bezel, square screen, the brand mark's two feet */
.art.tv { padding-bottom: calc(var(--p) * 3); }
.art.tv::before, .art.tv::after { content: ""; position: absolute; bottom: 0; width: calc(var(--p) * 8); height: calc(var(--p) * 3); background: var(--ink); }
.art.tv::before { left: 12%; } .art.tv::after { right: 12%; }

/* Phones: a hairline bezel, the screen's rounded corners, buttons on the sides. iPhone: the action button and
   volume on the left, the side button on the right, the camera island over the top of the screen. Android: power
   and volume on the right, a punch-hole camera. */
.art.phone { padding-inline: var(--p); }
.art.phone::before, .art.phone::after { content: ""; position: absolute; width: var(--p); }
.art.phone::before { left: 0; top: 14%; height: 24%;
  background: linear-gradient(to bottom, var(--ink) 0 14%, transparent 14% 30%, var(--ink) 30% 62%, transparent 62% 68%, var(--ink) 68% 100%); }
.art.phone::after { right: 0; top: 24%; height: 16%; background: var(--ink); }
.art.phone .cam { display: block; position: absolute; left: 50%; top: calc(var(--bz) + var(--p) * 2); transform: translateX(-50%);
  width: 28%; height: calc(var(--p) * 4); background: #000; }
.art.phone.android::before { display: none; }
.art.phone.android::after { top: 20%; height: 28%;
  background: linear-gradient(to bottom, var(--ink) 0 30%, transparent 30% 42%, var(--ink) 42% 100%); }
.art.phone.android .cam { width: calc(var(--p) * 3); height: calc(var(--p) * 3); clip-path: none; }
/* On its side: the buttons move to the top and bottom edges, the camera to the left */
.art.phone.land { padding-inline: 0; padding-block: var(--p); }
.art.phone.land::before { left: 14%; top: 0; width: 24%; height: var(--p);
  background: linear-gradient(to right, var(--ink) 0 14%, transparent 14% 30%, var(--ink) 30% 62%, transparent 62% 68%, var(--ink) 68% 100%); }
.art.phone.land::after { left: 24%; right: auto; top: auto; bottom: 0; width: 16%; height: var(--p); }
.art.phone.land .cam { left: calc(var(--bz) + var(--p) * 2); top: 50%; transform: translateY(-50%); width: calc(var(--p) * 4); height: 28%; }
.art.phone.android.land::after { left: 20%; width: 28%;
  background: linear-gradient(to right, var(--ink) 0 30%, transparent 30% 42%, var(--ink) 42% 100%); }
.art.phone.android.land .cam { width: calc(var(--p) * 3); height: calc(var(--p) * 3); }

/* iPad: an even bezel all round, the camera centered in the long top edge, the top button on the corner */
.art.tablet { --bz: calc(var(--p) * 3); padding-top: var(--p); }
.art.tablet::before { content: ""; position: absolute; top: 0; right: 9%; width: 9%; height: var(--p); background: var(--ink); }
.art.tablet .cam { display: block; position: absolute; left: 50%; top: calc(var(--bz) / 2 - var(--p) / 2); width: var(--p); height: var(--p);
  background: var(--text-past); transform: translateX(-50%); }

/* The Duo's outer screen runs to the top edge, with no camera island over it */
.art.phone.duo .cam { display: none; }

/* Foldable, open: the hinge shows as notches top and bottom and a faint crease down the screen */
.art.fold::before, .art.fold::after { content: ""; position: absolute; left: calc(50% - var(--p)); width: calc(var(--p) * 2); height: var(--p); background: var(--base); z-index: 1; }
.art.fold::before { top: 0; } .art.fold::after { bottom: 0; }
.art.fold .screen::after { content: ""; position: absolute; top: var(--bz); bottom: var(--bz); left: calc(50% - 1px); width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .35) 0 var(--p), transparent var(--p) calc(var(--p) * 2)); }

/* Dual-screen handheld: the top screen, a hinge with two knuckles, the bottom half with its screen between the
   controls */
.art.thor { display: flex; flex-direction: column; }
.art.thor > .shell:first-child .screen { padding: calc(var(--p) * 3) calc(var(--p) * 3) calc(var(--p) * 4); }
/* The hinge: a barrel across most of the width, outlined, with a dark core */
.art.thor .hinge { height: calc(var(--p) * 4); margin: 0 7%; border-inline: var(--p) solid var(--ink);
  background: linear-gradient(to bottom, var(--ink) 0 var(--p), var(--raised) var(--p) calc(100% - var(--p)), var(--ink) calc(100% - var(--p))); }
.art.thor .hinge i { display: none; }
.art.thor .deck { display: grid; grid-template-columns: 1fr 56% 1fr; align-items: center; padding: calc(var(--p) * 3) 0; }
.art.thor .deck .screen { padding: var(--p); background: #000; }
.art.thor .pad { display: flex; justify-content: center; }
.art.thor .controls { width: 46%; height: auto; }
.art.thor .controls path { fill: var(--text-2); }

/* One stage for every device, so the page doesn't move as the tabs change: each device is fitted to the stage's
   height (less its frame) and centered in it, and the caption keeps room for two lines. */
.devices { --stage: min(440px, 62vw); }
.device .screens { height: var(--stage); align-items: center; }
.device figcaption { min-height: 1.55em; }
@media (max-width: 56rem) { .device figcaption { min-height: 3.1em; } }
.art.tv { width: min(100%, calc((var(--stage) - 28px) * 1.778)); }
/* The remote stands beside the set, on the same floor */
.screens.tv-set { align-items: center; }
.tv-group { display: flex; align-items: flex-end; justify-content: center; gap: calc(var(--p, 4px) * 8); width: 100%; }
.screens.tv-set .art.tv { width: min(100% - 5rem, calc((var(--stage) - 28px) * 1.778)); }
.remote { --p: 5px; flex: none; width: calc(var(--p) * 11); height: auto; }
.art.tablet { width: min(100%, calc((var(--stage) - 44px) * 1.333 + 32px)); }
.art.thor { width: min(100%, calc((var(--stage) - 72px) / 1.05)); }
/* One device that turns: portrait or landscape, switched by the rotate button. Each screenshot fits the stage's
   height and the row's width, keeping its shape. Without the script both show, side by side. */
.devices { --stage-w: min(60rem - 2rem, 100vw - 4.5rem); }
.screens.orient .art { flex: none; width: auto; }
.screens.orient :is(img, video) { width: auto; height: auto; max-height: calc(var(--stage) - 44px); max-width: calc(var(--stage-w) - 24px); }
.screens.orient .art.tablet :is(img, video) { max-height: calc(var(--stage) - 52px); }
.devices.js .screens.orient[data-orient="portrait"] .land, .devices.js .screens.orient[data-orient="landscape"] .port { display: none; }
.rotate { display: none; }
.devices.js .rotate { display: inline-flex; align-items: center; gap: .45rem; margin: -.4rem .75rem -.4rem 0; vertical-align: middle;
  font: .65rem/1 var(--label); text-transform: uppercase; color: var(--ink); background: var(--base);
  border: 1px solid var(--ink); padding: .35rem .5rem .3rem; cursor: pointer; }
.rotate svg { width: 12px; height: 12px; }
.rotate:hover, .rotate:focus-visible { background: var(--ink); color: var(--base); outline: none; }

/* Side by side at one height: both screens get the same height, as tall as the stage or the row's width allows. */
.screens.pair .art { flex: none; }
.screens.pair :is(img, video) { width: auto; height: var(--h); }
#dev-iphone .screens { --h: min(var(--stage) - 28px, calc((100vw - 8rem) / 2.85), 330px); }
#dev-android .screens { --h: min(var(--stage) - 28px, calc((100vw - 8rem) / 2.7), 350px); }
#dev-duo .screens { --h: min(var(--stage) - 28px, calc((100vw - 8rem) / 2.3), 400px); }
#dev-foldable .screens { --h: min(var(--stage) - 28px, calc((100vw - 8rem) / 1.55), 400px); }
@media (max-width: 34rem) {
  .art, .remote { --p: 3px; }
  .devices { --stage: 560px; }
  /* On a phone the device fills the screen and the tabs sit above it, so the area fits each device instead of
     keeping one height: nothing in view moves, and a TV doesn't float in empty space. */
  .device .screens { height: auto; padding-block: 1rem; }
  .device figcaption { min-height: 0; }
  .screens.pair { flex-direction: column; justify-content: center; gap: 1.5rem; }
  /* Upright device first at a set height, the sideways one across the width under it */
  .device .screens.pair .art:first-child :is(img, video) { width: auto; height: var(--h1); }
  .device .screens.pair .art:last-child { width: 100%; }
  .device .screens.pair .art:last-child :is(img, video) { width: 100%; height: auto; }
  #dev-iphone .screens, #dev-android .screens { --h1: 290px; }
  #dev-duo .screens { --h1: 250px; }
  #dev-foldable .screens { --h1: 280px; }
  #dev-foldable .screens.pair .art:last-child { width: 82%; }
}

/* Long-form pages (privacy, support) */
.doc h1 { font: 700 2.6rem/1.1 var(--read); margin: 2rem 0 .5rem; }
.doc .updated { color: var(--text-2); margin-bottom: 2rem; }
.doc h2 { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--stripe); }
.doc dl { margin: 0 0 1rem; }
.doc dt { font-weight: 700; margin-top: .75rem; }
.doc dd { margin: .15rem 0 0; }

/* Not found */
.lost { text-align: center; padding-block: 5rem 4rem; }
.lost svg { width: calc(17 * 9px); margin: 0 auto 2rem; }
.lost h1 { font: 400 4rem/1 var(--pixel); margin: 0 0 .75rem; }

/* Footer */
.foot { border-top: 1px solid var(--stripe); margin-top: 3rem; padding-block: 2rem 3rem; font-size: .95rem; color: var(--text-2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 1rem; font: .8rem/1 var(--label); text-transform: uppercase; }
.foot nav a { text-decoration: none; }
.foot p { margin: 0 0 .4rem; }
.foot .rights { margin-top: 1.25rem; font: .7rem/1 var(--label); text-transform: uppercase; letter-spacing: .04em; }
.foot .rights a { text-decoration: none; }

@media (max-width: 34rem) {
  body { font-size: 1.0625rem; }
  .top nav { gap: .9rem; }
  .hero { padding-top: 2rem; }
  .hero .mark { width: calc(16 * 7px); }
}
/* Four links and the switch: closer together on narrow phones so the switch stays on screen */
@media (max-width: 25rem) {
  .top nav { gap: .5rem; }
  .top .home { gap: .4rem; }
}

/* Beta: two QR cards, with Buddy walking back and forth along the top */
.intro { max-width: 36rem; margin: 0 auto; }
.beta { margin: 2.5rem auto 0; }
@media (min-width: 62rem) {
  .intro { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(30rem, 1.25fr); gap: 3rem; align-items: center; text-align: left; }
  .intro .lede, .intro .status { margin-left: 0; margin-right: 0; }
  .intro .beta { margin: 0; }
}
.hero .track { margin: 2.5rem 0 0; }
.beta .label { text-align: center; margin: .25rem 0 1rem; }
.track { position: relative; height: calc(15 * var(--bpx)); --bpx: 4px; border-bottom: 1px solid var(--stripe); }
/* With buddy.js Buddy lives here instead: the plain walk hides and he gets room for hops and props. */
.track.live { height: calc(22 * var(--bpx)); }
.track.live .walker { display: none; }
.buddy-live { position: absolute; left: 0; bottom: calc(-1 * var(--bpx)); width: calc(24 * var(--bpx)); height: calc(22 * var(--bpx));
  padding: 0; border: 0; background: none; cursor: pointer; }
.buddy-live svg { display: block; width: 100%; height: 100%; overflow: visible; }
.buddy-live:focus-visible { outline: 1px dashed var(--ink); outline-offset: 2px; }
.walker { position: absolute; bottom: 0; left: 0; width: calc(16 * var(--bpx)); animation: buddy-walk 18s linear infinite; }
.walker .buddy { width: 100%; height: auto; animation: buddy-face 18s step-end infinite; }
.buddy .walk { animation: buddy-walking 18s step-end infinite; }
.buddy .stand { opacity: 0; animation: buddy-standing 18s step-end infinite; }
.buddy .step-a { animation: buddy-step .5s step-end infinite; }
.buddy .step-b { opacity: 0; animation: buddy-step .5s step-end -.25s infinite; }
@keyframes buddy-walk {
  0% { left: 0; }
  42%, 50% { left: calc(100% - 16 * var(--bpx)); }
  92%, 100% { left: 0; }
}
@keyframes buddy-face { 0% { transform: none; } 50% { transform: scaleX(-1); } }
@keyframes buddy-walking { 0% { opacity: 1; } 42% { opacity: 0; } 50% { opacity: 1; } 92% { opacity: 0; } }
@keyframes buddy-standing { 0% { opacity: 0; } 42% { opacity: 1; } 50% { opacity: 0; } 92% { opacity: 1; } }
@keyframes buddy-step { 0% { opacity: 1; } 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .walker { animation: none; left: calc(50% - 8 * var(--bpx)); }
  .walker .buddy, .buddy .walk, .buddy .stand { animation: none; }
  .buddy .walk { opacity: 0; }
  .buddy .stand { opacity: 1; }
}

.beta-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem; isolation: isolate; }
.beta-card { display: block; text-decoration: none; color: var(--ink); text-align: center; }
.beta-card.tf { --shadow: var(--c-cyan); }
.beta-card.play { --shadow: var(--c-green); }
.beta-card::after { background: none; }
.beta-card:hover::after, .beta-card:focus-visible::after { animation: shadow-pixel-in .24s steps(1, end) forwards; }
@keyframes shadow-pixel-in {
  0% { background: conic-gradient(var(--shadow) 25%, transparent 0) 0 0 / calc(var(--px) * 4) calc(var(--px) * 4); }
  33% { background: conic-gradient(var(--shadow) 25%, transparent 0) 0 0 / calc(var(--px) * 2) calc(var(--px) * 2); }
  66%, 100% { background: repeating-conic-gradient(var(--shadow) 0 25%, transparent 0 50%) 0 0 / calc(var(--px) * 2) calc(var(--px) * 2); }
}
@media (prefers-reduced-motion: reduce) {
  .beta-card:hover::after, .beta-card:focus-visible::after { animation: none;
    background: repeating-conic-gradient(var(--shadow) 0 25%, transparent 0 50%) 0 0 / calc(var(--px) * 2) calc(var(--px) * 2); }
}
.beta-card > .bar, .beta-card > .body { display: block; }
.beta-card .qr { display: block; width: min(100%, 11rem); margin: .25rem auto .9rem; }
.beta-card .qr svg { width: 100%; height: auto; }
.beta-card .devices-line { display: block; font-size: .95rem; color: var(--text-2); }
.beta-card .go { display: inline-block; margin-top: .6rem; font: .8rem/1 var(--label); text-transform: uppercase; border: 1px solid var(--ink); padding: .55rem .7rem .45rem; }
.beta-card:hover .go, .beta-card:focus-visible .go { background: var(--ink); color: var(--base); }
.beta-card:hover { color: var(--ink); }
.beta-card:focus-visible { outline: none; }
.beta-note { font-size: .95rem; color: var(--text-2); margin: 1.5rem 0 0; text-align: center; }

/* The announcement video in a pixel TV (tv.js). The page behind dithers in (25, 50, then 75 % of the pixels), the
   set opens from a line like an old tube turning on, and both run backwards when it closes. */
.tv-dialog { width: min(92vw, 60rem); max-width: none; max-height: none; padding: 0; border: 0; background: none; color: var(--ink); overflow: visible; }
.tv-dialog::backdrop { background: conic-gradient(transparent 25%, #0b0b0b 0) 0 0 / 6px 6px; animation: tv-dither-in .3s steps(1, end) both; }
.tv-dialog.closing::backdrop { animation: tv-dither-out .3s steps(1, end) .12s both; }
@keyframes tv-dither-in {
  0% { background: conic-gradient(#0b0b0b 25%, transparent 0) 0 0 / 6px 6px; }
  33% { background: repeating-conic-gradient(#0b0b0b 0 25%, transparent 0 50%) 0 0 / 6px 6px; }
  66%, 100% { background: conic-gradient(transparent 25%, #0b0b0b 0) 0 0 / 6px 6px; }
}
@keyframes tv-dither-out {
  0% { background: conic-gradient(transparent 25%, #0b0b0b 0) 0 0 / 6px 6px; }
  33% { background: repeating-conic-gradient(#0b0b0b 0 25%, transparent 0 50%) 0 0 / 6px 6px; }
  66% { background: conic-gradient(#0b0b0b 25%, transparent 0) 0 0 / 6px 6px; }
  100% { background: transparent; }
}
.tv-box { position: relative; isolation: isolate; background: var(--panel); border: 4px solid var(--ink); transform-origin: 50% 50%;
  animation: tv-on .42s steps(7, end) .12s both; }
.tv-box::after { content: ""; position: absolute; inset: 0; transform: translate(8px, 8px); z-index: -1;
  background: repeating-conic-gradient(var(--lit, var(--signal)) 0 25%, transparent 0 50%) 0 0 / 8px 8px; }
.tv-dialog.closing .tv-box { animation: tv-off .3s steps(6, end) both; }
@keyframes tv-on { 0% { transform: scale(0, .01); } 40% { transform: scale(1, .01); } 100% { transform: scale(1, 1); } }
@keyframes tv-off { 0% { transform: scale(1, 1); } 60% { transform: scale(1, .01); } 100% { transform: scale(0, .01); } }
.tv-bar { margin: 0; padding: .55rem 2.75rem .45rem 1rem; font: .8rem/1 var(--label); text-transform: uppercase; color: var(--text-2);
  background: repeating-linear-gradient(to bottom, var(--stripe) 0 2px, transparent 2px 4px); }
.tv-bar span { background: var(--panel); padding-right: .5rem; }
.tv-close { position: absolute; top: 0; right: 0; width: 2.25rem; height: 1.85rem; display: grid; place-items: center; padding: 0;
  color: var(--ink); background: var(--panel); border: 0; border-left: 4px solid var(--ink); cursor: pointer; }
.tv-close svg { width: 12px; height: 12px; }
.tv-close:hover, .tv-close:focus-visible { color: var(--base); background: var(--ink); outline: none; }
.tv-screen { position: relative; background: #000; border-top: 4px solid var(--ink); }
.tv-screen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
/* Click or tap the picture to pause or play. The glyph shows on hover and focus, and stays while paused. */
.tv-toggle { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; color: #E9E5D6; }
.tv-toggle svg { width: 56px; height: 56px; padding: 14px; background: rgba(11, 11, 11, .75); opacity: 0; }
.tv-toggle:hover svg, .tv-toggle:focus-visible svg, .tv-dialog:not(.is-playing) .tv-toggle svg { opacity: 1; }
.tv-toggle:focus-visible { outline: 2px dashed #E9E5D6; outline-offset: -6px; }
.tv-dialog.is-playing .tv-toggle .play, .tv-dialog:not(.is-playing) .tv-toggle .pause { display: none; }
/* The control bar under the picture: play, a dithered progress track filled with ink, the time, and mute. */
.tv-controls { display: flex; align-items: center; gap: .75rem; padding: .5rem .75rem; border-top: 4px solid var(--ink); background: var(--panel); }
.tv-play, .tv-mute { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0; color: var(--ink);
  background: none; border: 1px solid var(--ink); cursor: pointer; }
.tv-play svg, .tv-mute svg { width: 12px; height: 12px; }
.tv-mute svg.off { width: 14px; }
.tv-play:hover, .tv-play:focus-visible, .tv-mute:hover, .tv-mute:focus-visible { color: var(--base); background: var(--ink); outline: none; }
.tv-dialog.is-playing .tv-play .play, .tv-dialog:not(.is-playing) .tv-play .pause { display: none; }
.tv-dialog.is-muted .tv-mute .on, .tv-dialog:not(.is-muted) .tv-mute .off { display: none; }
.tv-seek { position: relative; flex: 1; height: 14px; cursor: pointer; touch-action: none;
  background: repeating-conic-gradient(var(--dither) 0 25%, transparent 0 50%) 0 0 / 4px 4px; outline: 1px solid var(--stripe); }
.tv-seek:focus-visible { outline: 2px solid var(--ink); }
.tv-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ink); }
.tv-time { flex: none; font: .7rem/1 var(--label); color: var(--text-2); min-width: 5.5rem; text-align: right; }
@media (max-width: 34rem) { .tv-controls { gap: .5rem; padding: .4rem .5rem; } .tv-time { min-width: 0; font-size: .6rem; } }

@media (prefers-reduced-motion: reduce) {
  .tv-dialog::backdrop, .tv-dialog.closing::backdrop, .tv-box, .tv-dialog.closing .tv-box { animation: none; }
}

/* A hint over Buddy: he's the way in to the video. */
.buddy-live::after { content: "▶ Watch"; position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, -4px); white-space: nowrap;
  font: .6rem/1 var(--label); text-transform: uppercase; color: var(--base); background: var(--ink); padding: .35rem .45rem .3rem;
  opacity: 0; pointer-events: none; }
.buddy-live:hover::after, .buddy-live:focus-visible::after { opacity: 1; }

/* Help (/help/): each topic is a channel, VHF 2 to 13, in the channel colors. --ch is the page's channel. */
.help .tuned { display: flex; align-items: center; gap: .75rem; margin: 2rem 0 0; font: .8rem/1 var(--label); text-transform: uppercase; color: var(--text-2); }
.help .tuned a { text-decoration: none; }
.help .tuned .num { font: 2.6rem/.8 var(--pixel); color: var(--ch); }
.help .tuned .lbl { color: var(--ch); }
.help h1 { margin-top: .5rem; }
.help h2 { scroll-margin-top: 1rem; }
.help code { font: .95em/1 var(--pixel); background: var(--panel); padding: .1em .35em; }
ol.steps { padding-left: 1.4rem; margin: 0 0 1rem; }
ol.steps li { margin-bottom: .5rem; }
ol.steps li::marker { font: 1.25rem/1 var(--pixel); color: var(--ch, var(--signal)); }

/* The lineup: one row per topic, like a guide row */
.lineup { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .5rem; }
.lineup a { display: grid; grid-template-columns: 4.5rem 1fr; align-items: center; gap: 1rem; padding: .8rem 1rem .7rem; background: var(--panel); text-decoration: none; position: relative; }
.lineup .num { font: 2.6rem/.8 var(--pixel); color: var(--c); }
.lineup .name { display: block; font-weight: 700; font-size: 1.2rem; }
.lineup .promise { display: block; color: var(--text-2); font-size: 1rem; line-height: 1.35; }
.lineup a:hover, .lineup a:focus-visible { background: var(--ink); color: var(--base); outline: none; }
.lineup a:hover .num, .lineup a:focus-visible .num, .lineup a:hover .promise, .lineup a:focus-visible .promise { color: var(--base); }
.lineup a:hover::after, .lineup a:focus-visible::after {
  content: ""; position: absolute; inset: 0; transform: translate(calc(var(--px) * 2), calc(var(--px) * 2)); z-index: -1;
  background: repeating-conic-gradient(var(--c) 0 25%, transparent 0 50%) 0 0 / calc(var(--px) * 2) calc(var(--px) * 2);
}
.lineup li { isolation: isolate; }

/* Buddy says: a panel with Buddy at the left, ears in the page's channel color */
.tip { margin: 2rem 0; }
.tip .body { display: flex; gap: 1rem; align-items: flex-start; }
.tip .buddy { flex: none; width: 64px; height: 64px; }
.tip .body p { margin: 0; }

/* Key and control tables */
table.keys { width: 100%; border-collapse: collapse; margin: 0 0 1.25rem; font-size: 1rem; }
table.keys th { font: .75rem/1.2 var(--label); text-transform: uppercase; color: var(--text-2); text-align: left; padding: .5rem .75rem; background: var(--panel); }
table.keys td { padding: .55rem .75rem; border-top: 1px solid var(--stripe); vertical-align: top; }
table.keys td:first-child { font-weight: 700; width: 40%; }
.lineup-table td.num { font: 1.7rem/1 var(--pixel); color: var(--c); width: 4rem; }
.lineup-table td:nth-child(2) { font-weight: 700; width: 9rem; }

/* Flip to the channel before or after */
.flip { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--stripe); }
.flip a { display: block; padding: .75rem 1rem; background: var(--panel); text-decoration: none; }
.flip .next { text-align: right; }
.flip .lbl { display: block; font: .75rem/1.2 var(--label); text-transform: uppercase; color: var(--c, var(--text-2)); margin-bottom: .25rem; }
.flip a:hover, .flip a:focus-visible { background: var(--ink); color: var(--base); outline: none; }
.flip a:hover .lbl, .flip a:focus-visible .lbl { color: var(--base); }
@media (max-width: 34rem) {
  .lineup a { grid-template-columns: 3.25rem 1fr; gap: .75rem; }
  .lineup .num, .help .tuned .num { font-size: 2.1rem; }
  .flip { grid-template-columns: 1fr; }
  .flip .next { text-align: left; }
  table.keys td:first-child { width: auto; }
  .tip .buddy { width: 48px; height: 48px; }
}
/* Channel colors as classes (the site's CSP allows no inline styles) */
.c-green { --c: var(--c-green); } .c-cyan { --c: var(--c-cyan); } .c-yellow { --c: var(--c-yellow); }
.c-violet { --c: var(--c-violet); } .c-magenta { --c: var(--c-magenta); } .c-blue { --c: var(--c-blue); }
.ch-green { --ch: var(--c-green); } .ch-cyan { --ch: var(--c-cyan); } .ch-yellow { --ch: var(--c-yellow); }
.ch-violet { --ch: var(--c-violet); } .ch-magenta { --ch: var(--c-magenta); } .ch-blue { --ch: var(--c-blue); }
.sh-green { --shadow: var(--c-green); } .sh-cyan { --shadow: var(--c-cyan); } .sh-yellow { --shadow: var(--c-yellow); }
.sh-violet { --shadow: var(--c-violet); } .sh-magenta { --shadow: var(--c-magenta); } .sh-blue { --shadow: var(--c-blue); }
/* Help screenshots: framed like the app's panels, with a dithered shadow in the page's channel color */
.shot { margin: 1.5rem 0 2rem; }
.shot img { width: 100%; height: auto; background: var(--panel); box-shadow: 0 0 0 1px var(--stripe); }
.shot.tall img { width: auto; max-width: 100%; max-height: 34rem; margin: 0 auto; }
.shot figcaption { margin-top: .6rem; font: .75rem/1.4 var(--label); text-transform: uppercase; letter-spacing: .02em; color: var(--text-2); }
.shot.tall figcaption { text-align: center; }
