/* Jitter website. Colors, type and spacing follow the style guide:
   ink for all text and buttons, sage for shapes only, accents for fills. */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/montserrat-500.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/open-sans.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/roboto-mono-400.woff2") format("woff2");
}

:root {
  color-scheme: light;

  --canvas: #f7f2eb;
  --surface: #eae2d6;
  --sage: #8b9a6e;
  --mist: #eeeeee;
  --ink: #2e3524;
  --muted: #666a5c;
  --clay: #c2734f;
  --ochre: #d9a75b;
  --dusk: #8fa7b5;
  --hairline: rgba(46, 53, 36, 0.25);

  --font-heading: "Montserrat", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, monospace;

  --unit: 8px;
  --gutter: 48px;
  --section-gap: 80px;
  --radius-card: 12px;
  --radius-button: 8px;
  --rule: 1px solid var(--ink);
  --fade: 200ms ease;
  --page-width: 1104px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 26px;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--ink);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  margin: 0;
}

h1 {
  font-size: 52px;
  line-height: 56px;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 30px;
  line-height: 36px;
}

h3 {
  font-size: 20px;
  line-height: 26px;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--canvas);
  border-radius: var(--radius-button);
  z-index: 10;
}

.skip-link:focus {
  top: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Layout ---------- */

.page {
  max-width: calc(var(--page-width) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.lede {
  font-size: 18px;
  line-height: 28px;
  max-width: 34em;
}

.small {
  font-size: 14px;
  line-height: 22px;
}

.muted {
  color: var(--muted);
}

.section {
  margin-top: var(--section-gap);
  padding-top: 24px;
  border-top: var(--rule);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  max-width: 640px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.split--rail {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: stretch;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-button);
  background: var(--ink);
  color: var(--canvas);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--fade),
    border-color var(--fade),
    color var(--fade);
}

.button:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--ink);
  text-decoration: none;
}

.button--ghost {
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
}

.button--light {
  background: var(--canvas);
  border-color: var(--canvas);
  color: var(--ink);
}

.button--light:hover {
  background: var(--sage);
  border-color: var(--sage);
}

.button[aria-disabled="true"] {
  cursor: default;
}

.button[aria-disabled="true"]:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--canvas);
}

.button--light[aria-disabled="true"]:hover {
  background: var(--canvas);
  border-color: var(--canvas);
  color: var(--ink);
}

/* A platform that isn't out yet: outlined in the surrounding text color, so it
   works on the light page and the dark Download band, and not clickable. */
.button--soon,
.button--soon:hover {
  background: transparent;
  border-color: currentColor;
  border-style: dashed;
  color: inherit;
  opacity: 0.7;
  cursor: default;
}

.button svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* ---------- Header and footer ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 16px;
  border-bottom: var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 22px;
  line-height: 28px;
}

