:root {
  --page-bg-top: #191a24;
  --page-bg-mid: #1b1d29;
  --page-bg-bottom: #2c526e;
  --white: #f4f4f7;
  --muted: #c6c8d0;
  --gold: #f5cb6b;
  --gold-deep: #d7a33a;
  --bronze: #d9a177;
  --neutral: #cbccd4;
  --link: #d8c17d;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  background: #191A24;
}

body.modal-open {
  overflow: hidden;
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  aspect-ratio: 1440 / 635;
  background: url("assets/background.svg") no-repeat center bottom / 100% 100%;
  opacity: 0.92;
  z-index: -2;
}

.page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(114, 172, 214, 0.12), transparent 26%),
    radial-gradient(circle at 50% 102%, rgba(84, 160, 218, 0.14), transparent 34%);
  z-index: -3;
  pointer-events: none;
}

.topbar {
  position: relative;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 34px 59px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 24px;
}

.topbar__link {
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 22px;
}

.topbar__nav--right {
  justify-self: end;
}

.topbar__nav {
  display: flex;
}

.topbar__logo {
  display: inline-flex;
  justify-self: center;
}

.topbar__logo img {
  width: 68px;
  height: auto;
}

.topbar__burger,
.topbar__mobile-menu {
  display: none;
}

.topbar__burger {
  position: absolute;
  top: 26px;
  right: 18px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  padding: 0;
  cursor: pointer;
}

.topbar__burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.topbar__burger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.topbar__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.topbar__burger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.topbar__mobile-menu {
  position: absolute;
  top: 78px;
  right: 16px;
  width: min(240px, calc(100vw - 32px));
  padding: 10px;
  border-radius: 18px;
  background: rgba(20, 23, 35, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.topbar__mobile-menu.is-open {
  display: grid;
  gap: 6px;
}

.topbar__mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.03);
}

