/* --------------------------------------------------------------------------
   Переменные и основа
   -------------------------------------------------------------------------- */

:root {
  color-scheme: dark;
  --ink: #050b12;
  --night: #071522;
  --abyss: #081a29;
  --surface: #0d2436;
  --surface-2: #102c41;
  --surface-3: #133249;
  --line: #24485e;
  --line-soft: #193647;
  --text: #dcecf2;
  --muted: #91adbd;
  --faint: #6c8798;
  --gold: #e0b46a;
  --gold-light: #f2d392;
  --gold-dark: #a97637;
  --ice: #8dd4e6;
  --ice-dark: #4a91a9;
  --success: #8fd3a4;
  --danger: #e56a5e;
  --white: #f2fbfd;
  --header-h: 78px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --font-display: "Forum", "Times New Roman", serif;
  --font-body: "Alegreya Sans", "Segoe UI", sans-serif;
  --font-pixel: "Handjet", "Courier New", monospace;
  --shadow-pixel: 6px 6px 0 rgba(0, 0, 0, 0.24);
  --shadow-pixel-small: 3px 3px 0 rgba(0, 0, 0, 0.28);
  --ease-step: steps(5, end);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(141, 212, 230, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 212, 230, 0.022) 1px, transparent 1px),
    radial-gradient(circle at 72% 8%, rgba(74, 145, 169, 0.1), transparent 32%),
    radial-gradient(circle at 12% 44%, rgba(169, 118, 55, 0.05), transparent 28%);
  background-size: 32px 32px, 32px 32px, 100% 100%, 100% 100%;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

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

a {
  color: var(--ice);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-light);
}

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

:focus-visible {
  outline: 2px dashed var(--ice);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--gold-light);
  transition: transform 120ms linear;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   Кнопки
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--surface-2);
  --btn-border: var(--line);
  --btn-color: var(--text);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-pixel-small);
  transition:
    transform 120ms var(--ease-step),
    box-shadow 120ms var(--ease-step),
    background-color 120ms linear,
    border-color 120ms linear;
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.28);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.28);
}

.btn--gold {
  --btn-bg: var(--gold);
  --btn-border: var(--gold-light);
  --btn-color: #181008;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 42%),
    var(--gold);
}

.btn--gold:hover {
  --btn-bg: var(--gold-light);
  --btn-border: #fff0c6;
}

.btn--ghost {
  --btn-bg: rgba(13, 36, 54, 0.52);
  --btn-border: var(--line);
  --btn-color: var(--text);
}

.btn--ghost:hover {
  --btn-border: var(--ice-dark);
  background: rgba(19, 50, 73, 0.72);
}

.btn--small {
  min-height: 40px;
  padding: 8px 15px;
  font-size: 15px;
}

.btn__icon {
  width: 19px;
  height: 19px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ice);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(141, 212, 230, 0.32);
  transition: color 120ms linear, border-color 120ms linear;
}

.text-link:hover {
  color: var(--gold-light);
  border-color: var(--gold-dark);
}

.text-link span {
  transition: transform 120ms var(--ease-step);
}

.text-link:hover span {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Шапка
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(36, 72, 94, 0.55);
  background: linear-gradient(180deg, rgba(5, 11, 18, 0.86), rgba(5, 11, 18, 0.48));
  backdrop-filter: blur(10px);
  transition: background-color 180ms linear, border-color 180ms linear;
}

.site-header.is-scrolled {
  background: rgba(5, 11, 18, 0.94);
  border-color: var(--line);
}

.site-header__inner {
  width: min(100% - 2 * var(--gutter), var(--container));
  min-height: var(--header-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand:hover {
  color: var(--white);
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  image-rendering: pixelated;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.35));
}

.brand__text {
  display: grid;
  gap: 1px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand__tagline {
  font-family: var(--font-pixel);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}

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

.site-nav__link {
  position: relative;
  padding: 27px 0 25px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: color 120ms linear;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 150ms var(--ease-step);
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--white);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-nav__link.is-active::after {
  background: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 4px;
}

.site-nav__cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(13, 36, 54, 0.72);
  color: var(--text);
  cursor: pointer;
  place-items: center;
  box-shadow: var(--shadow-pixel-small);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 130ms var(--ease-step), opacity 130ms linear;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Главный экран
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: max(760px, 92svh);
  padding: calc(var(--header-h) + 72px) 0 112px;
  overflow: hidden;
  background: var(--night);
}

.hero__bg,
.hero__scrim,
.hero__snow {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
  filter: saturate(0.92) contrast(1.02);
}

.hero__bg picture,
.hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__scrim {
  background:
    linear-gradient(90deg, rgba(5, 11, 18, 0.97) 0%, rgba(5, 11, 18, 0.86) 30%, rgba(5, 11, 18, 0.44) 62%, rgba(5, 11, 18, 0.16) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(5, 11, 18, 0.72) 12%, transparent 34%),
    linear-gradient(180deg, rgba(5, 11, 18, 0.54) 0%, transparent 24%);
}

.hero__snow {
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.65;
  pointer-events: none;
  image-rendering: pixelated;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-light);
  font-family: var(--font-pixel);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow__diamond {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 12px rgba(224, 180, 106, 0.4);
}

.eyebrow::after {
  content: "";
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dark), transparent);
}

.hero__title {
  margin: 24px 0 18px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 9.4vw, 8.1rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.015em;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.38);
  text-wrap: balance;
}

.hero__title small {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.3vw, 1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-shadow: none;
}

