:root {
  color-scheme: dark;
  --bg: #060713;
  --surface: #101220;
  --surface-high: #1a1d2f;
  --text: #f7f5fb;
  --muted: #a8a6b6;
  --pink: #ff075f;
  --pink-soft: #ff4d91;
  --blue: #5368ff;
  --line: rgba(242, 222, 231, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: #020308;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.site-shell {
  position: relative;
  width: min(100%, 560px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 58%, rgba(83, 104, 255, 0.08), transparent 27%),
    var(--bg);
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.75);
}

.topbar {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 18px 22px;
  background: linear-gradient(180deg, rgba(5, 7, 18, 0.96), rgba(5, 7, 18, 0.72) 66%, transparent);
}
.brand { display: inline-flex; align-items: center; }
.brand-copy { position: relative; display: grid; gap: 5px; padding-left: 14px; }
.brand-copy::before {
  content: "";
  position: absolute;
  inset: 1px auto 1px 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pink), var(--blue));
  box-shadow: 0 0 14px rgba(255, 7, 95, 0.52);
}
.brand-wordmark {
  color: #fff;
  font: 700 23px/0.9 "Oswald", sans-serif;
  letter-spacing: 0.025em;
  white-space: nowrap;
}
.brand-wordmark span { color: #fff; }
.brand-wordmark em { color: var(--pink); font-style: normal; }
.brand-copy small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(9, 11, 24, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.language-switcher > svg:first-child { width: 15px; height: 15px; color: #e8cad4; }
.language-switcher > button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 42px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.language-chevron {
  width: 10px;
  height: 10px;
  transition: transform 0.2s ease;
}
.language-switcher[data-open="true"] .language-chevron { transform: rotate(180deg); }
.language-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 74px;
  padding: 5px;
  background: rgba(13, 16, 31, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.38), 0 0 22px rgba(83, 104, 255, 0.12);
  backdrop-filter: blur(18px);
}
.language-menu[hidden] { display: none; }
.language-menu button {
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.language-menu button:hover, .language-menu button[aria-current="true"] { color: #fff; background: rgba(255, 7, 95, 0.18); }

.hero {
  position: relative;
  min-height: 760px;
  padding: 155px 22px 68px;
  isolation: isolate;
  background: url("/assets/hero-city-hq.webp") center 48% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 270px;
  background: linear-gradient(transparent, var(--bg) 93%);
}
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 6, 15, 0.08) 10%, rgba(4, 6, 15, 0.2) 48%, rgba(4, 6, 15, 0.86) 100%),
    linear-gradient(90deg, rgba(4, 6, 15, 0.68), rgba(4, 6, 15, 0.2) 70%, rgba(4, 6, 15, 0.18));
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.hero-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}
h1, h2, .timeline-item strong { font-family: "Oswald", sans-serif; text-transform: uppercase; }
h1 {
  margin: 0;
  max-width: 500px;
  font-size: clamp(48px, 14vw, 74px);
  line-height: 1.06;
  letter-spacing: -0.026em;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.64);
}
h1 em { color: var(--pink); font-style: normal; }
.hero-copy {
  max-width: 440px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.75;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}
.primary-button, .telegram-button, .submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  color: #fff;
  background: linear-gradient(105deg, #ff075f, #ff006a 68%, #f60070);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(255, 7, 95, 0.3);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.primary-button { margin-top: 38px; }
.primary-button:hover, .submit-button:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(255, 7, 95, 0.42); }
.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
}
.privacy-note svg { width: 14px; height: 14px; }