.brand img {
  width: 36px;
  height: 36px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav__links {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__links a {
  text-decoration: none;
}

.site-nav__links a:hover {
  text-decoration: underline;
}

.site-footer {
  margin-top: var(--section-gap);
  padding: 24px 0 48px;
  border-top: var(--rule);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 40px;
  font-size: 13px;
  line-height: 20px;
}

.site-footer .brand {
  font-size: 18px;
}

.site-footer .brand img {
  width: 28px;
  height: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.footer-note {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
}

/* ---------- Hero ---------- */

.hero {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 32px;
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.hero__copy h1 {
  max-width: 11em;
}

.hero__copy .button-row {
  margin-top: 8px;
}

/* The arch scene: a sand arch with a sun and two hills, the avatar on top. */
.scene {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 440px;
  justify-self: end;
}

.scene__arch {
  position: absolute;
  inset: 0 6% 0 6%;
  background: var(--surface);
  border-radius: 999px 999px 0 0;
  overflow: hidden;
}

.scene__sun {
  position: absolute;
  top: 14%;
  right: 16%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ochre);
}

.scene__hill {
  position: absolute;
  border-radius: 50%;
  width: 130%;
  height: 60%;
}

.scene__hill--back {
  left: -45%;
  top: 62%;
  background: var(--sage);
}

.scene__hill--front {
  left: 20%;
  top: 72%;
  background: var(--ink);
}

.scene .stage {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 72%;
  transform: translateX(-50%);
}

.bubble {
  position: absolute;
  left: 0;
  top: 4%;
  max-width: 62%;
  padding: 10px 14px;
  background: var(--canvas);
  border: var(--rule);
  border-radius: var(--radius-card);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  transition: opacity var(--fade);
  z-index: 2;
}

.bubble::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  background: var(--canvas);
  border-right: var(--rule);
  border-bottom: var(--rule);
  transform: rotate(45deg);
}

.bubble.is-hidden {
  opacity: 0;
}

/* ---------- Avatar stage (sprite + effects) ---------- */

.stage {
  position: relative;
  aspect-ratio: 1 / 1;
}

.stage__body {
  position: absolute;
  inset: 0;
  transform-origin: 50% 92%;
}

.stage__sprite {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stage__fx {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--fade);
}

.stage__fx.is-on {
  opacity: 1;
}

.stage__fx--shadow {
  opacity: 0.7;
  left: 25%;
  width: 50%;
  bottom: 3%;
}

.stage__fx--zzz {
  width: 22%;
  right: 8%;
  top: 6%;
}

.stage__fx--zzz.is-on {
  animation: drift 1.6s ease-in-out infinite alternate;
}

/* Two mirrored bursts beside the head; the middle of the drawing is empty. */
.stage__fx--jolt {
  inset: 0;
  width: 100%;
  height: 100%;
}

.stage__fx--jolt.is-on {
  animation: burst 260ms cubic-bezier(0.3, 1.6, 0.5, 1);
}

.stage__fx--sparkle {
  width: 13%;
  right: 12%;
  top: 46%;
}

.stage__fx--sparkle.is-on {
  animation: twinkle 700ms ease-out;
}

/* Moves, applied to .stage__body by script.js. */
.move-breathe {
  animation: breathe 2s ease-in-out infinite;
}

.move-lean {
  animation: lean 600ms ease-in-out forwards;
}

.move-hop {
  animation: hop 480ms cubic-bezier(0.3, 0, 0.4, 1);
}

.move-hop-left {
  animation: hop-left 480ms cubic-bezier(0.3, 0, 0.4, 1);
}

.move-stretch {
  animation: stretch 1s ease-in-out;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1, 1) rotate(0deg);
  }
  50% {
    transform: scale(1.015, 0.985) rotate(-1deg);
  }
}

@keyframes lean {
  to {
    transform: rotate(-3deg) translateY(1%);
  }
}

@keyframes hop {
  0% {
    transform: scale(1.06, 0.92);
  }
  35% {
    transform: translateY(-12%) scale(0.96, 1.05) rotate(3deg);
  }
  70% {
    transform: translateY(0) scale(1.05, 0.95);
  }
  100% {
    transform: none;
  }
}

@keyframes hop-left {
  0% {
    transform: scale(1.06, 0.92);
  }
  35% {
    transform: translateY(-12%) scale(0.96, 1.05) rotate(-3deg);
  }
  70% {
    transform: translateY(0) scale(1.05, 0.95);
  }
  100% {
    transform: none;
  }
}

@keyframes stretch {
  0%,
  100% {
    transform: none;
  }
  45% {
    transform: scale(0.97, 1.05);
  }
}

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8%);
  }
}

@keyframes burst {
  from {
    transform: scale(0.75);
  }
  to {
    transform: none;
  }
}

@keyframes twinkle {
  from {
    transform: scale(0.4) rotate(-40deg);
  }
  to {
    transform: none;
  }
}

/* ---------- Image rail ---------- */

.rail {
  margin: 0;
  border: var(--rule);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface);
}

.rail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rail--wide {
  margin-top: 56px;
  aspect-ratio: 16 / 9;
}

.rail--wide img {
  object-position: 50% 55%;
}