.hero__lead {
  max-width: 58ch;
  color: #c6dbe4;
  font-size: clamp(1.06rem, 1.35vw, 1.22rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 15px;
}

.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__meta-item + .hero__meta-item {
  position: relative;
}

.hero__meta-item + .hero__meta-item::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 10px;
  background: var(--line);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.hero__meta-item strong {
  color: var(--text);
  font-weight: 700;
}

.hero__meta-check {
  width: 16px;
  height: 16px;
  color: var(--success);
}

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--faint);
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-decoration: none;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--gold-dark), transparent);
}

.hero__scroll:hover {
  color: var(--gold-light);
}

.realm-card {
  position: absolute;
  right: var(--gutter);
  bottom: 84px;
  z-index: 2;
  width: 276px;
  border: 1px solid rgba(141, 212, 230, 0.28);
  background: rgba(5, 15, 24, 0.8);
  box-shadow: var(--shadow-pixel);
  backdrop-filter: blur(5px);
}

.realm-card__head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(141, 212, 230, 0.22);
  color: var(--gold-light);
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.realm-card__head::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--success);
  box-shadow: 0 0 9px rgba(143, 211, 164, 0.75);
}

.realm-card__rows {
  display: grid;
}

.realm-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 15px;
  border-bottom: 1px solid rgba(36, 72, 94, 0.45);
}

.realm-card__row:last-child {
  border-bottom: 0;
}

.realm-card__label {
  color: var(--faint);
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.realm-card__value {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.05em;
}

.realm-card__value--gold {
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   Строка-реестр
   -------------------------------------------------------------------------- */

.ledger {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, transparent 0 15px, rgba(141, 212, 230, 0.025) 15px 16px),
    #081826;
}

.ledger__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.ledger__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 19px 20px;
  min-width: 0;
}

.ledger__item + .ledger__item {
  border-left: 1px solid var(--line-soft);
}

.ledger__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--ice);
  opacity: 0.9;
}

.ledger__text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.ledger__label {
  color: var(--faint);
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ledger__value {
  overflow: hidden;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Секции
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: clamp(72px, 9vw, 124px) 0;
}

.section--features {
  background:
    radial-gradient(circle at 84% 4%, rgba(74, 145, 169, 0.11), transparent 26%),
    var(--ink);
}

.section--start {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 86% 46%, rgba(224, 180, 106, 0.055), transparent 32%),
    var(--abyss);
}

.section--start::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -90px;
  width: 440px;
  height: 440px;
  background: url("../img/owl-mark.svg") center / contain no-repeat;
  opacity: 0.035;
  transform: translateY(-50%);
  pointer-events: none;
}

.section-head {
  max-width: 800px;
  margin-bottom: clamp(38px, 5vw, 58px);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 17px;
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.kicker::after {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dark), transparent);
}

.section-title {
  max-width: 18ch;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.5vw, 3.7rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.section-lead {
  max-width: 62ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Карточки возможностей
   -------------------------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(16, 44, 65, 0.88), rgba(8, 26, 41, 0.95));
  box-shadow: var(--shadow-pixel);
  transition:
    transform 160ms var(--ease-step),
    border-color 160ms linear,
    box-shadow 160ms var(--ease-step);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms var(--ease-step);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(169, 118, 55, 0.72);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.28);
}

.card:hover::before {
  transform: scaleX(1);
}

.card--wide {
  grid-column: span 7;
  flex-direction: row;
}

.card--narrow {
  grid-column: span 5;
}

.card--third {
  grid-column: span 4;
}

