@font-face {
  font-family: 'Dela Gothic One';
  src: url('/assets/fonts/DelaGothicOne-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Rubik;
  src: url('/assets/fonts/Rubik.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: Gotham;
  src: url('/assets/fonts/GothamPro-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Gotham;
  src: url('/assets/fonts/GothamPro-Black.woff') format('woff');
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #090909;
  --lime: #e8ff65;
  --lavender: #c5adf4;
  --pink: #ffbfe7;
  --violet: #6942a5;
  --muted: #4a4652;
  --surface: #eeeae5;
  --gutter: clamp(16px, 3.4vw, 48px);
  --header-h: clamp(76px, 7.6vw, 116px);
  --line: 3px;
  --tape-h: clamp(52px, 4.4vw, 72px);
  --slant: 3.5vw;
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --float: 0 1px 2px rgb(9 9 9 / 0.14), 0 10px 20px -4px rgb(9 9 9 / 0.2),
    0 32px 64px -12px rgb(9 9 9 / 0.32);
  font-family: Rubik, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 24px;
}
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  visibility: visible;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}
h1,
h2,
h3,
p,
ol,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: 'Dela Gothic One', Rubik, sans-serif;
  font-weight: 400;
  text-wrap: balance;
}
p {
  line-height: 1.5;
  text-wrap: pretty;
}
[hidden] {
  display: none !important;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 1em;
  height: 1em;
  flex: none;
}
.page-width {
  width: min(100% - 2 * var(--gutter), 1440px);
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 30;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus {
  top: 16px;
}

/* Buttons */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  white-space: nowrap;
  transition-property: scale, background-color;
  transition-duration: 160ms;
  transition-timing-function: var(--ease-out);
}
.pill .icon {
  width: 1.15em;
  height: 1.15em;
  transition: translate 200ms var(--ease-out);
}
.pill:hover {
  background: #26222c;
}
.pill:hover .icon {
  translate: 3px 0;
}
.pill:active {
  scale: 0.96;
}
.pill-sm {
  min-height: clamp(44px, 3.7vw, 58px);
  padding-inline: clamp(20px, 2vw, 32px);
  font-size: clamp(16px, 1.3vw, 20px);
}
.pill-lg {
  gap: clamp(20px, 2.2vw, 36px);
  min-height: clamp(60px, 5.2vw, 82px);
  padding-inline: clamp(28px, 2.4vw, 44px) clamp(24px, 2.1vw, 38px);
  font-size: clamp(18px, 1.5vw, 24px);
}
/* Header */

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4.4vw, 72px);
  height: var(--header-h);
}
.publisher-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-left: auto;
  padding-inline: 18px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 600;
  white-space: nowrap;
  transition-property: background-color, color, scale;
  transition-duration: 160ms;
  transition-timing-function: var(--ease-out);
}
.publisher-link .icon {
  width: 18px;
  height: 18px;
}
.publisher-link .label-short {
  display: none;
}
.publisher-link:hover {
  background: var(--ink);
  color: var(--lime);
}
.publisher-link:active {
  scale: 0.96;
}
.social {
  display: flex;
  align-items: center;
}
.site-header .social {
  margin-left: calc(-1 * clamp(12px, 2.4vw, 48px));
  margin-right: -10px;
}
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
  font-size: 24px;
  transition-property: background-color, scale;
  transition-duration: 160ms;
  transition-timing-function: var(--ease-out);
}
.social a:hover {
  background: rgb(9 9 9 / 0.08);
}
.social a:active {
  scale: 0.96;
}
.social-lg {
  gap: 4px;
  margin: 20px 0 0 -10px;
}
.social-lg a {
  width: 52px;
  height: 52px;
  font-size: 28px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 0.9vw, 14px);
}
.wordmark img {
  width: clamp(40px, 3.9vw, 60px);
}
.wordmark > span {
  font-family: Gotham, Rubik, sans-serif;
  font-size: clamp(26px, 2.5vw, 40px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.wordmark small {
  display: block;
  margin-top: 0.12em;
  font-family: Gotham, Rubik, sans-serif;
  font-size: 0.71em;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.site-nav {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 500;
  text-decoration: underline 2px transparent;
  text-underline-offset: 6px;
  transition: text-decoration-color 160ms var(--ease-out);
}
.site-nav a:hover {
  text-decoration-color: currentColor;
}

/* Hero */

.hero-stage {
  --hero-fs: clamp(46px, min(6.3vw, 10.4svh), 112px);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(560px, calc(100svh - var(--tape-h) / 2 - 12px), 960px);
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  overflow: clip;
  background: var(--lime);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  container-type: inline-size;
}
.hero {
  display: flex;
  flex: 1;
}
.hero-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  padding-block: clamp(20px, 3svh, 48px) clamp(72px, 13svh, 150px);
}
.hero h1 {
  font-size: var(--hero-fs);
  line-height: 0.88;
  letter-spacing: -0.02em;
}
.hero h1 span {
  display: block;
}
.hero-lede {
  margin-top: clamp(20px, 2.5vw, 42px);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.35;
}
.hero-lede b {
  font-weight: 600;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 16px);
  margin-top: clamp(24px, 2.4vw, 40px);
}
.scroll-cue {
  display: grid;
  flex: none;
  place-items: center;
  width: clamp(60px, 5.2vw, 82px);
  aspect-ratio: 1;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  font-size: clamp(22px, 1.8vw, 28px);
  transition-property: scale, background-color, color;
  transition-duration: 160ms;
  transition-timing-function: var(--ease-out);
}
.scroll-cue:hover {
  background: var(--ink);
  color: var(--lime);
}
.scroll-cue:active {
  scale: 0.96;
}
.hero-art-slot {
  display: contents;
}
/* Beside the copy the art shrinks to the width left of it: «есть свой» is 5.6em wide,
   the buttons about 380px, and the left cover bleeds 3.5% past the art box.
   Its top stays below the header buttons so NUR's hair never runs under them. */
.hero-art {
  --art-right: max(0px, (100cqw - 1440px) / 2 - 240px);
  --copy-end: calc(max(var(--gutter), (100cqw - 1440px) / 2) + max(5.7 * var(--hero-fs), 380px) + clamp(16px, 2.5vw, 48px));
  position: absolute;
  bottom: 0;
  right: var(--art-right);
  z-index: 2;
  height: min(100% - 0.8 * var(--header-h), 56cqw, (100cqw - var(--art-right) - var(--copy-end)) / 1.059);
  aspect-ratio: 1015 / 992;
  container-type: inline-size;
}
.hero-art > * {
  position: absolute;
}
.hero-panel,
.hero-slash {
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hero-panel polygon {
  fill: var(--lavender);
  stroke: var(--ink);
  stroke-width: 4px;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}
.hero-slash polygon {
  fill: var(--ink);
}
.hero-nur {
  top: 0;
  left: 1.5%;
  width: 88.7%;
  max-width: none;
}
.hero-bubble {
  --w: 25cqi;
  top: calc(39.73cqi - var(--w) * 0.2667);
  left: calc(34.2cqi - var(--w) * 1.1778);
  z-index: 5;
  width: var(--w);
}
.hero-cover {
  z-index: 3;
  width: 30%;
  border-radius: 1.2cqi;
  box-shadow: var(--float);
  outline: 1px solid oklch(0 0 0 / 0.1);
  outline-offset: -1px;
}
.hero-cover-togetherland {
  top: 60%;
  left: -3.5%;
  rotate: -11deg;
  z-index: 4;
}
.hero-cover-lab {
  top: 57%;
  left: 27%;
  rotate: 8deg;
}
.hero-phone {
  top: 46%;
  left: 64%;
  z-index: 4;
  width: 31.5%;
  rotate: 6deg;
}

/* Speech bubble */

.bubble {
  display: grid;
  place-items: center;
  aspect-ratio: 270 / 160;
}
.bubble svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.bubble span {
  position: relative;
  width: 72%;
  translate: -3% 4%;
  font-size: clamp(11px, 1.9cqi, 22px);
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
}

/* Device frames */

.device {
  container-type: inline-size;
}
.device-body {
  position: relative;
  background: #0d0d10;
}
.device-body img {
  width: 100%;
}
.device-body::after {
  content: '';
  position: absolute;
  left: 50%;
  translate: -50% 0;
  background: #000;
}
.device-phone .device-body {
  padding: 3.4cqi;
  border-radius: 15cqi;
  box-shadow:
    0 0 0 0.7cqi #d9d8de,
    0 0 0 1.1cqi #8f8e97,
    var(--float);
}
.device-phone .device-body img {
  border-radius: 11.6cqi;
}
.device-phone .device-body::after {
  top: 6.1cqi;
  width: 29cqi;
  height: 8.6cqi;
  border-radius: 99px;
}

/* Content link (/comics/:id, /products/:id) */

.content-link {
  padding-block: 56px 104px;
}
.eyebrow {
  display: block;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.content-link h1 {
  max-width: 14ch;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.015em;
}
.content-link p {
  max-width: 52ch;
  margin-top: 28px;
  font-size: 18px;
}
.content-link p + p {
  margin-top: 16px;
  font-size: 16px;
}
.content-link .pill {
  margin-top: 32px;
}
.is-content-link .hero,
.is-content-link .tape-wrap,
.is-content-link .landing-content {
  display: none;
}

/* Tape */

.tape-wrap {
  --pad: calc(var(--slant) / 2 + 12px);
  position: relative;
  z-index: 6;
  margin-top: calc(-1 * (var(--pad) + var(--tape-h) / 2 + var(--slant) / 2));
  margin-bottom: calc(-1 * var(--pad));
  padding-block: var(--pad);
  overflow: clip;
  pointer-events: none;
}
.tape {
  display: flex;
  align-items: center;
  width: 104%;
  height: var(--tape-h);
  margin-left: -2%;
  background: var(--ink);
  rotate: -2deg;
}
.tape-track {
  display: flex;
  align-items: center;
  width: max-content;
  color: var(--lime);
  font-family: 'Dela Gothic One', Rubik, sans-serif;
  font-size: clamp(20px, 1.9vw, 30px);
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}
.tape-track span,
.tape-track i {
  margin-right: 0.85em;
}
.tape-track i {
  width: 1em;
  height: 1.08em;
  background: currentColor;
  mask: url('/assets/logo.svg') center / contain no-repeat;
}
.tape-track {
  animation: tape 70s linear infinite;
}
@keyframes tape {
  to {
    translate: -50% 0;
  }
}

/* Section heading */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  align-items: end;
  gap: 20px 48px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head h2 {
  font-size: clamp(38px, 4.8vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.015em;
}
.section-head p {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--muted);
}

/* App screens */

.screens {
  padding-block: clamp(80px, 9vw, 148px) clamp(40px, 4vw, 64px);
  overflow: clip;
}
.screens-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
  width: min(100% - 2 * var(--gutter), 1440px);
  margin: 0 auto;
  padding: 0 0 48px;
  list-style: none;
}
.screen:nth-child(even) {
  translate: 0 48px;
}
.screen .device {
  width: min(100%, 280px);
  margin-inline: auto;
}
.screen h3 {
  margin-top: 28px;
  font-size: clamp(20px, 1.7vw, 26px);
  letter-spacing: -0.005em;
}
.screen p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}

/* Comics */

.comics {
  padding-block: clamp(64px, 7vw, 112px) clamp(72px, 8vw, 128px);
}
.comic-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.1vw, 16px);
}
.panel {
  --panel: var(--lavender);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: var(--line) solid var(--ink);
  border-radius: 22px;
  background: var(--panel);
}
.panel-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 10 / 9;
  padding: clamp(20px, 2.2vw, 32px) 16px;
}
.panel-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(9 9 9 / 0.16) 1.3px, transparent 1.7px);
  background-size: 10px 10px;
  mask-image: radial-gradient(ellipse at 50% 50%, transparent 35%, #000 95%);
}
.panel-art img {
  position: relative;
  width: min(54%, 200px);
  border-radius: 6px;
  rotate: var(--tilt, 0deg);
  box-shadow: var(--float);
  outline: 1px solid oklch(0 0 0 / 0.1);
  outline-offset: -1px;
}
.panel-caption {
  flex: 1;
  border-top: var(--line) solid var(--ink);
  padding: 14px 18px 18px;
  background: var(--paper);
}
.panel-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 9px 4px;
  border-radius: 7px;
  background: var(--panel);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.panel h3 {
  font-size: clamp(19px, 1.6vw, 26px);
  line-height: 1.05;
  letter-spacing: -0.005em;
}

