/* hooklings.app in the app's Pixel Toy look (spec §6–7): ThemeKit's Studio tokens (studio.json, Day and Night), HookUI's
   chunky buttons, REC button, stage, cards, chips and meters, Hooklings Round (Nunito) for text and numbers, Jersey 15
   (as "Hooklings Pixel", your pick: design/site/pixel-font-options.html) for the logo, names and banners. Jersey 15's pixel
   is 1/27 of its size, so pixel text is set at 27, 54 or 81 px (40.5 on phones: whole pixels on 2x screens). Pixel art is 1 px per art pixel, scaled by whole numbers. */
@font-face { font-family: "Hooklings Round"; src: url("/fonts/HooklingsRound-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hooklings Round"; src: url("/fonts/HooklingsRound-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Hooklings Pixel"; src: url("/fonts/Jersey15-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --surface: #F6F3EC; --raised: #FFFFFF; --stroke: #E4DED3; --ink: #2B2B33; --muted: #625E57;
  --accent: #D42F45; --accent-ink: #FFFFFF; --accent-lip: #9E1F33;
  --button-face: #FFFFFF; --button-lip: #D6CEBF; --button-hi: #FFFFFF;
  --stage-top: #FFFFFF; --stage-bottom: #D3E6CB; --plinth: #B7D2AB; --positive: #3E8E3A; --warning: #B86E12;
  --shadow: rgba(0, 0, 0, .08);
  /* ElementColours: the shadow tone by Day, the light tone by Night */
  --thunder: #AF7613; --fire: #9B1717; --arcane: #4D2D85; --stone: #5F504A; --light: #C73378; --water: #1D6355;
  --shadow-el: #232D52; --wind: #2E86A6; --earth: #774722; --nature: #426827; --spirit: #C6252A; --dream: #6A57B7;
  /* RarityColours, the same in every theme */
  --demo: #E8E4DA; --single: #5FC25A; --hit: #4A9BF0; --chart-topper: #B06CF2; --anthem: #F6C43C;
  --wrap: 1120px;
  color-scheme: light;
}
:root[data-lights="night"] {
  --surface: #191C23; --raised: #242833; --stroke: #343946; --ink: #F2EFE8; --muted: #A8A398;
  --accent: #FF5468; --accent-ink: #1A0A0E; --accent-lip: #B32A3E;
  --button-face: #2C313D; --button-lip: #12151B; --button-hi: #3A4050;
  --stage-top: #2A303C; --stage-bottom: #1C2620; --plinth: #2E4034; --positive: #6BC765; --warning: #F0B04A;
  --shadow: rgba(0, 0, 0, .35);
  --thunder: #F0E875; --fire: #E9926C; --arcane: #B981D4; --stone: #B1A89B; --light: #EBB2BC; --water: #55C2CE;
  --shadow-el: #8C82D8; --wind: #BDD1EA; --earth: #D3B769; --nature: #75C86A; --spirit: #EDB5A1; --dream: #D9C9E8;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font: 17px/1.6 "Hooklings Round", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: background-color .22s ease, color .22s ease;
}
img.px, .px img { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.pixel { font-family: "Hooklings Pixel", "Hooklings Round", sans-serif; font-weight: 400; letter-spacing: 0; font-synthesis: none; }
.num { font-weight: 800; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--raised); padding: 8px 14px; border-radius: 12px; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- pixel icons (HookUI icons.json, drawn by site.js) */
.icon { display: inline-block; width: 24px; height: 24px; flex: none; vertical-align: -5px; color: var(--ink); }
.icon svg { display: block; width: 100%; height: 100%; shape-rendering: crispEdges; }
.icon .ink { fill: currentColor; }
.icon .acc { fill: var(--accent); }
.icon.s1 { width: 12px; height: 12px; vertical-align: -1px; }
.icon.s3 { width: 36px; height: 36px; }
.icon.s4 { width: 48px; height: 48px; }

/* ---------------------------------------------------------------- the floating pill bar (TabBar) */
.bar {
  position: sticky; top: 14px; z-index: 30; margin: 14px auto 0; max-width: calc(var(--wrap) - 40px);
  width: calc(100% - 28px);
  display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 8px 0 10px;
  background: var(--raised); border: 1px solid var(--stroke); border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; padding-right: 6px; }
.brand img { width: 42px; height: 42px; border-radius: 11px; }
.brand span { font-size: 27px; line-height: 1; }
.tabs { display: flex; gap: 2px; margin-left: auto; }
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-width: 64px; height: 56px; padding: 0 6px; color: var(--muted); text-decoration: none; font-size: 12.5px; border-radius: 16px;
}
.tab .icon { padding: 1px 10px; box-sizing: content-box; border-radius: 999px; transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), background-color .18s; }
.tab:hover { color: var(--ink); }
.tab:hover .icon, .tab[aria-current] .icon { background: var(--accent); color: var(--accent-ink); transform: translateY(-3px); }
.tab:hover .icon .acc, .tab[aria-current] .icon .acc { fill: var(--accent-lip); }
.tab[aria-current] { color: var(--ink); }

/* The Lights selector (SegmentedSelector): Day, Night, Auto */
.lights { display: flex; padding: 3px; background: var(--stroke); border-radius: 999px; margin-left: 4px; }
.lights button {
  font: inherit; font-size: 13px; color: var(--muted); background: none; border: 0; border-radius: 999px;
  height: 32px; padding: 0 11px; cursor: pointer;
}
.lights button[aria-pressed="true"] { background: var(--raised); color: var(--ink); font-weight: 800; box-shadow: 0 1px 3px var(--shadow); }

/* ---------------------------------------------------------------- chunky buttons (ChunkyButtonStyle) */
.btn {
  --face: var(--button-face); --hi: var(--button-hi); --lip: var(--button-lip); --legend: var(--ink); --edge: var(--stroke);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; margin-bottom: 6px; border: 1px solid var(--edge); border-radius: 999px;
  font: 800 17px/1 "Hooklings Round", sans-serif; color: var(--legend); text-decoration: none; cursor: pointer;
  background: linear-gradient(var(--hi), var(--face) 50%);
  box-shadow: 0 6px 0 var(--lip), 0 10px 12px rgba(0, 0, 0, .14);
  transition: transform 60ms ease-out, box-shadow 60ms ease-out;
}
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, .3), transparent 50%); }
.btn:active, .btn.down { transform: translateY(4px); box-shadow: 0 2px 0 var(--lip), 0 3px 4px rgba(0, 0, 0, .16); }
.btn.primary { --face: var(--accent); --hi: var(--accent); --lip: var(--accent-lip); --legend: var(--accent-ink);
  --edge: color-mix(in srgb, var(--accent-lip) 45%, transparent); }