.card--full {
  grid-column: 1 / -1;
  flex-direction: row-reverse;
  background:
    radial-gradient(circle at 84% 50%, rgba(143, 44, 54, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(16, 44, 65, 0.92), rgba(8, 26, 41, 0.98));
}

.card__media {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--night);
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 38px rgba(5, 11, 18, 0.38);
  background-image: repeating-linear-gradient(
    0deg,
    rgba(5, 11, 18, 0.1) 0,
    rgba(5, 11, 18, 0.1) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.45;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  transition: filter 180ms linear, transform 180ms var(--ease-step);
}

.card:hover .card__media img {
  filter: brightness(1.05) saturate(1.06);
  transform: scale(1.012);
}

.card--wide .card__media,
.card--full .card__media {
  width: 52%;
  aspect-ratio: auto;
  align-self: stretch;
}

.card--wide .card__media {
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.card--full .card__media {
  border-bottom: 0;
  border-left: 1px solid var(--line);
}

.card__plate {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  border: 1px solid rgba(169, 118, 55, 0.52);
  background: rgba(5, 11, 18, 0.8);
  color: var(--gold-light);
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card__plate::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
}

.card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 25px 26px 26px;
}

.card--wide .card__body,
.card--full .card__body {
  width: 48%;
  padding: 31px 32px;
  justify-content: center;
}

.card--wide .card__tags,
.card--full .card__tags {
  margin-top: 0;
}

.card__eyebrow {
  margin-bottom: 9px;
  color: var(--ice);
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card__title {
  margin-bottom: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.card__text {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.52;
  text-wrap: pretty;
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  border: 1px solid rgba(74, 145, 169, 0.3);
  background: rgba(74, 145, 169, 0.07);
  color: #a7d8e5;
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card--full .card__eyebrow {
  color: var(--gold-light);
}

.card--full .card__title {
  max-width: 12ch;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.05;
}

.card--full .card__text {
  max-width: 48ch;
  font-size: 17.5px;
}

.ribbon {
  position: absolute;
  top: 18px;
  right: -42px;
  z-index: 4;
  width: 168px;
  padding: 5px 0;
  transform: rotate(35deg);
  border-top: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
  background: var(--gold-dark);
  color: #120c05;
  font-family: var(--font-pixel);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Начало пути и загрузка
   -------------------------------------------------------------------------- */

.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(40px, 6vw, 82px);
  align-items: start;
}

.start-copy .section-title {
  max-width: 14ch;
}

.steps {
  display: grid;
  gap: 0;
  margin-top: 38px;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 30px;
}

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 54px;
  bottom: 2px;
  left: 26px;
  border-left: 1px dashed rgba(74, 145, 169, 0.38);
}

.step__num {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--gold-dark);
  background: rgba(224, 180, 106, 0.07);
  color: var(--gold-light);
  font-family: var(--font-pixel);
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-pixel-small);
}

.step__title {
  margin: 3px 0 5px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
}

.step__text {
  max-width: 54ch;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.52;
}

.download-card {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  padding: 30px;
  border: 1px solid rgba(169, 118, 55, 0.62);
  background:
    linear-gradient(180deg, rgba(19, 50, 73, 0.86), rgba(8, 26, 41, 0.96));
  box-shadow:
    var(--shadow-pixel),
    inset 0 0 0 1px rgba(5, 11, 18, 0.5);
}

.download-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 32px;
  left: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.download-card__seal {
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid rgba(169, 118, 55, 0.58);
  background: rgba(5, 11, 18, 0.55);
  box-shadow: var(--shadow-pixel-small);
}

.download-card__seal img {
  width: 46px;
  height: 46px;
  image-rendering: pixelated;
}

.download-card__kicker {
  margin-bottom: 7px;
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.download-card__title {
  margin-bottom: 9px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
}

.download-card__text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.48;
}

.download-card__button {
  width: 100%;
  margin-top: 22px;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 22px 0 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.download-meta__item {
  padding: 12px 10px 11px;
}

.download-meta__item + .download-meta__item {
  border-left: 1px solid var(--line-soft);
}

.download-meta__label {
  color: var(--faint);
  font-family: var(--font-pixel);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.download-meta__value {
  margin-top: 4px;
  color: var(--text);
  font-family: var(--font-pixel);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.download-note {
  margin-top: 16px;
  color: var(--faint);
  font-size: 13.5px;
  line-height: 1.42;
}

.download-card .text-link {
  margin-top: 17px;
  font-size: 15px;
}

.start-note {
  max-width: 60ch;
  margin-top: 4px;
  padding-left: 15px;
  border-left: 2px solid var(--line);
  color: var(--faint);
  font-size: 14px;
  line-height: 1.5;
}

.start-note strong {
  color: var(--muted);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Финал и подвал
   -------------------------------------------------------------------------- */

.vow {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 8vw, 104px) 0;
  border-top: 1px solid var(--line-soft);
  background: var(--night);
  text-align: center;
}

.vow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 460px;
  height: 460px;
  background: url("../img/owl-mark.svg") center / contain no-repeat;
  opacity: 0.035;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.vow__mark {
  width: 42px;
  height: 42px;
  margin: 0 auto 20px;
  image-rendering: pixelated;
  opacity: 0.9;
}

.vow__title {
  position: relative;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.015em;
}

.vow__text {
  position: relative;
  max-width: 48ch;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.vow__rule {
  position: relative;
  width: 68px;
  height: 1px;
  margin: 26px auto 0;
  background: var(--gold-dark);
}

.vow__rule::before,
.vow__rule::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.vow__rule::before {
  left: -13px;
}

.vow__rule::after {
  right: -13px;
}

.site-footer {
  position: relative;
  padding: 58px 0 26px;
  border-top: 1px solid var(--line);
  background: #040a10;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) 0.7fr 0.8fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand__text {
  max-width: 34ch;
  color: var(--faint);
  font-size: 14.5px;
  line-height: 1.5;
}

.footer-col__title {
  margin-bottom: 15px;
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  width: fit-content;
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
  transition: color 120ms linear;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-note {
  color: var(--faint);
  font-size: 13.5px;
  line-height: 1.5;
}

.footer-note + .footer-note {
  margin-top: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.5;
}

.footer-bottom__legal {
  max-width: 78ch;
}

/* --------------------------------------------------------------------------
   Страница «Статус рейдов»
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 clamp(52px, 7vw, 84px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 11, 18, 0.96) 0%, rgba(5, 11, 18, 0.83) 52%, rgba(5, 11, 18, 0.66) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 40%),
    url("../img/hero-1672.webp") 64% 42% / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(141, 212, 230, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 212, 230, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--faint);
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.breadcrumbs__sep {
  color: var(--gold-dark);
}

.page-title {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.015em;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.32);
}

.page-lead {
  max-width: 58ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.placeholder {
  padding: clamp(54px, 7vw, 92px) 0 clamp(74px, 9vw, 120px);
  background:
    radial-gradient(circle at 76% 36%, rgba(74, 145, 169, 0.09), transparent 30%),
    var(--ink);
}

.placeholder__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.78fr);
  gap: clamp(32px, 5vw, 62px);
  align-items: start;
}

.placeholder__panel {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(16, 44, 65, 0.82), rgba(8, 26, 41, 0.95));
  box-shadow: var(--shadow-pixel);
}

.placeholder__panel::before,
.placeholder__panel::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--gold-dark);
  pointer-events: none;
}

.placeholder__panel::before {
  top: 8px;
  left: 8px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.placeholder__panel::after {
  right: 8px;
  bottom: 8px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.placeholder__stamp {
  position: absolute;
  top: 26px;
  right: 26px;
  padding: 8px 12px;
  transform: rotate(-4deg);
  border: 2px solid rgba(224, 180, 106, 0.72);
  color: var(--gold-light);
  font-family: var(--font-pixel);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}

.placeholder__title {
  max-width: 15ch;
  margin-top: 16px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3.25rem);
  font-weight: 400;
  line-height: 1.05;
}

.placeholder__text {
  max-width: 58ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.soon-list {
  margin-top: 32px;
  border-top: 1px solid var(--line-soft);
}

.soon-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}

.soon-item__num {
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.soon-item__title {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.15;
}

.soon-item__text {
  margin-top: 3px;
  color: var(--faint);
  font-size: 15px;
  line-height: 1.45;
}

.soon-item__badge {
  margin-top: 4px;
  padding: 3px 7px;
  border: 1px solid rgba(169, 118, 55, 0.55);
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.placeholder__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.placeholder__art {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-pixel);
}

.placeholder__art img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  image-rendering: pixelated;
  border-bottom: 1px solid var(--line);
}

.placeholder__caption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.placeholder__caption::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
}

/* --------------------------------------------------------------------------
   Статус рейдов
   -------------------------------------------------------------------------- */

.raids-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  margin-top: 26px;
  color: var(--faint);
  font-family: var(--font-pixel);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.raids-hero-meta__item {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.raids-hero-meta__item + .raids-hero-meta__item {
  position: relative;
}

.raids-hero-meta__item + .raids-hero-meta__item::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 12px;
  background: var(--gold-dark);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.raids-hero-meta strong {
  color: var(--gold-light);
  font-weight: 500;
}

.raids-page {
  padding: clamp(42px, 6vw, 76px) 0 clamp(72px, 9vw, 118px);
  background:
    radial-gradient(circle at 82% 14%, rgba(74, 145, 169, 0.09), transparent 28%),
    var(--ink);
}

.raids-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: end;
  margin-bottom: 34px;
}

.raids-top__title {
  max-width: 16ch;
  margin-top: 4px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.raids-top__lead {
  max-width: 62ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.raids-source-card {
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 44, 65, 0.7), rgba(8, 26, 41, 0.9));
  box-shadow: var(--shadow-pixel-small);
}

.raids-source-card__label {
  margin-bottom: 9px;
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.raids-source-card p {
  color: var(--faint);
  font-size: 14px;
  line-height: 1.55;
}

.raids-source-card code {
  padding: 1px 4px;
  border: 1px solid var(--line-soft);
  background: rgba(5, 11, 18, 0.46);
  color: var(--ice);
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.raids-source-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 15px;
}

.raids-source-card__links a {
  color: var(--ice);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(141, 212, 230, 0.25);
}

.raids-source-card__links a:hover {
  color: var(--gold-light);
  border-color: var(--gold-dark);
}

.raids-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 26px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.solo-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.raid-search {
  position: relative;
  flex: 0 1 340px;
  min-width: 220px;
}

.raid-search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(13, 36, 54, 0.55);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.2;
  outline: 0;
  transition: border-color 120ms linear, background-color 120ms linear;
}

.raid-search input::placeholder {
  color: var(--faint);
  opacity: 1;
}

.raid-search input:focus {
  border-color: var(--ice-dark);
  background: rgba(19, 50, 73, 0.8);
}

.raids-totals,
.raids-search-status {
  margin: 16px 0 26px;
  color: var(--faint);
  font-family: var(--font-pixel);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.raids-search-status {
  margin-top: -12px;
  color: var(--ice);
}

.raids-layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: clamp(26px, 4vw, 50px);
  align-items: stretch;
}

.raids-sidebar-wrap {
  min-width: 0;
  align-self: stretch;
}

.raids-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  max-height: calc(100svh - var(--header-h) - 40px);
  overflow: auto;
  padding: 18px 16px;
  border: 1px solid var(--line);
  background: rgba(8, 26, 41, 0.92);
  box-shadow: var(--shadow-pixel-small);
  scrollbar-color: var(--line) transparent;
}

.raids-sidebar__summary {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 12px;
  color: var(--white);
  font-family: var(--font-pixel);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.raids-sidebar__summary::-webkit-details-marker {
  display: none;
}

.raids-sidebar__summary span {
  color: var(--gold);
  font-size: 11px;
}

.raids-sidebar__group + .raids-sidebar__group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.raids-sidebar__label {
  margin-bottom: 7px;
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.raids-nav {
  display: grid;
  gap: 1px;
}

.raids-nav__link {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 6px 7px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.28;
  text-decoration: none;
  transition: color 120ms linear, background-color 120ms linear, border-color 120ms linear;
}

.raids-nav__link:hover,
.raids-nav__link.is-active {
  color: var(--white);
  border-color: var(--line-soft);
  background: rgba(74, 145, 169, 0.08);
}

.raids-nav__dot {
  width: 6px;
  height: 6px;
  margin-top: 5px;
  background: var(--faint);
}

.raids-nav__dot--completable {
  background: var(--success);
  box-shadow: 0 0 7px rgba(143, 211, 164, 0.55);
}

.raids-nav__dot--partial {
  background: var(--gold);
}

.raids-nav__dot--wip {
  background: #d98a55;
}

.raids-nav__dot--unsupported {
  background: var(--danger);
}

.raids-nav__count {
  color: var(--faint);
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1.3;
}

.raids-main {
  min-width: 0;
}

.raids-disclaimer {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 26px;
  padding: 14px 17px;
  border-left: 2px solid var(--gold-dark);
  background: rgba(224, 180, 106, 0.045);
  color: var(--faint);
  font-size: 14.5px;
  line-height: 1.5;
}

.raids-disclaimer .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--gold);
}

.raids-expansion-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 18px;
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.raids-expansion-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.raids-expansion-banner {
  position: relative;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--night);
  box-shadow: var(--shadow-pixel-small);
}

.raids-expansion-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(5, 11, 18, 0.72), transparent 58%);
}

.raids-expansion-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  image-rendering: pixelated;
}

.raids-expansion + .raids-expansion {
  margin-top: 42px;
}

.raid-block {
  scroll-margin-top: calc(var(--header-h) + 22px);
  margin-bottom: 22px;
  padding: clamp(22px, 3.2vw, 34px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(16, 44, 65, 0.66), rgba(8, 26, 41, 0.88));
  box-shadow: var(--shadow-pixel-small);
}

.raid-block__head {
  position: relative;
}

.raid-block__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 12px;
}

