/* lipservice.dev: the Lip Service identity (docs/release/brand).

   The lip red (#dc2a6c) is the logo's and does not move. Around it: paper and an aubergine ink, a
   deep plum for the heavy bands (code, the footer), blush for soft fills, and butter as the one
   spark. The red fills, marks and sets large type; small text that has to be red is set in
   --link, the red darkened on paper and lit on the dark ground, so it reads at AA. Outfit sets
   everything but code. Two shapes come from the mark itself, built into /a/<hash>/ by build.mjs:
   mark.svg (the lips, cut by their wave) and wave.svg (the wave alone). check.mjs measures the
   pairs. */

@font-face { font-family: "Outfit"; src: url("outfit.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light dark;
  --brand: #dc2a6c;
  --brand-hot: #c41f5d;
  --plum: #2b1024;
  --plum-2: #3a1630;
  --butter: #ffd166;
  --on-plum: #f6f4ef;
  --on-plum-mute: #d9c3cd;
  --bg: #f6f4ef;
  --fg: #221a1f;
  --mute: #5a4f55;
  --faint: #6b6066;
  --line: #e2d8d4;
  --panel: #efe9e3;
  --link: #b0145a;
  --accent: #dc2a6c;
  --accent-fg: #ffffff;
  --accent-soft: #fbe3ec;
  --ghost: #f1dde3;
  --ph-bg: #fff1b8;
  --ph-fg: #4a3b00;
  --held: #7a4200;
  --held-bg: #fff6ea;
  --ok: #156b3a;
  /* the engine's drawings (engine/web paint.js reads these) */
  --made: #dc2a6c;
  --head: #b35f10;
  --pitch: #8a6500;
  --comma: #7b3fb0;
  --note: #b0145a;
  --bad: #b3261e;
  --focus: #b0145a;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --measure: 40rem;
  --wide: 74rem;
  --radius: 18px;
  --pill: 999px;
  --lift: 0 1px 2px rgb(43 16 36 / .06), 0 8px 24px -8px rgb(43 16 36 / .18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #140f13;
    --fg: #f6f4ef;
    --mute: #c4b5bd;
    --faint: #a8989f;
    --line: #34262f;
    --panel: #1f171d;
    --link: #ff5c96;
    --accent-soft: #3d1a2b;
    --ghost: #22141c;
    --ph-bg: #4a3d00;
    --ph-fg: #ffe9a3;
    --held: #ffbf73;
    --held-bg: #33261a;
    --ok: #6fdc9d;
    --made: #ff5c96;
    --head: #ffb45e;
    --pitch: #f2c14e;
    --comma: #c9a0ff;
    --note: #ff5c96;
    --bad: #ff8078;
    --focus: #ff5c96;
    --plum: #240d1e;
    --plum-2: #33122a;
    --lift: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px -10px rgb(0 0 0 / .6);
  }
}

/* ------------------------------------------------------------------ base */

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; scrollbar-color: color-mix(in srgb, var(--brand) 55%, var(--bg)) transparent; }
body { margin: 0; font: 400 17.5px/1.62 var(--font); color: var(--fg); background: var(--bg); font-feature-settings: "ss01"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: var(--brand); color: #ffffff; }
img, svg, canvas { max-width: 100%; }
a { color: var(--link); text-underline-offset: .22em; text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, var(--link) 45%, transparent); transition: text-decoration-color .15s, color .15s; }
a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
main { overflow-x: clip; } /* the heading's ghost lips run past the edge; on a phone they would widen the page */
code, pre, kbd { font-family: var(--mono); font-size: .86em; }
:not(pre) > code { background: var(--accent-soft); color: var(--fg); border-radius: 6px; padding: .08em .38em; }
kbd { border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: .05em .4em; background: var(--panel); }
hr { border: 0; height: 14px; margin: 3rem 0; background: var(--brand); -webkit-mask: url("wave.svg") left center / 56px 14px no-repeat; mask: url("wave.svg") left center / 56px 14px no-repeat; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
input, textarea, select { caret-color: var(--brand); }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: var(--measure); }
.prose-wide { max-width: 52rem; }
/* a column of text keeps the page's left edge, under the lockup */
.wrap.prose, .wrap.prose-wide { max-width: var(--wide); }
.wrap.prose > * { max-width: var(--measure); }
.wrap.prose-wide > * { max-width: 52rem; }