/* The hero demo video stays 16:9 at every width: its menu sits at the right
   edge, so a 4:3 crop would cut it off. */
.rail--video {
  position: relative;
}

.rail video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Crops the 3:2 poster like the first frame, so playback starts seamlessly. */
  object-position: 50% 55%;
}

.rail__toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border: var(--rule);
  border-radius: var(--radius-button);
  background: var(--canvas);
  color: var(--ink);
  font: 600 13px/18px var(--font-body);
  cursor: pointer;
  opacity: 0.85;
  transition: opacity var(--fade);
}

.rail__toggle:hover,
.rail__toggle:focus-visible {
  opacity: 1;
}

.rail--tall {
  min-height: 420px;
}

.rail--tall img {
  object-position: 40% 50%;
}

/* ---------- Cards ---------- */

.card {
  background: var(--canvas);
  border: var(--rule);
  border-radius: var(--radius-card);
  padding: 20px;
}

.card--surface {
  background: var(--surface);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 4px 16px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  grid-row: span 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--canvas);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 32px;
  text-align: center;
}

.steps h3 {
  font-size: 18px;
  line-height: 32px;
}

.icon-states {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.icon-state {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: var(--rule);
  border-radius: var(--radius-button);
  font-size: 14px;
  line-height: 20px;
}

.icon-state img {
  width: 24px;
  height: 24px;
  flex: none;
}

.icon-state strong {
  display: block;
  font-weight: 600;
}

/* ---------- Menu demo ---------- */

.demo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menubar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 6px 14px;
  background: var(--surface);
  border: var(--rule);
  border-radius: var(--radius-button);
  font-size: 13px;
  line-height: 18px;
}

.menubar__icon {
  display: inline-flex;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--ink);
}

.menubar__icon img {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

.menu {
  align-self: flex-end;
  width: min(100%, 320px);
  padding: 6px;
  background: var(--mist);
  border: var(--rule);
  border-radius: var(--radius-card);
  font-size: 14px;
  line-height: 20px;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu__status {
  padding: 6px 10px;
  color: var(--muted);
  font-size: 13px;
}

.menu__item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--fade);
}

.menu__item:hover,
.menu__item[aria-expanded="true"] {
  background: var(--surface);
}

.menu__key {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.menu__divider {
  height: 1px;
  margin: 6px 10px;
  background: var(--hairline);
}

.menu__sub {
  margin: 2px 0 4px 16px !important;
  padding-left: 8px !important;
  border-left: 1px solid var(--hairline);
}

.menu__sub .menu__item[aria-pressed="true"]::after {
  content: "✓";
  font-size: 12px;
}

.menu [hidden] {
  display: none;
}

.demo__splash {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--surface);
  border: var(--rule);
  border-radius: var(--radius-card);
  min-height: 152px;
}

.demo__splash .stage {
  width: 120px;
}

.demo__splash p {
  font-weight: 600;
}

/* ---------- Timed sessions ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  padding: 4px 12px;
  border: var(--rule);
  border-radius: 999px;
  font-size: 14px;
  line-height: 22px;
}

.chip--ink {
  background: var(--ink);
  color: var(--canvas);
}

.says {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.says li {
  padding: 12px 14px;
  border: var(--rule);
  border-radius: var(--radius-card);
  background: var(--canvas);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.says q {
  font-weight: 600;
  quotes: "“" "”";
}

.says span {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
}

.dot--sage {
  background: var(--sage);
}
.dot--clay {
  background: var(--clay);
}
.dot--ochre {
  background: var(--ochre);
}
.dot--dusk {
  background: var(--dusk);
}

/* ---------- Avatars ---------- */

.crew {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 32px;
  align-items: center;
}

.preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: var(--rule);
  border-radius: var(--radius-card);
}

.preview .stage {
  width: min(100%, 320px);
  margin: 0 auto;
}

.preview__name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tab {
  padding: 6px 12px;
  border: var(--rule);
  border-radius: var(--radius-button);
  background: var(--canvas);
  color: var(--ink);
  font: 600 13px/18px var(--font-body);
  cursor: pointer;
  transition:
    background-color var(--fade),
    color var(--fade);
}