.hero {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 14px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__heading {
  margin-top: 24px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: rgba(255, 241, 207, 0.94);
}

.hero__eyebrow img {
  width: 20px;
  height: 40px;
}

.hero__heading h1 {
  margin: 6px 0 5px;
  font-size: clamp(35px, 3.7vw, 40px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--gold);
}

.hero__date {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.035em;
  color: rgba(255, 255, 255, 0.9);
}

.hero__content {
  max-width: 560px;
  margin-top: 34px;
}

.hero__content h2 {
  margin: 0;
  font-size: clamp(29px, 2.95vw, 32px);
  line-height: 1.14;
  letter-spacing: -0.04em;
  font-weight: 700;
  white-space: nowrap;
}

.hero__content p {
  max-width: 480px;
  margin: 10px auto 0;
  font-size: clamp(13px, 1.45vw, 15px);
  line-height: 1.28;
  font-weight: 600;
  color: rgba(233, 233, 238, 0.88);
}

.prizes {
  position: relative;
  margin-top: 52px;
}

.prize-tooltip {
  --tooltip-arrow-offset: 0px;
  position: absolute;
  top: 0;
  left: 50%;
  min-width: 152px;
  max-width: 220px;
  padding: 10px 12px 11px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow:
    0 20px 38px rgba(8, 12, 18, 0.24),
    0 1px 0 rgba(13, 17, 28, 0.04);
  transform: translate(-50%, calc(-100% - 12px));
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  z-index: 4;
}

.prize-tooltip::after {
  content: "";
  position: absolute;
  left: calc(50% + var(--tooltip-arrow-offset));
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px;
}

.prize-tooltip.is-visible {
  opacity: 1;
}

.prize-tooltip__label {
  display: block;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(105, 111, 124, 0.82);
}

.prize-tooltip__value {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 800;
  color: #1b1d27;
}

.prizes__list {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.prize-pill {
  --pill-color: var(--neutral);
  --pill-border: rgba(216, 219, 228, 0.8);
  --pill-bg: rgba(18, 21, 34, 0.45);
  --pill-shadow: none;
  appearance: none;
  border: 2px solid var(--pill-border);
  background: var(--pill-bg);
  color: var(--pill-color);
  border-radius: 999px;
  min-height: 50px;
  padding: 10px 24px 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: inherit;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
  box-shadow: var(--pill-shadow);
  white-space: nowrap;
}

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

.prize-pill:focus-visible {
  outline: 2px solid rgba(255, 210, 107, 0.72);
  outline-offset: 3px;
}

.prize-pill[data-variant="neutral"] {
  --pill-color: #f0f0f3;
  --pill-border: rgba(222, 224, 231, 0.82);
}

.prize-pill[data-variant="gold"] {
  --pill-color: #f6d37d;
  --pill-border: rgba(229, 182, 59, 0.92);
}

.prize-pill[data-variant="bronze"] {
  --pill-color: #f1c09d;
  --pill-border: rgba(219, 157, 111, 0.95);
}

.prize-pill[data-variant="bronze"] .prize-pill__icon,
.prize-pill[data-variant="bronze"] .prize-pill__badge {
  color: rgba(219, 157, 111, 0.95);
}

.prize-pill.is-active {
  --pill-color: #ffe6a1;
  --pill-border: rgba(229, 182, 59, 0.96);
  --pill-bg: rgba(18, 21, 34, 0.48);
  --pill-shadow: 0 0 0 1px rgba(255, 214, 126, 0.08) inset, 0 10px 18px rgba(11, 11, 20, 0.12);
  transform: translateY(-18px);
}

.prize-pill.is-selected:not(.is-active) {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 10px 18px rgba(11, 11, 20, 0.1);
}

.prize-pill__icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  color: currentColor;
}

.prize-pill__leaf {
  display: block;
  width: 12px;
  height: 24px;
  object-fit: contain;
  opacity: 0.98;
  flex-shrink: 0;
}

.prize-pill[data-variant="neutral"] .prize-pill__leaf {
  filter: grayscale(1) saturate(0) brightness(2.45);
}

.prize-pill[data-variant="gold"] .prize-pill__leaf,
.prize-pill.is-active .prize-pill__leaf {
  filter: none;
}

.prize-pill[data-variant="bronze"] .prize-pill__leaf {
  filter: sepia(1) saturate(7) hue-rotate(299deg) brightness(1);
}

.prize-pill__badge {
  min-width: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.prizes__hint {
  width: auto;
  margin: -4px auto 0;
  font-size: 11px;
  line-height: 1.12;
  font-weight: 600;
  color: rgba(227, 228, 235, 0.7);
  white-space: nowrap;
}

.hero__actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cta-button {
  width: 208px;
  min-height: 46px;
  padding: 0 30px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  color: #28221a;
  background: linear-gradient(180deg, #ffd978 0%, #f4c95d 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
  animation: cta-float 3.2s ease-in-out infinite;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.2),
    0 1px 0 rgba(255, 248, 230, 0.72) inset,
    0 -1px 0 rgba(203, 142, 30, 0.28) inset;
}

.cta-button::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -55%;
  width: 44%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.34) 50%, transparent 100%);
  transform: translateX(-180%) rotate(14deg);
  animation: cta-shine 4.8s ease-in-out infinite;
  pointer-events: none;
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.24),
    0 1px 0 rgba(255, 248, 230, 0.78) inset,
    0 -1px 0 rgba(203, 142, 30, 0.32) inset;
}

.hero__participants-link {
  min-width: 208px;
  min-height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(122, 170, 212, 0.34);
  background:
    linear-gradient(180deg, rgba(41, 51, 78, 0.96) 0%, rgba(23, 28, 46, 0.96) 100%);
  color: #d9ecf7;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(166, 208, 236, 0.18) inset;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.hero__participants-link:hover {
  transform: translateY(-1px);
  border-color: rgba(146, 195, 236, 0.5);
  background:
    linear-gradient(180deg, rgba(47, 58, 88, 0.98) 0%, rgba(27, 34, 56, 0.98) 100%);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.22),
    0 1px 0 rgba(184, 220, 243, 0.22) inset;
}