/* Publisher and contacts */

.publisher {
  padding-block: clamp(16px, 2vw, 32px);
}
.publisher-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(28px, 4.4vw, 72px);
  border-radius: clamp(28px, 3vw, 44px);
  background: var(--ink);
  color: var(--paper);
}
.publisher-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(24px, 2.6vw, 40px);
}
.publisher-mark i {
  width: 44px;
  height: 48px;
  background: var(--lime);
  mask: url('/assets/logo.svg') center / contain no-repeat;
}
.publisher-mark span {
  font-family: Gotham, Rubik, sans-serif;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.publisher-mark small {
  display: block;
  margin-top: 0.12em;
  font-family: Gotham, Rubik, sans-serif;
  font-size: 0.71em;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.publisher h2 {
  max-width: 16ch;
  font-size: clamp(32px, 3.4vw, 56px);
  line-height: 0.96;
  letter-spacing: -0.015em;
}
.publisher-about > p {
  max-width: 52ch;
  margin-top: 26px;
  font-size: clamp(16px, 1.25vw, 19px);
  color: rgb(248 247 243 / 0.76);
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: clamp(28px, 3vw, 44px) 0;
  padding: 24px 0 0;
  border-top: 1px solid rgb(248 247 243 / 0.18);
  list-style: none;
}
.facts b {
  display: block;
  color: var(--lime);
  font-family: 'Dela Gothic One', Rubik, sans-serif;
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}
.facts span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: rgb(248 247 243 / 0.76);
}
.pill-lime {
  min-height: 56px;
  padding-inline: 26px 22px;
  background: var(--lime);
  color: var(--ink);
  font-size: 17px;
}
.pill-lime:hover {
  background: #f1ff9e;
}
.contacts {
  align-self: start;
  display: grid;
  gap: 8px;
  padding: clamp(20px, 2vw, 28px);
  border-radius: 28px;
  background: var(--lavender);
  color: var(--ink);
}
.contacts h3 {
  margin-bottom: 6px;
  font-size: clamp(22px, 1.8vw, 28px);
  letter-spacing: -0.005em;
}
.contact {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 16px 10px 10px;
  border-radius: 18px;
  background: var(--paper);
  transition-property: scale, background-color;
  transition-duration: 160ms;
  transition-timing-function: var(--ease-out);
}
a.contact:hover {
  background: #fff;
}
a.contact:active {
  scale: 0.98;
}
.contact-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime);
  font-size: 20px;
}
.contact small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.contact b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contacts .social-lg {
  margin: 4px 0 0 -6px;
}

