/* JetBrains Mono под OFL 1.1, текст лицензии — /assets/fonts/OFL-JetBrainsMono.txt.
   Файлы взяты готовыми вариативными разбиениями Google Fonts и не изменялись;
   `unicode-range` скопированы оттуда же.

   Источником стоит только `url()`. `local()` не используется сознательно: с ним
   браузер сначала берёт шрифт с таким именем из системы читателя, а что там
   установлено — другая версия, чужой шрифт, ничего — мы не знаем, и от этого
   зависят метрики всего интерфейса. Ради этого задача и затевалась. */
/* latin */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-var-latin.woff2") format("woff2");
  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;
}
/* latin-ext */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* cyrillic */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-var-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cyrillic-ext */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-var-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Neume";
  src: url("../assets/fonts/neume.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* Программные лигатуры JetBrains Mono сделаны через `calt`, а его браузер
     включает по умолчанию. Имена игроков и названия партий — любой печатный
     Unicode, поэтому ник вида `->` молча стал бы операторным знаком. `none`
     гасит и `contextual`, то есть именно `calt`. */
  font-variant-ligatures: none;
  color: #e8e3d8;
  background: #101722;
  --page-width: 1180px;
  --ink: #101722;
  --ink-deep: #090f18;
  --panel: #192231;
  --panel-light: #212c3d;
  --line: #354154;
  --text: #e8e3d8;
  --muted: #a8afba;
  --faint: #737d8d;
  --gold: #e3a23b;
  --gold-dark: #b97527;
  --blue: #2b5686;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

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

.page-width {
  width: min(var(--page-width), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--text);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 76px;
  padding: 0 max(24px, calc((100% - var(--page-width)) / 2));
  border-bottom: 1px solid rgb(232 227 216 / 0.14);
  background: rgb(9 15 24 / 0.88);
  backdrop-filter: blur(14px);
}

.site-header--solid {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: var(--ink-deep);
  border-bottom-color: var(--line);
}

.wordmark {
  display: block;
  width: 184px;
  text-decoration: none;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 36px);
}

/* The selected language and caret already explain a header control. Its label
   stays in the accessibility tree; the mobile navigation restores it as the
   left half of a deliberate settings row. */
.site-nav .language-picker-label,
.login-header-actions .language-picker-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.login-header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.login-header-actions .text-link {
  white-space: nowrap;
}

.site-nav a,
.text-link {
  color: #bbc0c8;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 140ms ease;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgb(16 23 34 / 0.8);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--large {
  min-width: 142px;
  min-height: 50px;
  font-size: 1rem;
}

.button--primary {
  border-color: #d18e35;
  background: var(--gold-dark);
  color: #fff;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.22);
}

.button--primary:hover {
  background: var(--gold);
}

.button--quiet {
  border-color: rgb(232 227 216 / 0.3);
  background: rgb(16 23 34 / 0.55);
  color: var(--text);
}

.button--quiet:hover {
  border-color: var(--gold);
  background: var(--panel);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(860px, 100svh);
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: 57% 45%;
  filter: saturate(0.86) contrast(1.04);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(6 11 18 / 0.97) 0%, rgb(9 15 24 / 0.82) 42%, rgb(9 15 24 / 0.08) 78%),
    linear-gradient(0deg, var(--ink-deep) 0%, transparent 28%),
    linear-gradient(180deg, rgb(9 15 24 / 0.45) 0%, transparent 24%);
}

.hero-content {
  align-self: center;
  padding-block: 140px 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  color: #f2ecdf;
  font-family: "Neume", Georgia, serif;
  font-weight: normal;
  letter-spacing: 0.02em;
  white-space: pre-line;
}

.hero h1 {
  max-width: 750px;
  font-size: clamp(4rem, 7.5vw, 6.6rem);
  line-height: 0.88;
  text-wrap: balance;
}

.hero-lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: #d4d4d0;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-top: 34px;
}

.hero-play {
  display: grid;
  justify-items: stretch;
  gap: 8px;
}

.hero-play .button {
  min-width: 190px;
  font-size: 1.2rem;
}

.hero-play span {
  color: #b9bec6;
  font-size: 0.75rem;
  text-align: center;
}

.hero-actions small {
  max-width: 500px;
  color: #b9bec6;
  font-size: 0.875rem;
  line-height: 1.55;
}

.section {
  padding-block: clamp(84px, 9vw, 124px);
  scroll-margin-top: 76px;
}

.section h2 {
  font-size: clamp(2.75rem, 5vw, 4.4rem);
  line-height: 0.96;
}

.section-heading {
  margin-bottom: 52px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: end;
  gap: 72px;
}