.hero__rules {
  font-size: 11px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.footer {
  margin-top: auto;
  padding: 0 24px 32px;
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 300;
  color: #5997B0;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 18, 0.72);
  backdrop-filter: blur(12px);
}

.modal__dialog {
  position: relative;
  width: min(100%, 880px);
  max-height: min(88vh, 920px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(26, 28, 40, 0.98) 0%, rgba(16, 18, 27, 0.98) 100%);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.38),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.modal.is-visible .modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal__content {
  padding: 34px 34px 0;
  overflow-y: auto;
}

.modal__header {
  padding-right: 48px;
}

.modal__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(245, 203, 107, 0.88);
}

.modal__header h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.modal__lead {
  margin: 14px 0 0;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  color: rgba(232, 233, 238, 0.82);
}

.modal__section {
  margin-top: 26px;
  padding: 22px 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.modal__section h3 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(255, 240, 205, 0.96);
}

.modal__list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.modal__list li {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(235, 236, 241, 0.88);
}

.modal__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.modal__fact {
  padding: 14px 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.modal__fact span {
  display: block;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  color: rgba(214, 215, 223, 0.72);
}

.modal__fact strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
  color: rgba(255, 240, 205, 0.96);
}

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

.modal__courses span {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(235, 236, 241, 0.86);
}

.modal__notes {
  padding: 20px 0 8px;
}

.modal__notes p {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(214, 215, 223, 0.72);
}

.modal__offer {
  margin-top: 30px;
}

.modal__offer-header {
  padding: 24px 24px 26px;
  border-radius: 24px;
  border: 1px solid rgba(245, 203, 107, 0.14);
  background:
    radial-gradient(circle at top, rgba(245, 203, 107, 0.08), transparent 54%),
    rgba(255, 255, 255, 0.03);
}

.modal__offer-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: rgba(255, 244, 216, 0.98);
}

.modal__offer-meta {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(214, 215, 223, 0.72);
}

.modal__offer-intro {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.62;
  font-weight: 500;
  color: rgba(235, 236, 241, 0.84);
}