.tab:hover {
  background: var(--mist);
}

.tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--canvas);
}

.clip-note {
  min-height: 44px;
}

.avatar-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
}

.avatar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  padding: 10px 10px 14px;
  border: var(--rule);
  border-radius: var(--radius-card);
  background: var(--canvas);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: background-color var(--fade);
}

.avatar-card:hover {
  background: var(--mist);
}

.avatar-card[aria-pressed="true"] {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.avatar-card[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  border: 1px solid var(--ink);
}

.avatar-card .stage {
  width: 100%;
}

.avatar-card__name {
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
}

.avatar-card__tag {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Import ---------- */

.sheet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px dashed var(--ink);
  border-radius: var(--radius-card);
  background: var(--canvas);
  overflow: hidden;
}

.sheet figure {
  margin: 0;
  padding: 8px 8px 12px;
  border-right: 1px dashed var(--hairline);
  border-bottom: 1px dashed var(--hairline);
  text-align: center;
}

.sheet figure:nth-child(3n) {
  border-right: 0;
}

.sheet figure:nth-child(n + 4) {
  border-bottom: 0;
}

.sheet figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

details.prompt {
  border: var(--rule);
  border-radius: var(--radius-card);
  background: var(--canvas);
}

details.prompt summary {
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
}

.prompt__body {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.prompt__body pre {
  margin: 0;
  width: 100%;
  max-height: 320px;
  overflow: auto;
  padding: 12px;
  background: var(--mist);
  border-radius: var(--radius-button);
  font: 12px/18px var(--font-mono);
  white-space: pre-wrap;
}

/* ---------- Quiet by design ---------- */

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.facts li {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.facts h3 {
  font-size: 18px;
  line-height: 24px;
}

/* ---------- Download band ---------- */

.band {
  margin-top: var(--section-gap);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
  padding: 40px;
  background: var(--ink);
  color: var(--canvas);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.band .eyebrow {
  color: var(--ochre);
}

.band a:not(.button) {
  color: var(--canvas);
}

.band__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.band__beans {
  display: flex;
  gap: 4px;
}

.band__beans img {
  width: 88px;
  height: 88px;
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 680px;
  margin: 56px auto 0;
}

.legal header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: var(--rule);
}

.legal h2 {
  font-size: 22px;
  line-height: 30px;
  margin: 40px 0 12px;
}

.legal h3 {
  font-size: 17px;
  line-height: 24px;
  margin: 24px 0 8px;
}

.legal p,
.legal ul {
  margin: 0 0 16px;
}

.legal ul {
  padding-left: 22px;
}

.legal li {
  margin-bottom: 6px;
}

.legal .summary {
  padding: 20px;
  border: var(--rule);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.legal .caps {
  font-size: 14px;
  line-height: 22px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.legal code {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 1px 5px;
  background: var(--mist);
  border-radius: 4px;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero,
  .split,
  .split--rail,
  .crew {
    grid-template-columns: minmax(0, 1fr);
  }

  .scene {
    justify-self: center;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .rail--tall {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --section-gap: 56px;
  }

  h1 {
    font-size: 38px;
    line-height: 44px;
  }

  h2 {
    font-size: 26px;
    line-height: 32px;
  }

  .site-nav__links {
    display: none;
  }

  .site-header .button {
    padding: 10px 14px;
  }

  .hero {
    margin-top: 32px;
  }

  .rail--wide {
    margin-top: 40px;
    aspect-ratio: 4 / 3;
  }

  .rail--video {
    aspect-ratio: 16 / 9;
  }

  .icon-states,
  .says,
  .facts {
    grid-template-columns: 1fr;
  }

  .avatar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .band {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }

  .band__beans img {
    width: 64px;
    height: 64px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .menu {
    width: 100%;
  }

  .demo__splash {
    grid-template-columns: 88px 1fr;
  }

  .demo__splash .stage {
    width: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.says-title {
  margin: 40px 0 16px;
}