.raid-block__index {
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.raid-block__count {
  color: var(--faint);
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  border: 1px solid;
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
}

.status-badge--completable {
  border-color: rgba(143, 211, 164, 0.38);
  background: rgba(143, 211, 164, 0.07);
  color: var(--success);
}

.status-badge--partial {
  border-color: rgba(224, 180, 106, 0.42);
  background: rgba(224, 180, 106, 0.07);
  color: var(--gold-light);
}

.status-badge--wip {
  border-color: rgba(217, 138, 85, 0.42);
  background: rgba(217, 138, 85, 0.07);
  color: #e8b07c;
}

.status-badge--unsupported {
  border-color: rgba(229, 106, 94, 0.42);
  background: rgba(229, 106, 94, 0.07);
  color: #eea29a;
}

.raid-block__title {
  margin-top: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.raid-block__summary {
  max-width: 78ch;
  margin-top: 10px;
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.52;
}

.raid-block__note {
  max-width: 82ch;
  margin-top: 10px;
  padding-left: 13px;
  border-left: 1px solid var(--line);
  color: var(--faint);
  font-size: 14.5px;
  line-height: 1.5;
}

.raid-block__source {
  display: inline-block;
  margin-top: 13px;
  color: var(--ice);
  font-size: 13.5px;
  text-decoration: none;
  border-bottom: 1px solid rgba(141, 212, 230, 0.24);
}

.raid-block__source:hover {
  color: var(--gold-light);
  border-color: var(--gold-dark);
}

.boss-list {
  margin-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.boss-card {
  border-bottom: 1px solid var(--line-soft);
}

.boss-card__summary {
  display: grid;
  grid-template-columns: minmax(165px, 1fr) 164px minmax(0, 1.8fr) 15px;
  gap: 15px;
  align-items: start;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}

.boss-card__summary::-webkit-details-marker {
  display: none;
}

.boss-card__name {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: 0.01em;
}

.boss-card__kind {
  display: none;
  margin-left: 7px;
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: middle;
}

.boss-card--mini .boss-card__kind {
  display: inline-block;
}

.boss-card__note {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.42;
}

.solo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid;
  font-family: var(--font-pixel);
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.solo-badge--auto {
  border-color: rgba(143, 211, 164, 0.36);
  background: rgba(143, 211, 164, 0.06);
  color: var(--success);
}

.solo-badge--manual {
  border-color: rgba(224, 180, 106, 0.42);
  background: rgba(224, 180, 106, 0.07);
  color: var(--gold-light);
}

.solo-badge--partial {
  border-color: rgba(141, 212, 230, 0.34);
  background: rgba(141, 212, 230, 0.06);
  color: var(--ice);
}

.solo-badge--player {
  border-color: rgba(141, 212, 230, 0.34);
  background: rgba(141, 212, 230, 0.06);
  color: var(--ice);
}

.solo-badge--unknown {
  border-color: var(--line);
  background: rgba(108, 135, 152, 0.08);
  color: var(--muted);
}

.boss-card__chevron {
  position: relative;
  width: 14px;
  height: 14px;
  margin-top: 7px;
  color: var(--faint);
}

.boss-card__chevron::before,
.boss-card__chevron::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 1px;
  width: 12px;
  height: 1px;
  background: currentColor;
  transition: transform 150ms var(--ease-step);
}

.boss-card__chevron::after {
  transform: rotate(90deg);
}

.boss-card[open] .boss-card__chevron::after {
  transform: rotate(0deg);
}

.boss-card__body {
  max-width: 90ch;
  margin-left: 2px;
  padding: 2px 0 18px 17px;
  border-left: 1px solid var(--line-soft);
}

.boss-card__section + .boss-card__section {
  margin-top: 13px;
}

.boss-card__section h4 {
  margin-bottom: 5px;
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.boss-card__section ul {
  display: grid;
  gap: 6px;
  padding-left: 17px;
  list-style: disc;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.boss-card__section p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.raid-extras {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

.raid-extras__title {
  margin-bottom: 10px;
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.raid-extras .boss-list {
  margin-top: 0;
  border-top: 0;
}

.raid-empty {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px dashed var(--line);
  color: var(--faint);
  font-size: 15px;
  line-height: 1.5;
}

.raids-no-results {
  padding: 22px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 16px;
}

@media (max-width: 1100px) {
  .raids-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 28px;
  }

  .boss-card__summary {
    grid-template-columns: minmax(150px, 1fr) 150px minmax(0, 1.5fr) 15px;
    gap: 12px;
  }

  .boss-card__body {
    padding-left: 15px;
  }
}

@media (max-width: 900px) {
  .raids-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    align-items: start;
  }

  .raids-source-card {
    max-width: 640px;
  }

  .raids-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .raids-sidebar-wrap {
    position: relative;
    z-index: 1;
  }

  .raids-sidebar {
    position: static;
    max-height: none;
    padding: 14px 16px;
  }

  .raids-sidebar__summary {
    display: flex;
  }

  .raids-sidebar:not([open]) .raids-sidebar__body {
    display: none;
  }

  .raids-sidebar__body {
    padding-top: 9px;
    border-top: 1px solid var(--line-soft);
  }

  .raids-sidebar__group + .raids-sidebar__group {
    margin-top: 14px;
    padding-top: 14px;
  }

  .raids-controls {
    align-items: stretch;
  }

  .raid-search {
    flex-basis: 100%;
  }

  .boss-card__summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
    padding: 14px 0;
  }

  .boss-card__name {
    font-size: 20px;
  }

  .boss-card__note {
    grid-column: 1 / -1;
    font-size: 14.5px;
  }

  .boss-card__chevron {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-top: 3px;
  }

  .boss-card__body {
    margin-left: 0;
    padding: 0 0 16px;
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .raids-hero-meta {
    display: grid;
    gap: 6px;
  }

  .raids-hero-meta__item + .raids-hero-meta__item::before {
    display: none;
  }

  .raids-controls {
    display: grid;
    gap: 14px;
  }

  .solo-legend {
    gap: 5px;
  }

  .solo-badge {
    font-size: 9px;
    padding: 3px 5px;
  }

  .raid-block {
    padding: 18px 16px;
  }

  .raid-block__meta {
    gap: 8px;
  }

  .raid-block__title {
    font-size: 1.9rem;
    margin-top: 9px;
  }

  .raid-block__summary {
    font-size: 16px;
  }

  .boss-card__summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .boss-card__name {
    font-size: 19px;
  }

  .boss-card__chevron {
    display: none;
  }

  .solo-badge {
    justify-self: start;
  }

  .boss-card__note {
    grid-column: 1;
  }

  .raids-source-card {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .boss-card__chevron::after {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Премиум и Книга могущества
   -------------------------------------------------------------------------- */

.premium-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 clamp(58px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 42%, rgba(224, 180, 106, 0.12), transparent 30%),
    radial-gradient(circle at 18% 18%, rgba(74, 145, 169, 0.1), transparent 28%),
    var(--night);
}

.premium-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(141, 212, 230, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 212, 230, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
}

.premium-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.72fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: center;
}

.premium-title {
  max-width: 12ch;
  margin: 22px 0 18px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.4vw, 5.8rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.015em;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
  text-wrap: balance;
}

.premium-title small {
  display: block;
  margin-bottom: 17px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.2vw, 0.95rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-shadow: none;
}

.premium-lead {
  max-width: 58ch;
  color: #c6dbe4;
  font-size: clamp(1.04rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.premium-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 28px;
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.premium-meta__item {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.premium-meta__item + .premium-meta__item {
  position: relative;
}

.premium-meta__item + .premium-meta__item::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 10px;
  background: var(--gold-dark);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.premium-meta strong {
  color: var(--gold-light);
  font-weight: 500;
}

.premium-hero__art {
  position: relative;
  margin: 0;
}

.premium-hero__frame {
  position: relative;
  padding: 9px;
  border: 1px solid rgba(224, 180, 106, 0.65);
  background: var(--surface);
  box-shadow: var(--shadow-pixel);
  outline: 1px solid rgba(224, 180, 106, 0.16);
  outline-offset: 6px;
}

.premium-hero__frame::before,
.premium-hero__frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-color: var(--gold-light);
  pointer-events: none;
}

.premium-hero__frame::before {
  top: 4px;
  left: 4px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.premium-hero__frame::after {
  right: 4px;
  bottom: 4px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.premium-hero__frame img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.premium-hero__art figcaption {
  margin-top: 12px;
  color: var(--faint);
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

.premium-section {
  background: var(--ink);
}

.premium-section--dark {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 88% 4%, rgba(224, 180, 106, 0.055), transparent 26%),
    var(--abyss);
}

.premium-section--notes {
  border-top: 1px solid var(--line-soft);
  background: var(--night);
}

.book-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.book-card {
  position: relative;
  padding: clamp(24px, 3.2vw, 34px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 44, 65, 0.72), rgba(8, 26, 41, 0.94));
  box-shadow: var(--shadow-pixel-small);
}

.book-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 28px;
  left: 28px;
  height: 2px;
  background: var(--line);
}

.book-card--full {
  border-color: rgba(169, 118, 55, 0.7);
  background:
    radial-gradient(circle at 88% 4%, rgba(224, 180, 106, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(28, 45, 57, 0.9), rgba(8, 26, 41, 0.96));
}

.book-card--full::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.book-card__label {
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.book-card__title {
  margin-top: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.05;
}

.book-card__text {
  max-width: 52ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.premium-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.premium-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.premium-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--ice);
}

.premium-list--gold li::before {
  background: var(--gold);
}

.book-card__note {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 13.5px;
  line-height: 1.5;
}

.premium-features {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.premium-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 44, 65, 0.78), rgba(8, 26, 41, 0.95));
  box-shadow: var(--shadow-pixel-small);
}

.premium-feature--wide {
  grid-column: span 6;
  flex-direction: column;
}

.premium-feature--narrow {
  grid-column: span 6;
}

.premium-feature--full {
  grid-column: 1 / -1;
  flex-direction: column;
}

.premium-feature__media {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--night);
  border-bottom: 1px solid var(--line);
}

.premium-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 36px rgba(5, 11, 18, 0.34);
}

.premium-feature__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.premium-feature--wide .premium-feature__media,
.premium-feature--narrow .premium-feature__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line);
}

.premium-feature--full .premium-feature__media {
  width: 100%;
  aspect-ratio: 16 / 5;
  border-bottom: 1px solid var(--line);
}

.premium-feature__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 32px);
}