.section-intro {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.features {
  border-top: 1px solid #283347;
  background: var(--ink-deep);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 58px;
  border-block: 1px solid var(--line);
}

.feature-list article {
  min-height: 240px;
  padding: 25px 24px 30px;
  border-right: 1px solid var(--line);
}

.feature-list article:first-child {
  padding-left: 0;
}

.feature-list article:last-child {
  padding-right: 0;
  border-right: 0;
}

.feature-list span {
  color: var(--gold);
  font-size: 0.75rem;
}

.feature-list h3 {
  margin: 48px 0 14px;
  color: var(--text);
  font-size: 1rem;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.gallery {
  min-width: 0;
}

.gallery-title {
  margin: 0 0 20px;
  color: #f2ecdf;
  font-family: "Neume", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: normal;
  letter-spacing: 0.02em;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  border-top: 1px solid var(--line);
}

.gallery-toolbar p {
  margin: 0;
  color: var(--faint);
  font-size: 0.75rem;
}

.gallery-toolbar p span:first-child {
  color: var(--text);
}

.gallery-arrows {
  display: flex;
}

.gallery-arrows button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease;
}

/* Рисунок вместо знака, поэтому размер задаётся здесь, а не кеглем. */
.gallery-arrows button svg {
  width: 20px;
  height: 20px;
}

.gallery-arrows button:hover {
  background: var(--panel-light);
  color: var(--gold);
}

.gallery-viewport {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #070d15;
  box-shadow: 0 28px 80px rgb(0 0 0 / 0.3);
}

.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: clamp(440px, 62vw, 720px);
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.gallery-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(transparent, rgb(5 9 15 / 0.82));
  pointer-events: none;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-slide figcaption {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  z-index: 2;
  color: var(--text);
  font-size: 0.875rem;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-bottom: 5px;
  overflow-x: auto;
}

.gallery-thumbs button {
  flex: 0 0 84px;
  height: 56px;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  opacity: 0.52;
  cursor: pointer;
  transition: border-color 140ms ease, opacity 140ms ease;
}

.gallery-thumbs button:hover {
  opacity: 0.8;
}

.gallery-thumbs button[aria-current="true"] {
  border-color: var(--gold);
  opacity: 1;
}

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

.roadmap {
  overflow: hidden;
  border-block: 1px solid #283347;
  background: var(--panel);
}

.section-heading--roadmap {
  margin-bottom: 52px;
}

.roadmap-years {
  display: grid;
  gap: 48px;
}

.roadmap-year > h3 {
  margin: 0 0 22px;
  color: var(--faint);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.roadmap-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.roadmap-list--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.roadmap-list li {
  position: relative;
  min-height: 250px;
  padding: 28px 22px 24px;
  border-right: 1px solid var(--line);
}

.roadmap-list li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 22px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--panel);
}

.roadmap-list li:first-child {
  padding-left: 0;
}

.roadmap-list li:first-child::before {
  left: 0;
  background: var(--gold);
}

.roadmap-list li:last-child {
  padding-right: 0;
  border-right: 0;
}

.roadmap-list time {
  color: var(--gold);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.roadmap-list h4 {
  margin: 58px 0 14px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
}

.roadmap-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.65;
}

.contact {
  display: flex;
  align-items: center;
  min-height: 340px;
  background:
    linear-gradient(120deg, rgb(43 86 134 / 0.13), transparent 45%),
    var(--ink-deep);
}

.contact-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 64px;
}

.contact-copy h2 {
  font-size: clamp(2.75rem, 5vw, 4rem);
}

.contact-copy > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.contact-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.contact-links a {
  display: grid;
  grid-template-columns: 42px auto;
  align-items: center;
  gap: 3px 13px;
  color: inherit;
  text-decoration: none;
}

.contact-links a[aria-disabled="true"] {
  cursor: default;
}

.contact-links a > span:not(.contact-icon) {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
}

.contact-icon {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  background: var(--gold);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.contact-icon--telegram {
  mask-image: url("../assets/icons/misc/telegram.svg");
}

.contact-icon--itch {
  mask-image: url("../assets/icons/misc/itchdotio.svg");
}

.contact-links a small {
  color: var(--faint);
  font-size: 0.75rem;
}

.site-footer {
  border-top: 1px solid rgb(231 185 92 / 0.16);
  background: var(--ink-deep);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  color: var(--faint);
  font-size: 0.75rem;
}

.site-footer-inner p {
  margin: 0;
}

.site-footer-inner nav {
  display: flex;
  gap: 24px;
}

.site-footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer-inner a:hover,
.site-footer-inner a:focus-visible {
  color: var(--gold);
}

.login-page {
  min-height: 100vh;
  overflow: auto;
}

.login-main {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 76px);
  padding: 48px 24px;
  isolation: isolate;
}

.login-image,
.login-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.login-image {
  z-index: -2;
  object-fit: cover;
}

.login-shade {
  z-index: -1;
  background: rgb(8 13 20 / 0.76);
}

