@font-face {
  font-family: "Onest";
  src: url("assets/fonts/Onest-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #070b0f;
  --ink-raised: #10171d;
  --steel: #26323b;
  --paper: #f2f4f3;
  --paper-muted: #d6dcda;
  --white: #ffffff;
  --cyan: #35cbe8;
  --cyan-deep: #1497b4;
  --amber: #f0a354;
  --danger: #db5a64;
  --shell: min(1240px, calc(100vw - 48px));
  --display: "Onest", "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  --body: "Onest", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 84px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 11, 15, 0.7);
  backdrop-filter: blur(16px);
  transition:
    min-height 180ms ease,
    background-color 180ms ease;
}

.site-header.is-scrolled {
  min-height: 70px;
  background: rgba(7, 11, 15, 0.94);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.wordmark__suffix {
  margin-left: 5px;
  color: var(--cyan);
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 600;
}

.main-nav a,
.footer-links a {
  transition: color 160ms ease;
}

.main-nav a {
  position: relative;
  padding: 7px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a.is-active {
  color: var(--white);
}

.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--cyan);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-account,
.header-download {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(53, 203, 232, 0.55);
  color: var(--white);
  background: rgba(53, 203, 232, 0.08);
  font-size: 15px;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.header-account svg,
.header-download svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-account {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.03);
}

.header-account:hover {
  border-color: rgba(53, 203, 232, 0.72);
  color: var(--cyan);
  background: rgba(53, 203, 232, 0.08);
  transform: translateY(-1px);
}

.header-download {
  border-color: var(--cyan);
  color: var(--ink);
  background: var(--cyan);
}

.header-download:hover {
  border-color: var(--cyan);
  color: var(--ink);
  background: #72def1;
  transform: translateY(-1px);
}

.header-download.is-active {
  border-color: var(--cyan);
  color: var(--ink);
  background: var(--cyan);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: #0b1116;
}

.hero__photo,
.hero__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__photo {
  object-fit: cover;
  object-position: center;
}

.hero__photo.is-missing {
  display: none;
}

.hero__shade {
  z-index: -1;
  background: rgba(7, 11, 15, 0.58);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 168px 0 106px;
}

.hero__mascot {
  position: absolute;
  z-index: 0;
  right: max(0px, calc((100vw - 1416px) / 2));
  bottom: -30px;
  width: 480px;
  max-height: 82%;
  object-fit: contain;
  object-position: bottom;
  pointer-events: none;
  filter: brightness(0.96) drop-shadow(0 26px 40px rgba(0, 0, 0, 0.34));
  animation: mascot-enter 720ms cubic-bezier(0.18, 0.72, 0.2, 1) both;
}

@keyframes mascot-enter {
  from {
    opacity: 0;
    transform: translateY(34px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: #087d97;
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: var(--display);
  font-size: 142px;
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 590px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 22px;
  line-height: 1.45;
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 750;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

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

.button--primary {
  color: #041014;
  background: var(--cyan);
}

.button--primary:hover {
  background: #72def1;
}

.button--quiet {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(7, 11, 15, 0.32);
}

.button--quiet:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.hero__facts {
  max-width: 820px;
  margin-top: 64px;
  display: flex;
  gap: 0;
  color: rgba(255, 255, 255, 0.72);
}

.hero__facts div {
  min-width: 240px;
  padding-right: 34px;
  display: grid;
  gap: 2px;
}

.hero__facts div + div {
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__facts strong {
  color: var(--white);
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
}

.hero__facts span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.route-strip {
  position: relative;
  z-index: 2;
  height: 76px;
  display: grid;
  place-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--ink-raised);
}

.route-strip__track {
  width: min(980px, calc(100vw - 48px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.route-strip__track a {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  transition: color 180ms ease;
}

.route-strip__track small {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
}

.route-strip__track i {
  transition:
    width 180ms ease,
    background-color 180ms ease;
}

.route-strip__track a:hover {
  color: var(--cyan);
}

.route-strip__track a:hover + i {
  width: 140px;
  background: rgba(53, 203, 232, 0.62);
}

.route-strip__track i {
  width: 110px;
  height: 1px;
  background: var(--steel);
}

.section {
  padding: 116px 0;
}

.section--light {
  color: var(--ink);
  background: var(--paper);
}

.section-heading h2,
.gallery__heading h2,
.requirements__heading h2,
.download h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 72px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.about__layout {
  margin-top: 76px;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(560px, 1.6fr);
  gap: 11vw;
  align-items: start;
}

.about__intro {
  max-width: 390px;
  margin: 0;
  color: #334047;
  font-size: 23px;
  line-height: 1.65;
}

.about__points {
  border-top: 1px solid #cbd1cf;
}

.about__points article {
  scroll-margin-top: 100px;
  position: relative;
  padding: 30px 0 32px;
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) 1fr;
  gap: 40px;
  border-bottom: 1px solid #cbd1cf;
}

.about__points h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.25;
}

.about__points p {
  margin: 0;
  color: #354147;
  font-size: 17px;
}

.how-to {
  position: relative;
  z-index: 1;
}

.how-to__heading {
  max-width: 820px;
}

.how-to__heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
}

.how-to__heading > p:last-child {
  max-width: 560px;
  margin: 24px 0 0;
  color: #4d595f;
  font-size: 18px;
}

.steps {
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid #cbd1cf;
  list-style: none;
}

.steps li {
  min-height: 270px;
  padding: 30px 36px 36px 0;
}

.steps li + li {
  padding-left: 36px;
  border-left: 1px solid #cbd1cf;
}

.steps span {
  color: #087d97;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
}

.steps h3 {
  margin: 52px 0 0;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.25;
}

.steps p {
  margin: 14px 0 0;
  color: #465158;
  font-size: 16px;
}

.how-to__download {
  min-height: 52px;
  margin-top: 32px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #041014;
  background: var(--cyan);
  font-size: 15px;
  font-weight: 750;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.how-to__download:hover {
  background: #72def1;
  transform: translateY(-2px);
}

.gallery {
  background: #0a1015;
}

.gallery__heading,
.requirements__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
}

.gallery__heading > p,
.requirements__heading > p {
  max-width: 430px;
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 17px;
}

.gallery-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.gallery-shot {
  position: relative;
  grid-column: span 6;
  min-height: 0;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  overflow: hidden;
  color: var(--white);
  background: #151e25;
  cursor: zoom-in;
}

.gallery-shot--wide {
  grid-column: span 6;
}

.gallery-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-shot:hover img {
  transform: scale(1.025);
}

.gallery-shot__fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--display);
  font-size: 34px;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-shot.is-missing {
  cursor: default;
}

.gallery-shot.is-missing img {
  display: none;
}

.gallery-shot.is-missing .gallery-shot__fallback {
  display: grid;
}

.gallery-shot__caption {
  position: absolute;
  left: 22px;
  bottom: 18px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(7, 11, 15, 0.74);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 700;
}

.requirements__heading > p {
  color: #5b666b;
  font-size: 17px;
}

.requirements__notice {
  margin-top: 48px;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) 1fr;
  gap: 32px;
  border-left: 3px solid var(--cyan-deep);
  color: #3d494f;
  background: #e4e9e7;
}

.requirements__notice strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
}

.requirements__notice span {
  font-size: 16px;
}

.requirements-table {
  margin-top: 36px;
  border-top: 2px solid var(--ink);
}

.requirements-table__row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 40px;
  padding: 20px 0;
  border-bottom: 1px solid #cbd1cf;
}

.requirements-table__row span:first-child {
  color: #536066;
}

.requirements-table__head {
  color: var(--ink);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.requirements-table__head span:first-child {
  color: var(--ink);
}

.requirements__note {
  max-width: 720px;
  margin: 28px 0 0 auto;
  color: #465158;
  font-size: 15px;
}

.faq {
  padding-top: 104px;
  background: #0a1015;
}

.faq__inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(560px, 1.2fr);
  gap: 8vw;
  align-items: start;
}

.faq__heading h2,
.project-status h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 62px;
  font-weight: 800;
  line-height: 1;
}

