:root {
  color-scheme: dark;
  --background: #121212;
  --foreground: #ffffff;
  --brand-red: #c1111b;
  --secondary: #bfbfbb;
  --rule: #41413f;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--background);
  color: var(--foreground);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 6px;
}

.skip-link {
  position: absolute;
  z-index: 1;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--foreground);
  color: var(--background);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.page {
  width: min(100% - clamp(3rem, 12vw, 12rem), 76rem);
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.hero {
  display: flex;
  flex: 1;
  align-items: center;
  padding-block: clamp(5rem, 13vh, 9rem);
}
.hero-content { width: 100%; }
.brand {
  display: block;
  width: min(100%, 58rem);
  margin: 0 0 clamp(2.75rem, 5.6vw, 4.75rem);
  line-height: 0;
}
.brand img {
  width: 100%;
  height: auto;
  display: block;
}
.introduction {
  max-width: 30em;
  margin: 0;
  color: var(--secondary);
  font-size: clamp(1.125rem, 2.1vw, 1.625rem);
  font-weight: 400;
  line-height: 1.5;
  text-wrap: pretty;
}
.company-name { white-space: nowrap; }
.watch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.5rem;
  margin-top: 2.25rem;
  padding: 0.875rem 1.4rem 0.875rem 1.1rem;
  border: 1px solid var(--foreground);
  border-radius: 0.25rem;
  background: var(--foreground);
  color: var(--background);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.watch-link:hover {
  background: transparent;
  color: var(--foreground);
}
.play-icon { flex: none; }

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 2rem 3rem;
  padding-block: 1.8rem 2.4rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  line-height: 1.6;
}
.footer a {
  display: inline-block;
  padding-block: 0.35rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  text-decoration-color: var(--rule);
  overflow-wrap: anywhere;
}
.footer a:hover { text-decoration-color: var(--foreground); }
.footer-label {
  margin: 0;
  color: var(--secondary);
}
.publisher { text-align: right; }
.copyright {
  margin: 0;
  color: var(--secondary);
  font-size: 0.75rem;
}

.not-found-heading {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
}
.brand-small { max-width: 25rem; }

@media (max-width: 44rem) {
  .page { width: calc(100% - 3rem); }
  .hero { padding-block: 5.5rem 4.5rem; }
  .brand { margin-bottom: 2.5rem; }
  .introduction { max-width: 25em; }
  .company-name { white-space: normal; }
  .footer { align-items: start; gap: 1.5rem; padding-block: 1.5rem 2rem; }
  .publisher { text-align: left; }
}

@media (max-width: 24rem) {
  .page { width: calc(100% - 2.5rem); }
  .footer { font-size: 0.8125rem; }
}
