:root {
  color: #30263e;
  background: #faf8fd;
  font: 1rem/1.6 system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: #59368c; text-underline-offset: .18em; }
a:hover { color: #352052; }
:focus-visible { outline: 3px solid #7050a2; outline-offset: 3px; }
.shell { width: min(100% - 2rem, 65rem); margin-inline: auto; }
header { background: #fff; border-bottom: 1px solid #e4dbee; }
.top, nav, .controls, .pills { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.top { justify-content: space-between; padding-block: .8rem; }
.brand { font-size: 1.25rem; font-weight: 750; text-decoration: none; }
nav a { padding: .55rem .2rem; }
main { padding-block: clamp(1.25rem, 4vw, 3rem); }
footer { border-top: 1px solid #e4dbee; padding-block: 1.5rem; }
h1, h2, h3 { line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 7vw, 4.25rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.35rem, 4vw, 1.85rem); }
p { max-width: 65ch; }
.hero { background: #eee5f9; padding: clamp(1.5rem, 6vw, 4rem); border-radius: 1.5rem; }
#pathway { padding-top: 1.5rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.panel { background: #fff; border: 1px solid #e4dbee; border-radius: 1rem; padding: 1.25rem; min-width: 0; overflow-wrap: anywhere; }
.panel h3 { font-size: 1.4rem; margin-block: .4rem; }
.category { color: #633c95; font-size: .875rem; font-weight: 700; margin-block: 0 .5rem; }
.controls { margin-bottom: 1rem; }
.pills, .listings { padding: 0; list-style: none; }
button, select, input, .button, .pills a { padding: .6rem .85rem; border: 1px solid #cdbde0; border-radius: .65rem; background: white; color: inherit; font: inherit; }
button, select { cursor: pointer; }
.button, .pills a { display: inline-block; text-decoration: none; }
.button, button[aria-pressed="true"] { background: #59368c; color: white; border-color: #59368c; }
.button:hover { background: #43256e; color: white; }
.pills a:hover { background: #eee5f9; }
select, input { width: 100%; display: block; margin-block: .35rem .8rem; }
input { max-width: 32rem; }
.skip { position: absolute; left: 1rem; top: .5rem; background: white; padding: .5rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
@media (min-width: 42rem) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.demo { margin-top: 1rem; }
.demo-player {
  display: block;
  width: 100%;
  max-width: 48rem;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  border: 0;
}

.local-demo-player { display: block; width: 100%; max-width: 48rem; height: auto; background: #000; }