.btn.primary .icon { color: var(--accent-ink); }
.btn.primary .icon .acc { fill: var(--accent-lip); }
.btn.small { height: 40px; padding: 0 16px; font-size: 15px; box-shadow: 0 4px 0 var(--lip), 0 7px 9px rgba(0, 0, 0, .12); margin-bottom: 4px; }
.btn.small:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--lip); }
.btn[aria-disabled="true"] { cursor: default; }

/* ---------------------------------------------------------------- REC (RecButton): 104 pt face on an 8 pt lip */
.rec {
  position: relative; width: 104px; height: 104px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent-lip) 45%, transparent);
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--accent) 80%, #fff) 0, var(--accent) 55%);
  box-shadow: 0 8px 0 var(--accent-lip), 0 14px 18px rgba(0, 0, 0, .2); cursor: pointer; display: grid; place-items: center;
  transition: transform 60ms ease-out, box-shadow 60ms ease-out; color: var(--accent-ink);
}
.rec .icon { color: var(--accent-ink); }
.rec .icon .acc { fill: var(--accent-lip); }
.rec:active, .rec.listening { transform: translateY(6px); box-shadow: 0 2px 0 var(--accent-lip), 0 4px 6px rgba(0, 0, 0, .2); }
.rec[disabled] { cursor: progress; }
.rec-wrap { position: relative; width: 104px; height: 112px; margin: 0 auto; }
.notes { position: absolute; inset: -34px; pointer-events: none; }
.notes img { position: absolute; width: 24px; height: 24px; left: 50%; top: 50%; margin: -12px; opacity: 0; image-rendering: pixelated; }
.listening + .notes img { animation: note-in 1.6s steps(8) forwards; }