.premium-feature--wide .premium-feature__body,
.premium-feature--full .premium-feature__body {
  width: 100%;
}

.premium-feature__body .kicker {
  margin-bottom: 12px;
}

.premium-feature__body h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.55rem);
  font-weight: 400;
  line-height: 1.05;
  text-wrap: balance;
}

.premium-feature__body > p:not(.kicker, .premium-note-inline) {
  max-width: 62ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.premium-note-inline {
  margin-top: 18px;
  padding-left: 13px;
  border-left: 1px solid var(--line);
  color: var(--faint);
  font-size: 13.5px;
  line-height: 1.5;
}

.party-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 18px;
}

.party-slots span {
  display: grid;
  min-height: 37px;
  place-items: center;
  border: 1px solid rgba(169, 118, 55, 0.48);
  background: rgba(224, 180, 106, 0.05);
  color: var(--gold-light);
  font-family: var(--font-pixel);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.search-modes {
  display: grid;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.search-mode {
  display: grid;
  gap: 3px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.search-mode__label {
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.search-mode p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.4;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 20px;
}

.premium-service {
  padding: 12px 10px;
  border: 1px solid var(--line-soft);
  background: rgba(5, 11, 18, 0.2);
}

.premium-service__icon {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  place-items: center;
  border: 1px solid rgba(169, 118, 55, 0.42);
  background: rgba(224, 180, 106, 0.06);
  color: var(--gold-light);
}

.premium-service__icon svg {
  width: 19px;
  height: 19px;
}

.premium-service h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.15;
}

.premium-service p {
  margin-top: 4px;
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.4;
}

.premium-how {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}

.premium-steps {
  margin-top: 32px;
}

.premium-cta-card {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  padding: 30px;
  border: 1px solid rgba(169, 118, 55, 0.62);
  background: linear-gradient(180deg, rgba(19, 50, 73, 0.86), rgba(8, 26, 41, 0.96));
  box-shadow: var(--shadow-pixel), inset 0 0 0 1px rgba(5, 11, 18, 0.5);
}

.premium-cta-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 32px;
  left: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.premium-cta-card .download-card__button {
  width: 100%;
  margin-top: 22px;
}

.premium-notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}

.premium-notes {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.premium-notes li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}

.premium-notes li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
}