/* Download */

.download {
  padding-block: clamp(16px, 2vw, 32px) clamp(72px, 8vw, 128px);
}
.download-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  min-height: clamp(460px, 40vw, 620px);
  overflow: hidden;
  border: var(--line) solid var(--ink);
  border-radius: clamp(28px, 3vw, 44px);
  background: var(--lime);
}
.download-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(32px, 5vw, 80px);
}
.download h2 {
  font-size: clamp(44px, 5.8vw, 100px);
  /* «р» in «герой» sits right above «ё» in «ждёт»: tighter leading makes them touch */
  line-height: 0.96;
  letter-spacing: -0.015em;
}
.download-copy p {
  margin-top: clamp(24px, 3vw, 50px);
  font-size: clamp(17px, 1.4vw, 21px);
}
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 2.6vw, 40px);
}
.store-links a {
  border-radius: 12px;
  transition: scale 160ms var(--ease-out);
}
.store-links a:active {
  scale: 0.96;
}
.store-links img {
  width: auto;
  height: clamp(52px, 4vw, 60px);
}
.download-art {
  position: relative;
  container-type: inline-size;
}
.download-art > * {
  position: absolute;
}
.download-panel {
  inset: 10% 0 0 4%;
  width: 96%;
  height: 90%;
  overflow: visible;
}
.download-panel polygon {
  fill: var(--lavender);
  stroke: var(--ink);
  stroke-width: 4px;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}