/* ---------------------------------------------------------------- stage (Stage): radial gradient and the plinth */
.stage {
  position: relative; border-radius: 32px; overflow: hidden; height: 360px;
  background: radial-gradient(circle at 50% 35%, var(--stage-top) 10px, var(--stage-bottom) 360px);
  border: 1px solid var(--stroke);
}
.stage::before { content: ""; position: absolute; left: 50%; bottom: 52px; width: 220px; height: 26px; margin-left: -110px;
  border-radius: 50%; background: var(--plinth); }
.stage .actor { position: absolute; left: 50%; bottom: 52px; margin-left: -128px; width: 256px; height: 256px; margin-bottom: -12px; }

/* A sprite strip of 64×64 frames, scaled by --k (whole numbers) */
.sprite { --k: 4; width: calc(64px * var(--k)); height: calc(64px * var(--k)); background-repeat: no-repeat;
  background-size: auto 100%; image-rendering: pixelated; image-rendering: crisp-edges; }
.sprite.idle { animation: idle 1s steps(4) infinite; }
.sprite.hop { animation: hop .63s steps(7, jump-none) 1 forwards; }
@keyframes idle { from { background-position-x: 0; } to { background-position-x: calc(-256px * var(--k)); } }
@keyframes hop { from { background-position-x: calc(-256px * var(--k)); } to { background-position-x: calc(-640px * var(--k)); } }

/* ---------------------------------------------------------------- cards, chips, meters */
.card { background: var(--raised); border: 1px solid var(--stroke); border-radius: 20px; padding: 22px; box-shadow: 0 4px 14px var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border-radius: 999px; font-size: 14.5px;
  background: var(--raised); border: 1px solid var(--stroke); color: var(--ink); white-space: nowrap; }