.premium-faq {
  border-top: 1px solid var(--line);
}

.premium-faq details {
  border-bottom: 1px solid var(--line);
}

.premium-faq summary {
  position: relative;
  padding: 16px 32px 16px 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

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

.premium-faq summary::after {
  content: "+";
  position: absolute;
  top: 12px;
  right: 2px;
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 24px;
  line-height: 1;
  transition: transform 130ms var(--ease-step);
}

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

.premium-faq details p {
  max-width: 66ch;
  padding: 0 20px 17px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* Анонс Premium на главной */
.premium-teaser {
  padding: 0 0 clamp(62px, 8vw, 96px);
  background: var(--abyss);
}

.premium-teaser__inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: clamp(22px, 3.5vw, 38px);
  align-items: center;
  padding: 22px 26px;
  border: 1px solid rgba(169, 118, 55, 0.55);
  background:
    radial-gradient(circle at 12% 50%, rgba(224, 180, 106, 0.1), transparent 30%),
    linear-gradient(90deg, rgba(16, 44, 65, 0.9), rgba(8, 26, 41, 0.96));
  box-shadow: var(--shadow-pixel-small);
}

.premium-teaser__art {
  display: block;
  border: 1px solid var(--line);
  background: var(--night);
}

.premium-teaser__art img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.premium-teaser__title {
  margin-top: 4px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 400;
  line-height: 1.05;
}

.premium-teaser__text {
  max-width: 70ch;
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.premium-teaser .btn {
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .premium-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
    gap: 36px;
  }

  .premium-feature--wide,
  .premium-feature--narrow {
    grid-column: span 12;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .premium-hero {
    padding-top: calc(var(--header-h) + 48px);
  }

  .premium-hero__inner,
  .book-compare,
  .premium-how,
  .premium-notes-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .premium-hero__art {
    max-width: 560px;
  }

  .premium-feature--full .premium-feature__media {
    aspect-ratio: 16 / 5;
  }

  .premium-cta-card {
    position: static;
  }

  .premium-teaser__inner {
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: center;
  }

  .premium-teaser .btn {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .premium-title {
    font-size: clamp(2.9rem, 16vw, 4.4rem);
  }

  .premium-meta {
    display: grid;
    gap: 7px;
  }

  .premium-meta__item + .premium-meta__item::before {
    display: none;
  }

  .premium-feature__body {
    padding: 22px 20px;
  }

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

  .premium-service:last-child {
    grid-column: 1 / -1;
  }

  .premium-teaser {
    padding-bottom: 56px;
  }

  .premium-teaser__inner {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .premium-teaser__art {
    max-width: 180px;
  }

  .premium-teaser .btn {
    grid-column: 1;
    width: 100%;
  }

  .premium-faq summary {
    font-size: 19px;
  }
}

@media (max-width: 480px) {
  .premium-hero__frame {
    outline-offset: 3px;
  }

  .party-slots {
    gap: 5px;
  }

  .party-slots span {
    min-height: 32px;
    font-size: 11px;
  }

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

  .premium-service:last-child {
    grid-column: auto;
  }
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.not-found {
  display: grid;
  min-height: 74svh;
  padding: calc(var(--header-h) + 56px) 0 80px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(74, 145, 169, 0.12), transparent 35%),
    var(--ink);
  text-align: center;
}

.not-found__code {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 0.8;
  letter-spacing: 0.06em;
}

.not-found__title {
  margin-top: 22px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
}

.not-found__text {
  max-width: 46ch;
  margin: 14px auto 0;
  color: var(--muted);
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   Появление при прокрутке
   -------------------------------------------------------------------------- */

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

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 420ms var(--ease-step),
    transform 420ms var(--ease-step);
}

/* --------------------------------------------------------------------------
   Адаптивность
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .realm-card {
    display: none;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 1024px) {
  .feature-grid {
    gap: 18px;
  }

  .card--wide,
  .card--narrow {
    grid-column: span 12;
  }

  .card--third {
    grid-column: span 6;
  }

  .card--wide .card__media,
  .card--full .card__media {
    width: 47%;
  }

  .card--wide .card__body,
  .card--full .card__body {
    width: 53%;
    padding: 27px;
  }

  .start-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
    gap: 38px;
  }

  .download-card {
    padding: 25px;
  }

  .footer-grid {
    grid-template-columns: minmax(230px, 1.3fr) 0.8fr 1fr;
  }

  .footer-col--about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 70px;
  }

  .site-header__inner {
    gap: 16px;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 1px);
    right: var(--gutter);
    left: var(--gutter);
    display: grid;
    gap: 0;
    padding: 8px 18px 18px;
    border: 1px solid var(--line);
    background: rgba(5, 11, 18, 0.98);
    box-shadow: var(--shadow-pixel);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 140ms linear,
      transform 140ms var(--ease-step),
      visibility 140ms linear;
  }

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

  .site-nav__link {
    padding: 15px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .site-nav__link:last-of-type {
    border-bottom: 0;
  }

  .site-nav__link::after {
    bottom: 10px;
    width: 34px;
    right: auto;
  }

  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav .btn {
    width: 100%;
    margin-top: 12px;
  }

  .site-nav__cta {
    display: inline-flex;
  }

  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 66px);
    padding-bottom: 86px;
  }

  .hero__content {
    max-width: 640px;
  }

  .ledger__inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .ledger__item:nth-child(4) {
    border-left: 0;
  }

  .ledger__item:nth-child(n + 4) {
    border-top: 1px solid var(--line-soft);
  }

  .start-grid,
  .placeholder__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .download-card,
  .placeholder__art {
    position: static;
  }

  .placeholder__art {
    max-width: 560px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col--about {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }

  .brand__mark {
    width: 32px;
    height: 32px;
  }

  .brand__name {
    font-size: 19px;
    letter-spacing: 0.11em;
  }

  .brand__tagline {
    font-size: 10px;
  }

  .hero__title {
    font-size: clamp(3.6rem, 17vw, 5.4rem);
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .hero__meta {
    display: grid;
    gap: 6px;
  }

  .hero__meta-item + .hero__meta-item::before {
    display: none;
  }

  .section-title {
    font-size: clamp(2.1rem, 8.7vw, 2.9rem);
  }

  .card,
  .card--wide,
  .card--narrow,
  .card--third,
  .card--full {
    grid-column: span 12;
  }

  .card--wide,
  .card--full {
    flex-direction: column;
  }

  .card--wide .card__media,
  .card--full .card__media {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .card--wide .card__body,
  .card--full .card__body {
    width: 100%;
    padding: 24px;
  }

  .card--full {
    flex-direction: column;
  }

  .card--full .card__title {
    max-width: none;
  }

  .ribbon {
    top: 14px;
    right: -48px;
  }

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

  .ledger__value {
    overflow: visible;
    font-size: 16px;
    white-space: normal;
  }

  .ledger__item:nth-child(3),
  .ledger__item:nth-child(5) {
    border-left: 0;
  }

  .ledger__item:nth-child(4) {
    border-left: 1px solid var(--line-soft);
  }

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

  .ledger__item:last-child {
    grid-column: 1 / -1;
    border-left: 0;
  }

  .step {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
  }

  .step__num {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .step:not(:last-child)::before {
    top: 46px;
    left: 22px;
  }

  .step__title {
    font-size: 22px;
  }

  .placeholder__stamp {
    position: static;
    width: fit-content;
    margin-bottom: 18px;
    transform: rotate(-2deg);
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .eyebrow,
  .hero__eyebrow {
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .eyebrow::after {
    display: none;
  }

  .hero__title {
    font-size: clamp(3.2rem, 18vw, 4.4rem);
  }

  .hero__title small {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .hero__actions {
    margin-top: 26px;
  }

  .download-meta {
    grid-template-columns: 1fr;
  }

  .download-meta__item + .download-meta__item {
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .soon-item {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .soon-item__badge {
    grid-column: 2;
    width: fit-content;
  }
}

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

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

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

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