:root {
  --landing-bg: #f2f2f2;
  --landing-border: #d8d8d8;
  --landing-text: #222222;
  --landing-muted: #4b4b4b;
  --landing-link: #7f7f7f;
  --landing-card-shadow: 0 12px 36px rgba(26, 26, 26, 0.08);
  --button-blue: linear-gradient(180deg, #62b8f2 0%, #4fa4e7 100%);
  --button-max: linear-gradient(180deg, #53cfca 0%, #34b6b2 100%);
  --button-vk: linear-gradient(180deg, #69a9ff 0%, #4f88ea 100%);
  --legal-bg-start: #07111f;
  --legal-bg-end: #050b18;
  --legal-panel: rgba(9, 20, 40, 0.94);
  --legal-line: rgba(141, 240, 255, 0.18);
  --legal-text: #f4fbff;
  --legal-muted: rgba(226, 242, 255, 0.72);
  --legal-accent: #8ef0ff;
}

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

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
}

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

a {
  color: inherit;
}

.page--landing {
  background: var(--landing-bg);
  color: var(--landing-text);
}

.page--legal {
  color: var(--legal-text);
  background:
    radial-gradient(circle at top left, rgba(49, 213, 255, 0.18), transparent 36%),
    radial-gradient(circle at 85% 18%, rgba(46, 215, 196, 0.16), transparent 24%),
    linear-gradient(180deg, var(--legal-bg-start) 0%, #081225 45%, var(--legal-bg-end) 100%);
}

.landing-shell {
  width: min(470px, calc(100vw - 16px));
  margin: 8px auto 24px;
}

.landing-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--landing-border);
  box-shadow: var(--landing-card-shadow);
}

.landing-poster__image {
  width: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.landing-body {
  padding: 18px 20px 16px;
  background: #ffffff;
}

.landing-body__lead,
.landing-body__note {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.46;
  color: #292929;
}

.landing-body__note {
  margin-top: 12px;
}

.messenger-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 430px;
  margin: 18px auto 0;
}

.messenger-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 76px;
  padding: 12px 8px 10px;
  text-decoration: none;
  text-align: center;
  color: #ffffff;
  border-radius: 12px;
  border: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.messenger-button:hover,
.messenger-button:focus-visible {
  transform: translateY(-1px);
}

.messenger-button.is-disabled {
  pointer-events: none;
  opacity: 0.42;
  filter: saturate(0.65);
}

.messenger-button--telegram {
  background: var(--button-blue);
}

.messenger-button--max {
  background: var(--button-blue);
}

.messenger-button--vk {
  background: var(--button-blue);
}

.messenger-button__icon-image {
  display: block;
  width: 28px;
  height: 24px;
  object-fit: contain;
}

.messenger-button__icon-image--vk {
  width: 31px;
}

.messenger-button__label {
  font-size: clamp(0.7rem, 2.2vw, 0.82rem);
  line-height: 1.1;
  font-weight: 600;
}

.landing-bottom {
  margin-top: 14px;
}

.landing-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px;
  align-items: start;
}

.landing-consent__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.landing-consent__box {
  position: relative;
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 3px;
  border: 1px solid #bfc8d2;
  background: #ffffff;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.landing-consent__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
  opacity: 0;
}

.landing-consent__input:focus-visible + .landing-consent__box {
  outline: 2px solid rgba(87, 170, 232, 0.55);
  outline-offset: 1px;
}

.landing-consent__input:checked + .landing-consent__box {
  border-color: #66b6ef;
  background: #7bc0f4;
}

.landing-consent__input:checked + .landing-consent__box::after {
  opacity: 1;
}

.landing-consent__text {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.3;
  color: #a4a4a4;
}

.landing-consent__text a {
  color: var(--landing-link);
  text-decoration: underline;
}

.background-orb {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.52;
  pointer-events: none;
  z-index: 0;
}

.background-orb--left {
  top: -10rem;
  left: -14rem;
  background: rgba(46, 215, 196, 0.18);
}

.background-orb--right {
  top: 14rem;
  right: -12rem;
  background: rgba(91, 140, 255, 0.16);
}

.legal-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 18px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark__drop {
  width: 18px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 12px 12px 14px 14px;
  transform: rotate(45deg);
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(142, 240, 255, 0.16));
  box-shadow: 0 0 22px rgba(142, 240, 255, 0.26);
}

.brand-mark__text {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  color: rgba(244, 251, 255, 0.94);
}

.legal-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-nav__link {
  color: var(--legal-accent);
  text-decoration: none;
  font-weight: 700;
}

.legal-panel {
  background: linear-gradient(180deg, rgba(9, 20, 40, 0.92), rgba(5, 12, 24, 0.96));
  border: 1px solid var(--legal-line);
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(3, 8, 21, 0.52);
  backdrop-filter: blur(18px);
  padding: 28px 20px 34px;
}

.legal-kicker {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--legal-accent);
}

.legal-title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.legal-summary,
.legal-meta,
.legal-source {
  color: var(--legal-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-summary {
  margin: 1rem 0 0;
  max-width: 46rem;
}

.legal-meta,
.legal-source {
  margin: 0.85rem 0 0;
}

.legal-source a,
.legal-content a {
  color: var(--legal-accent);
}

.legal-content {
  margin-top: 1.85rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(244, 251, 255, 0.92);
  font-size: 1rem;
  line-height: 1.72;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
  font-family: "Montserrat", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.legal-content h1 {
  font-size: 1.8rem;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-content p,
.legal-content ul,
.legal-content ol,
.legal-content address {
  margin: 0 0 1rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.25rem;
}

.legal-content address {
  font-style: normal;
  color: var(--legal-muted);
}

.legal-content strong {
  color: #ffffff;
}

@media (min-width: 720px) {
  .landing-shell {
    margin-top: 18px;
  }
}

@media (max-width: 480px) {
  .landing-shell {
    width: calc(100vw - 12px);
    margin-top: 6px;
  }

  .landing-body {
    padding: 16px 16px 18px;
  }

  .landing-consent__text {
    font-size: 0.69rem;
  }

  .legal-shell {
    width: min(100vw - 20px, 1120px);
  }

  .legal-panel {
    border-radius: 26px;
    padding: 24px 16px 28px;
  }
}