/* ------------------------------------------------------------------ the wave, the brand's rule */

/* a short run of the mark's wave in the red: before an eyebrow, on a section's head, under the
   page you are on */
.eyebrow::before, .page-head::after {
  content: ""; display: block; background: var(--brand);
  -webkit-mask: url("wave.svg") center / 100% 100% no-repeat; mask: url("wave.svg") center / 100% 100% no-repeat;
}

/* ------------------------------------------------------------------ skip link, banner, header */

.skip { position: absolute; left: .5rem; top: -4rem; z-index: 50; background: var(--brand); color: #ffffff; padding: .6rem 1rem; border-radius: var(--pill); font-weight: 600; }
.skip:focus { top: .5rem; }
.banner { background: var(--butter); color: #2b1024; font-size: 13.5px; font-weight: 500; padding: .35rem 0; }
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.2rem; }
.wordmark { display: inline-flex; align-items: center; color: var(--fg); text-decoration: none; flex: none; padding: .3rem 0; }
.lockup { display: block; height: 2.35rem; width: auto; max-width: none; overflow: visible; }
.lips > path { fill: var(--brand); stroke: var(--brand); }
.nav { margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: block; padding: .45rem .75rem .55rem; border-radius: var(--pill); color: var(--fg); text-decoration: none; font-size: 15.5px; font-weight: 500; white-space: nowrap; text-transform: lowercase; letter-spacing: .005em; }
.nav a:hover { background: var(--accent-soft); color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); font-weight: 650; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: .05rem; width: 1.9rem; height: .5rem; translate: -50% 0; background: var(--brand); -webkit-mask: url("wave.svg") center / 100% 100% no-repeat; mask: url("wave.svg") center / 100% 100% no-repeat; }
@media (max-width: 800px) {
  .top .wrap { flex-wrap: wrap; gap: .1rem .6rem; padding-top: .45rem; padding-bottom: .2rem; min-height: 0; }
  .lockup { height: 2rem; }
  .nav { order: 3; flex-basis: 100%; margin: 0 -.6rem; overflow-x: visible; }
  .nav ul { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .lockup { height: 1.75rem; }
  .foot-brand .lockup { height: 2.6rem; }
}

/* ------------------------------------------------------------------ buttons and controls */

button, .btn { font: 600 15px/1.2 var(--font); letter-spacing: .005em; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.6rem; padding: .6rem 1.25rem; border-radius: var(--pill); border: 1.5px solid var(--brand); background: var(--brand); color: #ffffff; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, box-shadow .15s, transform .1s; }
button:hover, .btn:hover { background: var(--brand-hot); border-color: var(--brand-hot); box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--brand) 70%, transparent); text-decoration: none; color: #ffffff; }
button:active, .btn:active { transform: translateY(1px) scale(.985); }
button.quiet, .btn.quiet { background: transparent; color: var(--fg); border-color: color-mix(in srgb, var(--fg) 22%, transparent); font-weight: 550; box-shadow: none; }
button.quiet:hover, .btn.quiet:hover { background: var(--accent-soft); border-color: var(--brand); color: var(--fg); box-shadow: none; }
button:disabled, button:disabled:hover { opacity: .45; cursor: default; box-shadow: none; transform: none; }
button:disabled:hover { background: var(--brand); border-color: var(--brand); }
button.quiet:disabled:hover { background: transparent; border-color: color-mix(in srgb, var(--fg) 22%, transparent); }
.btn.big, button.big { font-size: 17px; min-height: 3.2rem; padding: .75rem 1.7rem; }
.btn.dark { background: var(--plum); border-color: var(--plum); color: var(--on-plum); }
.btn.dark:hover { background: var(--plum-2); border-color: var(--plum-2); color: var(--on-plum); box-shadow: none; }
.btns { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.6rem 0 0; }
label { font-size: 15px; color: var(--mute); }
textarea, select, input[type="text"], input[type="email"], input[type="number"], input[type="search"] {
  font: inherit; color: inherit; background: var(--bg); border: 1.5px solid color-mix(in srgb, var(--fg) 26%, var(--bg)); border-radius: 14px; padding: .55rem .75rem; transition: border-color .15s, box-shadow .15s;
}
select { border-radius: var(--pill); padding: .4rem 2.1rem .4rem .9rem; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brand) 50%), linear-gradient(135deg, var(--brand) 50%, transparent 50%); background-position: right 1.05rem center, right .75rem center; background-size: .32rem .32rem; background-repeat: no-repeat; min-height: 2.45rem; cursor: pointer; }
textarea:hover, select:hover, input[type="text"]:hover, input[type="email"]:hover, input[type="number"]:hover, input[type="search"]:hover { border-color: color-mix(in srgb, var(--brand) 60%, var(--bg)); }
textarea:focus, select:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="search"]:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); outline: none; }
textarea { width: 100%; line-height: 1.5; resize: vertical; }
textarea.mono { font: 15px/1.5 var(--mono); }
input[type="range"] { accent-color: var(--brand); width: 9rem; vertical-align: middle; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--brand); }
.field { display: grid; gap: .3rem; margin: 0 0 1rem; }
.field label { color: var(--fg); font-weight: 600; font-size: 15px; }
.field .hint { color: var(--mute); font-size: 14px; }
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; margin-top: .8rem; }
.controls label { display: inline-flex; align-items: center; gap: .5rem; }
output { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ sections and type */

.section { padding: 5rem 0; }
.section + .section { border-top: 1px solid var(--line); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; margin: 0 0 .8rem; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6vw, 4.1rem); letter-spacing: -.04em; font-weight: 750; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.2; }
.dot { color: var(--brand); }
p { margin: 0 0 1rem; }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--mute); max-width: var(--measure); }
.small { font-size: 14.5px; color: var(--mute); }
.eyebrow { font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--link); font-weight: 700; margin-bottom: .7rem; display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { width: 3rem; height: .8rem; flex: none; }
.prose h2 { margin-top: 3rem; font-size: 1.7rem; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .35rem 0; }
.prose ul > li::marker { color: var(--brand); }
.prose ol > li::marker { color: var(--link); font-weight: 700; }
.prose blockquote { margin: 1.5rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 4px solid var(--brand); font-size: 1.12rem; }
.updated { color: var(--mute); font-size: 15px; }
.legal h2 { font-size: 1.35rem; }

