@import url('../fonts/inter.css');

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/oswald-cyr-500.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/oswald-lat-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/oswald-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/oswald-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --canvas: #070707;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.46);
  --signal: #e50000;
  --signal-hot: #ff2a2a;
  --card: rgba(18, 18, 18, 0.88);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.45;
}

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

a {
  color: inherit;
}

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0.14;
  background-image: url('../images/grain.png');
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.poster {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: calc(1.35rem + env(safe-area-inset-top)) 1.15rem calc(1.4rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

h1 {
  max-width: 16em;
  font-family: Oswald, 'Arial Narrow', Impact, sans-serif;
  font-weight: 700;
  font-size: clamp(2.55rem, 7.6vw, 5.15rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

.kicker {
  margin-top: 0.85rem;
  font-family: Oswald, 'Arial Narrow', sans-serif;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.3vw, 1.7rem);
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}

.dot {
  display: inline-block;
  width: 0.38em;
  height: 0.38em;
  margin: 0 0.45em 0.08em;
  border-radius: 50%;
  background: var(--signal);
  vertical-align: middle;
  box-shadow: 0 0 10px rgba(229, 0, 0, 0.85);
}

.stage {
  position: relative;
  width: min(760px, 100%);
  margin-top: 0.35rem;
}

#storm {
  position: absolute;
  left: 50%;
  top: 6%;
  width: 100vw;
  height: 48%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.umbrella {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: clamp(250px, 42vh, 430px);
  margin: 0 auto;
  object-fit: contain;
  user-select: none;
}

.flags {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 52%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(0.7rem, 2.4vw, 1.6rem);
  list-style: none;
}

.flags li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: clamp(4.15rem, 9vw, 5.15rem);
}

.flag {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.flag svg {
  width: 100%;
  height: 100%;
}

.flag-name {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(0.82rem, 2vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.proofs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.35rem;
  margin-top: 0.15rem;
  list-style: none;
  font-family: Oswald, 'Arial Narrow', sans-serif;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  letter-spacing: 0.01em;
}

.proofs li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.proofs svg {
  width: 1.05em;
  height: 1.05em;
  color: var(--signal);
  flex: none;
  filter: drop-shadow(0 0 6px rgba(229, 0, 0, 0.55));
}

.need {
  margin-top: 0.85rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
}

.need strong {
  display: inline-block;
  margin-top: 0.15rem;
  color: #fff;
  font-weight: 700;
}

.apply {
  width: min(26.5rem, 100%);
  margin-top: 1.15rem;
  padding: 1.35rem 1.2rem 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.tg-mark {
  width: 3.35rem;
  height: 3.35rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 8px 20px rgba(29, 147, 210, 0.35);
}

.tg-mark svg {
  width: 100%;
  height: 100%;
}

.apply h2 {
  font-family: Inter, Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.apply-lead {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.45;
}

.tg-handle {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--signal);
  font-weight: 700;
  font-size: 0.92rem;
}

.btn-submit {
  width: 100%;
  min-height: 3.25rem;
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--signal);
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(229, 0, 0, 0.28);
}

.btn-submit:hover {
  background: var(--signal-hot);
}

.btn-submit:active {
  transform: scale(0.985);
}

.btn-submit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.btn-submit-tg {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  overflow: hidden;
  line-height: 0;
  flex: none;
}

.btn-submit-tg svg {
  width: 100%;
  height: 100%;
}

.form-privacy {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
}

.form-consent {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  line-height: 1.5;
}

.form-consent a {
  color: var(--signal);
  text-underline-offset: 2px;
}

.form-consent a:hover {
  color: var(--signal-hot);
}

.colophon {
  margin-top: 1.15rem;
  max-width: 36rem;
  color: var(--faint);
  font-size: 0.75rem;
  line-height: 1.5;
}

.colophon a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.colophon a:hover {
  text-decoration: underline;
}

.footer-legal-name {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.footer-legal-sep {
  margin: 0 0.3rem;
  color: rgba(255, 255, 255, 0.28);
}

.legal-page {
  min-height: 100vh;
  background: #070707;
  color: rgba(255, 255, 255, 0.82);
}

.legal-wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: var(--signal);
  text-decoration: none;
  font-size: 0.875rem;
}

.legal-page h1 {
  font-family: Inter, Arial, sans-serif;
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  margin-bottom: 0.5rem;
  max-width: none;
}

.legal-date {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
}

.legal-page h2 {
  font-family: Inter, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 1.5rem 0 0.5rem;
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.65rem;
}

.legal-page ul {
  padding-left: 1.15rem;
  margin-bottom: 0.75rem;
}

.legal-page a {
  color: var(--signal);
}

@media (max-height: 980px) and (min-width: 720px) {
  .poster {
    padding-top: 0.85rem;
    padding-bottom: 0.75rem;
  }

  h1 {
    font-size: clamp(2.35rem, 5vw, 3.65rem);
  }

  .kicker {
    margin-top: 0.4rem;
    font-size: 1.2rem;
  }

  .umbrella {
    height: clamp(320px, 36vh, 380px);
  }

  .need {
    margin-top: 0.4rem;
  }

  .apply {
    margin-top: 0.65rem;
    padding-top: 1rem;
    padding-bottom: 0.9rem;
  }
}

@media (max-width: 640px) {
  .poster {
    padding-top: 1rem;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .umbrella {
    height: clamp(220px, 32vh, 280px);
  }

  .kicker {
    letter-spacing: 0.06em;
  }

  .flags {
    top: 52%;
    gap: 0.55rem;
  }

  .flags li {
    width: 4.15rem;
  }

  .proofs {
    gap: 0.2rem 0.85rem;
  }

  .apply {
    padding: 1.15rem 0.95rem 1rem;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-submit {
    transition: none;
  }
}