.faq__heading p:not(.eyebrow) {
  max-width: 430px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
}

.faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.faq-item summary {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  transition: color 180ms ease;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--cyan);
  font-size: 24px;
  line-height: 1;
  transition:
    color 180ms ease,
    transform 200ms ease;
}

.faq-item summary:hover,
.faq-item[open] summary {
  color: var(--cyan);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 690px;
  margin: -6px 0 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
}

.faq-item.is-animating {
  overflow: hidden;
}

.project-status {
  padding-top: 82px;
  padding-bottom: 82px;
}

.project-status__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(600px, 1.4fr);
  gap: 8vw;
  align-items: end;
}

.project-status .eyebrow {
  color: #159ec4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.project-status h2 {
  font-weight: 700;
  line-height: 0.98;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
}

.status-grid div {
  min-height: 118px;
  padding: 22px 24px 20px 0;
  display: grid;
  align-content: space-between;
  border-bottom: 1px solid #cbd1cf;
}

.status-grid div + div {
  padding-left: 24px;
  border-left: 1px solid #cbd1cf;
}

.status-grid span {
  color: #6f7a84;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-grid strong {
  color: #101418;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #8b969b;
  box-shadow: 0 0 0 4px rgba(139, 150, 155, 0.12);
}

.status-dot--pending {
  background: #9bb8c7;
  box-shadow: 0 0 0 4px rgba(155, 184, 199, 0.14);
}