/* the head of every page but the home: a big title, the wave under it, the lips large and faint
   behind on the right */
.page-head { position: relative; padding: 4.5rem 0 2.6rem; isolation: isolate; }
.page-head::before { content: ""; position: absolute; z-index: -1; top: 1.2rem; right: -2rem; width: min(30rem, 46vw); aspect-ratio: 114 / 52; background: var(--ghost); -webkit-mask: url("mark.svg") center / contain no-repeat; mask: url("mark.svg") center / contain no-repeat; rotate: -6deg; pointer-events: none; }
.page-head::after { width: 6.5rem; height: 1.6rem; margin-top: 1.6rem; }
.page-head h1 { max-width: 15ch; }
.page-head .lede, .page-head > p { max-width: var(--measure); }
.wrap.prose > .page-head, .wrap.prose-wide > .page-head, .page-head.prose { max-width: none; }
.page-head.prose > * { max-width: var(--measure); }
.section.prose { max-width: none; }
.section.prose > * { max-width: var(--measure); }
.wrap.prose > .page-head > *, .wrap.prose-wide > .page-head > * { max-width: var(--measure); }
.wrap.prose > .page-head h1 { max-width: 15ch; }
@media (max-width: 700px) { .page-head { padding-top: 3rem; } .page-head::before { width: 70vw; right: -6rem; top: .5rem; } }

/* ------------------------------------------------------------------ placeholders and held copy */