.download-art > img {
  top: 4%;
  left: 2%;
  width: 118%;
  max-width: none;
}
.download-bubble {
  --w: 40cqi;
  top: calc(4% + 52.85cqi - var(--w) * 0.2667);
  left: calc(45.5cqi - var(--w) * 1.1778);
  z-index: 2;
  width: var(--w);
}
.download-bubble span {
  font-size: clamp(11px, 3.2cqi, 20px);
}

/* Footer */

.site-footer {
  padding-block: 36px;
  background: var(--ink);
  color: var(--paper);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-family: Gotham, Rubik, sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.footer-brand small {
  display: block;
  margin-top: 0.12em;
  font-size: 0.71em;
  letter-spacing: -0.04em;
}
.footer-brand i {
  width: 38px;
  height: 41px;
  background: var(--lime);
  mask: url('/assets/logo.svg') center / contain no-repeat;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
}
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: rgb(248 247 243 / 0.72);
  transition: color 160ms var(--ease-out);
}
.site-footer nav a:hover {
  color: var(--paper);
}
.credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  transition: opacity 160ms var(--ease-out);
}
.credit:hover {
  opacity: 0.8;
}
.credit small {
  display: block;
  font-size: 12px;
  color: rgb(248 247 243 / 0.6);
}
.credit b {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

/* Entrance */

@media (prefers-reduced-motion: no-preference) {
  .hero h1 span,
  .hero-lede,
  .hero-actions {
    animation: rise 720ms var(--ease-out) both;
    animation-delay: calc(var(--i) * 80ms);
  }
  .hero-nur,
  .hero-panel {
    animation: fade 900ms var(--ease-out) both;
  }
  .hero-bubble {
    animation: pop 520ms var(--ease-out) 620ms both;
  }
  .hero-cover-togetherland,
  .hero-cover-lab,
  .hero-phone {
    animation: lift 900ms var(--ease-out) both;
  }
  .hero-cover-togetherland {
    animation-delay: 280ms;
  }
  .hero-cover-lab {
    animation-delay: 380ms;
  }
  .hero-phone {
    animation-delay: 480ms;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    translate: 0 18px;
    filter: blur(4px);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes lift {
  from {
    opacity: 0;
    translate: 0 64px;
  }
}
@keyframes pop {
  from {
    opacity: 0;
    scale: 0.25;
    filter: blur(4px);
  }
}

/* Layout breakpoints */

@media (max-width: 1180px) {
  .site-header .social {
    display: none;
  }
  .screens-row {
    display: flex;
    gap: 20px;
    width: auto;
    padding: 8px var(--gutter) 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .screens-row::-webkit-scrollbar {
    display: none;
  }
  .screen {
    flex: none;
    width: clamp(200px, 30vw, 260px);
    scroll-snap-align: start;
  }
  .screen:nth-child(even) {
    translate: none;
  }
  .publisher-card {
    grid-template-columns: 1fr;
  }
  .contacts {
    max-width: 520px;
  }
}

/* Portrait tablets and narrow windows: copy on top, the art fills the rest of the first screen above the tape. */
@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  .hero-stage {
    --hero-fs: min(8.6vw, 100px);
    min-height: max(560px, 100svh - var(--tape-h) / 2 - 12px);
  }
  .hero {
    flex-direction: column;
  }
  .hero-copy {
    align-self: auto;
    padding-bottom: 0;
  }
  .hero h1 span {
    display: inline-block;
  }
  .hero-art-slot {
    --slot-w: 100cqw;
    display: block;
    position: relative;
    flex: 1;
    min-height: min(80vw, 560px, 70svh);
    margin-top: clamp(12px, 2.5svh, 32px);
  }
  .hero-art {
    right: 0;
    height: min(100%, var(--slot-w) * 992 / 1015);
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }
}

@media (max-width: 960px) {
  .section-head {
    grid-template-columns: 1fr;
  }
  .download-card {
    grid-template-columns: 1fr;
  }
  .download-art {
    height: clamp(300px, 70vw, 520px);
  }
  .download-art > img {
    top: 6%;
    left: 22%;
    width: 72%;
  }
  .download-bubble {
    --w: 36cqi;
    top: calc(6% + 32.25cqi - var(--w) * 0.2667);
    left: calc(48.54cqi - var(--w) * 1.1778);
  }
  .download-bubble span {
    font-size: clamp(11px, 2.6cqi, 20px);
  }
  .download-panel {
    inset: 8% 0 0 0;
    width: 100%;
    height: 92%;
  }
}

@media (max-width: 640px) {
  :root {
    --line: 2.5px;
  }
  .site-header {
    gap: 12px;
  }
  .publisher-link {
    padding-inline: 14px 10px;
    font-size: 15px;
  }
  .publisher-link .label-full {
    display: none;
  }
  .publisher-link .label-short {
    display: inline;
  }
  .hero-stage {
    --hero-fs: clamp(42px, 13.6vw, 64px);
  }
  .hero h1 span {
    display: block;
  }
  .hero-actions .pill {
    flex: 1;
    gap: 12px;
    padding-inline: 20px;
  }
  /* On phones the art keeps the full bleed width; the bubble text needs it. */
  .hero-art-slot {
    --slot-w: 106cqw;
    min-height: calc(106cqw * 992 / 1015);
    margin-inline: -3%;
  }
  .hero-bubble {
    --w: 24cqi;
  }
  .hero-bubble span {
    font-size: 11px;
  }
  .download-bubble {
    --w: 42cqi;
  }
  .comic-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .panel {
    border-radius: 18px;
  }
  .panel-art {
    padding-block: 20px;
  }
  .panel-art img {
    width: 62%;
  }
  .panel-caption {
    padding: 12px 12px 14px;
  }
  .panel-tag {
    margin-bottom: 8px;
    padding: 4px 6px 3px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }
  .panel h3 {
    font-size: 17px;
  }
  .screen {
    width: 64vw;
  }
  .facts {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer nav {
    flex-direction: column;
  }
}
