/* Thanos Automa landing page. Same visual language as the app: ink and gold, Bangers, hard shadows. */
@font-face {
  font-family: 'Bangers';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bangers-cyrillic.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Russian and Serbian pages (#69). */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: dark;
  /* A little lighter than the app's ink (#0f0b1a), so the dark screenshots stand out (#66). */
  --ink: #241a3d;
  --ink-2: #32275a;
  --ink-deep: #0f0b1a;
  --paper: #fff4dc;
  --paper-ink: #1a1222;
  --muted: #c3b7e3;
  --line: rgb(255 255 255 / 18%);
  --gold: #ffc533;
  --gold-hi: #ffd864;
  --purple: #7b2ff7;
  --blue: #2f7cf6;
  --red: #ef3b36;
  --display: 'Bangers', 'Impact', 'Arial Narrow', sans-serif;
  --body: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* Light text on a dark ground stays crisp on macOS, as in the app (#62). */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 600px at 75% -10%, rgb(123 47 247 / 30%), transparent 60%),
    radial-gradient(800px 500px at -10% 40%, rgb(47 124 246 / 16%), transparent 60%);
  color: #fff;
  font-family: var(--body);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

/* Safety net: nothing on the page may scroll sideways. clip (not hidden) keeps the sticky nav working. */
main {
  overflow-x: clip;
}

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

a {
  color: var(--gold);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-hi);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Everything clickable shows the standard pointer (#71). */
a,
button,
summary {
  cursor: pointer;
}

.sprite {
  position: absolute;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgb(36 26 61 / 88%);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.brand img {
  transition: transform 0.15s ease;
}

.brand:hover {
  color: #fff;
}

.brand:hover img {
  transform: rotate(-12deg) scale(1.08);
}

.nav nav {
  display: none;
  gap: 22px;
  margin-left: auto;
}

.nav nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.nav nav a:hover {
  color: #fff;
  text-decoration: underline wavy var(--gold) 2px;
  text-underline-offset: 6px;
}

/* Narrow phones: the hero has its own GitHub button, so the nav keeps the brand and languages. */
.nav > .button {
  display: none;
}

@media (width >= 520px) {
  .nav > .button {
    display: inline-flex;
  }
}

/* Section links need room in the longest languages (German, Serbian), next to the menu (#69). */
@media (width >= 1180px) {
  .nav nav {
    display: flex;
  }

  .nav .lang {
    margin-left: 0;
  }
}

/* Language menu (#69): details/summary, so it opens without JavaScript and with the keyboard. */
.lang {
  position: relative;
  margin-left: auto;
}

/* The globe button is a chunky comic chip, like the GitHub button; open, it's pressed in (#71). */
.lang summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 4px 14px 4px 11px;
  border: 2px solid #000;
  border-radius: 999px;
  background: var(--ink-2);
  color: #fff;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  list-style: none;
  box-shadow: 3px 3px 0 #000;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background-color 0.12s ease;
}

.lang summary::-webkit-details-marker {
  display: none;
}

.lang summary:hover {
  background: #43367a;
  box-shadow: 5px 5px 0 #000;
  transform: translate(-2px, -2px) rotate(-2deg);
}

.lang[open] summary {
  background: var(--gold);
  color: #000;
  box-shadow: 1px 1px 0 #000;
  transform: translate(2px, 2px);
}

.lang summary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.lang summary svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* The menu is a speech bubble: paper with halftone dots, a thick outline and a tail pointing at
   the globe button. */
.lang ul {
  position: absolute;
  top: calc(100% + 18px);
  right: -4px;
  z-index: 20;
  display: grid;
  gap: 8px;
  min-width: 200px;
  margin: 0;
  padding: 14px;
  border: 3px solid #000;
  border-radius: 18px;
  background-color: var(--paper);
  background-image: radial-gradient(rgb(26 18 34 / 10%) 1.2px, transparent 1.6px);
  background-size: 9px 9px;
  box-shadow: 7px 7px 0 #000;
  list-style: none;
  transform: rotate(-1.5deg);
}

.lang ul::before,
.lang ul::after {
  position: absolute;
  border-style: solid;
  border-color: transparent;
  content: '';
}

/* The tail: a black triangle, with a smaller paper one over it. */
.lang ul::before {
  top: -19px;
  right: 22px;
  border-width: 0 13px 19px;
  border-bottom-color: #000;
}

.lang ul::after {
  top: -13px;
  right: 26px;
  border-width: 0 9px 14px;
  border-bottom-color: var(--paper);
}

.lang ul a {
  display: block;
  padding: 6px 14px;
  border: 2.5px solid transparent;
  border-radius: 10px;
  color: #000;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background-color 0.12s ease;
}

/* Hover and focus only outline the language and add the hard shadow: no fill, no movement (#73). */
.lang ul a:hover,
.lang ul a:focus-visible {
  border-color: #000;
  color: #000;
  box-shadow: 3px 3px 0 #000;
  outline: none;
}

.lang ul a:active {
  box-shadow: 1px 1px 0 #000;
  transform: translate(1px, 1px);
}

/* The current language is a gold sticker, as on the language chips. */
.lang ul a[aria-current='page'] {
  border-color: #000;
  background: var(--gold);
  box-shadow: 3px 3px 0 #000;
  transform: rotate(1.5deg);
}

/* Buttons and captions, as in the app */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 22px;
  border: 3px solid #000;
  border-radius: 12px;
  background: var(--gold);
  color: #000;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 5px 5px 0 #000;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background-color 0.12s ease;
}

.button.secondary {
  background: var(--paper);
}

/* Hover lifts the button off the page, active presses it in, focus draws a white ring (#66). */
.button:hover {
  color: #000;
  background: var(--gold-hi);
  box-shadow: 8px 8px 0 #000;
  transform: translate(-3px, -3px) rotate(-1deg);
}

.button.secondary:hover {
  background: #fff;
}

.button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.button:active {
  box-shadow: 1px 1px 0 #000;
  transform: translate(4px, 4px);
}

.button.small {
  min-height: 40px;
  padding: 4px 14px;
  border-width: 2px;
  font-size: 1.05rem;
  box-shadow: 3px 3px 0 #000;
}

.button.small:hover {
  box-shadow: 5px 5px 0 #000;
  transform: translate(-2px, -2px) rotate(-1deg);
}

.button.small:active {
  box-shadow: 1px 1px 0 #000;
  transform: translate(2px, 2px);
}

.caption {
  display: inline-block;
  padding: 4px 12px 3px;
  border: 2px solid #000;
  background: var(--gold);
  color: #000;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  box-shadow: 3px 3px 0 #000;
  transform: rotate(-1.5deg);
}

.caption.blue {
  background: var(--blue);
  color: #fff;
  transform: rotate(1.5deg);
}

.caption.red {
  background: var(--red);
  color: #fff;
}

/* Phones */
.phone {
  margin: 0;
  overflow: hidden;
  width: min(300px, 72vw);
  aspect-ratio: 780 / 1688;
  border: 6px solid #000;
  border-radius: 38px;
  background: #000;
  /* A thin light rim keeps the black bezel and the dark screen apart from the page (#66). */
  box-shadow:
    0 0 0 2px rgb(255 255 255 / 30%),
    12px 12px 0 #000;
}

.phone img {
  width: 100%;
}

.phone.small {
  width: min(220px, 62vw);
  border-width: 5px;
  border-radius: 30px;
  box-shadow:
    0 0 0 2px rgb(255 255 255 / 30%),
    8px 8px 0 #000;
}

/* Hero */
.hero {
  display: grid;
  gap: 48px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px var(--gutter) 72px;
}

.hero h1 {
  margin: 18px 0 18px;
  color: var(--gold);
  font-size: clamp(4rem, 15vw, 7.5rem);
  letter-spacing: 0.03em;
  -webkit-text-stroke: 3px #000;
  paint-order: stroke fill;
  text-shadow: 6px 6px 0 #000;
}

.lead {
  max-width: 34rem;
  margin: 0 0 28px;
  color: #e9e4f5;
  font-size: 1.15rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.badges li {
  padding: 6px 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--ink-2);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Both phones sit on one stage sized in percentages, so the tilted back phone never pokes past
   the edge of a narrow screen. */
.hero-art {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
}

.hero-art .phone.front {
  position: relative;
  z-index: 2;
  width: 64%;
  margin-left: 3%;
  transform: rotate(-4deg);
}

.hero-art .phone.back {
  position: absolute;
  top: 40px;
  right: 2%;
  width: 50%;
  transform: rotate(7deg);
  opacity: 0.9;
}

.burst {
  position: absolute;
  bottom: 24px;
  left: 4%;
  z-index: 3;
  padding: 8px 14px;
  border: 3px solid #000;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  box-shadow: 5px 5px 0 #000;
  transform: rotate(-8deg);
}

@media (width >= 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding-top: 80px;
  }
}

/* "A companion, not a digital game": a comic strip, two tilted panels under a narration box (#66). */
.strip {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px var(--gutter) 0;
}

.narration {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: 0 0 -16px 14px;
  padding: 8px 16px 6px;
  border: 3px solid #000;
  background: var(--gold);
  color: #000;
  font-size: clamp(1.25rem, 4.6vw, 1.75rem);
  letter-spacing: 0.05em;
  box-shadow: 5px 5px 0 #000;
  transform: rotate(-2deg);
}

.panels {
  display: grid;
  gap: 30px;
}

.panel {
  position: relative;
  padding: 38px 24px 24px;
  border: 4px solid #000;
  border-radius: 6px;
  background-color: var(--paper);
  /* Halftone dots, as printed comics have. */
  background-image: radial-gradient(rgb(0 0 0 / 12%) 1.2px, transparent 1.7px);
  background-size: 9px 9px;
  color: var(--paper-ink);
  box-shadow: 10px 10px 0 #000;
  transform: rotate(-1.2deg);
}

/* Room at the bottom for the sound effect, so it never covers the text. */
.panel.table {
  padding-bottom: 44px;
}

.panel.app {
  background-color: var(--blue);
  background-image: radial-gradient(rgb(255 255 255 / 18%) 1.2px, transparent 1.7px);
  color: #fff;
  transform: rotate(1.2deg);
}

.panel h3 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 6vw, 2.4rem);
}

.panel.app h3 {
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 #000;
}

.panel ul {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 700;
}

.panel li::before {
  flex: none;
  width: 14px;
  height: 14px;
  border: 2px solid #000;
  border-radius: 50%;
  background: var(--gold);
  content: '';
}

.panel.app li::before {
  background: #fff;
}

.panel p {
  margin: 0;
  font-size: 0.95rem;
}

/* A sound effect bursting out of each panel: bottom left on the table (the narration box covers
   its top), top right in the app, so they never meet when the panels stack. */
.sfx {
  position: absolute;
  bottom: -20px;
  left: 22px;
  padding: 4px 12px 2px;
  border: 3px solid #000;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  box-shadow: 4px 4px 0 #000;
  transform: rotate(6deg);
}

.panel.app .sfx {
  top: -20px;
  right: 18px;
  bottom: auto;
  left: auto;
  background: var(--gold);
  color: #000;
  transform: rotate(-5deg);
}

@media (width >= 720px) {
  .panels {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* Sections */
.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 88px var(--gutter) 0;
}

.section h2 {
  margin: 18px 0 14px;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  -webkit-text-stroke: 1.5px #000;
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 #000;
}

.section-lead {
  max-width: 44rem;
  margin: 0 0 28px;
  color: #e9e4f5;
  font-size: 1.05rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 40px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.steps .phone {
  margin-bottom: 22px;
}

.steps .number {
  position: absolute;
  top: -14px;
  left: calc(50% - 128px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 3px solid #000;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  font-family: var(--display);
  font-size: 1.6rem;
  box-shadow: 3px 3px 0 #000;
}

.steps h3 {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 1.7rem;
}

.steps p {
  max-width: 17rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (width >= 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width >= 1080px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* The guide, after the four steps (#83). */
.steps-more {
  margin: 44px 0 0;
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
}

/* Features */
.features {
  display: grid;
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.features li {
  padding: 22px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--ink-2);
}

.features h3 {
  margin: 14px 0 8px;
  font-size: 1.5rem;
}

.features p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.token {
  width: 44px;
  height: 44px;
}

.token circle:first-child {
  fill: var(--stone);
  stroke: #000;
  stroke-width: 1.6;
}

.token use {
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.token-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 700;
}

@media (width >= 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width >= 1000px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Gallery: one row, scroll-snapped; every screenshot the same size */
.gallery {
  display: grid;
  grid-auto-columns: min(220px, 62vw);
  grid-auto-flow: column;
  gap: 28px;
  margin: 36px calc(-1 * var(--gutter)) 0;
  padding: 8px var(--gutter) 28px;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}

.gallery li {
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-snap-align: start;
}

.gallery span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* Languages */
.languages {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each chip opens the page in that language (#69), with the buttons' hover, press and focus. */
.languages a {
  display: block;
  padding: 10px 20px;
  border: 3px solid #000;
  border-radius: 12px;
  background: var(--paper);
  color: #000;
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 4px 4px 0 #000;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background-color 0.12s ease;
}

.languages a:hover {
  color: #000;
  background: #fff;
  box-shadow: 7px 7px 0 #000;
  transform: translate(-3px, -3px) rotate(-1deg);
}

.languages a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.languages a:active {
  box-shadow: 1px 1px 0 #000;
  transform: translate(3px, 3px);
}

.languages a[aria-current='page'] {
  background: var(--gold);
}

/* Get the game: the publisher, where to buy, BoardGameGeek (#66) */
.get {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.get a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 20px 22px 22px;
  border: 3px solid #000;
  border-radius: 12px;
  background: var(--paper);
  color: var(--paper-ink);
  text-decoration: none;
  box-shadow: 6px 6px 0 #000;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background-color 0.12s ease;
}

.get li:nth-child(2) a {
  background: var(--gold);
}

.get li:nth-child(3) a {
  background: var(--blue);
  color: #fff;
}

.get .kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.get strong {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.get .more {
  font-size: 0.95rem;
}

.get .more::after {
  content: '\00a0→';
}

.get a:hover {
  box-shadow: 9px 9px 0 #000;
  transform: translate(-3px, -3px) rotate(-0.6deg);
}

.get li:first-child a:hover {
  background: #fff;
}

.get li:nth-child(2) a:hover {
  background: var(--gold-hi);
}

.get a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.get a:active {
  box-shadow: 1px 1px 0 #000;
  transform: translate(4px, 4px);
}

@media (width >= 820px) {
  .get {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Run it yourself */
.code-grid {
  display: grid;
  gap: 18px;
}

@media (width >= 820px) {
  .code-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.code {
  margin: 0;
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--ink-deep);
}

.code figcaption {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.code pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  color: #e9e4f5;
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Credits */
.credits {
  padding: 28px;
  border: 3px solid #000;
  border-radius: 16px;
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow: 8px 8px 0 #000;
}

.credits h2 {
  margin: 0 0 12px;
  color: #000;
  font-size: 2.4rem;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.credits ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

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

.credits p {
  margin: 0 0 10px;
  color: #3b2f55;
  font-size: 0.9rem;
}

.credits a {
  color: #8a5a00;
  font-weight: 700;
}

.credits a:hover {
  color: #5c3c00;
}

.credits a:focus-visible {
  outline-color: #8a5a00;
}

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 88px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .get a,
  .languages a,
  .lang summary,
  .lang ul a,
  .brand img {
    transition: none;
  }

  /* States still show (shadow and colour), without tilting or wiggling. */
  .button:hover,
  .button.small:hover,
  .get a:hover,
  .languages a:hover,
  .lang summary:hover,
  .lang ul a:hover {
    transform: none;
  }

  .lang ul {
    transform: none;
  }

  .brand:hover img {
    transform: none;
  }
}
