:root {
  --bg: #f3f5f8;
  --text: #17202b;
  --muted: #667085;
  --line: #d9dee7;
  --panel: #ffffff;
  --red: #b00020;
  --red-dark: #7d0017;
  --blue: #164a7c;
  --green: #167a53;
  --shadow: 0 24px 70px rgba(20, 32, 44, .16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(120deg, rgba(176, 0, 32, .12), transparent 36%),
    linear-gradient(210deg, rgba(22, 74, 124, .15), transparent 42%),
    var(--bg);
  color: var(--text);
  display: grid;
  place-items: center;
  padding: 22px;
}

.gate {
  width: min(100%, 520px);
}

.panel {
  width: 100%;
  background: var(--panel);
  border: 1px solid rgba(23, 32, 43, .08);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(176, 0, 32, .22);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 1.72rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1rem;
}

.primary-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 14px 28px rgba(176, 0, 32, .24);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.link-button {
  text-decoration: none;
}

.primary-button:disabled {
  cursor: wait;
  opacity: .72;
}

.hint {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  color: var(--text);
  line-height: 1.45;
}

.num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: .9rem;
}

.hidden {
  display: none;
}

@media (max-width: 420px) {
  body {
    padding: 14px;
  }

  .panel {
    padding: 22px;
  }

  .brand {
    align-items: flex-start;
  }

  .app-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
  }

  h1 {
    font-size: 1.42rem;
  }
}