.modal__offer-grid {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.modal__offer-block {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.modal__offer-block h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
  color: rgba(255, 240, 205, 0.96);
}

.modal__offer-text {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.modal__offer-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
  font-weight: 500;
  color: rgba(235, 236, 241, 0.88);
}

.modal__offer-text--address {
  gap: 8px;
}

.modal__sticky {
  position: sticky;
  bottom: 0;
  padding: 18px 34px 28px;
  background: linear-gradient(180deg, rgba(16, 18, 27, 0) 0%, rgba(16, 18, 27, 0.86) 22%, rgba(16, 18, 27, 1) 100%);
}

.modal__sticky--terms {
  display: grid;
  gap: 14px;
}

.modal__consent {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.modal__consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.modal__consent-mark {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1.8px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.modal__consent-text {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: rgba(235, 236, 241, 0.88);
}

.modal__consent input:checked + .modal__consent-mark {
  border-color: rgba(245, 203, 107, 0.98);
  background:
    linear-gradient(180deg, #ffd978 0%, #f4c95d 100%);
  box-shadow:
    0 0 0 4px rgba(245, 203, 107, 0.14),
    0 1px 0 rgba(255, 247, 219, 0.6) inset;
}

.modal__consent input:checked + .modal__consent-mark::after {
  content: "";
  display: block;
  width: 7px;
  height: 12px;
  margin: 2px auto 0;
  border-right: 2px solid #2a210f;
  border-bottom: 2px solid #2a210f;
  transform: rotate(40deg);
}

.modal__cta {
  width: min(100%, 320px);
  min-height: 54px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  color: #28221a;
  background: linear-gradient(180deg, #ffd978 0%, #f4c95d 100%);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.22),
    0 1px 0 rgba(255, 248, 230, 0.72) inset,
    0 -1px 0 rgba(203, 142, 30, 0.28) inset;
  cursor: pointer;
  transition:
    opacity 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

.modal__cta:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  filter: grayscale(0.16);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.16),
    0 1px 0 rgba(255, 248, 230, 0.34) inset;
}

.sheet[hidden] {
  display: none;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: end center;
  padding: 24px 24px 0;
}

.sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 18, 0.62);
  backdrop-filter: blur(8px);
}

.sheet__panel {
  position: relative;
  width: min(100%, 940px);
  max-height: min(92vh, 920px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(180deg, #fbf8f2 0%, #f2eee7 100%);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.32);
  transform: translateY(30px);
  opacity: 0;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.sheet.is-visible .sheet__panel {
  transform: translateY(0);
  opacity: 1;
}

.sheet__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(32, 28, 22, 0.08);
  color: rgba(21, 22, 30, 0.62);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.sheet__inner {
  overflow-y: auto;
}

.sheet__header {
  padding: 42px 56px 18px;
  text-align: center;
  color: #12131a;
}

.sheet__header h2 {
  margin: 0;
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.sheet__header p {
  max-width: 520px;
  margin: 16px auto 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(25, 27, 35, 0.5);
}

.sheet__form {
  padding: 0 56px 28px;
}

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

.sheet__field {
  display: grid;
  gap: 8px;
}

.sheet__field span {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  color: #161821;
}

.sheet__field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(26, 28, 40, 0.04);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  color: #161821;
  box-shadow: 0 10px 24px rgba(27, 28, 36, 0.04);
}

.sheet__field input::placeholder {
  color: rgba(21, 22, 30, 0.34);
}

.sheet__field input:focus-visible {
  outline: 2px solid rgba(245, 201, 93, 0.55);
  outline-offset: 2px;
}

.sheet__section {
  margin-top: 18px;
}

.sheet__section h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  color: #161821;
}

.sheet__section p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  color: rgba(21, 22, 30, 0.42);
}

.sheet__courses {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.sheet__course {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(26, 28, 40, 0.04);
  padding: 0 14px 0 12px;
  box-shadow: 0 10px 24px rgba(27, 28, 36, 0.04);
  cursor: pointer;
}

.sheet__course input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sheet__course-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(21, 22, 30, 0.12);
  background: #fff;
  flex-shrink: 0;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.sheet__course-text {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  color: rgba(21, 22, 30, 0.62);
}

.sheet__course input:checked + .sheet__course-mark {
  border-color: #f4c95d;
  background: radial-gradient(circle at center, #f4c95d 0 45%, #fff 48%);
  box-shadow: 0 0 0 4px rgba(244, 201, 93, 0.14);
}

.sheet__course input:checked ~ .sheet__course-text {
  color: #161821;
  font-weight: 600;
}

.site-toast-stack {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 120;
  width: min(calc(100vw - 28px), 640px);
  transform: translateX(-50%);
  pointer-events: none;
}

.site-toast[hidden] {
  display: none;
}

.site-toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 18px 18px 16px;
  border-radius: 24px;
  border: 1px solid rgba(244, 201, 93, 0.32);
  background:
    radial-gradient(circle at top left, rgba(255, 243, 201, 0.92), transparent 36%),
    linear-gradient(180deg, rgba(255, 252, 245, 0.98) 0%, rgba(251, 244, 224, 0.98) 100%);
  box-shadow:
    0 22px 48px rgba(8, 11, 23, 0.26),
    0 1px 0 rgba(255, 255, 255, 0.88) inset;
  opacity: 0;
  transform: translateY(-12px) scale(0.98);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-toast__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  color: #fffdf5;
  background: linear-gradient(180deg, #ffcf52 0%, #ffb81f 100%);
  box-shadow:
    0 12px 22px rgba(255, 193, 59, 0.28),
    0 1px 0 rgba(255, 247, 220, 0.72) inset;
}

.site-toast__body {
  min-width: 0;
}

.site-toast__title {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 800;
  color: #1c1f2c;
}

.site-toast__message {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
  color: rgba(28, 31, 44, 0.76);
}

.site-toast__close {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 34px;
  line-height: 1;
  color: rgba(28, 31, 44, 0.72);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 20px rgba(15, 18, 31, 0.08);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.site-toast__close:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.94);
  color: #131621;
}

.sheet__status {
  min-height: 20px;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

.sheet__status[data-state] {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
}

.sheet__status[data-state="error"] {
  color: #b34b3e;
  background: rgba(227, 122, 106, 0.08);
  border-color: rgba(227, 122, 106, 0.18);
}

.sheet__status[data-state="warning"] {
  color: #8e5b10;
  background: rgba(244, 201, 93, 0.14);
  border-color: rgba(244, 201, 93, 0.28);
}

.sheet__status[data-state="success"] {
  color: #2f7a52;
  background: rgba(85, 170, 117, 0.1);
  border-color: rgba(85, 170, 117, 0.2);
}

.sheet__status[data-state="pending"] {
  color: rgba(21, 22, 30, 0.62);
  background: rgba(21, 22, 30, 0.05);
  border-color: rgba(21, 22, 30, 0.08);
}

.sheet__sticky {
  position: sticky;
  bottom: 0;
  padding-top: 12px;
  background: linear-gradient(180deg, rgba(242, 238, 231, 0) 0%, rgba(242, 238, 231, 0.88) 24%, rgba(242, 238, 231, 1) 100%);
}

.sheet__submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  color: #fffdf7;
  background: linear-gradient(180deg, #ffc83d 0%, #ffb816 100%);
  box-shadow:
    0 16px 26px rgba(255, 184, 22, 0.26),
    0 1px 0 rgba(255, 243, 201, 0.56) inset;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.sheet__submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
  box-shadow:
    0 10px 18px rgba(255, 184, 22, 0.18),
    0 1px 0 rgba(255, 243, 201, 0.56) inset;
}

.thanks-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  max-height: min(88vh, 680px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 227, 162, 0.18);
  background:
    radial-gradient(circle at top, rgba(255, 212, 105, 0.12), transparent 52%),
    linear-gradient(180deg, #faf4e9 0%, #f5edde 100%);
  box-shadow:
    0 28px 70px rgba(6, 10, 22, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
  transform: translateY(22px) scale(0.98);
  opacity: 0;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.modal--thanks:not([hidden]) .thanks-modal__dialog,
.modal.is-visible .thanks-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.thanks-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: rgba(22, 24, 36, 0.58);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(15, 18, 31, 0.08);
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.thanks-modal__close:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #1a1d29;
  transform: translateY(-1px);
}

.thanks-modal__content {
  padding: 36px 34px 34px;
  text-align: center;
}

.thanks-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8c6414;
  background: rgba(255, 203, 87, 0.22);
}

.thanks-modal__content h2 {
  margin: 18px 0 14px;
  font-size: 34px;
  line-height: 1.06;
  font-weight: 800;
  color: #161824;
}

.thanks-modal__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(30, 33, 48, 0.74);
}

.thanks-modal__channel {
  position: relative;
  margin-top: 24px;
  padding: 18px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 75, 0.34);
  background:
    radial-gradient(circle at top left, rgba(255, 236, 178, 0.82), transparent 42%),
    linear-gradient(135deg, rgba(255, 249, 233, 0.98) 0%, rgba(255, 239, 192, 0.98) 100%);
  box-shadow:
    0 22px 40px rgba(255, 193, 73, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.thanks-modal__channel::before {
  content: "";
  position: absolute;
  inset: -20% auto -20% -28%;
  width: 38%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.78) 48%, transparent 100%);
  transform: translateX(-180%) rotate(14deg);
  animation: thanks-channel-shine 3.4s ease-in-out infinite;
}

.thanks-modal__channel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(255, 203, 87, 0.34);
  animation: thanks-channel-glow 2.8s ease-in-out infinite;
  pointer-events: none;
}

.thanks-modal__channel-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
  color: #553911;
}

.thanks-modal__channel-text strong {
  color: #2d1c08;
}

.thanks-modal__channel-link {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  min-height: 70px;
  padding: 14px 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #1d2334;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 196, 75, 0.26);
  box-shadow: 0 12px 24px rgba(110, 74, 8, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.thanks-modal__channel-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(110, 74, 8, 0.12);
}

.thanks-modal__channel-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: linear-gradient(180deg, #ffe49a 0%, #ffc957 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 16px rgba(255, 190, 61, 0.22);
}

.thanks-modal__channel-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.thanks-modal__channel-copy strong {
  display: block;
  font-size: 18px;
  line-height: 1.15;
  color: #1c150b;
}

.thanks-modal__channel-copy span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(29, 35, 52, 0.72);
  word-break: break-all;
}

.thanks-modal__links {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.thanks-modal__link,
.thanks-modal__button {
  min-height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.thanks-modal__link {
  min-width: 168px;
  padding: 0 18px;
  border: 1px solid rgba(29, 35, 52, 0.1);
  gap: 10px;
  color: #1d2334;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 20px rgba(15, 18, 31, 0.05);
}

.thanks-modal__link-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.thanks-modal__link:hover,
.thanks-modal__button:hover {
  transform: translateY(-1px);
}

.thanks-modal__link--instagram:hover {
  border-color: rgba(210, 72, 133, 0.22);
  color: #b54175;
  background: rgba(255, 247, 250, 0.96);
}

.thanks-modal__link--telegram:hover {
  border-color: rgba(72, 149, 239, 0.2);
  color: #227fd7;
  background: rgba(244, 250, 255, 0.96);
}

.thanks-modal__button {
  width: 100%;
  margin-top: 22px;
  border: 0;
  color: #1e2230;
  background: linear-gradient(180deg, #ffdc81 0%, #ffc84f 100%);
  box-shadow:
    0 18px 30px rgba(255, 188, 61, 0.28),
    0 1px 0 rgba(255, 247, 219, 0.9) inset;
  cursor: pointer;
}

@keyframes cta-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@keyframes thanks-channel-shine {
  0%,
  100% {
    transform: translateX(-180%) rotate(14deg);
  }

  55% {
    transform: translateX(320%) rotate(14deg);
  }
}

@keyframes thanks-channel-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 203, 87, 0.08);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(255, 203, 87, 0.18);
  }
}

@keyframes cta-shine {
  0%,
  70%,
  100% {
    transform: translateX(-180%) rotate(14deg);
  }

  24%,
  42% {
    transform: translateX(310%) rotate(14deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-button,
  .cta-button::after {
    animation: none;
  }

  .cta-button {
    transition: 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;
}

@media (max-width: 900px) {
  .topbar {
    padding: 26px 24px 0;
  }

  .hero {
    padding: 12px 20px 44px;
  }

  .hero__content {
    margin-top: 32px;
  }

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

  .sheet__form,
  .sheet__header {
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (max-width: 620px) {
  .site-toast-stack {
    top: 14px;
    width: calc(100vw - 20px);
  }

  .site-toast {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 14px 14px 12px;
    border-radius: 20px;
  }

  .site-toast__icon {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .site-toast__title {
    margin-bottom: 3px;
    font-size: 18px;
  }

  .site-toast__message {
    font-size: 13px;
    line-height: 1.45;
  }

  .site-toast__close {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    font-size: 28px;
  }

  .page-shell::before {
    aspect-ratio: auto;
    height: min(74vh, 635px);
    background-size: auto 100%;
    background-position: center bottom;
  }

  .topbar {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0;
    padding: 24px 18px 0;
  }

  .topbar__nav {
    display: none;
  }

  .topbar__logo {
    justify-self: center;
  }

  .topbar__burger {
    display: block;
  }

  .topbar__mobile-menu {
    display: none;
  }

  .hero__eyebrow {
    font-size: 14px;
  }

  .hero__eyebrow img {
    width: 17px;
    height: 34px;
  }

  .hero__content p {
    margin-top: 12px;
  }

  .hero__content h2 {
    white-space: normal;
  }

  .prizes__list {
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
  }

  .prize-pill[data-prize-id="avtomobil"] {
    order: 1;
  }

  .prize-pill[data-prize-id="avia-standard"] {
    order: 2;
  }

  .prize-pill[data-prize-id="avia-premium"] {
    order: 3;
  }

  .prize-pill {
    width: min(100%, 280px);
    justify-content: center;
    min-height: 46px;
    font-size: 13px;
  }

  .prize-pill.is-active {
    transform: none;
  }

  .prizes__hint {
    width: auto;
    font-size: 10px;
    margin-top: 10px;
  }

  .prize-tooltip {
    min-width: 140px;
    max-width: 190px;
    padding: 9px 11px 10px;
  }

  .prize-tooltip__value {
    font-size: 13px;
  }

  .cta-button {
    width: min(100%, 280px);
    text-align: center;
  }

  .hero__participants-link {
    width: min(100%, 280px);
  }

  .modal {
    padding: 12px;
  }

  .modal__dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }

  .modal__content {
    padding: 22px 18px 0;
  }

  .modal__header {
    padding-right: 36px;
  }

  .modal__header h2 {
    font-size: 24px;
  }

  .modal__lead,
  .modal__list li,
  .modal__courses span,
  .modal__offer-text p {
    font-size: 13px;
  }

  .modal__section {
    padding: 18px;
  }

  .modal__offer-header,
  .modal__offer-block {
    padding: 18px;
  }

  .modal__offer-title {
    font-size: 22px;
  }

  .modal__facts,
  .modal__courses {
    grid-template-columns: 1fr;
  }

  .modal__sticky {
    padding: 16px 18px 20px;
  }

  .modal__consent {
    padding: 14px;
  }

  .modal__consent-text {
    font-size: 12px;
  }

  .sheet {
    padding: 0;
  }

  .sheet__panel {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .sheet__header {
    padding: 34px 18px 16px;
  }

  .sheet__header h2 {
    font-size: 24px;
  }

  .sheet__header p {
    font-size: 13px;
  }

  .sheet__form {
    padding: 0 18px 20px;
  }

  .sheet__fields,
  .sheet__courses {
    grid-template-columns: 1fr;
  }

  .sheet__sticky {
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }

  .sheet__course-text,
  .sheet__field input {
    font-size: 13px;
  }

  .thanks-modal__dialog {
    width: 100%;
    border-radius: 24px;
  }

  .thanks-modal__content {
    padding: 26px 18px 22px;
  }

  .thanks-modal__content h2 {
    font-size: 28px;
  }

  .thanks-modal__text {
    font-size: 14px;
    line-height: 1.65;
  }

  .thanks-modal__channel {
    margin-top: 20px;
    padding: 16px;
    border-radius: 20px;
  }

  .thanks-modal__channel-text {
    font-size: 14px;
  }

  .thanks-modal__channel-link {
    margin-top: 14px;
    min-height: 64px;
    padding: 12px 14px;
    gap: 12px;
  }

  .thanks-modal__channel-icon {
    width: 40px;
    height: 40px;
    font-size: 21px;
  }

  .thanks-modal__channel-copy strong {
    font-size: 16px;
  }

  .thanks-modal__channel-copy span {
    font-size: 12px;
  }

  .thanks-modal__links {
    flex-direction: column;
  }

  .thanks-modal__link,
  .thanks-modal__button {
    width: 100%;
  }
}