mark.ph, .ph { background: var(--ph-bg); color: var(--ph-fg); border-radius: 4px; padding: 0 .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.held { border: 2px dashed var(--held); background: var(--held-bg); border-radius: var(--radius); padding: .9rem 1.1rem; margin: 1rem 0; }
.held-tag { color: var(--held); font: 650 12.5px/1.35 var(--font); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .5rem; }
.held-inline { border: 0; border-bottom: 2px dashed var(--held); padding: 0; margin: 0; background: var(--held-bg); border-radius: 0; }
.held-inline .held-tag { display: inline; font-size: 11px; margin: 0; }
.held-now { border-style: dotted; }
.notice { border: 0; border-left: 5px solid var(--brand); background: var(--accent-soft); border-radius: 6px var(--radius) var(--radius) 6px; padding: 1.1rem 1.35rem; max-width: var(--measure); }

/* ------------------------------------------------------------------ grids, cards */

.h3 { font-size: 1.25rem; }

/* ------------------------------------------------------------------ the hero: the home's red band */

.hero { position: relative; overflow: hidden; isolation: isolate; padding: 5.5rem 0 7.5rem; background: var(--brand); color: #ffffff; --link: #ffffff; --focus: #ffffff; }
.hero::before { content: ""; position: absolute; z-index: -1; right: -9rem; top: -3rem; width: min(64rem, 92vw); aspect-ratio: 114 / 52; background: #c41f5d; -webkit-mask: url("mark.svg") center / contain no-repeat; mask: url("mark.svg") center / contain no-repeat; rotate: -8deg; pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 1.6rem; height: 3.4rem; background: rgb(255 255 255 / .2); -webkit-mask: url("wave.svg") left center / 22rem 100% repeat-x; mask: url("wave.svg") left center / 22rem 100% repeat-x; pointer-events: none; }
.hero h1 { font-size: clamp(3.1rem, 9vw, 7rem); line-height: .93; letter-spacing: -.055em; font-weight: 800; margin-bottom: 1.5rem; max-width: 11ch; color: #ffffff; }
.hero h1 .dot { color: var(--plum); }
.hero .lede { font-size: clamp(1.2rem, 2vw, 1.45rem); color: #ffffff; max-width: 36rem; font-weight: 450; }
.hero .btns .btn { background: #ffffff; border-color: #ffffff; color: var(--plum); }
.hero .btns .btn:hover { background: var(--plum); border-color: var(--plum); color: #ffffff; box-shadow: none; }
.hero .btns .btn.quiet { background: transparent; color: #ffffff; border-color: rgb(255 255 255 / .6); }
.hero .btns .btn.quiet:hover { background: rgb(255 255 255 / .14); border-color: #ffffff; color: #ffffff; }
.hero :focus-visible { outline-color: #ffffff; }
.hero .speak a, .hero .speak { --link: var(--link-in); --focus: var(--focus-in); }
.speak { --link-in: #b0145a; --focus-in: #b0145a; margin-top: 2.4rem; background: var(--bg); color: var(--fg); border: 0; border-radius: 26px; padding: 1.3rem 1.3rem 1.1rem; max-width: 54rem; box-shadow: 0 30px 60px -24px rgb(43 16 36 / .55), 0 0 0 1px rgb(43 16 36 / .06); }
.speak label { color: var(--mute); }
.speak > label:first-child { display: block; font-weight: 650; color: var(--fg); font-size: 15px; margin-bottom: .45rem; }
.speak textarea { font-size: 1.25rem; border-radius: 16px; padding: .8rem 1rem; }
.speak .controls { margin-top: 1rem; }
.speak .go { min-width: 8rem; }
.speak :focus-visible { outline-color: var(--focus-in); }
@media (prefers-color-scheme: dark) {
  .hero { background: var(--brand); }
  .speak { --link-in: #ff5c96; --focus-in: #ff5c96; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .7); }
}
.wave { display: block; width: 100%; height: 72px; margin-top: 1rem; }
.liveline { font-size: 1.1rem; margin: .8rem 0 0; min-height: 1.6em; font-variant-numeric: tabular-nums; }
.liveline b { font-weight: 750; color: var(--brand); }
.progress { font-size: 14.5px; color: var(--mute); margin: .5rem 0 0; min-height: 1.4em; }
.progress.err, .err { color: var(--bad); }
.bar-progress { display: block; height: 5px; background: var(--line); border-radius: var(--pill); overflow: hidden; margin-top: .6rem; max-width: 22rem; }
.bar-progress i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: var(--pill); transition: width .2s; }
@media (max-width: 700px) {
  .hero { padding: 3.4rem 0 3.5rem; }
  .hero::before { right: -12rem; top: -1rem; width: 130vw; }
  .speak { padding: 1rem; border-radius: 20px; }
}

/* ------------------------------------------------------------------ tabs */

[role="tablist"] { display: inline-flex; flex-wrap: wrap; gap: .2rem; padding: .3rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--pill); }
[role="tab"] { background: transparent; color: var(--fg); border: 0; border-radius: var(--pill); font-weight: 600; min-height: 2.4rem; padding: .45rem 1.15rem; box-shadow: none; }
[role="tab"]:hover { background: var(--accent-soft); color: var(--fg); box-shadow: none; border: 0; }
[role="tab"][aria-selected="true"], [role="tab"][aria-selected="true"]:hover { background: var(--brand); color: #ffffff; box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--brand) 70%, transparent); }
[role="tab"]:active { transform: none; }
[role="tabpanel"] { margin-top: 1.1rem; }

/* ------------------------------------------------------------------ the numbers */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 2rem; margin: 2.4rem 0 1rem; padding: 0; list-style: none; }
.stats li { border-top: 4px solid var(--brand); padding-top: 1rem; }
.stats b { display: block; font-size: clamp(2.6rem, 5.5vw, 3.8rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--brand); margin-bottom: .35rem; }
.stats span { color: var(--mute); }

/* ------------------------------------------------------------------ tables */

.table-wrap { overflow-x: auto; margin: 1.4rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
tbody tr:last-child > * { border-bottom: 0; }
thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--mute); font-weight: 700; background: var(--panel); border-bottom: 2px solid var(--brand); }
tbody tr:hover > * { background: color-mix(in srgb, var(--accent-soft) 55%, transparent); }
tbody th { font-weight: 650; }
td strong { font-weight: 750; }

/* ------------------------------------------------------------------ code: plum, both ways */

pre { background: var(--plum); color: var(--on-plum); border: 0; border-radius: 16px; padding: 1.15rem 1.3rem; overflow-x: auto; line-height: 1.6; margin: 0 0 1rem; scrollbar-color: var(--brand) transparent; }
pre ::selection { background: var(--brand); color: #ffffff; }
.code { position: relative; }
.code pre { padding-right: 5rem; }
.code .copy { position: absolute; top: .55rem; right: .55rem; min-height: 2rem; padding: .3rem .85rem; font-size: 13px; background: transparent; color: var(--on-plum); border-color: rgb(246 244 239 / .35); box-shadow: none; }
.code .copy:hover { background: var(--brand); border-color: var(--brand); color: #ffffff; }
.codetabs [role="tabpanel"] { margin-top: .7rem; }

/* ------------------------------------------------------------------ details */

details { border-bottom: 1px solid var(--line); padding: .85rem 0; }
summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; align-items: center; gap: .7rem; }
summary::-webkit-details-marker { display: none; }
summary::before { content: ""; flex: none; width: .55rem; height: .55rem; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); rotate: -45deg; transition: rotate .2s; margin-left: .15rem; }
details[open] > summary::before { rotate: 45deg; }
details[open] summary { margin-bottom: .6rem; }
.faq details p { color: var(--fg); }

/* ------------------------------------------------------------------ forms */

.form { max-width: 36rem; }
.form textarea { min-height: 7rem; }
.form input, .form select { width: 100%; }



/* ------------------------------------------------------------------ the share card */

dialog { border: 0; border-radius: 24px; background: var(--bg); color: var(--fg); padding: 1.5rem; max-width: min(40rem, 94vw); box-shadow: 0 40px 80px -20px rgb(43 16 36 / .5); border-top: 6px solid var(--brand); }
dialog::backdrop { background: rgb(43 16 36 / .55); backdrop-filter: blur(3px); }
dialog canvas { display: block; width: 100%; height: auto; border-radius: 14px; }
dialog h2 { font-size: 1.4rem; }

/* ------------------------------------------------------------------ footer: the plum band */

.foot { position: relative; margin-top: 6rem; padding: 4.5rem 0 3.5rem; font-size: 15px; background: var(--plum); color: var(--on-plum); --link: var(--on-plum); --focus: var(--butter); }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -1.1rem; height: 2.2rem; background: var(--brand); -webkit-mask: url("wave.svg") left center / 18rem 100% repeat-x; mask: url("wave.svg") left center / 18rem 100% repeat-x; pointer-events: none; }
.foot-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin: 0 0 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgb(246 244 239 / .14); }
.foot-brand { display: inline-block; color: var(--on-plum); }
.foot-brand .lockup { height: 3.6rem; max-width: 100%; }
.foot-say { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.05; margin: 0; }
.foot-say > span { display: inline-block; }
.foot-say .dot { color: var(--brand); }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 1.8rem 1.4rem; }
.foot h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--butter); margin: 0 0 .9rem; font-weight: 700; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: .35rem 0; }
.foot a { color: var(--on-plum); text-decoration: none; }
.foot a:hover { color: #ffffff; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; }
.foot-line { color: var(--on-plum-mute); margin: 2.5rem 0 0; }
.foot-line + .foot-line { margin-top: .4rem; }
.foot-line a { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; }
.foot .ph { color: #4a3b00; }

/* ------------------------------------------------------------------ blog */

.posts { list-style: none; padding: 0; }
.posts li { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.posts h2 { font-size: 1.6rem; margin: 0 0 .35rem; }
.posts h2 a { color: var(--fg); text-decoration: none; }
.posts h2 a:hover { color: var(--link); }

/* ------------------------------------------------------------------ the score (home) */

div.score { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 1.3rem; margin: 1.6rem 0 1.2rem; }
#score { display: block; width: 100%; height: 260px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; touch-action: none; }
.score-words { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin-top: .9rem; }
.score-words fieldset { border: 1px solid var(--line); border-radius: 14px; padding: .55rem .8rem; margin: 0; }
.score-words legend { font-weight: 700; padding: 0 .3rem; }
.score-words label { display: flex; align-items: center; gap: .4rem; font-size: 14px; }
.score-words input[type="range"] { width: 7rem; }

/* crowd pad on the home page */
.pad-mini { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ------------------------------------------------------------------ the 404 */

.lost { text-align: left; }
.page-head.lost::before { display: none; }
.lost .mouth { display: block; width: min(22rem, 70vw); aspect-ratio: 114 / 52; background: var(--brand); -webkit-mask: url("mark.svg") center / contain no-repeat; mask: url("mark.svg") center / contain no-repeat; margin: 0 0 2rem; rotate: -6deg; }

/* ------------------------------------------------------------------ motion, forced colours, print */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  [role="tab"][aria-selected="true"] { outline: 2px solid; }
  .reading { outline: 2px solid; }
  .hero::before, .hero::after, .page-head::before, .foot::before { display: none; }
}
@media print {
  .top, .foot, .banner, .skip { display: none; }
  .hero { background: none; color: #000000; }
  .hero::before, .hero::after, .page-head::before { display: none; }
}

/* ------------------------------------------------------------------ a plum band (the editor on the home page) */

.band { background: var(--plum); color: var(--on-plum); --link: var(--on-plum); --focus: var(--butter); --mute: var(--on-plum-mute); position: relative; overflow: hidden; }
.section.band, .section + .section.band, .section.band + .section { border-top: 0; }
.band .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; align-items: center; }
.band .eyebrow { color: var(--butter); }
.band h2 { color: #ffffff; }
.band .lede { color: var(--on-plum-mute); }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 1.25rem; height: .5rem; background: var(--brand); -webkit-mask: url("wave.svg") center / 100% 100% no-repeat; mask: url("wave.svg") center / 100% 100% no-repeat; }
.band .btn { background: var(--brand); border-color: var(--brand); }
.band .btn:hover { background: #ffffff; border-color: #ffffff; color: var(--plum); }
.band-roll { margin: 0; }
.roll { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 460; background: #1c0a17; border-radius: 20px; padding: 0; box-shadow: inset 0 0 0 1px rgb(246 244 239 / .08), 0 30px 60px -30px rgb(0 0 0 / .8); }
.band-roll figcaption { margin-top: .9rem; font-size: 14px; color: var(--on-plum-mute); }
.who { font-weight: 650; color: #ffffff; margin-right: .5rem; white-space: nowrap; }
.who::before { content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .35rem; vertical-align: .05em; }
.who-1::before { background: #ff5c96; }
.who-2::before { background: #ffd166; }
.who-3::before { background: #6fdc9d; }
@media (max-width: 900px) { .band .wrap { grid-template-columns: 1fr; gap: 2rem; } }
