:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --surface: #15181e;
  --surface-soft: #1c2027;
  --paper: #f4f3ee;
  --ink: #0c0e12;
  --white: #f9f9f6;
  --muted: #9ca3af;
  --line: rgba(255, 255, 255, .13);
  --pink: #ff4b88;
  --pink-dark: #d92866;
  --lime: #c9ff4c;
  --blue: #7388ff;
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    var(--bg);
  background-size: 34px 34px;
  color: var(--white);
  line-height: 1.5;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; text-underline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .16;
  pointer-events: none;
}
.ambient-one { top: -120px; right: -130px; width: 340px; height: 340px; background: var(--pink); }
.ambient-two { bottom: -170px; left: -120px; width: 360px; height: 360px; background: var(--blue); }

.site-header,
.layout,
footer {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.04em;
  text-decoration: none;
}

.brand-mark { display: flex; gap: 2px; height: 18px; align-items: end; }
.brand-mark i { display: block; width: 4px; border-radius: 3px; background: var(--pink); }
.brand-mark i:nth-child(1) { height: 11px; }
.brand-mark i:nth-child(2) { height: 18px; }
.brand-mark i:nth-child(3) { height: 14px; background: var(--lime); }

.locale-switch {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
}

.locale-button {
  min-width: 47px;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: pointer;
}
.locale-button.is-active { background: var(--white); color: var(--ink); }

.layout { padding: 34px 0 26px; }

.hero { padding: 14px 2px 38px; }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #d7dbe1;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
}
.live-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 5px rgba(255, 75, 136, .13), 0 0 20px var(--pink);
  animation: pulse 2s ease-in-out infinite;
}

h1, h2, p { margin-top: 0; }

.hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(43px, 12vw, 82px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.065em;
}

.copy { display: block; }
.hero h1 .copy-ru {
  margin-top: 13px;
  color: rgba(249, 249, 246, .5);
  font-size: .47em;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 26px;
  color: #d5d8de;
  font-size: 16px;
}
.hero-copy .copy-ru { margin-top: 7px; color: var(--muted); font-size: .94em; }

.promise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.promise-list span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c9ced7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
}
.promise-list b { margin-right: 5px; color: var(--lime); font-weight: 900; }

