:root {
  --bg-0: #0e0f1b;
  --bg-1: #16162c;
  --card: rgba(255, 255, 255, 0.05);
  --stroke: rgba(255, 255, 255, 0.12);
  --text: #f3f3fb;
  --text-2: #b9b9d2;
  --text-3: #8f8fb0;
  --accent: #ff4d8d;
  --accent-strong: #e63d7c;
  --on-accent: #14101a;
  --ok: #6ee7a8;
  --err: #ff8a8a;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(90deg, var(--bg-1), var(--bg-0)) fixed, var(--bg-0);
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); position: relative; display: block; }
.brand__mark::after { content: ""; position: absolute; inset: 7px; border: 3px solid var(--on-accent); border-right-color: transparent; border-radius: 50%; }
.brand__name { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.tag { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(255, 77, 141, 0.18); color: #ff9cc0; }

.gate { background: rgba(0, 0, 0, 0.32); border-bottom: 1px solid var(--stroke); }
.gate__inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px 32px; padding: 18px 0; }
.gate__form { display: flex; flex-direction: column; gap: 8px; justify-self: end; width: min(100%, 520px); }
.gate__label { font-size: 13px; font-weight: 700; color: var(--text-2); letter-spacing: 0.04em; text-transform: uppercase; }
.gate__row { display: flex; gap: 10px; }
.code {
  flex: 1; min-width: 0; height: 52px; padding: 0 16px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.07); color: var(--text);
  font: 700 22px "Cascadia Mono", Consolas, monospace; letter-spacing: 0.35em; text-transform: uppercase;
}
.code::placeholder { color: var(--text-3); letter-spacing: 0.35em; }
.code.is-invalid { border-color: var(--err); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border: 0; border-radius: 10px;
  font: 700 15px "Segoe UI", system-ui, sans-serif; text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-strong); }
.btn[disabled] { opacity: 0.6; cursor: default; }
.gate__result { grid-column: 2; justify-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; width: min(100%, 520px); }
.gate__result[hidden], .gate__form[hidden] { display: none; }
.gate__ok { flex: 1 1 220px; color: var(--ok); font-size: 14px; }
.gate__ok span { color: var(--text-2); }
.btn--download { flex: 0 0 auto; }
.gate__status { grid-column: 1 / -1; min-height: 20px; font-size: 14px; color: var(--text-2); text-align: right; }
.gate__status.is-error { color: var(--err); }

.hero { padding: 64px 0 48px; }
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 40px; }
.hero__copy { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 18px; color: var(--text-2); }
.note { font-size: 14px; color: var(--text-3); }
.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--stroke); background: #000; }
.shot img { display: block; width: 100%; height: auto; }

.section { padding: 64px 0; }
.section--alt { background: rgba(0, 0, 0, 0.22); border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.section h2 { margin-bottom: 28px; }
.what { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; color: var(--text-2); font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { padding: 24px; border-radius: 14px; background: var(--card); border: 1px solid var(--stroke); display: flex; flex-direction: column; gap: 10px; }
.card p { color: var(--text-2); font-size: 15px; }
.card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 77, 141, 0.16); color: var(--accent); margin-bottom: 4px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { padding: 24px; border-radius: 14px; background: var(--card); border: 1px solid var(--stroke); display: flex; flex-direction: column; gap: 8px; }
.steps p { color: var(--text-2); font-size: 15px; }
.steps__no { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--accent); color: var(--on-accent); }
.beta { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 760px; }
.beta h2 { margin-bottom: 0; }
.beta p { color: var(--text-2); font-size: 17px; }
.facts { margin: 0; padding: 0 0 0 20px; color: var(--text-2); display: flex; flex-direction: column; gap: 6px; }
.footer { padding: 36px 0 48px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; color: var(--text-3); font-size: 14px; }

@media (max-width: 860px) {
  .gate__inner { grid-template-columns: 1fr; }
  .gate__form, .gate__result { justify-self: stretch; width: 100%; }
  .gate__result { grid-column: 1; }
  .gate__status { text-align: left; }
  .what, .grid, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .section { padding: 48px 0; }
}
@media (max-width: 480px) {
  .gate__row { flex-direction: column; }
  .btn { width: 100%; }
  .code { flex: none; width: 100%; font-size: 20px; letter-spacing: 0.25em; }
}
