@font-face {
	font-family: Archivo;
	font-style: normal;
	font-weight: 400 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url("/fonts/archivo-latin.woff2") format("woff2");
}

:root {
	--night: #07050c;
	--stage: #120a1f;
	--panel: #1a1128;
	--line: rgba(255, 255, 255, .16);
	--text: #f1edf5;
	--text-soft: #bdb3cb;
	--red: #e8211b;
	--red-deep: #a90f0a;
	--magenta: #c2187a;
	--blue: #2a4bd7;
	--program: #ff2b22;
	--preview: #22c55e;
	--fret-green: #2fbf55;
	--fret-red: #e5372d;
	--fret-yellow: #f0c419;
	--fret-blue: #2f7bf0;
	--fret-orange: #f2811d;
	--chrome: linear-gradient(180deg, #ffffff 0%, #dfe5ea 38%, #7d8996 52%, #c9d1d9 64%, #f4f7f9 82%, #9ba7b3 100%);
	--gutter: clamp(1rem, 4vw, 3rem);
	--measure: 70rem;
	--page: calc(var(--measure) + 2 * var(--gutter));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--text);
	background:
		radial-gradient(60rem 40rem at 85% -10%, rgba(194, 24, 122, .38), transparent 70%),
		radial-gradient(50rem 36rem at 5% 0%, rgba(42, 75, 215, .32), transparent 70%),
		var(--night);
	background-repeat: no-repeat;
	font: 400 1.0625rem/1.55 Archivo, "Helvetica Neue", Arial, sans-serif;
	-webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
h1, h2, h3, p, dl, dd, ol, figure { margin: 0; }
[hidden] { display: none !important; }

/* Headings read like a rock game's menus: heavy, condensed, leaning forward, in chrome. */
h2 {
	display: inline-block;
	font-stretch: 62%; font-weight: 900; text-transform: uppercase;
	font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: .95; letter-spacing: .01em;
	transform: skewX(-9deg); transform-origin: left bottom;
	background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 3px 0 #000) drop-shadow(0 0 1px #000);
}
h3 { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }

kbd {
	display: inline-block; min-width: 1.6em; padding: .05em .4em;
	border: 1.5px solid currentColor; border-radius: 4px;
	font: inherit; font-size: .85em; font-weight: 700; text-align: center; line-height: 1.3;
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -4rem; background: #fff; color: #000; padding: .5rem .9rem; z-index: 10; }
.skip:focus { top: .5rem; }

.button {
	display: inline-block; padding: .75rem 1.4rem;
	background: linear-gradient(180deg, #ff4a3d 0%, var(--red) 45%, var(--red-deep) 100%);
	color: #fff; border: 3px solid #000; border-radius: 4px;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35), 0 5px 0 #000;
	font-weight: 900; font-stretch: 75%; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .03em;
	text-decoration: none; line-height: 1.1; transform: skewX(-9deg);
	text-shadow: 0 2px 0 rgba(0, 0, 0, .45);
}
.button:hover { filter: brightness(1.12); }
.button:active { transform: skewX(-9deg) translateY(3px); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35), 0 2px 0 #000; }
.button.chrome { background: var(--chrome); color: #000; text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }

/* Masthead */
.top {
	max-width: var(--page); margin: 0 auto; padding: 1rem var(--gutter) 0;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem;
}
.brand img { width: 48px; height: 48px; }
.top nav { display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; }
.top nav a {
	font-weight: 900; font-stretch: 75%; text-transform: uppercase; letter-spacing: .04em;
	text-decoration: none; padding: .35rem 0; display: inline-block; transform: skewX(-9deg);
}
.top nav a:hover { color: var(--fret-yellow); }

/* Hero: logo and pitch beside a scrolling note highway. */
.hero {
	max-width: var(--page); margin: 0 auto; padding: clamp(1rem, 3vw, 2.5rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
	display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem clamp(1.5rem, 4vw, 4rem); align-items: center;
}
.logo { width: min(100%, 44rem); transform: rotate(-3deg); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); }
.hero h1 {
	margin-top: clamp(1rem, 2.5vw, 1.75rem);
	font-stretch: 62%; font-weight: 900; text-transform: uppercase;
	font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: .95; letter-spacing: .01em;
	transform: skewX(-9deg); transform-origin: left bottom; text-wrap: balance;
	text-shadow: 0 3px 0 #000, 0 0 24px rgba(194, 24, 122, .55);
}
.lede { margin-top: 1rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.45; max-width: 34em; color: var(--text-soft); }
.soon { margin-top: 1.25rem; font-size: 1.125rem; }
.soon strong { color: var(--fret-yellow); font-weight: 900; }
.actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.highway {
	position: relative; height: clamp(340px, 44vw, 620px); perspective: 560px; perspective-origin: 50% 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 30%);
}
.road {
	position: absolute; left: 50%; bottom: 0; width: min(100%, 26rem); height: 170%;
	transform: translateX(-50%) rotateX(56deg); transform-origin: 50% 100%;
	border-inline: 6px solid #c9d1d9;
	background:
		repeating-linear-gradient(to right, transparent 0 calc(20% - 1px), rgba(255, 255, 255, .22) calc(20% - 1px) 20%),
		repeating-linear-gradient(to bottom, rgba(255, 255, 255, .2) 0 4px, transparent 4px 96px),
		linear-gradient(180deg, #1c1030, #0d0816);
	animation: fret-lines .6s linear infinite;
}
@keyframes fret-lines { to { background-position: 0 0, 0 96px, 0 0; } }
.note {
	position: absolute; top: var(--y); left: calc(var(--lane) * 20% + 2.5%); width: 15%; aspect-ratio: 1;
	border-radius: 50%; background: var(--c);
	background-image: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .7) 0 14%, transparent 42%);
	box-shadow: 0 0 0 4px #f2f2f2, 0 0 0 8px #000, 0 0 28px var(--c);
	animation: fall 2.4s linear infinite; animation-delay: var(--d);
}
.note[style*="--lane:0"] { --c: var(--fret-green); }
.note[style*="--lane:1"] { --c: var(--fret-red); }
.note[style*="--lane:2"] { --c: var(--fret-yellow); }
.note[style*="--lane:3"] { --c: var(--fret-blue); }
.note[style*="--lane:4"] { --c: var(--fret-orange); }
@keyframes fall {
	0% { top: -10%; opacity: 1; }
	88% { top: 86%; opacity: 1; }
	100% { top: 96%; opacity: 0; }
}
.strike { position: absolute; left: 0; right: 0; bottom: 3%; display: grid; grid-template-columns: repeat(5, 1fr); }
.strike i { width: 66%; aspect-ratio: 1; margin: auto; border-radius: 50%; background: #000; border: 7px solid var(--c); box-shadow: 0 0 0 4px #000, 0 0 20px var(--c); }
.strike i:nth-child(1) { --c: var(--fret-green); }
.strike i:nth-child(2) { --c: var(--fret-red); }
.strike i:nth-child(3) { --c: var(--fret-yellow); }
.strike i:nth-child(4) { --c: var(--fret-blue); }
.strike i:nth-child(5) { --c: var(--fret-orange); }

/* Demo stage */
.stage {
	padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
	background:
		radial-gradient(40rem 20rem at 50% 0, rgba(194, 24, 122, .3), transparent 70%),
		linear-gradient(180deg, #0f0919, #050308);
	border-block: 4px solid #000;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.stage-inner { max-width: var(--measure); margin: 0 auto; }
.stage-inner:focus { outline: none; }
.stage-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem 2.5rem; align-items: end; margin-bottom: 1.75rem; }
.stage-head p { max-width: 40em; color: var(--text-soft); }
.score {
	display: grid; justify-items: end; line-height: 1;
	font-stretch: 62%; font-weight: 900; text-transform: uppercase; transform: skewX(-9deg);
}
.score span:first-child { font-size: .85rem; letter-spacing: .1em; color: var(--text-soft); }
#score { font-size: 2.6rem; color: var(--fret-yellow); font-variant-numeric: tabular-nums; text-shadow: 0 2px 0 #000, 0 0 16px rgba(240, 196, 25, .5); }

.multiview { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: #000; border-radius: 6px; box-shadow: 0 0 0 3px #2a2236, 0 20px 40px rgba(0, 0, 0, .6); }
.window { position: relative; border: 3px solid #3d3448; background: #111; }
.window.is-program { border-color: var(--program); }
.window.is-preview { border-color: var(--preview); }
.feed { aspect-ratio: 16 / 9; background: #1b1b1b center / cover no-repeat; }
.window figcaption {
	position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%);
	display: flex; gap: .6em; align-items: baseline; white-space: nowrap;
	background: rgba(0, 0, 0, .78); padding: .2em .7em; font-size: clamp(.7rem, 1.5vw, 1rem); font-weight: 700;
}
.window .bus { font-weight: 900; text-transform: uppercase; }
.is-program .bus { color: #ff6b63; }
.is-preview .bus { color: #4fdc7e; }
.sources { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.sources .window figcaption { font-size: clamp(.6rem, 1.2vw, .85rem); padding: .15em .5em; }
.window.just-cut .feed { animation: cut-flash .3s ease-out; }
@keyframes cut-flash { from { filter: brightness(2); } to { filter: none; } }

.guitar { margin-top: 1.5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(9rem, 15rem); gap: 1rem; align-items: stretch; }
.neck {
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
	background: linear-gradient(180deg, #17121d, #0b080f); border: 3px solid #000; border-radius: 10px; overflow: hidden;
	box-shadow: 0 0 0 2px #3a3046;
}
.fret {
	appearance: none; border: 0; border-left: 4px solid #aeb7c0; background: none; color: #fff; font: inherit; cursor: pointer;
	display: grid; justify-items: center; gap: .3rem; padding: 1.1rem .25rem .85rem;
}
.fret:first-child { border-left: 0; }
.fret:focus-visible { outline-offset: -6px; }
.fret .gem {
	width: clamp(2.6rem, 7vw, 4.2rem); aspect-ratio: 1; border-radius: 50%; margin-bottom: .35rem;
	background: var(--c);
	background-image: radial-gradient(circle at 50% 36%, rgba(255, 255, 255, .75) 0 14%, transparent 44%);
	box-shadow: 0 0 0 4px #f2f2f2, 0 0 0 8px #000, 0 6px 0 8px #000;
	transition: transform .06s, box-shadow .06s;
}
.fret:hover .gem { box-shadow: 0 0 0 4px #fff, 0 0 0 8px #000, 0 6px 0 8px #000, 0 0 22px var(--c); }
.fret.is-down .gem, .fret:active .gem { transform: translateY(5px); box-shadow: 0 0 0 4px #fff, 0 0 0 8px #000, 0 1px 0 8px #000, 0 0 30px var(--c); }
.fret .src { font-weight: 800; font-size: .95rem; }
.fret.on-program { background: linear-gradient(180deg, rgba(255, 43, 34, .3), transparent 70%); box-shadow: inset 0 5px 0 var(--program); }
.fret.on-preview { background: linear-gradient(180deg, rgba(34, 197, 94, .26), transparent 70%); box-shadow: inset 0 5px 0 var(--preview); }
.fret .tag { min-height: 1.5em; padding: 0 .5em; border-radius: 3px; font-size: .75rem; font-weight: 900; text-transform: uppercase; line-height: 1.5; }
.fret.on-program .tag { background: var(--program); color: #fff; }
.fret.on-preview .tag { background: var(--preview); color: #000; }
.fret .hint { display: flex; align-items: center; gap: .4rem; color: var(--text-soft); font-size: .8rem; }

.strum {
	appearance: none; cursor: pointer; font: inherit; color: #000;
	background: var(--chrome); border: 3px solid #000; border-radius: 10px;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), 0 7px 0 #000; margin-bottom: 7px;
	display: grid; justify-items: center; align-content: center; gap: .55rem; padding: 1rem;
	transition: transform .06s, box-shadow .06s;
}
.strum:hover { filter: brightness(1.06); }
.strum.is-down, .strum:active { transform: translateY(5px); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), 0 2px 0 #000; }
.strum-label { font-stretch: 62%; font-weight: 900; font-size: 1.9rem; line-height: 1; text-transform: uppercase; transform: skewX(-9deg); }
.strum kbd { color: #2b2b2b; }
.stage-note { margin-top: 1rem; color: var(--text-soft); font-size: .9rem; }

/* Content blocks */
.block { max-width: var(--page); margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) var(--gutter) 0; }
.block > h2 { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.fineprint { margin-top: 1.5rem; max-width: 46em; color: var(--text-soft); font-size: .975rem; }

.controls > div {
	display: grid; grid-template-columns: minmax(11rem, 1fr) minmax(0, 2.4fr); gap: .5rem 2rem;
	padding: 1.1rem 0; border-top: 1px solid var(--line);
}
.controls > div:last-child { border-bottom: 1px solid var(--line); }
.controls dt {
	font-stretch: 62%; font-weight: 900; font-size: 1.9rem; line-height: 1.05; text-transform: uppercase;
	display: flex; flex-wrap: wrap; align-items: center; gap: .7rem;
}
.controls dd { max-width: 38em; color: var(--text-soft); }
.dots { display: inline-flex; gap: .35rem; }
.dots i { width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #f2f2f2, 0 0 0 4px #000; }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.steps li {
	counter-increment: step; padding: 1.25rem 1.25rem 1.4rem;
	background: linear-gradient(180deg, var(--panel), #0e0916); border: 2px solid #000; border-radius: 8px;
	box-shadow: 0 0 0 1px #3a3046;
}
.steps li::before {
	content: counter(step); display: block; margin-bottom: .6rem;
	font-stretch: 62%; font-weight: 900; font-size: 3.6rem; line-height: 1; transform: skewX(-9deg); transform-origin: left bottom;
	background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 3px 0 #000);
}
.steps li:nth-child(1)::before { filter: drop-shadow(0 3px 0 #000) drop-shadow(0 0 10px var(--fret-green)); }
.steps li:nth-child(2)::before { filter: drop-shadow(0 3px 0 #000) drop-shadow(0 0 10px var(--fret-red)); }
.steps li:nth-child(3)::before { filter: drop-shadow(0 3px 0 #000) drop-shadow(0 0 10px var(--fret-yellow)); }
.steps p { margin-top: .4rem; color: var(--text-soft); }
.steps + .fineprint { margin-top: 2rem; }

.pick {
	background: #0c1724; border: 3px solid #000; border-radius: 10px; overflow: hidden;
	box-shadow: 0 0 0 2px #3a3046, 0 0 60px rgba(42, 75, 215, .25);
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
}
.pick-text { padding: clamp(1.5rem, 4vw, 3rem); }
.pick h3 { font-size: 1.6rem; }
.pick p { margin-top: .9rem; max-width: 34em; }
.pick .button { margin-top: .5rem; }
.pick .fineprint { font-size: .875rem; margin-top: 1.1rem; }
.table-title { margin-top: 2.5rem; }
table { width: 100%; max-width: 46em; border-collapse: collapse; margin-top: .75rem; }
th, td { text-align: left; padding: .65rem 1rem .65rem 0; border-bottom: 1px solid var(--line); }
th { font-weight: 800; border-bottom: 2px solid rgba(255, 255, 255, .5); }
td:last-child, th:last-child { width: 5rem; font-variant-numeric: tabular-nums; }

#caution { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem 3rem; align-items: start; }
#caution > h2 { margin: 0; }
.wide { font-size: 1.2rem; line-height: 1.5; color: var(--text-soft); }

.support {
	margin-top: clamp(3.5rem, 7vw, 6rem); padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
	background: linear-gradient(180deg, #c3140e, #7a0905); border-block: 4px solid #000;
}
.support-inner { max-width: var(--measure); margin: 0 auto; }
.support p { margin-top: 1rem; max-width: 34em; font-size: 1.2rem; }

footer { max-width: var(--page); margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) var(--gutter) 3rem; }
footer > p:first-child { border-top: 1px solid var(--line); padding-top: 1rem; font-weight: 700; }
footer .legal { margin-top: .75rem; max-width: 62em; font-size: .875rem; color: var(--text-soft); }

@media (max-width: 900px) {
	.hero { grid-template-columns: 1fr; }
	.logo { margin-inline: auto; width: min(100%, 34rem); }
	.highway { height: 260px; margin-top: -.5rem; }
	.road { width: min(80%, 20rem); }
}
@media (max-width: 820px) {
	.stage-head { grid-template-columns: 1fr auto; }
	.stage-head h2 { grid-column: 1 / -1; }
	.guitar { grid-template-columns: 1fr; }
	.strum { min-height: 4.5rem; grid-auto-flow: column; justify-content: center; align-items: center; gap: 1rem; }
	.controls > div { grid-template-columns: 1fr; }
	#caution { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.steps { grid-template-columns: 1fr; gap: 1rem; }
	.pick { grid-template-columns: 1fr; }
	.pick img { max-width: 24rem; margin-inline: auto; }
}
@media (max-width: 520px) {
	.fret .fret-name { display: none; }
	.fret .src { font-size: .8rem; }
	.fret .gem { box-shadow: 0 0 0 3px #f2f2f2, 0 0 0 6px #000, 0 5px 0 6px #000; }
	.sources .window figcaption { display: none; }
	.window { border-width: 2px; }
	.top nav { gap: .25rem 1rem; }
}
/* Keyboard hints mean nothing on a touch screen. */
@media (hover: none) {
	.keys { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.road, .note { animation: none; }
	.window.just-cut .feed { animation: none; }
	.fret .gem, .strum { transition: none; }
}