.status-dot--ready {
  background: #7dba8b;
  box-shadow: 0 0 0 4px rgba(125, 186, 139, 0.14);
}

.status-dot--testing {
  background: #d5b66b;
  box-shadow: 0 0 0 4px rgba(213, 182, 107, 0.14);
}

.status-dot--dev {
  background: #aeb5bc;
  box-shadow: 0 0 0 4px rgba(174, 181, 188, 0.12);
}

.project-status__updated {
  position: absolute;
  right: 0;
  bottom: -30px;
  margin: 0;
  color: #8a949d;
  font-size: 13px;
  font-weight: 500;
}

.download {
  position: relative;
  min-height: clamp(540px, 66svh, 720px);
  padding: 150px 0 100px;
  overflow: hidden;
  color: #041014;
  background: var(--cyan);
}

.download .eyebrow {
  color: #075164;
}

.download__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.6fr);
  gap: 100px;
  align-items: center;
  transform: translateY(54px);
}

.download h2 {
  max-width: 780px;
}

.download p:not(.eyebrow) {
  max-width: 680px;
  margin: 26px 0 0;
  color: #164954;
  font-size: 18px;
}

.download__action {
  display: grid;
  gap: 14px;
}

.download__meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(4, 16, 20, 0.28);
}

.download__meta div {
  padding: 12px 0;
  border-bottom: 1px solid rgba(4, 16, 20, 0.2);
}

.download__meta div:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid rgba(4, 16, 20, 0.2);
}

.download__meta dt {
  color: #176071;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.download__meta dd {
  margin: 2px 0 0;
  color: #041014;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
}

.button--download {
  min-height: 60px;
  color: var(--white);
  background: var(--ink);
}

.button--download:hover {
  background: #1a2830;
}

.download__action small {
  color: #155563;
  text-align: center;
}

.site-footer {
  padding: 74px 0 28px;
  background: #06090c;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.wordmark--footer {
  font-size: 30px;
}

.footer-brand p {
  max-width: 450px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
}

.footer-socials {
  margin-top: 28px;
}

.footer-socials__title {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  line-height: 1;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.social-link__icon {
  width: 25px;
  height: 25px;
  display: block;
}

.social-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.social-link--discord {
  background: #5865f2;
}

.social-link--telegram {
  background: #229ed9;
}

.social-link--vk {
  background: #0077ff;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h3 {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-transform: uppercase;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 255, 255, 0.79);
  font-size: 15px;
}

.footer-soon {
  color: rgba(255, 255, 255, 0.48);
}

.footer-status {
  width: fit-content;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68) !important;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px !important;
}

.footer-status i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #879299;
  box-shadow: 0 0 0 3px rgba(135, 146, 153, 0.12);
}

.footer-legal {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.22);
  text-underline-offset: 4px;
}

.footer-legal:hover {
  text-decoration-color: var(--cyan);
}

.site-footer__bottom {
  margin-top: 64px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
}

.lightbox {
  width: min(1180px, calc(100vw - 40px));
  max-width: none;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  background: var(--ink);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox p {
  margin: 0;
  padding: 14px 18px 18px;
}

.lightbox__close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: rgba(7, 11, 15, 0.78);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.error-page {
  min-height: 100svh;
  background: #070b0f;
}

.not-found {
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 11, 15, 0.98) 0%, rgba(7, 11, 15, 0.88) 58%, rgba(53, 203, 232, 0.08) 100%),
    #070b0f;
}

.not-found__inner {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 8vw;
  align-items: center;
}

.not-found .wordmark {
  margin-bottom: 92px;
}

.not-found h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: 82px;
  font-weight: 800;
  line-height: 0.98;
}

.not-found p:not(.eyebrow) {
  max-width: 520px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 20px;
}

