:root {
  --night: #101826;
  --deep: #162236;
  --line: #26364f;
  --text: #e8edf5;
  --soft: #9fb0c8;
  --air: #e5484d;
  --air-dark: #c53a3f;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

.head { border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; text-decoration: none; margin-right: auto; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--soft); text-decoration: none; }
.nav a:hover { color: var(--text); }

.btn {
  display: inline-block; padding: 11px 22px; border: 0; border-radius: 8px;
  background: var(--air); color: #fff; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--air-dark); }
.btn.quiet { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn.quiet:hover { border-color: var(--soft); background: transparent; }

.hero { padding: 84px 0 72px; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: var(--air); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .live i { animation: none; } }
h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.1; margin: 18px 0 20px; letter-spacing: -.01em; }
.hero p { max-width: 36em; color: var(--soft); font-size: 19px; margin: 0 0 30px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

section { padding: 60px 0; border-top: 1px solid var(--line); }
h2 { font-size: 28px; margin: 0 0 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--soft); font-size: 16px; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 44em; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; color: var(--soft); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px;
  border-radius: 50%; border: 1px solid var(--line); color: var(--text);
  display: flex; align-items: center; justify-content: center; font-weight: 600;
}
.steps b { color: var(--text); font-weight: 600; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--soft); font-size: 15px; }
.foot .wrap { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }

.gate { min-height: calc(100vh - 69px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.panel { width: 100%; max-width: 400px; background: var(--deep); border: 1px solid var(--line); border-radius: 14px; padding: 30px; }
.panel h1 { font-size: 26px; margin: 0 0 6px; }
.panel p { color: var(--soft); margin: 0 0 22px; font-size: 16px; }
label { display: block; font-size: 15px; color: var(--soft); margin: 14px 0 6px; }
input {
  width: 100%; padding: 11px 13px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--night); color: var(--text); font: inherit;
}
input:focus { outline: 2px solid var(--air); outline-offset: 1px; }
.panel .btn { width: 100%; margin-top: 22px; }
.alert { border: 1px solid var(--air); border-radius: 8px; padding: 10px 13px; color: #ffc9cb; font-size: 15px; margin-bottom: 6px; }
.hint { margin-top: 18px !important; font-size: 14px !important; }
.center { text-align: center; padding: 120px 20px; }
.center p { color: var(--soft); }