.benefits { display: grid; gap: 12px; padding: 15px 18px 72px; }
.benefit-card {
  position: relative;
  min-height: 126px;
  padding: 24px 22px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(19, 22, 37, 0.88);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(14px);
}
.benefit-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -85px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 7, 95, 0.16), transparent 68%);
}
.benefit-card h2 {
  margin: 0;
  max-width: 88%;
  font-size: clamp(25px, 7vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.benefit-card p { max-width: 390px; margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.process { padding: 70px 24px 88px; border-top: 1px solid rgba(255, 255, 255, 0.055); }
.section-heading, .application-intro { display: block; }
.section-heading h2, .application-intro h2 {
  margin: 0;
  font-size: 31px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.timeline { width: min(100%, 360px); margin: 45px auto 0; }
.timeline-item { position: relative; display: grid; grid-template-columns: 34px 1fr; min-height: 96px; }
.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  bottom: -2px;
  width: 1px;
  background: linear-gradient(var(--pink), rgba(255, 7, 95, 0.25));
}
.timeline-dot {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  border: 4px solid rgba(255, 7, 95, 0.22);
  border-radius: 50%;
  background: var(--pink);
  background-clip: padding-box;
  box-shadow: 0 0 18px rgba(255, 7, 95, 0.72);
}
.timeline-item strong { color: #e5dce1; font-size: 19px; font-weight: 500; }
.timeline-item p { margin: 6px 0 0; color: #888797; font-size: 11px; line-height: 1.5; }

.faq-section { padding: 0 18px 76px; }
.section-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.section-kicker::before { content: ""; width: 24px; height: 1px; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.faq-list { display: grid; gap: 9px; margin-top: 30px; }
.faq-item {
  overflow: hidden;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)), rgba(16, 18, 32, 0.82);
  border: 1px solid rgba(242, 222, 231, 0.12);
  border-radius: 13px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item[open] { border-color: rgba(83, 104, 255, 0.52); background: linear-gradient(120deg, rgba(83, 104, 255, 0.1), rgba(255, 255, 255, 0.02)), rgba(16, 18, 32, 0.9); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 18px;
  color: #f3edf1;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary b { flex: 0 0 auto; color: var(--blue); font-size: 20px; font-weight: 400; line-height: 1; transition: transform 0.2s ease; }
.faq-item[open] summary b { transform: rotate(45deg); color: #8da1ff; }
.faq-item p { margin: -2px 18px 18px; color: var(--muted); font-size: 11px; line-height: 1.65; }

.application-section {
  margin: 0 18px 70px;
  padding: 30px 22px 24px;
  background:
    radial-gradient(circle at 100% 100%, rgba(255, 7, 95, 0.11), transparent 34%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014)),
    #111421;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}
.application-intro p {
  max-width: 390px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.telegram-button {
  min-height: 52px;
  margin-top: 27px;
  gap: 9px;
  border-radius: 10px;
  background: linear-gradient(110deg, #168dcc, #229ed9 60%, #2aaee8);
  box-shadow: 0 14px 38px rgba(34, 158, 217, 0.28);
  font-size: 13px;
}
.telegram-button:hover { transform: translateY(-2px); background: linear-gradient(110deg, #1d9edc, #2aaee8 60%, #42b8ec); box-shadow: 0 18px 44px rgba(34, 158, 217, 0.4); }
.telegram-button:focus-visible { outline: 3px solid rgba(42, 174, 232, 0.34); outline-offset: 3px; }
.telegram-icon { width: 21px; height: 21px; flex: 0 0 auto; fill: currentColor; stroke: none; }
.form-divider { display: flex; align-items: center; gap: 12px; margin: 14px 0 1px; color: #747383; font-size: 10px; text-transform: lowercase; }
.form-divider::before, .form-divider::after { content: ""; height: 1px; flex: 1; background: rgba(242, 222, 231, 0.12); }
#application-form { display: grid; gap: 13px; margin-top: 27px; }
#application-form label:not(.honeypot) { display: grid; gap: 7px; }
#application-form label > span {
  color: #cfc5ca;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
#application-form label small { color: #6f6f7e; font-size: 8px; }
input {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(5, 7, 17, 0.56);
  border: 1px solid rgba(242, 222, 231, 0.24);
  border-radius: 10px;
  outline: 0;
  font-size: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input::placeholder { color: #626372; }
input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 7, 95, 0.1); }
.submit-button { min-height: 52px; margin-top: 5px; border-radius: 10px; font-size: 13px; }
.submit-button:disabled { opacity: 0.65; cursor: wait; transform: none; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-legal { margin: 0; color: #676776; text-align: center; font-size: 8px; line-height: 1.5; }
.telegram-contact { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 2px; color: #777685; font-size: 10px; }
.telegram-contact a { display: inline-flex; align-items: center; gap: 5px; color: #8da1ff; font-weight: 700; }
.telegram-contact a:hover { color: #c0c9ff; }
.telegram-contact b { color: var(--pink-soft); font-size: 14px; font-weight: 400; }
.form-status { min-height: 14px; margin: 0; text-align: center; font-size: 10px; }
.form-status[data-type="success"] { color: #83e4ba; }
.form-status[data-type="error"] { color: #ff9eb4; }

.footer { padding: 48px 22px 32px; background: #050610; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.footer-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.footer-main p { max-width: 190px; margin: 0; color: #777685; text-align: right; font-size: 10px; }
.footer-brand .brand-wordmark { font-size: 19px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 35px;
  padding-top: 19px;
  color: #5f5e6b;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 8px;
}
.footer-bottom nav { display: flex; gap: 15px; }
.footer-bottom a:hover { color: var(--pink-soft); }

@media (max-width: 390px) {
  .topbar { padding-inline: 16px; }
  .brand-copy strong { font-size: 18px; }
  .hero { min-height: 720px; padding: 145px 16px 58px; }
  .hero-copy { font-size: 13px; }
  .benefits, .application-section { margin-left: 12px; margin-right: 12px; }
  .benefits { padding-left: 0; padding-right: 0; }
  .application-section { padding-inline: 17px; }
  .footer-main, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-main p { text-align: left; }
}

@media (min-width: 900px) {
  .site-shell { border-left: 1px solid rgba(255,255,255,.05); border-right: 1px solid rgba(255,255,255,.05); }
}

html[data-language="ru"] .hero {
  min-height: 730px;
  padding-top: 134px;
  padding-bottom: 58px;
}
html[data-language="ru"] h1 {
  font-size: clamp(42px, 12.5vw, 68px);
  line-height: 1.06;
}
html[data-language="ru"] .hero-copy { margin-top: 23px; font-size: 13px; }
html[data-language="ru"] .primary-button { margin-top: 28px; }