.login-card {
  width: min(420px, 100%);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgb(25 34 49 / 0.96);
  box-shadow: 0 28px 80px rgb(0 0 0 / 0.44);
}

.login-card h1 {
  margin: 0;
  color: #f2ecdf;
  font-family: inherit;
  font-size: 2.125rem;
  font-weight: 700;
  line-height: 1.1;
}

.login-intro {
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.login-field {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.875rem;
}

.login-field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
  background: var(--ink);
  color: var(--text);
  font-size: 1rem;
}

.login-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgb(227 162 59 / 0.16);
}

.login-submit {
  width: 100%;
  margin-top: 24px;
}

.auth-switch {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.auth-switch button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}

.auth-switch button:hover {
  color: #f0b95d;
}

.login-note {
  margin: 18px 0 0;
  color: #858e9b;
  font-size: 0.8125rem;
  line-height: 1.55;
  text-align: center;
}

.login-note.is-error {
  color: #e9998d;
}

@media (max-width: 980px) {
  .section-heading--split {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

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

  .feature-list article:nth-child(2) {
    border-right: 0;
  }

  .feature-list article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .feature-list article:nth-child(3) {
    padding-left: 0;
  }

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

  .roadmap-list--four li:nth-child(2) {
    border-right: 0;
  }

  .roadmap-list--four li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .roadmap-list--four li:nth-child(3) {
    padding-left: 0;
  }

  .roadmap-list--four li:nth-child(3)::before {
    left: 0;
  }

  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 68px;
  }

  .page-width {
    width: min(var(--page-width), calc(100% - 32px));
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    gap: 9px;
    padding-inline: 16px;
  }

  .wordmark {
    width: 136px;
  }

  .menu-toggle {
    display: block;
    grid-column: 2;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 8px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: rgb(9 15 24 / 0.98);
    box-shadow: 0 22px 50px rgb(0 0 0 / 0.34);
    transform: translateY(-120%);
    visibility: hidden;
    opacity: 0;
    transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    transform: none;
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    min-height: 52px;
    padding: 16px 2px;
    border-bottom: 1px solid rgb(53 65 84 / 0.75);
    font-size: 1rem;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav .language-picker {
    justify-content: space-between;
    min-height: 52px;
    padding: 8px 2px 0;
  }

  .site-nav .language-picker-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip-path: none;
  }

  /* In the folded menu the version is the last line, set apart from the
     links: it is information, not a destination. */
  .site-nav .app-version {
    padding: 12px 2px 0;
  }

  .hero {
    min-height: 740px;
  }

  .hero-image {
    object-position: 63% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgb(6 11 18 / 0.9), rgb(9 15 24 / 0.42)),
      linear-gradient(0deg, var(--ink-deep) 0%, rgb(9 15 24 / 0.74) 48%, transparent 88%);
  }

  .hero-content {
    align-self: end;
    padding-block: 120px 76px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 17vw, 5rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .section {
    padding-block: 78px;
    scroll-margin-top: 68px;
  }

  .section h2 {
    font-size: clamp(2.7rem, 13vw, 3.6rem);
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-list article,
  .feature-list article:first-child,
  .feature-list article:nth-child(3),
  .feature-list article:last-child {
    min-height: 0;
    padding: 24px 0 28px;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .feature-list article:first-child {
    border-top: 0;
  }

  .feature-list h3 {
    margin-top: 24px;
  }

  .gallery-slide {
    height: 66vw;
    min-height: 280px;
    max-height: 520px;
  }

  .gallery-thumbs button {
    flex-basis: 72px;
    height: 49px;
  }

  .roadmap-list--four,
  .roadmap-list--two {
    grid-template-columns: 1fr;
  }

  .roadmap-list li,
  .roadmap-list li:first-child,
  .roadmap-list--four li:nth-child(3),
  .roadmap-list li:last-child {
    min-height: 0;
    padding: 26px 0 32px;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .roadmap-list li:first-child {
    border-top: 0;
  }

  .roadmap-list li::before,
  .roadmap-list li:first-child::before,
  .roadmap-list--four li:nth-child(3)::before {
    top: -5px;
    left: 0;
  }

  .roadmap-list h4 {
    margin-top: 24px;
  }

  .contact {
    min-height: 0;
  }

  .contact-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
  }

  .site-header--solid {
    min-height: 76px;
    padding-block: 8px;
  }

  .login-header-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 3px;
  }

  .login-header-actions .text-link {
    font-size: 0.75rem;
    text-align: right;
  }

  .login-card {
    padding: 28px 22px;
  }

  .login-card h1 {
    font-size: 1.875rem;
  }
}

@media (max-width: 420px) {
  .site-header--solid .wordmark {
    width: 112px;
  }

  .login-header-actions .text-link {
    font-size: 0.6875rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
