/* Neutral headings; links and brand details follow the selected accent. */
:root {
  --heading: #fff;
}
:root[data-resolved-theme="light"] {
  --heading: #000;
}
@media print {
  :root {
    --heading: #000;
  }
}
body {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 350;
}
h1,
h2,
h3 {
  color: var(--heading);
  font-weight: 650;
}
main p,
main li,
footer {
  font-weight: 300;
}
main a:not(.button),
footer a {
  color: var(--accent);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
header {
  position: relative;
}
header .brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--text);
  font-weight: 740;
  font-size: 1.6rem;
  letter-spacing: -0.065em;
  line-height: 1.3;
}
.brand-period {
  color: var(--accent);
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 30px;
  margin-right: 12px;
}
.brand-mark i {
  width: 4px;
  background: linear-gradient(var(--end), var(--accent));
  border-radius: 8px;
  height: 12px;
}
.brand-mark i:nth-child(2) {
  height: 24px;
}
.brand-mark i:nth-child(3) {
  height: 32px;
}
.brand-mark i:nth-child(4) {
  height: 21px;
}
.brand-mark i:nth-child(5) {
  height: 10px;
}
.studio-preview-note h2 {
  font-size: 1.3rem;
  margin-top: 0;
}
.studio-preview-note p {
  max-width: 48rem;
}
.studio-preview-note a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
}
.preferences .language-launcher {
  align-self: end;
  padding-right: 12px;
}
main button,
main .button {
  font-weight: 600;
  background-size: 180% 100%;
  transition:
    background-position 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
@media (hover: hover) {
  main button:hover:not(:disabled),
  main .button:hover {
    transform: translateY(-2px);
    background-position: 100% 50%;
    box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 12%, transparent);
  }
  main a:not(.button):hover,
  footer a:hover {
    text-decoration-thickness: 2px;
  }
}
@media (max-width: 760px) {
  header .language-menu {
    max-height: calc(100dvh - 17rem);
  }
  .preferences .language-launcher {
    min-width: 0;
    padding-right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  main button,
  main .button {
    transition: none;
  }
  main button:hover:not(:disabled),
  main .button:hover {
    transform: none;
  }
}