.chip.filled { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.chip.filled .icon { color: var(--surface); }
.meter { display: flex; gap: 3px; height: 12px; border-radius: 999px; overflow: hidden; }
.meter i { flex: 1; background: var(--stroke); }
.meter i.on { background: var(--positive); }
.stars { color: var(--anthem); letter-spacing: 1px; }

/* ---------------------------------------------------------------- page layout */
section { padding: 72px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 27px; line-height: 1; color: var(--accent); margin: 0 0 12px; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; margin: 0; }
h1 { font-size: 81px; line-height: 1; }
h2 { font-size: 54px; line-height: 1.05; margin-bottom: 14px; }
h3 { font-size: 21px; margin-bottom: 6px; font-weight: 800; }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.hero { padding: 64px 0 40px; }
.hero h1 span { display: block; color: var(--accent); }
.hero .lead { margin: 20px 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.cta-note { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.demo { display: grid; gap: 22px; }
.demo .stage { height: 380px; }
.reveal-name { position: absolute; left: 0; right: 0; top: 22px; text-align: center; padding: 0 16px; }
.reveal-name .pixel { font-size: 40.5px; line-height: 1.05; }
.reveal-name .chips { justify-content: center; margin-top: 10px; }
.demo-hint { text-align: center; font-size: 15px; color: var(--muted); margin: -6px 0 0; min-height: 24px; }
.sparkles img { position: absolute; width: 16px; height: 16px; image-rendering: pixelated; animation: sparkle .5s steps(5) forwards; }
.egg { position: absolute; left: 50%; bottom: 52px; margin-left: -96px; margin-bottom: -9px; }
.egg.shake { animation: shake .5s steps(4) 2; }

.step { position: relative; }
.step .n { position: absolute; top: 18px; right: 20px; font-size: 42px; color: var(--stroke); line-height: 1; }
.step .icon { margin-bottom: 14px; }
.step p { margin: 0; color: var(--muted); }

.heard { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.heard .card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 14px; }
.heard .sprite { --k: 2; }
.heard .muted { font-size: 14.5px; }

.elements { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 34px; }
.el { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px 14px; text-align: center; border-bottom: 4px solid var(--c); }
.el .sprite { --k: 2; margin: -6px 0 0; }
.el b { display: flex; align-items: center; gap: 6px; font-size: 16px; }
.el b .icon { color: var(--c); }
.el span { font-size: 13px; color: var(--muted); line-height: 1.35; }

.ladder { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ladder .chip { gap: 8px; }
.ladder .dot { width: 12px; height: 12px; border-radius: 3px; background: var(--r); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.specials { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
.special { display: flex; gap: 18px; align-items: center; }
.special img { width: 96px; height: 96px; flex: none; }
.special p { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; }
.vinyl { width: 96px; height: 96px; flex: none; border-radius: 18px; display: grid; place-items: center;
  background: conic-gradient(from 0deg, #ff6b6b, #ffd93d, #6bcb77, #4d96ff, #b06cf2, #ff6b6b); }
.vinyl .sprite { --k: 1; }

.tour { background: var(--raised); border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.venues { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.venue { padding: 0; overflow: hidden; background: var(--surface); }
.venue .scene { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; image-rendering: pixelated; }
.venue .who { display: flex; gap: 12px; align-items: center; padding: 14px 16px 16px; }
.venue .who img { width: 48px; height: 48px; border-radius: 12px; background: var(--raised); border: 1px solid var(--stroke); }
.venue .who b { display: block; font-size: 16px; line-height: 1.25; }
.venue .who span { font-size: 13.5px; color: var(--muted); }
.venue .ch { font-size: 13px; color: var(--accent); }
.scene-card { display: flex; gap: 16px; align-items: flex-end; margin-top: 24px; }
.scene-card img { width: 96px; height: 96px; flex: none; }
.scene-card .card { position: relative; flex: 1; }
.scene-card .speaker { font-size: 27px; line-height: 1; color: var(--accent); }
.scene-card p { margin: 4px 0 0; }
.battle-facts { margin-top: 26px; }

.daily .card + .card { margin-top: 14px; }
.goal { display: flex; align-items: center; gap: 14px; border-left: 5px solid var(--thunder); }
.goal .grow { flex: 1; }
.goal b { display: block; }
.goal .meter { margin-top: 8px; }
.goal small { color: var(--muted); font-size: 14px; }
.check { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none;
  background: var(--positive); box-shadow: 0 4px 0 color-mix(in srgb, var(--positive) 60%, #000); }
.check .icon { color: #fff; }
.check.off { background: var(--button-face); border: 1px solid var(--stroke); box-shadow: 0 4px 0 var(--button-lip); }

.fair { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.fair .card { text-align: left; }
.fair .card p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }

.backstage { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: start; }
.lanyard { width: 192px; height: 192px; }
.perks { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; }
.perks .icon { margin-top: 1px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan { text-align: center; padding: 18px 12px; }
.plan .price { font-size: 30px; display: block; line-height: 1.2; }
.plan small { color: var(--muted); font-size: 14px; }
.plan.best { border: 2px solid var(--accent); }
.tag { display: inline-block; font-size: 12.5px; background: var(--accent); color: var(--accent-ink); padding: 2px 10px; border-radius: 999px; margin-bottom: 6px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 16px; }
.new-perks { display: flex; gap: 10px; align-items: center; margin: 18px 0 0; font-weight: 800; }

.growing { padding-top: 24px; }
.coming { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.next { display: flex; flex-direction: column; gap: 2px; border: 2px dashed var(--stroke); box-shadow: none; background: transparent; }
.next .ch { font-size: 13px; color: var(--accent); }
.next b { font-size: 18px; }
.next span:last-child { font-size: 14px; color: var(--muted); }

.final { text-align: center; }
.final .sprites { display: flex; justify-content: center; gap: 0; margin-bottom: 8px; flex-wrap: wrap; }
.final .sprite { --k: 2; }
.final .cta { justify-content: center; margin-top: 26px; }

footer.site { border-top: 1px solid var(--stroke); padding: 34px 0 48px; color: var(--muted); font-size: 14.5px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--ink); }
footer.site .links { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
.apple-note { flex-basis: 100%; font-size: 12.5px; }

/* ---------------------------------------------------------------- text pages (help, privacy) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 72px; }
.doc h1 { font-size: 54px; line-height: 1.05; margin-bottom: 10px; }
.doc h2 { font-size: 24px; font-family: "Hooklings Round", sans-serif; font-weight: 800; margin: 40px 0 10px; }
.doc h3 { font-size: 17px; margin: 22px 0 4px; }
.doc .meta { color: var(--muted); margin: 0 0 28px; }
.doc .card { margin: 18px 0; }
.doc .card p:first-child { margin-top: 0; }
.doc .card p:last-child { margin-bottom: 0; }
.doc li { margin: 4px 0; }
.faq details { background: var(--raised); border: 1px solid var(--stroke); border-radius: 18px; margin: 10px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { margin-left: auto; transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.contact { display: flex; gap: 18px; align-items: center; }
.contact img { width: 96px; height: 96px; flex: none; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--stroke); vertical-align: top; }

/* ---------------------------------------------------------------- motion (two clocks: pixels step, surfaces glide) */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .3, 1); }
.rise.in { opacity: 1; transform: none; }
@keyframes note-in {
  0% { opacity: 0; transform: rotate(var(--a)) translateY(-40px) rotate(calc(-1 * var(--a))); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: rotate(calc(var(--a) + 90deg)) translateY(-72px) rotate(calc(-1 * var(--a) - 90deg)); }
}
@keyframes sparkle { 0% { opacity: 0; transform: scale(.5); } 40% { opacity: 1; transform: scale(1.4); } 100% { opacity: 0; transform: translateY(-24px) scale(1); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-8px) rotate(-4deg); } 75% { transform: translateX(8px) rotate(4deg); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
.pop { animation: pop .28s cubic-bezier(.3, 1.5, .5, 1) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .sprite.idle, .egg.shake, .listening + .notes img, .sparkles img, .pop { animation: none; }
  .sprite.hop { animation: none; background-position-x: 0; }
  .listening + .notes img { opacity: 1; transform: rotate(var(--a)) translateY(-56px) rotate(calc(-1 * var(--a))); }
}

/* ---------------------------------------------------------------- widths: 375 to wide */
@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .elements { grid-template-columns: repeat(4, 1fr); }
  .venues { grid-template-columns: repeat(2, 1fr); }
  .fair, .coming { grid-template-columns: repeat(2, 1fr); }
  .tab span { display: none; }
  .tab { min-width: 48px; }
}
@media (max-width: 720px) {
  section { padding: 56px 0; }
  .grid3, .specials, .plans { grid-template-columns: 1fr; }
  .elements { grid-template-columns: repeat(3, 1fr); }
  .backstage { grid-template-columns: 1fr; }
  .lanyard { width: 128px; height: 128px; }
  .perks { grid-template-columns: 1fr; }
  /* the app's floating tab bar, at the foot of the screen */
  .tabs { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); height: 64px; margin: 0;
    justify-content: space-around; padding: 0 6px; background: var(--raised); border: 1px solid var(--stroke); border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .16); }
  .tab { flex: 1; min-width: 0; }
  .tab span { display: block; font-size: 11.5px; }
  body { padding-bottom: 88px; }
  .lights { margin-left: auto; }
  .lead { font-size: 18px; }
  h1 { font-size: 54px; }
  h2, .doc h1 { font-size: 40.5px; }
  .brand span { font-size: 27px; }
  .demo .stage { height: 340px; }
}
@media (max-width: 460px) {
  .venues, .fair, .coming { grid-template-columns: 1fr; }
  .elements { grid-template-columns: repeat(2, 1fr); }
  .lights button { padding: 0 8px; }
  .contact { flex-direction: column; align-items: flex-start; }
  .stage .actor { transform: scale(.75); transform-origin: 50% 100%; }
}