.not-found__mascot {
  align-self: end;
  width: min(420px, 100%);
  filter: brightness(0.95) drop-shadow(0 28px 42px rgba(0, 0, 0, 0.38));
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.22, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1050px) {
  :root {
    --shell: min(100% - 32px, 720px);
  }

  .site-header {
    min-height: 66px;
    grid-template-columns: auto 1fr auto auto;
    padding: 0 16px;
    gap: 14px;
  }

  .header-actions {
    justify-self: end;
  }

  .header-account {
    padding: 0 14px;
  }

  .nav-toggle {
    position: relative;
    display: grid;
    place-items: center;
  }

  .main-nav {
    position: fixed;
    top: 66px;
    left: 0;
    width: 100vw;
    height: calc(100svh - 66px);
    padding: 40px 24px;
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 24px;
    background: #070b0f;
    transform: translateX(100vw);
    transition: transform 220ms ease;
  }

  .main-nav a {
    font-family: var(--display);
    font-size: 30px;
  }

  .nav-open .main-nav {
    transform: none;
  }

  .nav-open .nav-toggle span:first-child {
    transform: rotate(45deg);
  }

  .nav-open .nav-toggle span:last-child {
    transform: rotate(-45deg);
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero h1 {
    font-size: 96px;
  }

  .hero__content {
    z-index: 2;
    padding-bottom: 76px;
  }

  .hero__mascot {
    right: -50px;
    width: 400px;
    opacity: 0.48;
  }

  .hero__facts {
    flex-wrap: wrap;
    gap: 22px 0;
  }

  .section-heading h2,
  .how-to__heading h2,
  .gallery__heading h2,
  .requirements__heading h2,
  .download h2 {
    font-size: 56px;
  }

  .hero__facts div {
    min-width: 50%;
  }

  .hero__facts div + div {
    padding-left: 0;
    border-left: 0;
  }

  .about__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__points article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .steps li {
    min-height: 0;
    padding: 28px 0;
  }

  .steps li + li {
    padding-left: 0;
    border-top: 1px solid #cbd1cf;
    border-left: 0;
  }

  .steps h3 {
    margin-top: 22px;
  }

  .gallery__heading,
  .requirements__heading {
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }

  .gallery-shot,
  .gallery-shot--wide {
    grid-column: span 6;
  }

  .requirements__notice {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .requirements-table__row {
    gap: 20px;
  }

  .faq__inner,
  .project-status__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

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

  .status-grid div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .download__inner,
  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .download__inner {
    gap: 44px;
  }

  .not-found__inner {
    min-height: 760px;
    grid-template-columns: 1fr;
    align-content: center;
  }

  .not-found .wordmark {
    margin-bottom: 70px;
  }

  .not-found h1 {
    font-size: 58px;
  }

  .not-found__mascot {
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 320px;
    opacity: 0.32;
  }

}

@media (max-width: 620px) {
  .header-actions {
    gap: 8px;
  }

  .header-account {
    width: 42px;
    padding: 0;
    font-size: 0;
  }

  .header-download {
    width: 42px;
    padding: 0;
    font-size: 0;
  }

  .header-account > span {
    display: none;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    max-height: none;
  }

  .hero__content {
    padding-top: 130px;
  }

  .hero__mascot {
    right: -85px;
    bottom: -90px;
    width: 230px;
    opacity: 0.22;
  }

  .hero h1 {
    font-size: 56px;
    line-height: 0.88;
  }

  .hero__lead {
    margin-top: 26px;
    font-size: 18px;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero__facts {
    margin-top: 44px;
  }

  .hero__facts div {
    min-width: 100%;
    padding-right: 0;
  }

  .route-strip {
    height: auto;
    padding: 20px 0;
  }

  .route-strip__track {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
  }

  .route-strip__track i {
    width: 22px;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading h2,
  .how-to__heading h2,
  .gallery__heading h2,
  .requirements__heading h2,
  .download h2 {
    font-size: 42px;
  }

  .about__layout {
    margin-top: 48px;
  }

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

  .gallery-shot,
  .gallery-shot--wide {
    grid-column: auto;
  }

  .requirements-table {
    border-top: 0;
  }

  .requirements-table__head {
    display: none;
  }

  .requirements-table__row {
    padding: 22px 0;
    grid-template-columns: 1fr 1fr;
  }

  .requirements-table__row span:first-child {
    grid-column: 1 / -1;
    color: var(--ink);
    font-family: var(--display);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .faq__heading h2,
  .project-status h2 {
    font-size: 42px;
  }

  .faq-item summary {
    min-height: 68px;
    font-size: 18px;
  }

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

  .status-grid div + div {
    padding-left: 0;
    border-left: 0;
  }

  .download {
    min-height: 0;
    padding: 78px 0;
  }

  .download__inner {
    transform: none;
  }

  .not-found h1 {
    font-size: 44px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-socials {
    margin-top: 22px;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