.composer-card {
  position: relative;
  overflow: hidden;
  padding: 24px 18px 20px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.card-topline {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 5px;
}
.card-topline span:first-child { width: 62%; background: var(--pink); }
.card-topline span:last-child { flex: 1; background: var(--lime); }

.card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.step-label {
  margin-bottom: 8px;
  color: #686d77;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
}

.card-heading h2 {
  margin: 0;
  font-size: clamp(22px, 6vw, 34px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.card-heading h2 .copy-ru { margin-top: 5px; color: #70757e; font-size: .61em; letter-spacing: -.025em; }

.on-air-badge {
  flex: none;
  padding: 6px 8px;
  transform: rotate(3deg);
  background: var(--pink);
  color: white;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
}

.verification-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: center;
  margin-bottom: 24px;
  padding: 14px;
  border: 1px solid #d9d9d2;
  border-radius: 15px;
  background: #eae9e3;
}

.verification-icon {
  grid-row: span 2;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-weight: 900;
}
.verification-copy strong { font-size: 13px; }
.verification-copy strong .copy-ru { color: #636872; font-size: .9em; }
.verification-copy p { margin: 4px 0 0; color: #656a72; font-size: 11px; line-height: 1.35; }
.verification-copy p .copy-ru { margin-top: 2px; }

.text-button {
  grid-column: 2;
  justify-self: start;
  margin-top: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111318;
  font-size: 11px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.text-button .copy-ru { color: #6a6e76; }
.text-button:disabled { cursor: not-allowed; opacity: .45; }

.challenge {
  grid-column: 1 / -1;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid #d0d0c9;
}
.challenge p { margin-bottom: 8px; color: #62666e; font-size: 11px; }
.challenge p .copy-ru { margin-top: 2px; }
.challenge code {
  display: block;
  overflow-wrap: anywhere;
  margin-bottom: 10px;
  padding: 9px 11px;
  border: 1px dashed #b6b6ae;
  border-radius: 8px;
  background: #f6f5ef;
  color: #16191e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}
.whatsapp-link {
  display: inline-block;
  color: #136b3c;
  font-size: 12px;
  font-weight: 850;
}
.whatsapp-link .copy-ru { color: #39724f; }
.challenge-status { margin: 10px 0 0 !important; font-weight: 700; }

.field { margin-bottom: 20px; }
.field label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.field label span:last-child { color: #777b83; text-align: right; }
.field label em { color: #7c8088; font-size: 9px; font-style: normal; font-weight: 650; text-transform: none; }

input[type="text"], textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 2px solid #c9c9c2;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  transition: border-color .16s, box-shadow .16s;
}
input[type="text"] { padding: 10px 2px 11px; font-size: 16px; }
textarea {
  min-height: 132px;
  padding: 12px;
  resize: vertical;
  border: 2px solid #c9c9c2;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.45;
}
input::placeholder, textarea::placeholder { color: #8b8e95; opacity: 1; }
input:focus, textarea:focus { border-color: var(--pink-dark); box-shadow: 0 0 0 3px rgba(217, 40, 102, .1); }
textarea[aria-invalid="true"] { border-color: #b4233f; }

.field-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: #767a82;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .05em;
}
.field-meta .over-limit { color: #b4233f; }
.field-error { min-height: 18px; margin: 5px 0 0; color: #a51e39; font-size: 12px; font-weight: 650; }

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.consent-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin: 1px 0 20px;
  color: #464a52;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}
.consent-row input { position: absolute; opacity: 0; pointer-events: none; }
.checkmark {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 2px solid #999b9f;
  border-radius: 5px;
  background: white;
}
.consent-row input:checked + .checkmark { border-color: var(--ink); background: var(--ink); }
.consent-row input:checked + .checkmark::after { content: "✓"; color: var(--lime); font-size: 13px; font-weight: 900; }
.consent-row input:focus-visible + .checkmark { outline: 3px solid rgba(217, 40, 102, .28); outline-offset: 2px; }
.consent-row .copy-ru { margin-top: 4px; color: #72767e; }

.submit-button {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: var(--pink);
  color: white;
  box-shadow: 0 13px 28px rgba(217, 40, 102, .24);
  cursor: pointer;
  transition: transform .16s, background .16s;
}
.submit-button:hover { background: var(--pink-dark); transform: translateY(-1px); }
.submit-button:active { transform: translateY(1px); }
.submit-button:disabled { cursor: wait; opacity: .65; transform: none; }
.button-label {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}
.button-label .copy-ru { margin-top: 2px; color: rgba(255,255,255,.76); font-size: 10px; }
.button-arrow {
  display: grid;
  width: 62px;
  place-items: center;
  border-left: 1px solid rgba(255,255,255,.26);
  font-size: 23px;
}

.form-status { min-height: 20px; margin: 10px 0 0; color: #9b1d37; font-size: 12px; font-weight: 700; }

.success-state { padding: 34px 4px 16px; text-align: center; }
.success-mark {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  box-shadow: 0 0 0 9px #e5e4de;
  font-size: 30px;
  font-weight: 900;
}
.success-state h2 { margin-bottom: 13px; font-size: 30px; line-height: 1.1; letter-spacing: -.04em; }
.success-state h2 .copy-ru { margin-top: 5px; color: #6d7179; font-size: .68em; }
.success-state p { max-width: 520px; margin: 0 auto 12px; color: #656a73; font-size: 14px; }
.success-state p .copy-ru { margin-top: 5px; }
.reference { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px !important; }
.secondary-button {
  margin-top: 10px;
  padding: 11px 16px;
  border: 1px solid #aeb0b2;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.secondary-button .copy-ru { color: #70747c; }

.rules {
  margin-top: 17px;
  padding: 0 3px;
  color: #b5bac3;
}
.rules summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 760;
  cursor: pointer;
}
.rules summary span:last-child { color: #777f8c; text-align: right; }
.rules-body { padding: 15px 2px 3px; }
.rules-body p { margin-bottom: 9px; color: #969daa; font-size: 12px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 max(28px, env(safe-area-inset-bottom));
  color: #6f7682;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
}

.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;
}

button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

body[data-locale="ru"] .copy-kk { opacity: .64; }
body[data-locale="ru"] .hero h1 .copy-ru { color: var(--white); }
body[data-locale="kk"] .copy-ru { opacity: .82; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.72); opacity: .65; }
}

@media (min-width: 720px) {
  .site-header, .layout, footer { width: min(100% - 64px, 1120px); }
  .site-header { padding-top: 31px; }
  .layout { padding-top: 54px; }
  .hero { padding-bottom: 52px; }
  .composer-card { padding: 34px 38px 32px; }
  .verification-panel { grid-template-columns: auto 1fr auto; padding: 15px 17px; }
  .verification-icon { grid-row: 1; }
  .text-button { grid-column: 3; grid-row: 1; justify-self: end; margin-top: 0; }
  .challenge { grid-column: 2 / -1; }
  .field { margin-bottom: 24px; }
  .submit-button { width: min(100%, 430px); margin-left: auto; }
  .form-status { text-align: right; }
}

@media (min-width: 980px) {
  .layout {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
    gap: 72px;
    align-items: start;
    padding-top: 76px;
  }
  .hero { position: sticky; top: 36px; padding-top: 30px; }
  .hero h1 { font-size: clamp(58px, 6.1vw, 82px); }
  .rules { grid-column: 2; margin-top: 2px; }
  .composer-card { border-radius: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
